Set index_Fast_Unaligned_Load for Excavator family CPUs
[glibc.git] / ChangeLog
blob054998fd428ab8822c65f2fd72a42ef656d4fd50
1 2016-01-14  Amit Pawar  <amit.pawar@amd.com>
3         [BZ #19467]
4         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
5         index_Fast_Unaligned_Load flag for Excavator family CPUs.
7 2016-01-02  Marcin Kościelnicki  <koriakin@0x04.net>
9         * sysdeps/s390/nptl/tls.h (struct tcbhead_t): Add __private_ss field.
11 2016-01-13  Carlos O'Donell  <carlos@redhat.com>
13         * benchtests/Makefile (PYTHON): Define.
14         (bench-func): Use $(PYTHON) to run python scripts.
15         ($(objpfx)bench-%.c): Likewise.
17 2016-01-13  Flavio Cruz  <flaviocruz@gmail.com>
19         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Do not remove
20         leading slash when `file_name' is "/".
22 2016-01-12  Joseph Myers  <joseph@codesourcery.com>
24         * bits/mman-linux.h [!MCL_CURRENT] (MCL_ONFAULT): New macro.
25         * sysdeps/unix/sysv/linux/alpha/bits/mman.h (MCL_ONFAULT):
26         Likewise.
27         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MCL_ONFAULT):
28         Likewise.
29         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT):
30         Likewise.
31         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETSIGMASK): New
32         enum constant and macro.
33         (PTRACE_SETSIGMASK): Likewise.
34         (PTRACE_SECCOMP_GET_FILTER): Likewise.
35         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
36         (PTRACE_GETSIGMASK): Likewise.
37         (PTRACE_SETSIGMASK): Likewise.
38         (PTRACE_SECCOMP_GET_FILTER): Likewise.
39         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_GETSIGMASK):
40         Likewise.
41         (PTRACE_SETSIGMASK): Likewise.
42         (PTRACE_SECCOMP_GET_FILTER): Likewise.
43         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
44         (PTRACE_GETSIGMASK): Likewise.
45         (PTRACE_SETSIGMASK): Likewise.
46         (PTRACE_SECCOMP_GET_FILTER): Likewise.
47         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_GETSIGMASK):
48         Likewise.
49         (PTRACE_SETSIGMASK): Likewise.
50         (PTRACE_SECCOMP_GET_FILTER): Likewise.
51         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_GETSIGMASK):
52         Likewise.
53         (PTRACE_SETSIGMASK): Likewise.
54         (PTRACE_SECCOMP_GET_FILTER): Likewise.
55         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_GETSIGMASK):
56         Likewise.
57         (PTRACE_SETSIGMASK): Likewise.
58         (PTRACE_SECCOMP_GET_FILTER): Likewise.
60 2016-01-11  Jonathan Wakely  <jwakely.gcc@gmail.com>
61             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
63         [BZ #19439]
64         * math/bits/mathcalls.h
65         [!__cplusplus || __cplusplus < 201103L] (isinf): Do not declare
66         prototype.
67         [!__cplusplus || __cplusplus < 201103L] (isnan): Likewise.
69 2016-01-11  Andreas Schwab  <schwab@suse.de>
71         [BZ #19253]
72         * time/tzfile.c (__tzfile_default): Invalidate tzfile attribute
73         cache when TZDEFRULES was used.
74         * time/tst-tzname.c: New file.
75         * time/Makefile (test): Add tst-tzname.
76         (tst-tzname-ENV, CPPFLAGS-tst-tzname.c): Define.
77         * timezone/Makefile (test-zones): Add $(posixrules-file).
78         ($(testdata)/$(posixrules-file)): New rule.
80 2016-01-10  Paul Eggert  <eggert@cs.ucla.edu>
82         Fix doc quoting problems with Texinfo 5
83         Without this change, in the info file output, Texinfo 5 quotes code
84         in text with undirected single quotes 'like this' and generates
85         code examples that with many PDF readers cannot be cut out of PDFs
86         and pasted into code.
87         * manual/libc.texinfo: Configure the libc manual like the GNU
88         Emacs manual, by using @documentencoding and setting
89         txicodequoteundirected and txicodequotebacktick.  This way,
90         Texinfo 5 quotes code in text with directed single quotes ‘like
91         this’ and produces examples that can be cut out of PDFs.  This
92         change causes Texinfo 5 to generate info files that contain UTF-8
93         characters in the set {'‘', '’', '“', '”', 'Ä', 'ä', 'ö', '−',
94         '–', '—', '©', '⇒', '•', '…'}, which is OK nowadays.
96 2016-01-08  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
98         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin,
99         __libc_tabort, __libc_tend): New wrappers that enforce compiler
100         barriers to their respective compiler built-ins.
101         * sysdeps/powerpc/nptl/elide.h (__get_new_count, ELIDE_LOCK,
102         ELIDE_TRYLOCK, __elide_unlock): Use the new wrappers.
103         * sysdeps/powerpc/sysdep.h: Likewise.
104         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: Likewise.
105         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: Likewise.
106         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: Likewise.
108 2016-01-08  Marko Myllynen  <myllynen@redhat.com>
110         * scripts/config.guess: Revert previous shebang change.
111         * scripts/config.sub: Likewise.
112         * scripts/mkinstalldirs: Likewise.
114 2016-01-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
116         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_ARCH_3_00 and
117         PPC_FEATURE2_HAS_IEEE128.
118         * sysdeps/powerpc/dl-procinfo.c:
119         (_dl_powerpc_cap_flags): Add corresponding names to new capabilities.
121 2016-01-08  John David Anglin  <danglin@gcc.gnu.org>
123         [BZ #19415]
124         * sysdeps/hppa/dl-fptr.c (_dl_fixup): Declare.
125         (elf_machine_resolve): New.  Return address of _dl_runtime_resolve.
126         (_dl_lookup_address): Rewrite using function resolver trampoline.
127         * sysdeps/hppa/dl-lookupcfg.h (DL_LOOKUP_ADDRESS): Don't clear bottom
128         two bits in address.
130 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
132         * longlong.h: Change !__SHMEDIA__ to
133         (!defined (__SHMEDIA__) || !__SHMEDIA__).
134         Change __SHMEDIA__ to defined (__SHMEDIA__) && __SHMEDIA__.
136 2016-01-07  Daniel Jacobowitz  <dan@codesourcery.com>
137             Joseph Myers  <joseph@codesourcery.com>
138             Mark Shinwell  <shinwell@codesourcery.com>
139             Andrew Stubbs  <ams@codesourcery.com>
140             Rich Felker <dalias@libc.org>
142         * longlong.h (udiv_qrnnd): Add FDPIC compatible version for SH.
144 2016-01-07  Richard Henderson  <rth@redhat.com>
146         * longlong.h [__alpha] (umul_ppmm): Disable for c++.
148 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
150         * sysdeps/unix/sysv/linux/fxstat64.c (___fxstat64): Change
151         __ASSUME_ST_INO_64_BIT == 0 to !defined __ASSUME_ST_INO_64_BIT.
152         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
153         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
154         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat32_conv): Likewise.
156 2016-01-07  Paul Eggert  <eggert@cs.ucla.edu>
157             Joseph Myers  <joseph@codesourcery.com>
159         * timezone/private.h: Update from tzcode 2015g.
160         * timezone/tzfile.h: Likewise.
161         * timezone/tzselect.ksh: Likewise.
162         * timezone/zdump.c: Likewise.
163         * timezone/zic.c: Likewise.
164         * timezone/ialloc.c: Remove file.
165         * timezone/scheck.c: Likewise.
166         * timezone/Makefile (extra-objs): Remove variable.
167         ($(objpfx)zic): Do not depend on scheck.o and ialloc.o.
168         (tz-cflags): Add -DHAVE_GETTEXT -DUSE_LTZ=0
169         -Wno-maybe-uninitialized.
170         (CFLAGS-zdump.c): Remove -fwrapv -DNOID -DHAVE_GETTEXT.
171         (CFLAGS-zic.c): Remove -DNOID -DHAVE_GETTEXT.
172         (CFLAGS-ialloc.c): Remove variable.
173         (CFLAGS-scheck.c): Likewise.
174         * timezone/README: Update list of files from tzcode.
176 2016-01-07  Khem Raj  <raj.khem@gmail.com>
178         * argp/argp-fmtstream.c (__argp_fmtstream_free): Use fwrite_unlocked
179         instead of __fxprintf when _LIBC is undefined.
181 2016-01-07  Marko Myllynen  <myllynen@redhat.com>
183         * catgets/test-gencat.sh: Remove space after shebang.
184         * conform/GlibcConform.pm: Likewise.
185         * conform/check-header-lists.sh: Likewise.
186         * conform/conformtest.pl: Likewise.
187         * conform/linknamespace.pl: Likewise.
188         * conform/list-header-symbols.pl: Likewise.
189         * debug/catchsegv.sh: Likewise.
190         * elf/genrtldtbl.awk: Likewise.
191         * elf/tst-pathopt.sh: Likewise.
192         * elf/tst-rtld-load-self.sh: Likewise.
193         * grp/tst_fgetgrent.sh: Likewise.
194         * iconvdata/gen-8bit-gap-1.sh: Likewise.
195         * iconvdata/gen-8bit-gap.sh: Likewise.
196         * iconvdata/gen-8bit.sh: Likewise.
197         * iconvdata/run-iconv-test.sh: Likewise.
198         * intl/tst-gettext.sh: Likewise.
199         * intl/tst-gettext2.sh: Likewise.
200         * intl/tst-gettext4.sh: Likewise.
201         * intl/tst-gettext6.sh: Likewise.
202         * intl/tst-translit.sh: Likewise.
203         * io/ftwtest-sh: Likewise.
204         * libio/test-freopen.sh: Likewise.
205         * locale/gen-translit.pl: Likewise.
206         * malloc/tst-mtrace.sh: Likewise.
207         * manual/check-safety.sh: Likewise.
208         * manual/libc-texinfo.sh: Likewise.
209         * manual/tsort.awk: Likewise.
210         * manual/xtract-typefun.awk: Likewise.
211         * nptl/tst-cancel-wrappers.sh: Likewise.
212         * nptl/tst-tls6.sh: Likewise.
213         * posix/globtest.sh: Likewise.
214         * posix/tst-getconf.sh: Likewise.
215         * posix/wordexp-tst.sh: Likewise.
216         * scripts/check-c++-types.sh: Likewise.
217         * scripts/check-local-headers.sh: Likewise.
218         * scripts/config.guess: Likewise.
219         * scripts/config.sub: Likewise.
220         * scripts/cpp: Likewise.
221         * scripts/cross-test-ssh.sh: Likewise.
222         * scripts/documented.sh: Likewise.
223         * scripts/evaluate-test.sh: Likewise.
224         * scripts/gen-libc-abis: Likewise.
225         * scripts/gen-sorted.awk: Likewise.
226         * scripts/list-fixed-bugs.py: Likewise.
227         * scripts/merge-test-results.sh: Likewise.
228         * scripts/mkinstalldirs: Likewise.
229         * scripts/rellns-sh: Likewise.
230         * scripts/test-installation.pl: Likewise.
231         * scripts/update-copyrights: Likewise.
232         * stdio-common/tst-printf.sh: Likewise.
233         * stdio-common/tst-unbputc.sh: Likewise.
234         * stdlib/tst-fmtmsg.sh: Likewise.
235         * stdlib/tst-setcontext3.sh: Likewise.
236         * sysdeps/i386/tst-ld-sse-use.sh: Likewise.
237         * sysdeps/unix/make-syscalls.sh: Likewise.
239 2016-01-06  John David Anglin  <dave.anglin@bell.net>
241         * sysdeps/hppa/nptl/pthread_spin_init.c (pthread_spin_init): Replace
242         asm stw with atomic_exchange_rel.  Add explanatory comment.
243         * sysdeps/hppa/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
244         Likewise.
246 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
248         [BZ #19122]
249         * include/unistd.h [IS_IN (rtld)]: Include <dl-unistd.h>.
250         * sysdeps/generic/dl-unistd.h: New file.
251         * sysdeps/mach/hurd/dl-unistd.h: Likewise.
253 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
255          [BZ #19122]
256          * include/sys/mman.h [IS_IN (rtld)]: Include <dl-mman.h>.
257          * sysdeps/generic/dl-mman.h: New file.
258          * sysdeps/mach/hurd/dl-mman.h: Likewise.
260 2016-01-05  Joseph Myers  <joseph@codesourcery.com>
262         * manual/texinfo.tex: Update to version 2016-01-04.21 with
263         trailing whitespace removed.
264         * scripts/config.guess: Update to version 2016-01-01.
265         * scripts/config.sub: Update to version 2016-01-01.
266         * scripts/move-if-change: Update from gnulib.
268 2016-01-04  Anton Blanchard  <anton@samba.org>
270         * sysdeps/ieee754/dbl-64/e_pow.c (log1): Use unsigned int
271         for array indices.
272         * sysdeps/ieee754/dbl-64/e_pow.c (my_log2): Likewise.
274 2016-01-04  Joseph Myers  <joseph@codesourcery.com>
276         * NEWS: Update copyright dates.
277         * catgets/gencat.c (print_version): Likewise.
278         * csu/version.c (banner): Likewise.
279         * debug/catchsegv.sh: Likewise.
280         * debug/pcprofiledump.c (print_version): Likewise.
281         * debug/xtrace.sh (do_version): Likewise.
282         * elf/ldconfig.c (print_version): Likewise.
283         * elf/ldd.bash.in: Likewise.
284         * elf/pldd.c (print_version): Likewise.
285         * elf/sotruss.sh: Likewise.
286         * elf/sprof.c (print_version): Likewise.
287         * iconv/iconv_prog.c (print_version): Likewise.
288         * iconv/iconvconfig.c (print_version): Likewise.
289         * locale/programs/locale.c (print_version): Likewise.
290         * locale/programs/localedef.c (print_version): Likewise.
291         * login/programs/pt_chown.c (print_version): Likewise.
292         * malloc/memusage.sh (do_version): Likewise.
293         * malloc/memusagestat.c (print_version): Likewise.
294         * malloc/mtrace.pl: Likewise.
295         * manual/libc.texinfo: Likewise.
296         * nptl/version.c (banner): Likewise.
297         * nscd/nscd.c (print_version): Likewise.
298         * nss/getent.c (print_version): Likewise.
299         * nss/makedb.c (print_version): Likewise.
300         * posix/getconf.c (main): Likewise.
301         * scripts/test-installation.pl: Likewise.
302         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
304         * All files with FSF copyright notices: Update copyright dates
305         using scripts/update-copyrights.
306         * intl/plural.c: Regenerated.
307         * locale/programs/charmap-kw.h: Likewise.
308         * locale/programs/locfile-kw.h: Likewise.
310 2016-01-02  Helge Deller  <deller@gmx.de>
312         [BZ #19285]
313         * sysdeps/unix/sysv/linux/hppa/bits/mman.h (MAP_STACK): Define.
314         (MAP_HUGETLB, MCL_ONFAULT): Likewise.
315         (MADV_HUGEPAGE, MADV_NOHUGEPAGE, MADV_DONTDUMP, MADV_DODUMP): Likewise.
316         (MADV_xxK_PAGES): Remove.
318 2016-01-01  Mike Frysinger  <vapier@gentoo.org>
320         [BZ #15421]
321         * sysdeps/ia64/fpu/w_lgamma_main.c: Include math.h & math_private.h.
322         [BUILD_LGAMMA]: Wrap all code by define.  Re-indent sub-preprocessor.
323         * sysdeps/ia64/fpu/w_lgammaf_main.c: Likewise.
324         * sysdeps/ia64/fpu/w_lgammal_main.c: Likewise.
326 2015-12-30  Dmitry V. Levin  <ldv@altlinux.org>
328         [BZ #19408]
329         * sysdeps/unix/sysv/linux/personality.c: New file.
330         * sysdeps/unix/sysv/linux/sparc/sparc64/personality.c: Likewise.
331         * sysdeps/unix/sysv/linux/tst-personality.c: Likewise.
332         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == misc]
333         (sysdep_routines): Add personality.
334         (tests): Add tst-personality.
335         * sysdeps/unix/sysv/linux/syscalls.list (personality): Move ...
336         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ... here.
337         * sysdeps/unix/sysv/linux/arm/syscalls.list (personality): New entry.
338         * sysdeps/unix/sysv/linux/hppa/syscalls.list (personality): Likewise.
339         * sysdeps/unix/sysv/linux/i386/syscalls.list (personality): Likewise.
340         * sysdeps/unix/sysv/linux/m68k/syscalls.list (personality): Likewise.
341         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (personality):
342         Likewise.
343         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (personality):
344         Likewise.
345         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (personality):
346         Likewise.
347         * sysdeps/unix/sysv/linux/sh/syscalls.list (personality): Likewise.
348         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (personality):
349         Likewise.
351 2015-12-30  Aurelien Jarno  <aurelien@aurel32.net>
353         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include <string.h>.
354         (PATH_ARM_SYSTYPE): Remove.
355         (PATH_CPUINFO): Likewise.
356         (IO_BASE_FOOTBRIDGE): Likewise.
357         (IO_SHIFT_FOOTBRIDGE): Likewise.
358         (struct platform): Likewise.
359         (init_iosys): Remove compatibility code for 2.4 kernels.
360         * sysdeps/unix/sysv/linux/arm/localplt.data: Remove fscanf.
362 2015-12-29  Florian Weimer  <fweimer@redhat.com>
364         * malloc/tst-malloc-thread-fail.c: New file.
365         * malloc/Makefile (tests): Add tst-malloc-thread-fail.
366         (tst-malloc-thread-fail): Link against libpthread.
368 2015-12-29  Mike Frysinger  <vapier@gentoo.org>
370         * scripts/list-fixed-bugs.py: Import argparse.  Call main instead.
371         (get_parser): New function.
372         (main): New function.
374 2015-12-29  Rob Wu  <rob@robwu.nl>
376         [BZ #19369]
377         * resolv/res_init.c (__res_vinit): Reset defdname before use.
379 2015-12-29  John David Anglin  <danglin@gcc.gnu.org>
381         [BZ #19270]
382         * sysdeps/hppa/fpu/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
384 2015-12-28  Mike Frysinger  <vapier@gentoo.org>
386         [BZ #15421]
387         * sysdeps/ia64/fpu/w_lgamma_main.c: Change gammaf to gamma.
389 2015-12-23  Torvald Riegel  <triegel@redhat.com>
391         [BZ #13690]
392         * sysdeps/nptl/lowlevellock.h (__lll_unlock): Do not access the lock
393         after releasing it.
394         (__lll_robust_unlock): Likewise.
395         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
396         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_unlock): Likewise.
397         (lll_robust_unlock): Likewise.
398         * sysdeps/unix/sysv/linux/lowlevellock-futex.h (__lll_private_flag):
399         Prevent warnings in callers.
401 2015-12-23  Florian Weimer  <fweimer@redhat.com>
403         * malloc/arena.c (list_lock): Update comment.
405 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
407         * sysdeps/powerpc/hwcapinfo.c: Export symbol
408         __parse_hwcap_and_convert_at_platform to libc.a.
410 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
412         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Added
413         platform and feature support for POWER9.
414         * sysdeps/powerpc/dl-procinfo.h: Likewise.
415         * sysdeps/powerpc/powerpc32/power9/Implies: New file.
416         * sysdeps/powerpc/powerpc32/power9/fpu/multiarch/Implies: Likewise.
417         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Likewise.
418         * sysdeps/powerpc/powerpc64/power9/Implies: Likewise, for powerpc64.
419         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
420         * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
421         * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
423 2015-12-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
425         Harmonize generic stdio-lock support with nptl
427         This fixes build when _IO_funlockfile is a macro, fixes build where
428         _IO_acquire_lock_clear_flags2 is used, and fixes unlocking on unexpected
429         stack unwind.
431         * sysdeps/generic/stdio-lock.h [__EXCEPTIONS] (_IO_acquire_lock,
432         _IO_release_lock ): Use cleanup attribute on new
433         _IO_acquire_lock_file variable instead of assuming that
434         _IO_release_lock will be called.
435         [!__EXCEPTIONS] (_IO_acquire_lock): Define to non-existing
436         _IO_acquire_lock_needs_exceptions_enabled.
437         (_IO_acquire_lock_clear_flags2): New macro.
439 2015-12-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
441         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
443 2015-12-21  Florian Weimer  <fweimer@redhat.com>
445         [BZ #19182]
446         * malloc/arena.c (list_lock): Document lock ordering requirements.
447         (free_list_lock): New lock.
448         (ptmalloc_lock_all): Comment on free_list_lock.
449         (ptmalloc_unlock_all2): Reinitialize free_list_lock.
450         (detach_arena): Update comment.  free_list_lock is now needed.
451         (_int_new_arena): Use free_list_lock around detach_arena call.
452         Acquire arena lock after list_lock.  Add comment, including FIXME
453         about incorrect synchronization.
454         (get_free_list): Switch to free_list_lock.
455         (reused_arena): Acquire free_list_lock around detach_arena call
456         and attached threads counter update.  Add two FIXMEs about
457         incorrect synchronization.
458         (arena_thread_freeres): Switch to free_list_lock.
459         * malloc/malloc.c (struct malloc_state): Update comments to
460         mention free_list_lock.
462 2015-12-21  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
464         * sysdeps/ieee754/dbl-64/s_sin.c (csloww, csloww1, csloww2):
465         Remove functions.
466         (sloww, sloww1): Accept argument to offset quadrant.
467         (sloww, sloww1, sloww2): Call __mpsin or __mpcos based on
468         quadrant.
469         (__sin, __cos): Consolidate common code into new functions.
470         (reduce_sincos_1, do_sincos_1): New functions.
471         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
473         * sysdeps/ieee754/dbl-64/s_sin.c (__sin, __cos): Move common
474         code to new functions.
475         (reduce_sincos_2, do_sincos_2): New functions.
476         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
478         * sysdeps/ieee754/dbl-64/s_sin.c (__sin) [!IN_SINCOS]: Skip
479         common code for sincos.
480         (__cos) [!IN_SINCOS]: Likewise.
481         * sysdeps/ieee754/dbl-64/s_sincos.c (reduce_and_compute_sincos):
482         New function.
483         (__sincos): Use it.
485 2015-12-20  Aurelien Jarno  <aurelien@aurel32.net>
487         * sysdeps/i386/fpu/libm-test-ulps: Move to ....
488         * sysdeps/i386/i686/multiarch/fpu/libm-test-ulps: ...here.
489         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
491 2015-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
493         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: New file.
494         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new file.
495         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
496         * sysdeps/x86_64/multiarch/memset.S: Added new IFUNC branch.
497         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
498         * sysdeps/x86/cpu-features.h (bit_Prefer_No_VZEROUPPER,
499         index_Prefer_No_VZEROUPPER): New feature.
500         * sysdeps/x86/cpu-features.c (init_cpu_features): Set the
501         Prefer_No_VZEROUPPER for Knights Landing.
503 015-12-18  Torvald Riegel  <triegel@redhat.com>
505         * math/atest-exp2.c (mp_exp_m1): Remove.
507 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
509         * sysdeps/unix/sysdep.h (SYSCALL_CANCEL): Fix macro for zero argument
510         syscalls.
511         (__SYSCALL0): New macro.
512         (__SYSCALL1): Likewise.
513         (__SYSCALL2): Likewise.
514         (__SYSCALL3): Likewise.
515         (__SYSCALL4): Likewise.
516         (__SYSCALL5): Likewise.
517         (__SYSCALL6): Likewise.
518         (__SYSCALL_CONCAT_X): Likewise.
519         (__SYSCALL_CONCAT): Likewise.
520         (__SYSCALL_DIST): Likewise.
521         (__SYSCALL_CALL): Likewise.
523 2015-12-17  H.J. Lu  <hongjiu.lu@intel.com>
525         [BZ #19363]
526         * sysdeps/unix/sysv/linux/x86_64/x32/times.c: New file.
528 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
530         [BZ #19375]
531         * sysdeps/powerpc/power7/fpu/s_logb.c (__logb): Fix return for
532         negative subnormals.
534 2015-12-16  H.J. Lu  <hongjiu.lu@intel.com>
536         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
537         (REGISTERS_CLOBBERED_BY_SYSCALL): New.
538         (INTERNAL_SYSCALL_NCS): Use it.
539         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
541 2015-12-16  Florian Weimer  <fweimer@redhat.com>
543         [BZ #19243]
544         * malloc/arena.c (get_free_list): Remove assert and adjust
545         reference count handling.  Add comment about reused_arena
546         interaction.
547         (reused_arena): Add comments abount get_free_list interaction.
548         * malloc/tst-malloc-thread-exit.c: New file.
549         * malloc/Makefile (tests): Add tst-malloc-thread-exit.
550         (tst-malloc-thread-exit): Link against libpthread.
552 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
554         [BZ #19367]
555         * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: New file.
556         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h: Likewise.
557         * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
558         * sysdeps/x86/cpu-features.h (bit_Prefer_MAP_32BIT_EXEC): New.
559         (index_Prefer_MAP_32BIT_EXEC): Likewise.
561 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
563         * sysdeps/x86/cpu-features.c (init_cpu_features): Enable
564         Silvermont optimizations for Knights Landing.
566 2015-12-15  Andreas Schwab  <schwab@suse.de>
568         [BZ #17197]
569         * iconvdata/ibm930.c (BODY for TO_LOOP): Record current DBCS state
570         immediately after emitting SI.
571         * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
572         * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
573         * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
574         * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
575         * iconvdata/bug-iconv10.c: New file.
576         * iconvdata/Makefile (tests): Add bug-iconv10.
577         ($(objpfx)bug-iconv10.out): New rule.
579 2015-12-15  Florian Weimer  <fweimer@redhat.com>
581         * dlfcn/tst-rec-dlopen.c (call_func): Cast dlsym result, fixing an
582         aliasing violation.
584 2015-12-14  Joseph Myers  <joseph@codesourcery.com>
586         [BZ #18472]
587         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Handle entries
588         for the form NAME@VERSION:OBSOLETED and generate SHLIB_COMPAT
589         conditionals for them.
590         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Likewise.
591         * sysdeps/unix/sysv/linux/sys/kdaemon.h: Remove file.
592         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
593         sys/kdaemon.h.
594         * sysdeps/unix/sysv/linux/syscalls.list (bdflush): Make into
595         compat-only syscall, obsoleted in glibc 2.23.
596         (create_module): Likewise.
597         (get_kernel_syms): Likewise.
598         (query_module): Likewise.
599         (uselib): Likewise.
600         * manual/sysinfo.texi (System Parameters): Do not mention bdflush.
602 2015-12-11  Aurelien Jarno  <aurelien@aurel32.net>
604         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include
605         <linux/version.h>.
606         [LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,23)]: Remove
607         conditional code.
608         (init_iosys): Use CTL_BUS_ISA instead of BUS_ISA in iobase_name
609         and ioshift_name initialization.
611 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
613         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
614         Fix indentation.
616 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
618         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Fix indentation.
620 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
622         * stdlib/strtol_l.c (__strtol_l): Fix indentation.
624 2015-12-10  Aurelien Jarno  <aurelien@aurel32.net>
625             Jakub Wilk  <jwilk@debian.org>
627         [BZ #19347]
628         * sysdeps/unix/grantpt.c [!HAVE_PT_CHOWN] (grantpt): Do not try
629         to change the group of the device to the tty group.
631 2015-12-10  Paul Eggert  <eggert@cs.ucla.edu>
633         Split large string section; add truncation advice
634         * manual/examples/strncat.c: Remove.
635         This example was misleading, as the code would have undefined
636         behavior if "hello" was longer than SIZE.  Anyway, the manual
637         shouldn't encourage strncpy+strncat for this sort of thing.
638         * manual/string.texi (Copying Strings and Arrays): Split into
639         three sections Copying Strings and Arrays, Concatenating Strings,
640         and Truncating Strings, as this section was way too long.  All
641         cross-referenced changed.  Add advice about string-truncation
642         functions.  Remove misleading strncat example.
644 2015-12-10  Carlos O'Donell  <carlos@redhat.com>
646         * manual/nss.texi (NSS Modules Interface): Document
647         NSS_STATUS_NOTFOUND and SUCCESS.
649 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
651         [BZ 18568]
652         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
653         201505L, for Unicode 8.
655 2015-12-09  Carlos O'Donell  <carlos@redhat.com>
657         * locale/C-translit.h: Regenerate.
659 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
661         * locale/C-translit.h.in: Remove duplicate transliterations for U+0152
662         and U+0153.
664 2015-12-09  Joseph Myers  <joseph@codesourcery.com>
666         [BZ #19351]
667         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): When
668         expanding log(1+z), compare z rather than its square with epsilon
669         to determine when to avoid evaluating the expansion.
671         [BZ #19350]
672         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
673         Increase overflow threshold.
675         [BZ #19349]
676         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Return argument
677         when small.
679         * sysdeps/unix/sysv/linux/i386/kernel-features.h
680         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
681         New macro.
682         [__LINUX_KERNEL_VERSION >= 0x040300]
683         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
684         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
685         Likewise.
686         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
687         Likewise.
688         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
689         Likewise.
690         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
691         Likewise.
692         [__LINUX_KERNEL_VERSION >= 0x040300]
693         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
694         [__LINUX_KERNEL_VERSION >= 0x040300]
695         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
696         [__LINUX_KERNEL_VERSION >= 0x040300]
697         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
698         [__LINUX_KERNEL_VERSION >= 0x040300]
699         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
700         [__LINUX_KERNEL_VERSION >= 0x040300]
701         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
702         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
703         Likewise.
704         [__LINUX_KERNEL_VERSION >= 0x040300]
705         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
706         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
707         Likewise.
708         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
709         Likewise.
710         [__LINUX_KERNEL_VERSION >= 0x040300]
711         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
712         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
713         Likewise.
714         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
715         Likewise.
716         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
717         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMMSG_SYSCALL):
718         Likewise.
719         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMMSG_SYSCALL):
720         Likewise.
721         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
722         Likewise.
723         [__LINUX_KERNEL_VERSION >= 0x040300]
724         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
725         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
726         Likewise.
727         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
728         Likewise.
729         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
730         Likewise.
731         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
732         Likewise.
733         [__LINUX_KERNEL_VERSION >= 0x040300]
734         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
735         [__LINUX_KERNEL_VERSION >= 0x040300]
736         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
737         [__LINUX_KERNEL_VERSION >= 0x040300]
738         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
739         [__LINUX_KERNEL_VERSION >= 0x040300]
740         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
741         [__LINUX_KERNEL_VERSION >= 0x040300]
742         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
743         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
744         Likewise.
745         [__LINUX_KERNEL_VERSION >= 0x040300]
746         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
747         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
748         Likewise.
749         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
750         Likewise.
751         [__LINUX_KERNEL_VERSION >= 0x040300]
752         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
753         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
754         Likewise.
755         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
756         Likewise.
757         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
758         (__ASSUME_SOCKET_SYSCALL): Likewise.
759         (__ASSUME_BIND_SYSCALL): Likewise.
760         (__ASSUME_CONNECT_SYSCALL): Likewise.
761         (__ASSUME_LISTEN_SYSCALL): Likewise.
762         (__ASSUME_ACCEPT_SYSCALL): Likewise.
763         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
764         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
765         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
766         (__ASSUME_SEND_SYSCALL): Likewise.
767         (__ASSUME_SENDTO_SYSCALL): Likewise.
768         (__ASSUME_RECV_SYSCALL): Likewise.
769         (__ASSUME_RECVFROM_SYSCALL): Likewise.
770         (__ASSUME_SHUTDOWN_SYSCALL): Likewise.
771         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
772         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
773         (__ASSUME_SENDMSG_SYSCALL): Likewise.
774         (__ASSUME_RECVMSG_SYSCALL): Likewise.
775         * sysdeps/unix/sysv/linux/sh/kernel-features.h
776         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SOCKET_SYSCALL):
777         Likewise.
778         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_BIND_SYSCALL):
779         Likewise.
780         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_CONNECT_SYSCALL):
781         Likewise.
782         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_LISTEN_SYSCALL):
783         Likewise.
784         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_ACCEPT_SYSCALL):
785         Likewise.
786         [__LINUX_KERNEL_VERSION >= 0x020625]
787         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
788         [__LINUX_KERNEL_VERSION >= 0x020625]
789         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
790         [__LINUX_KERNEL_VERSION >= 0x020625]
791         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
792         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SEND_SYSCALL):
793         Likewise.
794         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDTO_SYSCALL):
795         Likewise.
796         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECV_SYSCALL):
797         Likewise.
798         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVFROM_SYSCALL):
799         Likewise.
800         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SHUTDOWN_SYSCALL):
801         Likewise.
802         [__LINUX_KERNEL_VERSION >= 0x020625]
803         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
804         [__LINUX_KERNEL_VERSION >= 0x020625]
805         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
806         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDMSG_SYSCALL):
807         Likewise.
808         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVMSG_SYSCALL):
809         Likewise.
811 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
813         * sysdeps/unix/sysv/linux/mips/configure.ac (has-mpf64): Define to
814         record the current if the current ABI and CPU support the FP64
815         extension.
816         (has-modd-spreg): Define to record the current if the current ABI and
817         CPU support 32-bit floating point values in odd FPU registers.
818         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
819         * sysdeps/mips/Makefile (tst-abi-fpxxomod): Only build when
820         $(has-modd-spreg) equals yes.
821         (tst-abi-fp64amod): Only build when $(has-mpf64) equals yes.
822         (tst-abi-fp64mod): Only build when both $(has-mpf64) and
823         $(has-modd-spreg) equal yes.
825 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
827         * sysdeps/unix/grantpt.c (grantpt): Call__basename instead of
828         basename.
830 2015-12-08  Siddhesh Poyarekar  <sid@reserved-bit.com>
832         * benchtests/Makefile (bench-math): Move ffs and ffsll...
833         (bench-string): ... here.
834         (bench): Add bench-string.
835         (string-bench, wcsmbs-bench, stdlib-bench, stdio-common-bench): Rename
836         to *-benchset to reflect what they are.
837         (benchset): Adjust.
839         * benchtests/sincos-inputs: Add inputs from sin-inputs and
840         cos-inputs.
842 2015-12-07  Andrew Senkevich  <andrew.senkevich@intel.com>
844         * sysdeps/x86/fpu/bits/math-vector.h: W/o -fopenmp use GCC 6.*
845         __attribute__ ((__simd__)) for vector math function declarations.
847 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
849         Fix typo in strncat, wcsncat manual entries
850         * manual/string.texi (Copying and Concatenation): Fix typos in
851         sample implementations of strncat and wcsncat, by having them use
852         the old value of the destination length, not the new one.
854 2015-12-04  Joseph Myers  <joseph@codesourcery.com>
856         [BZ #16961]
857         [BZ #16962]
858         * math/s_nan.c (__nan): Use __strtod_nan instead of constructing a
859         string on the stack for strtod.
860         * math/s_nanf.c (__nanf): Use __strtof_nan instead of constructing
861         a string on the stack for strtof.
862         * math/s_nanl.c (__nanl): Use __strtold_nan instead of
863         constructing a string on the stack for strtold.
864         * stdlib/Versions (libc): Add __strtof_nan, __strtod_nan and
865         __strtold_nan to GLIBC_PRIVATE.
866         * math/test-nan-overflow.c: New file.
867         * math/test-nan-payload.c: Likewise.
868         * math/Makefile (tests): Add test-nan-overflow and
869         test-nan-payload.
871 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
873         Consistency about byte vs character in string.texi
874         * manual/string.texi (String and Array Utilities):
875         Distinguish more carefully among bytes, multibyte characters,
876         and wide characters.  Use "byte" when talking about C 'char',
877         to distinguish it more clearly from multibyte characters.
878         Say "wide character" or "multibyte character" instead of
879         "character", when a wide or multibyte character is intended.
880         Similarly for "multibyte string" versus "string".
881         Define these terms more carefully.
883 2015-12-03  Chris Metcalf  <cmetcalf@ezchip.com>
885         * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): New symbol.
886         * sysdeps/microblaze/math_private.h (LDBL_CLASSIFY_COMPAT):
887         Likewise.
888         * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
889         * sysdeps/nios2/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
890         * sysdeps/sh/math_private.h: New file.
891         * sysdeps/m68k/coldfire/fpu/math_private.h: Likewise.
892         * sysdeps/ieee754/dbl-64/s_finite.c [defined NO_LONG_DOUBLE &&
893         defined LDBL_CLASSIFY_COMPAT]: Create compat symbol for internal
894         long double function name.
895         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
896         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
897         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
898         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
899         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
900         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
901         Remove __finitel, __isinfl, and __isnanl.
902         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
903         Likewise.
904         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
905         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
906         Remove __finitel.
907         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
908         Likewise.
909         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
911 2015-12-03  Andrew Senkevich  <andrew.senkevich@intel.com>
913         * math/Makefile ($(inst_libdir)/libm.so): Corrected path to
914         installed libmvec_nonshared.a.
916 2015-12-03  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
918         * sysdeps/powerpc/Makefile (sysdep-dl-routines): Add hwcapinfo.
919         (sysdep_routines): Likewise.
920         (sysdep-rtld-routines): Likewise.
921         [$(subdir) = nptl](tests): Add test-get_hwcap and test-get_hwcap-static
922         [$(subdir) = nptl](tests-static): test-get_hwcap-static
923         * sysdeps/powerpc/Versions: Added new
924         __parse_hwcap_and_convert_at_platform symbol to GLIBC-2.23.
925         * sysdeps/powerpc/hwcapinfo.c: New file.
926         (__tcb_parse_hwcap_and_convert_at_platform): New function to initialize
927         and parse hwcap, hwcap2 and platform number information.
928         * sysdeps/powerpc/hwcapinfo.h: New file.  Creates global variables
929         to store HWCAP+HWCAP2 and platform number.
930         * sysdeps/powerpc/nptl/tcb-offsets.sym: Added new offsets
931         for HWCAP+HWCAP2 and platform number in the TCB.
932         * sysdeps/powerpc/nptl/tls.h: New functionality.  Stores
933         the HWCAP, HWCAP2 and platform number in the TCB.
934         (dtv): Added new fields for HWCAP+HWCAP2 and platform number.
935         (TLS_INIT_TP): Included calls to add the hwcap and
936         at_platform values in the TCB in TP initialization.
937         (TLS_DEFINE_INIT_TP): Likewise.
938         (THREAD_GET_HWCAP): New macro.
939         (THREAD_SET_HWCAP): Likewise.
940         (THREAD_GET_AT_PLATFORM): Likewise.
941         (THREAD_SET_AT_PLATFORM): Likewise.
942         * sysdeps/powerpc/powerpc32/dl-machine.h:
943         (dl_platform_init): New function that calls
944         __parse_hwcap_and_convert_at_platform for the dymanic linking case for
945         powerpc32.
946         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise, for powerpc64.
947         * sysdeps/powerpc/test-get_hwcap-static.c: New file.  Testcase for
948         this functionality, static linking case.
949         * sysdeps/powerpc/test-get_hwcap.c: New file.  Likewise, dynamic
950         linking case.
951         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Added call to
952         __parse_hwcap_and_convert_at_platform for the static linking case.
953         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist:
954         Included the new __parse_hwcap_and_convert_at_platform symbol in the
955         ABI list for GLIBC 2.23.
956         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist:
957         Likewise.
958         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist:
959         Likewise.
961 2015-12-02  Ludovic Courtès  <ludo@gnu.org>
963         * configure.ac: Use 'pwd -P' instead of '/bin/pwd'.
964         * configure: Regenerate.
965         * io/ftwtest-sh: Use 'pwd -P' instead of '/bin/pwd'.
966         * scripts/rellns-sh: Likewise.  Remove 'pwd' variable.
968 2015-12-02  Carlos O'Donell  <carlos@redhat.com>
970         * iconvdata/ibm930.c: Add comment explaining encoding uses.
971         * iconvdata/ibm933.c: Likewise.
972         * iconvdata/ibm935.c: Likewise.
973         * iconvdata/ibm937.c: Likewise.
974         * iconvdata/ibm939.c: Likewise.
976 2015-12-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
978         * nptl/tst-cancel20.c (do_one_test): Move the pipe closing after
979         pthread_join.
980         * nptl/tst-cancel21.c (tf): Likewise.
982 2015-12-01  H.J. Lu  <hongjiu.lu@intel.com>
984         [BZ #19313]
985         * bits/typesizes.h (__CPU_MASK_TYPE): New.
986         * sysdeps/mach/hurd/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
987         * sysdeps/nacl/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
988         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__CPU_MASK_TYPE):
989         Likewise.
990         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h (__CPU_MASK_TYPE):
991         Likewise.
992         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h (__CPU_MASK_TYPE):
993         Likewise.
994         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__CPU_MASK_TYPE):
995         Likewise.
996         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h (__CPU_MASK_TYPE):
997         * sysdeps/unix/sysv/linux/bits/sched.h (__cpu_mask): Replace
998         unsigned long int with __CPU_MASK_TYPE.
1000 2015-12-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
1002         * sysdeps/aarch64/libm-test-ulps: Regenerated.
1004 2015-12-01  Joseph Myers  <joseph@codesourcery.com>
1006         * sysdeps/ieee754/dbl-64/e_sqrt.c: Do not include uroot.h.
1007         (__ieee754_sqrt): Use hex float constants instead of tm256.x and
1008         t512.x.
1009         * sysdeps/ieee754/dbl-64/uroot.h: Remove file.
1011 2015-11-30  Amit Pawar  <amit.pawar@amd.com>
1013         [BZ #19214]
1014         * sysdeps/x86/cpu-features.c (get_common_indeces): Add an
1015         argument to return extended model.  Update family and model
1016         with extended family and model when family == 0x0f.
1017         (init_cpu_features): Updated.
1019 2015-11-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1021         The RPC interface used by mmap uses the unsigned vm_offset_t, not the
1022         signed off_t, so 32bit bigger than 2GiB values are fine actually.
1024         * sysdeps/mach/hurd/mmap64.c: New file.
1026 2015-11-29  Thomas Schwinge  <thomas@codesourcery.com>
1028         * sysdeps/mach/hurd/fork.c (__fork): Install correct number of send
1029         rights for its main user thread in NEWTASK.
1031 2015-11-28  Maciej W. Rozycki  <macro@imgtec.com>
1033         * sysdeps/mips/fpu_control.h (_FPU_RESERVED): Include ABS2008.
1034         (_FPU_DEFAULT, _FPU_IEEE) [__mips_nan2008]: Set ABS2008.
1036 2015-11-27  Carlos O'Donell  <carlos@redhat.com>
1038         [BZ #14259]
1039         * Makeconfig: Rename localedir to complocaledir.
1040         Rename inst_localedir to inst_complocaledir.
1041         * aclocal.m4: Rename libc_cv_localedir to libc_cv_complocaledir.
1042         * config.make.in: Use complocaledir and libc_cv_complocaledir.
1043         * configure.ac: Use libc_cv_complocaledir.
1044         * configure: Regenerate.
1045         * locale/Makefile: Use complocaledir. Rename define -DLOCALEDIR to
1046         -DCOMPLOCALEDIR.
1047         * locale/findlocale.c: Use COMPLOCALEDIR.
1048         * locale/loadarchive.c: Likewise.
1049         * locale/programs/locale.c: Likewise.
1050         * locale/programs/localedef.c: Likewise.
1051         * locale/programs/locarchive.c: Likewise.
1052         * localedata/Makefile: Use inst_complocaledir.
1053         * sysdeps/gnu/configure: Regenerate.
1054         * sysdeps/hppa/configure: Regenerate.
1055         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
1056         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
1057         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
1058         * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
1059         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
1060         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
1061         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
1063 2015-11-27  Andrew Senkevich  <andrew.senkevich@intel.com>
1065         [BZ #19058]
1066         * math/Makefile ($(inst_libdir)/libm.so): Added libmvec_nonshared.a to
1067         AS_NEEDED.
1068         * sysdeps/x86/fpu/bits/math-vector.h: Removed code with asm aliases
1069         workaround.
1070         * sysdeps/x86_64/fpu/Makefile (libmvec-support,
1071         libmvec-static-only-routines): Added new file.
1072         * sysdeps/x86_64/fpu/svml_finite_alias.S: New file.
1074 2015-11-25  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1076         * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Destroy reply port
1077         of interrupted RPC instead of restoring it.
1079         * sysdeps/i386/setjmp.S (__sigsetjmp): Add hidden_def.
1080         * sysdeps/mach/hurd/accept4.c (__libc_accept4): Remove
1081         libc_hidden_def.
1082         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Initialize to get
1083         into initialized data instead of common. Define rtld_hidden_data_def.
1084         * sysdeps/mach/hurd/fxstatat64.c (__fxstatat64): Add libc_hidden_def.
1085         * sysdeps/mach/hurd/if_index.c (__if_freenameindex): Add
1086         libc_hidden_def.
1087         (if_freenameindex): Add libc_hidden_weak.
1088         (if_nameindex): Add libc_hidden_weak.
1089         * sysdeps/mach/hurd/open.c (_open64): Rename libc_hidden_weak into
1090         __open64.
1091         * sysdeps/mach/hurd/sigwait.c (__sigwait): Add libc_hidden_def.
1092         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Add libc_hidden_def.
1093         * sysdeps/mach/nanosleep.c: Include <time.h>
1094         (__nanosleep): Rename to __libc_nanosleep.
1095         (__nanosleep): Add weak_alias.
1096         (nanosleep): Update alias.
1098 2015-11-24  Joseph Myers  <joseph@codesourcery.com>
1100         * stdlib/strtod_nan.c: New file.
1101         * stdlib/strtod_nan_double.h: Likewise.
1102         * stdlib/strtod_nan_float.h: Likewise.
1103         * stdlib/strtod_nan_main.c: Likewise.
1104         * stdlib/strtod_nan_narrow.h: Likewise.
1105         * stdlib/strtod_nan_wide.h: Likewise.
1106         * stdlib/strtof_nan.c: Likewise.
1107         * stdlib/strtold_nan.c: Likewise.
1108         * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Likewise.
1109         * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Likewise.
1110         * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Likewise.
1111         * wcsmbs/wcstod_nan.c: Likewise.
1112         * wcsmbs/wcstof_nan.c: Likewise.
1113         * wcsmbs/wcstold_nan.c: Likewise.
1114         * stdlib/Makefile (routines): Add strtof_nan, strtod_nan and
1115         strtold_nan.
1116         * wcsmbs/Makefile (routines): Add wcstod_nan, wcstold_nan and
1117         wcstof_nan.
1118         * include/stdlib.h (__strtof_nan): Declare and use
1119         libc_hidden_proto.
1120         (__strtod_nan): Likewise.
1121         (__strtold_nan): Likewise.
1122         (__wcstof_nan): Likewise.
1123         (__wcstod_nan): Likewise.
1124         (__wcstold_nan): Likewise.
1125         * include/wchar.h (____wcstoull_l_internal): Declare.
1126         * stdlib/strtod_l.c: Do not include <ieee754.h>.
1127         (____strtoull_l_internal): Remove declaration.
1128         (STRTOF_NAN): Define macro.
1129         (SET_MANTISSA): Remove macro.
1130         (STRTOULL): Likewise.
1131         (____STRTOF_INTERNAL): Use STRTOF_NAN to parse NaN payload.
1132         * stdlib/strtof_l.c (____strtoull_l_internal): Remove declaration.
1133         (STRTOF_NAN): Define macro.
1134         (SET_MANTISSA): Remove macro.
1135         * sysdeps/ieee754/ldbl-128/strtold_l.c (STRTOF_NAN): Define macro.
1136         (SET_MANTISSA): Remove macro.
1137         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (STRTOF_NAN): Define
1138         macro.
1139         (SET_MANTISSA): Remove macro.
1140         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (STRTOF_NAN): Define
1141         macro.
1142         (SET_MANTISSA): Remove macro.
1143         * sysdeps/ieee754/ldbl-96/strtold_l.c (STRTOF_NAN): Define macro.
1144         (SET_MANTISSA): Remove macro.
1145         * wcsmbs/wcstod_l.c (____wcstoull_l_internal): Remove declaration.
1146         * wcsmbs/wcstof_l.c (____wcstoull_l_internal): Likewise.
1147         * wcsmbs/wcstold_l.c (____wcstoull_l_internal): Likewise.
1149         [BZ #19266]
1150         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check directly for
1151         upper case and lower case letters inside NAN(), not using TOLOWER.
1152         * stdlib/tst-strtod-nan-locale-main.c: New file.
1153         * stdlib/tst-strtod-nan-locale.c: Likewise.
1154         * stdlib/Makefile (tests): Add tst-strtod-nan-locale.
1155         [$(run-built-tests) = yes] ($(objpfx)tst-strtod-nan-locale.out):
1156         Depend on $(gen-locales).
1157         ($(objpfx)tst-strtod-nan-locale): Depend on $(libm).
1158         * wcsmbs/tst-wcstod-nan-locale.c: New file.
1159         * wcsmbs/Makefile (tests): Add tst-wcstod-nan-locale.
1160         [$(run-built-tests) = yes] ($(objpfx)tst-wcstod-nan-locale.out):
1161         Depend on $(gen-locales).
1162         ($(objpfx)tst-wcstod-nan-locale): Depend on $(libm).
1164 2015-11-24  Chris Metcalf  <cmetcalf@ezchip.com>
1166         * misc/tst-tsearch.c (TIMEOUT): Set to 10.
1168         * sysdeps/tile/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
1169         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Add
1170         __finitel, __isinfl, and __isnanl.
1171         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
1172         Likewise.
1173         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
1174         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Add
1175         __finitel.
1176         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
1177         Likewise.
1178         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
1180 2015-11-24  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
1182         * malloc/memusage.c (me): Remove redundant getenv call.
1184 2015-10-24  Florian Weimer  <fweimer@redhat.com>
1186         [BZ #19143]
1187         [BZ #19164]
1188         * nptl/check-cpuset.h: Remove.
1189         * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
1190         Remove CPU set size check.
1191         * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
1192         Likewise.
1193         * sysdeps/unix/sysv/linux/check-cpuset.h: Remove.
1194         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
1195         (__kernel_cpumask_size, __determine_cpumask_size): Remove.
1196         (__pthread_setaffinity_new): Remove CPU set size check.
1197         * sysdeps/unix/sysv/linux/sched_setaffinity.c
1198         (__kernel_cpumask_size): Remove.
1199         (__sched_setaffinity_new): Remove CPU set size check.
1200         * manual/threads.texi (Default Thread Attributes): Remove stale
1201         reference to check_cpuset_attr, determine_cpumask_size in comment.
1202         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == posix] (tests):
1203         Remove tst-getcpu.  Add tst-affinity, tst-affinity-pid.
1204         [$(subdir) == nptl] (tests): Add tst-thread-affinity-pthread,
1205         tst-thread-affinity-pthread2, tst-thread-affinity-sched.
1206         * sysdeps/unix/sysv/linux/tst-affinity.c: New file.
1207         * sysdeps/unix/sysv/linux/tst-affinity-pid.c: New file.
1208         * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c: New skeleton test file.
1209         * sysdeps/unix/sysv/linux/tst-thread-affinity-sched.c: New file.
1210         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread.c: New file.
1211         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread2.c: New file.
1212         * sysdeps/unix/sysv/linux/tst-thread-skeleton-affinity.c: New
1213         skeleton test file.
1214         * sysdeps/unix/sysv/linux/tst-getcpu.c: Remove.  Superseded by
1215         tst-affinity-pid.
1217 2015-11-24  Florian Weimer  <fweimer@redhat.com>
1219         * scripts/update-abilist.sh: New file.
1220         * Makefile (+subdir_targets): Add subdir_update-all-abi.
1221         * Makerules (update-all-abi-%, update-all-abi)
1222         (subdir_update-all-abi): New targets.
1223         * elf/Makefile (update-all-abi): New target.
1225 2015-11-24  Florian Weimer  <fweimer@redhat.com>
1227         Replace MUTEX_INITIALIZER with _LIBC_LOCK_INITIALIZER in generic code.
1228         * sysdeps/mach/hurd/libc-lock.h (_LIBC_LOCK_INITIALIZER): Define.
1229         (__libc_lock_define_initialized): Use it.
1230         * sysdeps/nptl/libc-lockP.h (_LIBC_LOCK_INITIALIZER): Define.
1231         * malloc/arena.c (list_lock): Use _LIBC_LOCK_INITIALIZER.
1232         * malloc/malloc.c (main_arena): Likewise.
1233         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): Remove.
1234         * sysdeps/nptl/malloc-machine.h (MUTEX_INITIALIZER): Remove.
1236 2015-11-23  Joseph Myers  <joseph@codesourcery.com>
1238         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
1239         (PTRACE_O_EXITKILL): New value in enum __ptrace_setoptions.
1240         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
1241         (PTRACE_O_MASK): Update value.
1242         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_O_EXITKILL):
1243         New value in enum __ptrace_setoptions.
1244         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
1245         (PTRACE_O_MASK): Update value.
1246         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
1247         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
1248         (PTRACE_O_MASK): Update value.
1249         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
1250         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
1251         (PTRACE_O_MASK): Update value.
1252         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
1253         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
1254         (PTRACE_O_MASK): Update value.
1255         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_SUSPEND_SECCOMP):
1256         New value in enum __ptrace_setoptions.
1257         (PTRACE_O_MASK): Update value.
1258         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_O_EXITKILL):
1259         New value in enum __ptrace_setoptions.
1260         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
1261         (PTRACE_O_MASK): Update value.
1263         * sysdeps/unix/sysv/linux/netpacket/packet.h (PACKET_COPY_THRESH):
1264         New macro.
1265         (PACKET_AUXDATA): Likewise.
1266         (PACKET_ORIGDEV): Likewise.
1267         (PACKET_VERSION): Likewise.
1268         (PACKET_HDRLEN): Likewise.
1269         (PACKET_RESERVE): Likewise.
1270         (PACKET_TX_RING): Likewise.
1271         (PACKET_LOSS): Likewise.
1272         (PACKET_VNET_HDR): Likewise.
1273         (PACKET_TX_TIMESTAMP): Likewise.
1274         (PACKET_TIMESTAMP): Likewise.
1275         (PACKET_FANOUT): Likewise.
1276         (PACKET_TX_HAS_OFF): Likewise.
1277         (PACKET_QDISC_BYPASS): Likewise.
1278         (PACKET_ROLLOVER_STATS): Likewise.
1279         (PACKET_FANOUT_DATA): Likewise.
1280         (PACKET_MR_UNICAST): Likewise.
1282         [BZ #19242]
1283         * stdlib/strtol_l.c (ISALPHA): Use _nl_C_locobj_ptr for locale.
1284         (TOUPPER): Likewise.
1285         * stdlib/tst-strtol-locale-main.c: New file.
1286         * stdlib/tst-strtol-locale.c: Likewise.
1287         * stdlib/Makefile (tests): Add tst-strtol-locale.
1288         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.ISO-8859-9.
1289         [$(run-built-tests) = yes] ($(objpfx)tst-strtol-locale.out):
1290         Depend on $(gen-locales).
1291         * wcsmbs/tst-wcstol-locale.c: New file.
1292         * wcsmbs/Makefile (tests): Add tst-wcstol-locale.
1293         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.UTF-8 and
1294         tr_TR.ISO-8859-9.
1295         [$(run-built-tests) = yes] ($(objpfx)tst-wcstol-locale.out):
1296         Depend on $(gen-locales).
1298 2015-11-20  Roland McGrath  <roland@hack.frob.com>
1300         * sysdeps/nacl/dl-map-segments.h (_dl_map_segments): Use
1301         __glibc_likely instead of __builtin_expect.  After falling back to
1302         dyncode_create in a non-ET_DYN case, use the allocate_code_data
1303         system interface to register the code pages as occupied.
1305 2015-11-20  Joseph Myers  <joseph@codesourcery.com>
1307         * sysdeps/arm/math_private.h [!_MATH_PRIVATE_H]: Change guard to
1308         [!ARM_MATH_PRIVATE_H].
1309         [!ARM_MATH_PRIVATE_H] (ARM_MATH_PRIVATE_H): Define macro.
1310         * sysdeps/hppa/math_private.h [!_MATH_PRIVATE_H]: Change guard to
1311         [!HPPA_MATH_PRIVATE_H].
1312         [!HPPA_MATH_PRIVATE_H] (HPPA_MATH_PRIVATE_H): Define macro.
1313         * sysdeps/i386/fpu/math_private.h [!_MATH_PRIVATE_H]: Change guard
1314         to [!I386_MATH_PRIVATE_H].
1315         [!I386_MATH_PRIVATE_H] (I386_MATH_PRIVATE_H): Define macro.
1316         * sysdeps/m68k/m680x0/fpu/math_private.h [!_MATH_PRIVATE_H]:
1317         Change guard to [!M68K_MATH_PRIVATE_H].
1318         [!M68K_MATH_PRIVATE_H] (M68K_MATH_PRIVATE_H): Define macro.
1319         * sysdeps/microblaze/math_private.h [!_MATH_PRIVATE_H]: Change
1320         guard to [!MICROBLAZE_MATH_PRIVATE_H].
1321         [!MICROBLAZE_MATH_PRIVATE_H] (MICROBLAZE_MATH_PRIVATE_H): Define
1322         macro.
1323         * sysdeps/mips/math_private.h [!_MATH_PRIVATE_H]: Change guard to
1324         [!MIPS_MATH_PRIVATE_H].
1325         [!MIPS_MATH_PRIVATE_H] (MIPS_MATH_PRIVATE_H): Define macro.
1326         * sysdeps/nios2/math_private.h [!_MATH_PRIVATE_H]: Change guard to
1327         [!NIO2_MATH_PRIVATE_H].
1328         [!NIO2_MATH_PRIVATE_H] (NIO2_MATH_PRIVATE_H): Define macro.
1329         * sysdeps/tile/math_private.h [!_MATH_PRIVATE_H]: Change guard to
1330         [!TILE_MATH_PRIVATE_H].
1331         [!TILE_MATH_PRIVATE_H] (TILE_MATH_PRIVATE_H): Define macro.
1333         [BZ #15421]
1334         * sysdeps/ieee754/s_signgam.c (signgam): Rename to __signgam,
1335         initialize with 0 and define as weak alias of __signgam.
1336         * include/math.h [!_ISOMAC] (__signgam): Declare.
1337         * math/Makefile (libm-calls): Add w_lgamma_compat.
1338         (tests): Add test-signgam-uchar, test-signgam-uchar-init,
1339         test-signgam-uint, test-signgam-uint-init, test-signgam-ullong and
1340         test-signgam-ullong-init.
1341         (tests-static): Add test-signgam-uchar-static,
1342         test-signgam-uchar-init-static, test-signgam-uint-static,
1343         test-signgam-uint-init-static, test-signgam-ullong-static and
1344         test-signgam-ullong-init-static.
1345         (CFLAGS-test-signgam-uchar.c): New variable.
1346         (CFLAGS-test-signgam-uchar-init.c): Likewise.
1347         (CFLAGS-test-signgam-uchar-static.c): Likewise.
1348         (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
1349         (CFLAGS-test-signgam-uint.c): Likewise.
1350         (CFLAGS-test-signgam-uint-init.c): Likewise.
1351         (CFLAGS-test-signgam-uint-static.c): Likewise.
1352         (CFLAGS-test-signgam-uint-init-static.c): Likewise.
1353         (CFLAGS-test-signgam-ullong.c): Likewise.
1354         (CFLAGS-test-signgam-ullong-init.c): Likewise.
1355         (CFLAGS-test-signgam-ullong-static.c): Likewise.
1356         (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
1357         * math/Versions (libm): Add GLIBC_2.23.
1358         * math/lgamma-compat.h: New file.
1359         * math/test-signgam-main.c: Likewise.
1360         * math/test-signgam-uchar-init-static.c: Likewise.
1361         * math/test-signgam-uchar-init.c: Likewise.
1362         * math/test-signgam-uchar-static.c: Likewise.
1363         * math/test-signgam-uchar.c: Likewise.
1364         * math/test-signgam-uint-init-static.c: Likewise.
1365         * math/test-signgam-uint-init.c: Likewise.
1366         * math/test-signgam-uint-static.c: Likewise.
1367         * math/test-signgam-uint.c: Likewise.
1368         * math/test-signgam-ullong-init-static.c: Likewise.
1369         * math/test-signgam-ullong-init.c: Likewise.
1370         * math/test-signgam-ullong-static.c: Likewise.
1371         * math/test-signgam-ullong.c: Likewise.
1372         * math/w_lgamma.c: Rename to w_lgamma_main.c and replace by
1373         wrapper of w_lgamma_main.c.
1374         * math/w_lgamma_compat.c: New file.
1375         * math/w_lgamma_compatf.c: Likewise.
1376         * math/w_lgamma_compatl.c: Likewise.
1377         * math/w_lgamma_main.c: New file.  Based on w_lgamma.c.  Include
1378         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
1379         defining compatibility symbols.
1380         (__lgamma): Change to LGFUNC (__lgamma).  Use CALL_LGAMMA.
1381         * math/w_lgammaf.c: Rename to w_lgammaf_main.c and replace by
1382         wrapper of w_lgammaf_main.c.
1383         * math/w_lgammaf_main.c: New file.  Based on w_lgammaf.c.  Include
1384         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
1385         defining compatibility symbols.
1386         (__lgammaf): Change to LGFUNC (__lgammaf).  Use CALL_LGAMMA.
1387         * math/w_lgammal.c: Rename to w_lgammal_main.c and replace by
1388         wrapper of w_lgammal_main.c.
1389         * math/w_lgammal_main.c: New file.  Based on w_lgammal.c.  Include
1390         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
1391         defining compatibility symbols.
1392         (__lgammal): Change to LGFUNC (__lgammal).  Use CALL_LGAMMA.
1393         * sysdeps/ia64/fpu/lgamma-compat.h: New file.
1394         * sysdeps/ia64/fpu/w_lgamma.c: Move to ....
1395         * sysdeps/ia64/fpu/w_lgamma_main.c: ...here.  Include
1396         <lgamma-compat.h>.
1397         (__ieee754_lgamma): Change to LGFUNC (lgamma).  Use CALL_LGAMMA.
1398         (__ieee754_gamma): Define as alias.
1399         * sysdeps/ia64/fpu/w_lgammaf.c: Move to ....
1400         * sysdeps/ia64/fpu/w_lgammaf_main.c: ...here.  Include
1401         <lgamma-compat.h>.
1402         (__ieee754_lgammaf): Change to LGFUNC (lgammaf).  Use CALL_LGAMMA.
1403         (__ieee754_gammaf): Define as alias.
1404         * sysdeps/ia64/fpu/w_lgammal.c: Move to ....
1405         * sysdeps/ia64/fpu/w_lgammal_main.c: ...here.  Include
1406         <lgamma-compat.h>.
1407         (__ieee754_lgammal): Change to LGFUNC (lgammal).  Use CALL_LGAMMA.
1408         (__ieee754_gammal): Define as alias.
1409         * sysdeps/ieee754/ldbl-opt/w_lgamma.c: Move to ....
1410         * sysdeps/ieee754/ldbl-opt/w_lgamma_compat.c: ...here.  Include
1411         <math/w_lgamma_compat.c>.
1412         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__lgammal_dbl_compat):
1413         Define as alias of __lgamma_compat and use in defining lgammal.
1414         * sysdeps/ieee754/ldbl-opt/w_lgammal.c: Move to ....
1415         * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c: ...here.  Include
1416         <math/lgamma-compat.h> and <math/w_lgamma_compatl.c>.
1417         (USE_AS_COMPAT): New macro.
1418         (LGAMMA_OLD_VER): Undefine and redefine.
1419         (lgammal): Do not define here.
1420         (gammal): Only define here if [GAMMA_ALIAS].
1421         * conform/linknamespace.pl (@whitelist): Remove signgam.
1422         * sysdeps/nacl/libm.abilist: Update.
1423         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
1424         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
1425         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
1426         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
1427         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
1428         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
1429         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
1430         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
1431         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
1432         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
1433         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
1434         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
1435         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
1436         Likewise.
1437         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
1438         Likewise.
1439         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
1440         Likewise.
1441         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
1442         Likewise.
1443         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
1444         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
1445         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
1446         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
1447         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
1448         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
1449         Likewise.
1450         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
1451         Likewise.
1452         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
1453         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
1454         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
1456 2015-11-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1458         [BZ #16364]
1459         * sysdeps/unix/sysv/linux/sleep.c: Remove file.
1460         * sysdeps/posix/sleep.c (__sleep): Simplify cancellation handling.
1462 2015-11-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
1464         * sysdeps/s390/fpu/bits/mathinline.h:
1465         Use __asm__ [__volatile__] instead of asm [volatile].
1466         * sysdeps/s390/abort-instr.h: Likewise.
1467         * sysdeps/s390/atomic-machine.h: Likewise.
1468         * sysdeps/s390/bits/string.h: Likewise.
1469         * sysdeps/s390/dl-tls.h: Likewise.
1470         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
1471         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
1472         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
1473         * sysdeps/s390/fpu/fesetround.c: Likewise.
1474         * sysdeps/s390/fpu/fpu_control.h: Likewise.
1475         * sysdeps/s390/fpu/s_fma.c: Likewise.
1476         * sysdeps/s390/fpu/s_fmaf.c: Likewise.
1477         * sysdeps/s390/memusage.h: Likewise.
1478         * sysdeps/s390/multiarch/ifunc-resolve.h: Likewise.
1479         * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
1480         * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
1481         * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
1482         * sysdeps/s390/nptl/tls.h: Likewise.
1483         * sysdeps/s390/s390-32/__longjmp.c: Likewise.
1484         * sysdeps/s390/s390-32/backtrace.c: Likewise.
1485         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
1486         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
1487         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
1488         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
1489         * sysdeps/s390/s390-64/__longjmp.c: Likewise.
1490         * sysdeps/s390/s390-64/backtrace.c: Likewise.
1491         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
1492         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Likewise.
1493         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
1494         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
1495         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
1496         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Likewise.
1497         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
1498         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
1499         * sysdeps/unix/sysv/linux/s390/brk.c: Likewise.
1500         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
1501         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Likewise.
1502         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
1503         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c: Likewise.
1504         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
1505         * sysdeps/unix/sysv/linux/s390/sysconf.c: Likewise.
1507 2015-11-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1508             Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1510         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
1511         Add lwarx hint, and use macro for acquire instruction.
1512         * sysdeps/powerpc/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
1513         Likewise.
1514         * sysdep/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Move to ...
1515         * sysdeps/powerpc/nptl/pthread_spin_unlock.c: ... here, and
1516         update to use new atomic macros.
1518 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1520         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
1521         (__lll_trylock_elision): Fix setting of adapt_count.
1522         * sysdeps/unix/sysv/linux/powerpc/htm.h
1523         (_ABORT_PERSISTENT): Define to clarify persistent aborts.
1524         (_ABORT_NESTED_TRYLOCK): Renumber, and make persistent.
1525         (_ABORT_SYSCALL): Renumber, and clarify definition.
1526         (_ABORT_LOCK_BUSY): Renumber, make non-persistent.
1528 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1530         * sysdeps/ieee754/ldbl-128ibm/mpn2ldl.c: Include gmp headers
1531         after system headers to prevent MIN/MAX redefinition.  Define
1532         HAVE_ALLOCA to preserve builtin alloca usage.
1534 2015-11-17  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
1536         * sysdeps/ieee754/dbl-64/s_sin.c (__sin)[IN_SINCOS]: Mark function
1537         static and don't set or restore rounding.
1538         (__cos)[IN_SINCOS]: Likewise.
1539         * sysdeps/ieee754/dbl-64/s_sincos.c: Include s_sin.c.
1540         (__sincos): Set and restore rounding mode.  Remove check for infinite
1541         or NaN input.
1543         * sysdeps/ieee754/dbl-64/s_sin.c: Remove redundant else clauses.
1545         * benchtests/scripts/bench.py (_print_arg_data): Mark output variables
1546         as used.
1548 2015-11-16  Florian Weimer  <fweimer@redhat.com>
1550         * math/test-signgam-finite-c99.c (_Mlong_double_): Undefine.
1552 2015-11-14  H.J. Lu  <hongjiu.lu@intel.com>
1554         * config.make.in (have-glob-dat-reloc): New.
1555         * configure.ac (libc_cv_has_glob_dat): New.  Set to yes if
1556         target supports GLOB_DAT relocaton. AC_SUBST.
1557         * configure: Regenerated.
1558         * elf/Makefile (tests): Add tst-prelink.
1559         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
1560         (tst-prelink-ENV): New.
1561         ($(objpfx)tst-prelink-conflict.out): Likewise.
1562         ($(objpfx)tst-prelink-cmp.out): Likewise.
1563         * sysdeps/x86/tst-prelink.c: Moved to ...
1564         * elf/tst-prelink.c: Here.
1565         * sysdeps/x86/tst-prelink.exp: Moved to ...
1566         * elf/tst-prelink.exp: Here.
1567         * sysdeps/x86/Makefile (tests): Don't add tst-prelink.
1568         (tst-prelink-ENV): Removed.
1569         ($(objpfx)tst-prelink-conflict.out): Likewise.
1570         ($(objpfx)tst-prelink-cmp.out): Likewise.
1571         (tests-special): Don't add $(objpfx)tst-prelink-cmp.out.
1573 2015-11-13  Joseph Myers  <joseph@codesourcery.com>
1575         [BZ #14551]
1576         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Include <errno.h>.
1577         (__mpn_construct_long_double): If high part overflows to infinity,
1578         set errno and recompute overflowed result of the correct sign.
1579         * sysdeps/ieee754/ldbl-128ibm/Makefile
1580         [$(subdir) = stdlib] (tests): Add tst-strtold-ldbl-128ibm.
1581         [$(subdir) = stdlib] ($(objpfx)tst-strtold-ldbl-128ibm): Depend on
1582         $(libm).
1583         * sysdeps/ieee754/ldbl-128ibm/tst-strtold-ldbl-128ibm.c: New file.
1585 2015-11-12  Joseph Myers  <joseph@codesourcery.com>
1587         [BZ #15479]
1588         [BZ #19238]
1589         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Save
1590         floating-point state after first operation on input.  Restore full
1591         state rather than just rounding mode.
1592         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
1593         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
1594         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
1596         [BZ #19235]
1597         * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Do not
1598         add 0.5 to integer arguments.
1599         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf):
1600         Likewise.
1601         (.LC2): New object.
1603 2015-11-11  Mike Frysinger  <vapier@gentoo.org>
1605         * scripts/pylintrc (reports): Set to no.
1607 2015-11-10  Roland McGrath  <roland@hack.frob.com>
1609         * elf/dl-load.c (open_verify): Take new argument FD.
1610         Skip __open call if passed FD is not -1.
1611         (_dl_map_object, open_path): Update callers.
1612         * elf/dl-sysdep-open.h: New file.
1613         * elf/dl-load.c: Include it.
1614         (_dl_map_object): Try _dl_sysdep_open_object before ldconfig cache.
1615         * sysdeps/nacl/dl-sysdep.c (_dl_sysdep_open_object): New function.
1616         * sysdeps/nacl/dl-sysdep-open.h: New file.
1617         * sysdeps/nacl/nacl-interface-list.h: Move nacl_irt_resource_open
1618         from libc to rtld.
1620 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
1622         [BZ #19228]
1623         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Save
1624         and restore full floating-point state.
1625         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
1626         Likewise.
1627         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
1628         Likewise.
1629         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
1630         Likewise.
1631         * math/test-nearbyint-except-2.c: New file.
1632         * math/Makefile (tests): Add test-nearbyint-except-2.
1634 2015-11-10  H.J. Lu  <hongjiu.lu@intel.com>
1636         [BZ #19178]
1637         * sysdeps/x86/Makefile (tests): Add tst-prelink.
1638         (tst-prelink-ENV): New.
1639         ($(objpfx)tst-prelink-conflict.out): Likewise.
1640         ($(objpfx)tst-prelink-cmp.out): Likewise.
1641         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
1642         * sysdeps/x86/tst-prelink.c: New file.
1643         * sysdeps/x86/tst-prelink.exp: Likewise.
1645 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
1647         * math/auto-libm-test-in: Add another test of pow.
1648         * math/auto-libm-test-out: Regenerated.
1649         * math/libm-test.inc (pow_test_data): Add another test.
1651 2015-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1653         [BZ #19219]
1654         * sysdeps/ia64/fpu/s_nearbyintl.S (__nearbyint): Define and
1655         weak_alias to nearbyintl.
1657 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
1659         * sysdeps/aarch64/bits/string.h: New file.
1660         (_STRING_ARCH_unaligned): Define.
1662 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
1664         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Remove __signbit*.
1665         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
1666         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
1667         * sysdeps/unix/sysv/linux/nios2/localplt.data: Likewise.
1668         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data: Likewise.
1670 2015-11-09  Ulrich Drepper  <drepper@gmail.com>
1672         * elf/dl-load.c (_dl_map_object_from_fd): Add additional parameter
1673         for original name of the DSO.  Add it to the name list of the DSO
1674         if it is actually given.
1675         (_dl_map_object): Keep track of whether an audit module rewrote
1676         the file name.  If yes, pass the original name to
1677         _dl_map_object_from_fd in a new parameter, otherwise NULL.  When
1678         debugging is enabled, log the change of the file name.
1679         * sysdeps/mach/hur/dl-sysdep.c: Adjust commented-out call to
1680         _dl_map_object_from_fd.
1681         * elf/Makefile: Build and run tst-audit11 and tst-audit12.
1682         * elf/tst-audit11.c: New file
1683         * elf/tst-auditmod11.c: New file.
1684         * elf/tst-audit11mod1.c: New file.
1685         * elf/tst-audit11mod2.c: New file.
1686         * elf/tst-audit11mod2.map: New file.
1687         * elf/tst-audit12.c: New file
1688         * elf/tst-auditmod12.c: New file.
1689         * elf/tst-audit12mod1.c: New file.
1690         * elf/tst-audit12mod2.c: New file.
1691         * elf/tst-audit12mod2.map: New file.
1692         * elf/tst-audit12mod3.c: New file.
1694 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
1696         * sysdeps/s390/longjmp.c (longjmp, _longjmp, siglongjmp):
1697         Don't create weak aliases,
1698         because versioned symbols are created later.
1699         * sysdeps/s390/s390-32/setjmp.S
1700         (setjmp, _setjmp): Remove weak and rename to an unique name
1701         in SHARED case due to existing versioned symbols.
1702         * sysdeps/s390/s390-64/setjmp.S: Likewise.
1703         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S
1704         (getcontext): Create weak alias only in non SHARED case.
1705         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
1707 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
1709         * sysdeps/unix/sysv/linux/s390/kernel-features.h:
1710         (__ASSUME_*_SYSCALL) Define new macros.
1711         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list:
1712         Remove socketcall syscalls.
1713         * sysdeps/unix/sysv/linux/accept.c (__libc_accept):
1714         Use accept4 if defined __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL.
1715         * sysdeps/unix/sysv/linux/recv.c (__libc_recv):
1716         Use recvfrom if defined __ASSUME_RECVFROM_FOR_RECV_SYSCALL.
1717         * sysdeps/unix/sysv/linux/send.c (__libc_send):
1718         Use sendto if defined __ASSUME_SENDTO_FOR_SEND_SYSCALL.
1720 2015-11-09  Florian Weimer  <fweimer@redhat.com>
1722         [BZ #12926]
1723         Terminate process on invalid netlink response.
1724         * sysdeps/unix/sysv/linux/netlinkaccess.h
1725         (__netlink_assert_response): Declare.
1726         * sysdeps/unix/sysv/linux/netlink_assert_response.c: New file.
1727         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == inet]
1728         (sysdep_routines): Add netlink_assert_response.
1729         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Call
1730         __netlink_assert_response.
1731         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
1732         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
1733         * sysdeps/unix/sysv/linux/Versions (GLIBC_PRIVATE): Add
1734         __netlink_assert_response.
1736 2015-11-07  H.J. Lu  <hongjiu.lu@intel.com>
1738         [BZ #19178]
1739         * elf/dl-lookup.c (RTYPE_CLASS_VALID): New.
1740         (RTYPE_CLASS_PLT): Likewise.
1741         (RTYPE_CLASS_COPY): Likewise.
1742         (RTYPE_CLASS_TLS): Likewise.
1743         (_dl_debug_bindings): Use RTYPE_CLASS_TLS and RTYPE_CLASS_VALID
1744         to set relocation type class for DL_DEBUG_PRELINK.  Keep only
1745         ELF_RTYPE_CLASS_PLT and ELF_RTYPE_CLASS_COPY bits for
1746         DL_DEBUG_PRELINK.
1748 2015-11-06  Joseph Myers  <joseph@codesourcery.com>
1750         * math/test-signgam-finite.c (RUN_TESTS): Correct messages about
1751         calls with argument -0.5.
1752         * math/test-signgam-finite-c99.c (RUN_TESTS): Likewise.
1754         * configure.ac (libc_cv_z_nodelete): Remove configure test.
1755         (libc_cv_z_nodlopen): Likewise.
1756         (libc_cv_z_initfirst): Likewise.
1757         * configure: Regenerated.
1759 2015-11-06  Florian Weimer  <fweimer@redhat.com>
1761         Simplify abilist format to be line-based.
1762         * scripts/abilist.awk: Collect descriptors in the descs variable.
1763         (emit): Write descs variable and sort it
1764         externally, with sort.
1765         * sysdeps/**/*.abilist: Convert to new format.
1767 2015-11-06  Mark Wielaard  <mjw@redhat.com>
1769         [BZ #11460]
1770         * io/Makefile (routines): Add fts64.
1771         (tests): Add tst-fts and tst-fts-lfs.
1772         (CFLAGS-fts64.c): New.
1773         * io/Versions (GLIBC_2.23): New.
1774         * io/fts.c: Replace FTS with FTSOBJ, FTSENT with FTSENTRY. Use
1775         function defines FTS_OPEN, FTS_CLOSE, FTS_READ, FTS_SET and
1776         FTS_CHILDREN. Define FTSOBJ, FTSENTRY, FTS_OPEN, FTS_CLOSE,
1777         FTS_READ, FTS_SET, FTS_CHILDREN, INO_T, STAT and LSTAT if necessary.
1778         * io/fts.h (FTS64): New if _USE_LARGEFILE64.
1779         (FTSENT64): Likewise.
1780         (fts64_children): Likewise.
1781         (fts64_close): Likewise.
1782         (fts64_open): Likewise.
1783         (fts64_read): Likewise.
1784         (fts64_set): Likewise.
1785         * io/fts64.c: New file.
1786         * io/tst-fts.c: New test.
1787         * io/tst-fts-lfs.c: Likewise.
1788         * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.23): Add
1789         GLIBC_2.23, fts64_children, fts64_close, fts64_open, fts64_read and
1790         fts64_set.
1791         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
1792         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
1793         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
1794         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
1795         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
1796         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
1797         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
1798         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
1799         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
1800         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
1801         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
1802         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
1803         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
1804         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
1805         Likewise.
1806         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
1807         Likewise.
1808         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
1809         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
1810         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
1811         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
1812         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
1813         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
1814         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
1815         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
1816         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
1817         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
1818         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
1819         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
1820         * sysdeps/wordsize-64/fts.c: New file.
1821         * sysdeps/wordsize-64/fts64.c: Likewise.
1822         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts.c: Likewise.
1823         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts64.c: Likewise.
1824         * sysdeps/unix/sysv/linux/x86_64/x32/fts.c: likewise.
1825         * sysdeps/unix/sysv/linux/x86_64/x32/fts64.c: likewise.
1827 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
1829         * math/libm-test.inc (NON_FINITE): New macro.
1830         (enable_test): Do not run tests flagged NON_FINITE if TEST_FINITE.
1831         * math/gen-libm-test.pl (show_exceptions): Add argument
1832         $non_finite.
1833         (parse_args): Update call to show_exceptions.
1834         * math/test-math-finite.h: New file.
1835         * math/test-math-no-finite.h: Likewise.
1836         * math/test-double-finite.c: Likewise.
1837         * math/test-float-finite.c: Likewise.
1838         * math/test-ldouble-finite.c: Likewise.
1839         * math/test-double.c: Include "test-math-no-finite.h".
1840         * math/test-float.c: Include "test-math-no-finite.h".
1841         * math/test-ldouble.c: Include "test-math-no-finite.h".
1842         * math/test-math-inline.h (TEST_FINITE): New macro.
1843         * math/test-math-vector.h (TEST_FINITE): Likewise.
1844         * math/Makefile (test-longdouble-yes): Add test-ldouble-finite.
1845         (libm-tests): Add test-float-finite and test-double-finite.
1846         ($(objpfx)test-float-finite.o): New dependency on
1847         $(objpfx)libm-test.stmp.
1848         ($(objpfx)test-double-finite.o): Likewise.
1849         ($(objpfx)test-ldouble-finite.o): Likewise.
1850         (libm-test-no-inline-cflags): New variable.
1851         (libm-test-finite-cflags): Likewise.
1852         (CFLAGS-test-float-finite.c): Likewise.
1853         (CFLAGS-test-double-finite.c): Likewise.
1854         (CFLAGS-test-ldouble-finite.c): Likewise.
1855         (CFLAGS-test-float.c): Use $(libm-test-no-inline-cflags).
1856         (CFLAGS-test-double.c): Likewise.
1857         (CFLAGS-test-ldouble.c): Likewise.
1859 2015-11-05  Roland McGrath  <roland@hack.frob.com>
1861         * io/fcntl.c (__fcntl): Add ... to prototype.
1862         * misc/ioctl.c (__ioctl): Likewise.
1863         * misc/syscall.c (syscall): Likewise.
1865 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
1867         * scripts/list-fixed-bugs.py: New file.
1869         [BZ #19213]
1870         * sysdeps/i386/fpu/e_log.S (__log_finite): Ensure +0 is always
1871         returned for argument 1.
1872         * sysdeps/i386/fpu/e_logf.S (__logf_finite): Likewise.
1873         * sysdeps/i386/fpu/e_logl.S (__logl_finite): Likewise.
1874         * sysdeps/i386/i686/fpu/e_logl.S (__logl_finite): Likewise.
1875         * sysdeps/x86_64/fpu/e_log10l.S (__log10l_finite): Likewise.
1876         * sysdeps/x86_64/fpu/e_log2l.S (__log2l_finite): Likewise.
1877         * sysdeps/x86_64/fpu/e_logl.S (__logl_finite): Likewise.
1879         [BZ #19211]
1880         * math/bits/math-finite.h (lgamma): Set signgam if [__USE_MISC ||
1881         __USE_XOPEN], not if [!__USE_ISOC99].
1882         (lgammaf): Likewise.
1883         (lgammal): Likewise.
1884         (gamma): Set signgam unconditionally, not if [!__USE_ISOC99].
1885         (gammaf): Likewise.
1886         (gammal): Likewise.
1887         * math/test-signgam-finite-c11.c: New file.
1888         * math/test-signgam-finite-c99.c: Likewise.
1889         * math/test-signgam-finite.c: Likewise.
1890         * math/Makefile (tests): Add test-signgam-finite,
1891         test-signgam-finite-c99 and test-signgam-finite-c11.
1892         (CFLAGS-test-signgam-finite.c): New variable.
1893         (CFLAGS-test-signgam-finite-c99.c): Likewise.
1894         (CFLAGS-test-signgam-finite-c11.c): Likewise.
1896         [BZ #19212]
1897         * include/features.h [(_XOPEN_SOURCE - 0) >= 500]: Change
1898         conditional to [defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >=
1899         500].
1900         [_POSIX_C_SOURCE >= 1]: Change conditional to [defined
1901         _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 1].
1902         [(_POSIX_C_SOURCE - 0) >= 199309L]: Change conditional to [defined
1903         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199309L].
1904         [(_POSIX_C_SOURCE - 0) >= 199506L]: Change conditional to [defined
1905         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199506L].
1906         [(_POSIX_C_SOURCE - 0) >= 200112L]: Change conditional to [defined
1907         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200112L].
1908         [(_POSIX_C_SOURCE - 0) >= 200809L]: Change conditional to [defined
1909         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200809L].
1911         [BZ #19209]
1912         * math/bits/math-finite.h (ldexp): Remove declaration.
1913         (ldexpf): Likewise.
1914         (ldexpl): Likewise.
1916         [BZ #19205]
1917         * math/bits/math-finite.h (acosf): Condition declaration on
1918         [__USE_ISOC99].
1919         (acosl): Likewise.
1920         (acoshf): Likewise.
1921         (acoshl): Likewise.
1922         (asinf): Likewise.
1923         (asinl): Likewise.
1924         (atan2f): Likewise.
1925         (atan2l): Likewise.
1926         (atanhf): Likewise.
1927         (atanhl): Likewise.
1928         (coshf): Likewise.
1929         (coshl): Likewise.
1930         (expf): Likewise.
1931         (expl): Likewise.
1932         (fmodf): Likewise.
1933         (fmodl): Likewise.
1934         (hypot): Change condition to [__USE_XOPEN || __USE_ISOC99].
1935         (j0f): Change condition to [__USE_MISC && __USE_ISOC99].
1936         (j0l): Likewise.
1937         (y0f): Likewise.
1938         (y0l): Likewise.
1939         (j1f): Likewise.
1940         (j1l): Likewise.
1941         (y1f): Likewise.
1942         (y1l): Likewise.
1943         (jnf): Likewise.
1944         (jnl): Likewise.
1945         (ynf): Likewise.
1946         (ynl): Likewise.
1947         (lgammaf_r): Condition declaration on [__USE_ISOC99].
1948         (lgammal_r): Likewise.
1949         (__lgamma_r_finite): New declaration.
1950         (__lgammaf_r_finite): Likewise.
1951         (__lgammal_r_finite): Likewise.
1952         (lgamma): Use __lgamma_r_finite.
1953         (lgammaf): Condition definition on [__USE_ISOC99].  Use
1954         __lgammaf_r_finite.
1955         (lgammal): Condition definition on [__USE_ISOC99].  Use
1956         __lgammal_r_finite.
1957         (gamma): Do not define for [!__USE_MISC && __USE_XOPEN2K].  Use
1958         __lgamma_r_finite.
1959         (gammaf): Condition definition on [__USE_ISOC99].  Use
1960         __lgammaf_r_finite.
1961         (gammal): Condition definition on [__USE_ISOC99].  Use
1962         __lgammal_r_finite.
1963         (logf): Condition declaration on [__USE_ISOC99].
1964         (logl): Likewise.
1965         (log10f): Likewise.
1966         (log10l): Likewise.
1967         (ldexpf): Likewise.
1968         (ldexpl): Likewise.
1969         (powf): Likewise.
1970         (powl): Likewise.
1971         (remainder): Condition declaration on [__USE_XOPEN_EXTENDED ||
1972         __USE_ISOC99].
1973         (remainderf): Condition declaration on [__USE_ISOC99].
1974         (remainderl): Likewise.
1975         (scalb): Do not declare for [!__USE_MISC && __USE_XOPEN2K8].
1976         (scalbf): Change condition to [__USE_MISC && __USE_ISOC99].
1977         (scalbl): Likewise.
1978         (sinhf): Condition declaration on [__USE_ISOC99].
1979         (sinhl): Likewise.
1980         (sqrtf): Likewise.
1981         (sqrtl): Likewise.
1983 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
1985         * sysdeps/arm/atomic-machine.h
1986         [__GNUC_PREREQ (4, 7) && __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
1987         Change conditional to [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
1988         [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 && !__GNUC_PREREQ (4, 7)]:
1989         Remove conditional code.
1990         [!__GNUC_PREREQ (4, 7) || !__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
1991         Change conditional to [!__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
1992         * sysdeps/i386/sysdep.h [__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]:
1993         Change conditional to [__ASSEMBLER__].
1994         [__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
1995         [!__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]: Change conditional to
1996         [!__ASSEMBLER__].
1997         [!__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional
1998         code.
1999         * sysdeps/unix/sysv/linux/sh/atomic-machine.h (rNOSP): Remove
2000         conditional macro definitions.
2001         (__arch_compare_and_exchange_val_8_acq): Use "u" instead of rNOSP.
2002         (__arch_compare_and_exchange_val_16_acq): Likewise.
2003         (__arch_compare_and_exchange_val_32_acq): Likewise.
2004         (atomic_exchange_and_add): Likewise.
2005         (atomic_add): Likewise.
2006         (atomic_add_negative): Likewise.
2007         (atomic_add_zero): Likewise.
2008         (atomic_bit_set): Likewise.
2009         (atomic_bit_test_set): Likewise.
2010         * sysdeps/x86_64/atomic-machine.h [__GNUC_PREREQ (4, 7)]: Make
2011         code unconditional.
2012         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
2014         * math/test-math-errno.h: New file.
2015         * math/test-math-inline.h (TEST_INLINE): Define to 1 instead of
2016         empty.
2017         (TEST_ERRNO): New macro.
2018         (TEST_EXCEPTIONS): Likewise.
2019         * math/test-math-no-inline.h (TEST_INLINE): Likewise.
2020         (TEST_EXCEPTIONS): Likewise.
2021         * math/test-math-vector.h (TEST_ERRNO): Likewise.
2022         * math/test-double.c: Include "test-math-errno.h".
2023         * math/test-float.c: Likewise.
2024         * math/test-ldouble.c: Likewise.
2025         * math/libm-test.inc (test_single_exception) [!TEST_INLINE]: Make
2026         code unconditional.
2027         (test_exceptions): Only run code if TEST_EXCEPTIONS.
2028         (test_single_errno) [!TEST_INLINE && !TEST_MATHVEC]: Make code
2029         unconditional.
2030         (test_errno): Only run code if TEST_ERRNO.
2031         (enable_test): Use "if" conditional on TEST_INLINE, not #ifdef.
2033 2015-11-04  Florian Weimer  <fweimer@redhat.com>
2035         * nptl/tst-once5.cc: Remove attribution.
2037 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
2039         * math/auto-libm-test-in: Add more tests of sin, sincos, sinh,
2040         sqrt, tan, tanh, y0, y1 and yn.
2041         * math/auto-libm-test-out: Regenerated.
2042         * math/libm-test.inc (scalb_test_data): Add more tests.
2043         (scalbn_test_data): Likewise.
2044         (scalbln_test_data): Likewise.
2045         (signbit_test_data): Likewise.
2046         (sin_test_data): Likewise.
2047         (sincos_test_data): Likewise.
2048         (sinh_test_data): Likewise.
2049         (sqrt_test_data): Likewise.
2050         (tan_test_data): Likewise.
2051         (tanh_test_data): Likewise.
2052         (tgamma_test_data): Likewise.
2053         (y0_test_data): Likewise.
2054         (y1_test_data): Likewise.
2055         (yn_test_data): Likewise.
2056         (significand_test_data): Likewise.
2057         * sysdeps/i386/fpu/libm-test-ulps: Update.
2059 2015-11-03  David Kastrup  <dak@gnu.org>
2061         [BZ #18604]
2062         * assert/assert.h (assert): Don't macro-expand failed assertion
2063         expression in error message.
2064         * malloc/malloc.c (assert): Likewise.
2066 2015-11-03  Joseph Myers  <joseph@codesourcery.com>
2068         * configure.ac (libc_cv_ld_no_whole_archive): Remove configure
2069         test.
2070         * configure: Regenerated.
2072 2015-11-02  Joseph Myers  <joseph@codesourcery.com>
2074         * math/libm-test.inc (modf_test_data): Add more tests.
2075         (nearbyint_test_data): Likewise.
2076         (nextafter_test_data): Likewise.
2077         (nexttoward_test_data): Likewise.
2078         (pow_test_data): Likewise.
2079         (remainder_test_data): Likewise.
2080         (remquo_test_data): Likewise.
2081         (rint_test_data): Likewise.
2083         [BZ #19201]
2084         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
2085         Check for zero remainder in case of large exponents and ensure
2086         correct sign of result in that case.
2087         * math/libm-test.inc (remainder_test_data): Add more tests.
2089         [BZ #6799]
2090         * math/s_nextafter.c: Include <errno.h>.
2091         (__nextafter): Set errno on overflow and underflow.
2092         * math/s_nexttowardf.c: Include <errno.h>.
2093         (__nexttowardf): Set errno on overflow and underflow.
2094         * sysdeps/i386/fpu/s_nextafterl.c: Include <errno.h>.
2095         (__nextafterl): Set errno on overflow and underflow.
2096         * sysdeps/i386/fpu/s_nexttoward.c: Include <errno.h>.
2097         (__nexttoward): Set errno on overflow and underflow.
2098         * sysdeps/i386/fpu/s_nexttowardf.c: Include <errno.h>.
2099         (__nexttowardf): Set errno on overflow and underflow.
2100         * sysdeps/ieee754/flt-32/s_nextafterf.c: Include <errno.h>.
2101         (__nextafterf): Set errno on overflow and underflow.
2102         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include <errno.h>.
2103         (__nextafterl): Set errno on overflow and underflow.
2104         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Include <errno.h>.
2105         (__nexttoward): Set errno on overflow and underflow.
2106         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Include <errno.h>.
2107         (__nexttowardf): Set errno on overflow and underflow.
2108         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <errno.h>.
2109         (__nextafterl): Set errno on overflow and underflow.
2110         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Include <errno.h>.
2111         (__nexttoward): Set errno on overflow and underflow.
2112         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include <errno.h>.
2113         (__nexttowardf): Set errno on overflow and underflow.
2114         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Include <errno.h>.
2115         (__nexttoward): Set errno on overflow and underflow.
2116         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include <errno.h>.
2117         (__nexttowardf): Set errno on overflow and underflow.
2118         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include <errno.h>.
2119         (__nldbl_nexttowardf): Set errno on overflow and underflow.
2120         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Include <errno.h>.
2121         (__nextafterl): Set errno on overflow and underflow.
2122         * math/libm-test.inc (nextafter_test_data): Do not allow errno
2123         setting to be missing on overflow.  Add more tests.
2124         (nexttoward_test_data): Likewise.
2126         * configure.ac (libc_cv_initfini_array): Remove configure test.
2127         * configure: Regenerated.
2129 2015-10-29  Joseph Myers  <joseph@codesourcery.com>
2131         [BZ #19189]
2132         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Make check for
2133         non-finite argument handle arguments with negative sign.
2135         * math/libm-test.inc (j0_test_data): Do not test sign of zero
2136         result from infinite argument.
2137         (j1_test_data): Likewise.
2138         (jn_test_data): Likewise.
2139         (y0_test_data): Likewise.
2140         (y1_test_data): Likewise.
2141         (yn_test_data): Likewise.
2143         [BZ #16171]
2144         * math/w_remainder.c (drem): Define as weak alias of __remainder.
2145         [NO_LONG_DOUBLE] (dreml): Define as weak alias of __remainder.
2146         * math/w_remainderf.c (dremf): Define as weak alias of
2147         __remainderf.
2148         * math/w_remainderl.c (dreml): Define as weak alias of
2149         __remainderl.
2150         * sysdeps/ia64/fpu/e_remainder.S (drem): Define as weak alias of
2151         __remainder.
2152         * sysdeps/ia64/fpu/e_remainderf.S (dremf): Define as weak alias of
2153         __remainderf.
2154         * sysdeps/ia64/fpu/e_remainderl.S (dreml): Define as weak alias of
2155         __remainderl.
2156         * sysdeps/ieee754/ldbl-opt/nldbl-remainder.c (dreml): Define as
2157         weak alias of remainderl.
2158         * sysdeps/ieee754/ldbl-opt/w_remainder.c
2159         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__drem): Define as strong
2160         alias of __remainder.
2161         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (dreml): Use compat_symbol.
2162         * sysdeps/ieee754/ldbl-opt/w_remainderl.c (__dreml): Define as
2163         strong alias of __remainderl.
2164         (dreml): Use long_double_symbol.
2165         * math/Makefile (libm-calls): Remove w_drem.
2166         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove drem.
2167         (CFLAGS-nldbl-drem.c): Remove variable.
2168         (CFLAGS-nldbl-remainder.c): Add -fno-builtin-dreml.
2169         * math/w_drem.c: Remove file.
2170         * math/w_dremf.c: Likewise.
2171         * math/w_dreml.c: Likewise.
2172         * sysdeps/ieee754/ldbl-opt/nldbl-drem.c: Likewise.
2173         * sysdeps/ieee754/ldbl-opt/w_drem.c: Likewise.
2174         * sysdeps/ieee754/ldbl-opt/w_dreml.c: Likewise.
2176         * sysdeps/i386/configure.ac (cpuid.h): Do not test for header.
2177         * sysdeps/i386/configure: Regenerated.
2178         * sysdeps/x86_64/configure.ac (cpuid.h): Do not test for header.
2179         * sysdeps/x86_64/configure: Regenerated.
2181         * configure.ac (libc_cv_asm_protected_directive): Remove configure
2182         test.
2183         (libc_cv_visibility_attribute): Likewise.
2184         (libc_cv_protected_data): Test unconditionally.
2185         (libc_cv_broken_visibility_attribute): Remove configure test.
2186         (libc_cv_have_sdata_section): Test unconditionally.
2187         * configure: Regenerated.
2189         * include/libc-internal.h (libc_max_align_t): Remove typedef.
2190         * include/scratch_buffer.h: Include <stddef.h> instead of
2191         <libc-internal.h>.
2192         (struct scratch_buffer): Use max_align_t instead of
2193         libc_max_align_t.
2195 2015-10-29  Florian Weimer  <fweimer@redhat.com>
2197         * elf/dl-fini.c (_dl_fini): Rewrite to use variable-length array
2198         instead of extend_alloca.  Change control flow to avoid a goto.
2199         Remove assert which is trivially always true.
2201 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
2203         [BZ #16068]
2204         * sysdeps/i386/fpu/fesetenv.c: Include <fpu_control.h>.
2205         (FE_ALL_EXCEPT_X86): New macro.
2206         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
2207         FE_ALL_EXCEPT.  Ensure precision control is included in
2208         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
2209         handle "denormal operand exception" and clear FZ and DAZ bits.
2210         * sysdeps/x86_64/fpu/fesetenv.c: Include <fpu_control.h>.
2211         (FE_ALL_EXCEPT_X86): New macro.
2212         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
2213         FE_ALL_EXCEPT.  Ensure precision control is included in
2214         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
2215         handle "denormal operand exception" and clear FZ and DAZ bits.
2216         * sysdeps/x86/fpu/test-fenv-sse-2.c: New file.
2217         * sysdeps/x86/fpu/test-fenv-x87.c: Likewise.
2218         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
2219         test-fenv-x87 and test-fenv-sse-2.
2220         [$(subdir) = math] (CFLAGS-test-fenv-sse-2.c): New variable.
2222         * math/libm-test.inc (BUILD_COMPLEX): Remove macro.
2223         * math/test-double.h (BUILD_COMPLEX): New macro.
2224         * math/test-float.h (BUILD_COMPLEX): Likewise.
2225         * math/test-ldouble.h (BUILD_COMPLEX): Likewise.
2227         * math/libm-test.inc (min_subnorm_value): Use LDBL_TRUE_MIN,
2228         DBL_TRUE_MIN and FLT_TRUE_MIN instead of __LDBL_DENORM_MIN__,
2229         __DBL_DENORM_MIN__ and __FLT_DENORM_MIN__.
2230         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Refer to DBL_TRUE_MIN
2231         instead of DBL_DENORM_MIN in comment.
2232         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Refer to
2233         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
2234         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <float.h>.
2235         (__nextafterl): Use LDBL_TRUE_MIN instead of __LDBL_DENORM_MIN__.
2236         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Refer to
2237         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
2239 2015-10-28  Florian Weimer  <fweimer@redhat.com>
2241         [BZ# 19048]
2242         * malloc/malloc.c (struct malloc_state): Update comment.  Add
2243         attached_threads member.
2244         (main_arena): Initialize attached_threads.
2245         * malloc/arena.c (list_lock): Update comment.
2246         (ptmalloc_lock_all, ptmalloc_unlock_all): Likewise.
2247         (ptmalloc_unlock_all2): Reinitialize arena reference counts.
2248         (deattach_arena): New function.
2249         (_int_new_arena): Initialize arena reference count and deattach
2250         replaced arena.
2251         (get_free_list, reused_arena): Update reference count and deattach
2252         replaced arena.
2253         (arena_thread_freeres): Update arena reference count and only put
2254         unreferenced arenas on the free list.
2256 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
2258         [BZ #19181]
2259         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Clear already-raised
2260         SSE exceptions when argument is FE_DFL_ENV or FE_NOMASK_ENV.
2261         * sysdeps/x86_64/fpu/fesetenv.c (__fesetenv): Likewise.
2262         * math/test-fenv-clear-main.c: New file.
2263         * math/test-fenv-clear.c: Likewise.
2264         * math/Makefile (tests): Add test-fenv-clear.
2265         * sysdeps/x86/fpu/test-fenv-clear-sse.c: New file.
2266         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
2267         test-fenv-clear-sse.
2268         [$(subdir) = math] (CFLAGS-test-fenv-clear-sse.c): New variable.
2270         * math/libm-test.inc (TYPE_DECIMAL_DIG): Use LDBL_DECIMAL_DIG,
2271         DBL_DECIMAL_DIG and FLT_DECIMAL_DIG instead of __DECIMAL_DIG__,
2272         __DBL_DECIMAL_DIG__ and __FLT_DECIMAL_DIG__.
2274 2015-10-28  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
2276         * sysdeps/powerpc/libc-tls.c: New file. Provides __tls_get_addr () in
2277         static libc.
2279 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
2281         * sysdeps/i386/configure.ac (libc_cv_cc_avx2): Remove configure
2282         test.
2283         * sysdeps/i386/configure: Regenerated.
2284         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx2): Remove configure
2285         test.
2286         * sysdeps/x86_64/configure: Regenerated.
2287         * config.h.in (HAVE_AVX2_SUPPORT): Remove #undef.
2288         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2289         memset-avx2 unconditionally instead of conditionally on
2290         [$(config-cflags-avx2) = yes].
2291         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
2292         (__libc_ifunc_impl_list) [HAVE_AVX2_SUPPORT]: Make code
2293         unconditional.
2294         * sysdeps/x86_64/multiarch/memset.S [HAVE_AVX2_SUPPORT]: Likewise.
2295         * sysdeps/x86_64/multiarch/memset_chk.S
2296         [IS_IN (libc) && SHARED && HAVE_AVX2_SUPPORT]: Change conditional
2297         to [IS_IN (libc) && SHARED].
2299 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
2301         * sysdeps/arm/configure.ac (libc_cv_arm_tls_desc): Remove
2302         configure test.
2303         * sysdeps/arm/configure: Regenerated.
2304         * sysdeps/arm/Makefile [!have-arm-tls-desc] (have-arm-tls-desc):
2305         Define variable if not already defined.
2307         [BZ #17404]
2308         * sysdeps/mips/atomic-machine.h
2309         [__GNUC_PREREQ (4, 8) || (__mips16 && __GNUC_PREREQ (4, 7))]:
2310         Change conditional to [__GNUC_PREREQ (4, 8) || __mips16].
2311         [__mips16 && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
2313         * resolv/res_send.c (send_vc) [__GNUC_PREREQ (4, 7)]: Make code
2314         unconditional.
2315         * soft-fp/fmadf4.c [__GNUC_PREREQ (4, 7)]: Likewise.
2316         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
2317         * soft-fp/fmasf4.c [__GNUC_PREREQ (4, 7)]: Make code
2318         unconditional.
2319         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
2320         * soft-fp/fmatf4.c [__GNUC_PREREQ (4, 7)]: Make code
2321         unconditional.
2322         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
2323         * stdlib/setenv.c
2324         [((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7)]: Make
2325         code unconditional.
2326         [!(((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7))]:
2327         Remove conditional code.
2328         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
2329         (__ieee754_lgamma_r) [__GNUC_PREREQ (4, 7)]: Make code
2330         unconditional.
2331         (__ieee754_lgamma_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
2332         code.
2333         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
2334         (__ieee754_lgammaf_r) [__GNUC_PREREQ (4, 7)]: Make code
2335         unconditional.
2336         (__ieee754_lgammaf_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
2337         code.
2338         * sysdeps/ieee754/ldbl-128/k_tanl.c
2339         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
2340         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
2341         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
2342         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
2343         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
2344         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
2345         (__ieee754_lgammal_r) [__GNUC_PREREQ (4, 7)]: Make code
2346         unconditional.
2347         (__ieee754_lgammal_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
2348         code.
2349         * sysdeps/ieee754/ldbl-96/k_tanl.c
2350         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
2351         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
2353         * nptl/tst-initializers1-c11.c: New file.
2354         * nptl/tst-initializers1-gnu11.c: Likewise.
2355         * nptl/Makefile (tests): Add these new tests.
2356         (CFLAGS-tst-initializers1-c11.c): New variable.
2357         (CFLAGS-tst-initializers1-gnu11.c): Likewise.
2359         * Makeconfig (CFLAGS): Use -std=gnu11 instead of -std=gnu99.
2360         * Makefile ($(objpfx)c++-types-check.out): Filter out -std=gnu11
2361         instead of -std=gnu99.
2362         * configure.ac (systemtap): Test with -std=gnu11 instead of
2363         -std=gnu99.
2364         * configure: Regenerated.
2365         * math/gen-auto-libm-tests.c: Use -std=gnu11 instead of -std=gnu99
2366         in compilation command in comment.
2368         * sysdeps/nptl/configure.ac: Remove file.
2369         * sysdeps/nptl/configure: Remove generated file.
2370         * configure.ac (libc_cv_forced_unwind): Do not substitute.
2371         * configure: Regenerated.
2372         * config.h.in (HAVE_FORCED_UNWIND): Remove #undef.
2373         * config.make.in (have-forced-unwind): Remove variable.
2374         * nptl/Makefile [$(have-forced-unwind) = yes]: Make code
2375         unconditional.
2376         * nptl/descr.h [HAVE_FORCED_UNWIND]: Likewise.
2377         * nptl/unwind.c [HAVE_FORCED_UNWIND]: Likewise.
2378         (__pthread_unwind) [!HAVE_FORCED_UNWIND]: Remove conditional code.
2379         * nptl/version.c [HAVE_FORCED_UNWIND]: Make code unconditional.
2380         * sysdeps/nptl/Makefile [$(have-forced-unwind) = yes]: Make code
2381         unconditional.
2383 2015-10-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2385         [BZ #19174]
2386         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Fix usage of
2387         .skip_lock_out_of_tbegin_retries.
2388         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
2389         (__lll_lock_elision): Likewise, and respect a value of
2390         try_tbegin <= 0.
2392 2015-10-27  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
2394         * elf/dl-support.c (_dl_aux_init): Added AT_PLATFORM to the case
2395         statement.
2397 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
2399         * conform/Makefile (test-xfail-ISO11/complex.h/conform): Remove
2400         variable.
2401         (test-xfail-ISO11/stdalign.h/conform): Likewise.
2402         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
2404         * conform/GlibcConform.pm ($CFLAGS{"ISO11"}): Use -std=c11 instead
2405         of -std=c1x -D_ISOC11_SOURCE.
2407         * configure.ac (libc_cv_compiler_ok): Require GCC 4.7 or later.
2408         * configure: Regenerated.
2409         * manual/install.texi (Tools for Compilation): Document
2410         requirement for GCC 4.7 or later.
2411         * INSTALL: Regenerated.
2413 2015-10-27  Ludovic Courtès  <ludo@gnu.org>
2415         * locale/loadlocale.c (_nl_intern_locale_data): Change assertion
2416         on CNT to a conditional jump to 'puntdata'.
2418 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
2420         * configure.ac (libc_cv_gcc___thread): Remove configure test.
2421         (libc_cv_gcc_tls_model_attr): Likewise.
2422         * configure: Regenerated.
2424         * configure.ac (libc_cv_need_minus_P): Remove configure test.
2425         * configure: Regenerated.
2426         * Makeconfig (asm-CPPFLAGS): Remove reference to -P in comment.
2428 2015-10-26  Joseph Myers  <joseph@codesourcery.com>
2430         * configure.ac (old_glibc_headers): Remove configure test.
2431         * configure: Regenerated.
2432         * config.make.in (old-glibc-headers): Remove variable.
2433         * Makefile [!$(install_root) && $(old-glibc-headers) = yes]
2434         (install): Remove dependency on remove-old-headers.
2435         (headers2_0): Remove variable.
2436         (remove-old-headers): Remove rule.
2438         * configure.ac (libc_cv_dot_text): Remove configure test.
2439         (libc_cv_asm_set_directive): Use .text instead of
2440         ${libc_cv_dot_text} in configure test.
2441         * configure: Regenerated.
2443 2015-10-26  Florian Weimer  <fweimer@redhat.com>
2445         [BZ #19168]
2446         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
2448 2015-10-26  Florian Weimer  <fweimer@redhat.com>
2450         * configure.ac (CXX): Clear the variable if the C++ toolchain does
2451         not support static linking.
2452         * configure: Regenerate.
2454 2015-10-23  Joseph Myers  <joseph@codesourcery.com>
2456         * math/libm-test.inc (check_float_internal): Do not special-case
2457         errors up to 0.5 ulp.
2459         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
2460         log2.
2461         * math/auto-libm-test-out: Regenerated.
2462         * math/libm-test.inc (MAX_EXP): New macro.
2463         (ilogb_test_data): Add more tests.
2464         (isfinite_test_data): Likewise.
2465         (isgreater_test_data): Likewise.
2466         (isgreaterequal_test_data): Likewise.
2467         (isinf_test_data): Likewise.
2468         (isless_test_data): Likewise.
2469         (islessequal_test_data): Likewise.
2470         (islessgreater_test_data): Likewise.
2471         (isnan_test_data): Likewise.
2472         (isnormal_test_data): Likewise.
2473         (issignaling_test_data): Likewise.
2474         (isunordered_test_data): Likewise.
2475         (j0_test_data): Likewise.
2476         (j1_test_data): Likewise.
2477         (jn_test_data): Likewise.
2478         (lgamma_test_data): Likewise.
2479         (log_test_data): Likewise.
2480         (log10_test_data): Likewise.
2481         (log1p_test_data): Likewise.
2482         (log2_test_data): Likewise.
2483         (logb_test_data): Likewise.
2484         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2486         [BZ #18611]
2487         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Set errno and
2488         avoid excess range and precision on underflow.
2489         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
2490         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
2491         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
2492         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Set errno on
2493         underflow.
2494         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
2495         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
2496         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
2497         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
2498         * math/auto-libm-test-in: Do not allow missing errno setting for
2499         tests of j1 and jn.
2500         * math/auto-libm-test-out: Regenerated.
2502 2015-10-22  Joseph Myers  <joseph@codesourcery.com>
2504         [BZ #15491]
2505         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Save and restore
2506         floating-point environment instead of clearing all exceptions.
2507         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
2508         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise,
2509         merging in "invalid" exceptions from frndint.
2510         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
2511         * math/test-nearbyint-except.c: New file.
2512         * math/Makefile (tests): Add test-nearbyint-except.
2514 2015-10-22  Chris Metcalf  <cmetcalf@ezchip.com>
2516         * NEWS: Mention bug 18699 fixed by commit fe8c2b33aed0.
2518         * sysdeps/tile/libm-test-ulps: Regenerated.
2520 2015-10-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2522         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c
2523         (__NR_sync_file_range2): Assume it is always defined.
2524         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
2525         (__NR_sync_file_range): Assume it is always defined.
2527 2015-10-22  Andreas Schwab  <schwab@suse.de>
2529         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
2530         INTERNAL_SYSCALL_ERRNO.
2531         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
2532         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
2533         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
2534         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
2535         Likewise.
2536         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
2538 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
2540         * io/tst-fcntl.c (fd): New static variable.
2541         (do_prepare): Open temporary file here....
2542         (do_test): ...not here.
2544         * io/ftwtest-sh: Also trap on exit to remove temporary files.
2546 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
2548         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: Replace
2549         __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
2550         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
2551         Moved before "#ifdef __ASSEMBLER__".
2553 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
2555         [BZ #19156]
2556         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Return 1 for
2557         arguments very close to 0.
2559 2015-10-21  Chris Metcalf  <cmetcalf@ezchip.com>
2561         * sysdeps/unix/sysv/linux/tile/sysdep.h (PSEUDO_END)
2562         (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO): Undef before defining.
2564 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
2566         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
2567         New.  Defined for GCC 5 and above when not compiling for
2568         profiling.
2569         Replace __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
2571         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
2572         Renamed to ...
2573         (CFLAGS-epoll_pwait.o): This.
2574         (CFLAGS-mmap.c): Renamed to ...
2575         (CFLAGS-mmap.o): This.
2576         (CFLAGS-mmap64.c): Renamed to ...
2577         (CFLAGS-mmap64.o): This.
2578         (CFLAGS-epoll_pwait.os): New.
2579         (CFLAGS-mmap.os): Likewise.
2580         (CFLAGS-mmap64.os): Likewise.
2581         (CFLAGS-semtimedop.os): Likewise.
2582         (CFLAGS-semtimedop.c): Renamed to ...
2583         (CFLAGS-semtimedop.o): This.
2585 2015-10-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
2587         * debug/tst-backtrace4.c (handle_signal): Fix a comment and
2588         warning message.
2590 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
2592         * Makeconfig (+gccwarn-c): Add -Wold-style-definition.
2593         * Makefile ($(objpfx)c++-types-check.out): Filter out
2594         $(+gccwarn-c) instead of -Wstrict-prototypes.
2596         * io/fts.c (fts_open): Convert to prototype-style function
2597         definition.
2598         * malloc/mcheck.c (mcheck): Likewise.
2599         (mcheck_pedantic): Likewise.
2600         * posix/regexec.c (re_search_2_stub): Likewise.  Use
2601         internal_function.
2602         (re_search_internal): Likewise.
2603         * resolv/res_init.c [RESOLVSORT] (net_mask): Convert to
2604         prototype-style function definition.
2605         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
2606         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
2607         * sunrpc/rpcsvc/rusers.x (xdr_utmp): Likewise.
2608         (xdr_utmpptr): Likewise.
2609         (xdr_utmparr): Likewise.
2610         (xdr_utmpidle): Likewise.
2611         (xdr_utmpidleptr): Likewise.
2612         (xdr_utmpidlearr): Likewise.
2614         * math/auto-libm-test-in: Add more tests of hypot, j0, j1, jn,
2615         log, log10 and log2.
2616         * math/auto-libm-test-out: Regenerated.
2617         * math/libm-test.inc (fmod_test_data): Add more tests.
2618         (fpclassify_test_data): Likewise.
2619         (frexp_test_data): Likewise.
2620         (hypot_test_data): Likewise.
2621         (ilogb_test_data): Likewise.
2623 2015-10-20  Joseph Myers  <joseph@codesourcery.com>
2625         * debug/fortify_fail.c (__fortify_fail): Convert to
2626         prototype-style function definition.  Use internal_function.
2627         * libio/genops.c (save_for_backup): Convert to prototype-style
2628         function definition.
2629         * libio/wgenops.c (save_for_wbackup): Likewise.
2630         * login/grantpt.c (grantpt): Likewise.
2631         * login/ptsname.c (ptsname): Likewise.
2632         (__ptsname_r): Likewise.
2633         * login/unlockpt.c (unlockpt): Likewise.
2634         * mach/msgserver.c (__mach_msg_server): Likewise.
2635         * misc/efgcvt.c (__APPEND (FUNC_PREFIX, fcvt)): Likewise.
2636         (__APPEND (FUNC_PREFIX, ecvt)): Likewise.
2637         (__APPEND (FUNC_PREFIX, gcvt)): Likewise.
2638         * misc/efgcvt_r.c (__APPEND (FUNC_PREFIX, fcvt_r)): Likewise.
2639         (__APPEND (FUNC_PREFIX, ecvt_r)): Likewise.
2640         * nptl/cleanup_compat.c (_pthread_cleanup_push): Likewise.
2641         * nptl/cleanup_defer_compat.c (_pthread_cleanup_push_defer):
2642         Likewise.
2643         * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.  Use
2644         internal_function.
2645         * nptl/pthread_atfork.c (__pthread_atfork): Convert to
2646         prototype-style function definition.
2647         * nptl/pthread_create.c (__pthread_create_2_1): Likewise.
2648         [SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)]
2649         (__pthread_create_2_0): Likewise.
2650         * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
2651         * nptl/register-atfork.c (__register_atfork): Likewise.
2652         * posix/glob.c (glob): Likewise.
2653         * posix/regcomp.c (re_comp): Likewise.
2654         * posix/regexec.c (re_exec): Likewise.
2655         * stdlib/add_n.c [__STDC__]: Make code unconditional.
2656         [!__STDC__]: Remove conditional code.
2657         * stdlib/cmp.c [__STDC__]: Make code unconditional.
2658         [!__STDC__]: Remove conditional code.
2659         * stdlib/divmod_1.c [__STDC__]: Make code unconditional.
2660         [!__STDC__]: Remove conditional code.
2661         * stdlib/divrem.c [__STDC__]: Make code unconditional.
2662         [!__STDC__]: Remove conditional code.
2663         * stdlib/lshift.c [__STDC__]: Make code unconditional.
2664         [!__STDC__]: Remove conditional code.
2665         * stdlib/mod_1.c [__STDC__]: Make code unconditional.
2666         [!__STDC__]: Remove conditional code.
2667         * stdlib/mul.c [__STDC__]: Make code unconditional.
2668         [!__STDC__]: Remove conditional code.
2669         * stdlib/mul_n.c [__STDC__]: Make code unconditional.
2670         [!__STDC__]: Remove conditional code.
2671         * stdlib/rshift.c [__STDC__]: Make code unconditional.
2672         [!__STDC__]: Remove conditional code.
2673         * stdlib/strtod.c (INTERNAL (STRTOF)): Convert to prototype-style
2674         function definition.
2675         (STRTOF): Likewise.
2676         * stdlib/strtod_l.c (__STRTOF): Likewise.
2677         * stdlib/strtol.c (INTERNAL (strtol)): Likewise.
2678         * stdlib/strtol_l.c (INTERNAL (__strtol_l)): Likewise.
2679         (__strtol_l): Likewise.
2680         * stdlib/sub_n.c [__STDC__]: Make code unconditional.
2681         [!__STDC__]: Remove conditional code.
2682         * string/memrchr.c (MEMRCHR): Convert to prototype-style function
2683         definition.
2684         * string/strcasecmp.c (LOCALE_PARAM_DECL): Remove macro.
2685         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
2686         type.
2687         (__strcasecmp): Convert to prototype-style function definition.
2688         * string/strncase.c (LOCALE_PARAM_DECL): Remove macro.
2689         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
2690         type.
2691         (__strncasecmp): Convert to prototype-style function definition.
2692         * sunrpc/pm_getport.c (__libc_rpc_getport): Likewise.
2693         * sunrpc/xdr.c (xdr_union): Likewise.
2694         * sunrpc/xdr_array.c (xdr_array): Likewise.
2695         * sunrpc/xdr_ref.c (xdr_reference): Likewise.
2696         * sysdeps/m68k/m680x0/fpu/s_atan.c (__CONCATX(__,FUNC)): Likewise.
2697         * sysdeps/m68k/m680x0/fpu/s_isinf.c (__CONCATX(__,FUNC)):
2698         Likewise.
2699         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(__scalbn,suffix):
2700         Likewise.
2701         * sysdeps/m68k/m680x0/fpu/s_sincos.c (CONCATX(__,FUNC)): Likewise.
2702         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
2703         Likewise.
2704         * time/strftime_l.c (LOCALE_PARAM_DECL): Remove macro.
2705         (LOCALE_PARAM_PROTO): Likewise.
2706         [_LIBC && USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include
2707         argument type.
2708         (ut_argument_spec): Remove macro.
2709         (ut_argument_spec_iso): Rename to ut_argument_spec.
2710         (memcpy_lowcase): Use LOCALE_PARAM in declaration.  Convert to
2711         prototype-style function definition.
2712         (memcpy_uppcase): Likewise.
2713         (__strftime_internal): Likewise.
2714         (my_strftime): Likewise.
2715         * time/strptime_l.c (LOCALE_PARAM_PROTO): Remove macro.
2716         (LOCALE_PARAM_DECL): Likewise.
2717         [_LIBC] (LOCALE_PARAM): Include argument type.
2718         (__strptime_internal): Convert to prototype-style function
2719         definition.
2720         (strptime): Likewise.
2721         * wcsmbs/wcscasecmp.c (LOCALE_PARAM_DECL): Remove macro.
2722         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
2723         type.
2724         (__wcscasecmp): Convert to prototype-style function definition.
2725         * wcsmbs/wcsncase.c (LOCALE_PARAM_DECL): Remove macro.
2726         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
2727         type.
2728         (__wcsncasecmp): Convert to prototype-style function definition.
2730         * crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style
2731         function definition.
2732         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
2733         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
2734         * debug/backtracesyms.c (__backtrace_symbols): Likewise.
2735         * elf/dl-minimal.c (_itoa): Likewise.
2736         * hurd/hurdmalloc.c (malloc): Likewise.
2737         (free): Likewise.
2738         (realloc): Likewise.
2739         * inet/inet6_option.c (inet6_option_space): Likewise.
2740         (inet6_option_init): Likewise.
2741         (inet6_option_append): Likewise.
2742         (inet6_option_alloc): Likewise.
2743         (inet6_option_next): Likewise.
2744         (inet6_option_find): Likewise.
2745         * io/ftw.c (FTW_NAME): Likewise.
2746         (NFTW_NAME): Likewise.
2747         (NFTW_NEW_NAME): Likewise.
2748         (NFTW_OLD_NAME): Likewise.
2749         * libio/iofwide.c (_IO_fwide): Likewise.
2750         * libio/strops.c (_IO_str_init_static_internal): Likewise.
2751         (_IO_str_init_static): Likewise.
2752         (_IO_str_init_readonly): Likewise.
2753         (_IO_str_overflow): Likewise.
2754         (_IO_str_underflow): Likewise.
2755         (_IO_str_count): Likewise.
2756         (_IO_str_seekoff): Likewise.
2757         (_IO_str_pbackfail): Likewise.
2758         (_IO_str_finish): Likewise.
2759         * libio/wstrops.c (_IO_wstr_init_static): Likewise.
2760         (_IO_wstr_overflow): Likewise.
2761         (_IO_wstr_underflow): Likewise.
2762         (_IO_wstr_count): Likewise.
2763         (_IO_wstr_seekoff): Likewise.
2764         (_IO_wstr_pbackfail): Likewise.
2765         (_IO_wstr_finish): Likewise.
2766         * locale/programs/localedef.c (normalize_codeset): Likewise.
2767         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
2768         (add_locales_to_archive): Likewise.
2769         (delete_locales_from_archive): Likewise.
2770         * malloc/malloc.c (__libc_mallinfo): Likewise.
2771         * math/gen-auto-libm-tests.c (init_fp_formats): Likewise.
2772         * misc/tsearch.c (__tfind): Likewise.
2773         * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise.
2774         * nptl/pthread_attr_getdetachstate.c
2775         (__pthread_attr_getdetachstate): Likewise.
2776         * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
2777         Likewise.
2778         * nptl/pthread_attr_getinheritsched.c
2779         (__pthread_attr_getinheritsched): Likewise.
2780         * nptl/pthread_attr_getschedparam.c
2781         (__pthread_attr_getschedparam): Likewise.
2782         * nptl/pthread_attr_getschedpolicy.c
2783         (__pthread_attr_getschedpolicy): Likewise.
2784         * nptl/pthread_attr_getscope.c (__pthread_attr_getscope):
2785         Likewise.
2786         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack):
2787         Likewise.
2788         * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
2789         Likewise.
2790         * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
2791         Likewise.
2792         * nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise.
2793         (__pthread_attr_init_2_0): Likewise.
2794         * nptl/pthread_attr_setdetachstate.c
2795         (__pthread_attr_setdetachstate): Likewise.
2796         * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
2797         Likewise.
2798         * nptl/pthread_attr_setinheritsched.c
2799         (__pthread_attr_setinheritsched): Likewise.
2800         * nptl/pthread_attr_setschedparam.c
2801         (__pthread_attr_setschedparam): Likewise.
2802         * nptl/pthread_attr_setschedpolicy.c
2803         (__pthread_attr_setschedpolicy): Likewise.
2804         * nptl/pthread_attr_setscope.c (__pthread_attr_setscope):
2805         Likewise.
2806         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack):
2807         Likewise.
2808         * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
2809         Likewise.
2810         * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
2811         Likewise.
2812         * nptl/pthread_condattr_setclock.c (pthread_condattr_setclock):
2813         Likewise.
2814         * nptl/pthread_create.c (__find_in_stack_list): Likewise.
2815         * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
2816         * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to
2817         use internal_function.
2818         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to
2819         prototype-style function definition.
2820         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
2821         (__pthread_mutex_cond_lock_adjust): Likewise.  Use
2822         internal_function.
2823         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock):
2824         Convert to prototype-style function definition.
2825         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
2826         Likewise.
2827         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
2828         Likewise.
2829         (__pthread_mutex_unlock): Likewise.
2830         * nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
2831         * nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise.
2832         * nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
2833         * nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise.
2834         * nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise.
2835         * nss/makedb.c (process_input): Likewise.
2836         * posix/fnmatch.c (__strchrnul): Likewise.
2837         (__wcschrnul): Likewise.
2838         (fnmatch): Likewise.
2839         * posix/fnmatch_loop.c (FCT): Likewise.
2840         * posix/glob.c (globfree): Likewise.
2841         (__glob_pattern_type): Likewise.
2842         (__glob_pattern_p): Likewise.
2843         * posix/regcomp.c (re_compile_pattern): Likewise.
2844         (re_set_syntax): Likewise.
2845         (re_compile_fastmap): Likewise.
2846         (regcomp): Likewise.
2847         (regerror): Likewise.
2848         (regfree): Likewise.
2849         * posix/regexec.c (regexec): Likewise.
2850         (re_match): Likewise.
2851         (re_search): Likewise.
2852         (re_match_2): Likewise.
2853         (re_search_2): Likewise.
2854         (re_search_stub): Likewise.  Use internal_function
2855         (re_copy_regs): Likewise.
2856         (re_set_registers): Convert to prototype-style function
2857         definition.
2858         (prune_impossible_nodes): Likewise.  Use internal_function.
2859         * resolv/inet_net_pton.c (inet_net_pton): Convert to
2860         prototype-style function definition.
2861         (inet_net_pton_ipv4): Likewise.
2862         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
2863         * sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise.
2864         * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
2865         * sysdeps/pthread/timer_delete.c (timer_delete): Likewise.
2866         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
2867         Make variadic.
2868         * time/strptime_l.c (localtime_r): Convert to prototype-style
2869         function definition.
2870         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
2871         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
2872         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
2873         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
2875         * crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function
2876         definition.
2877         (_ufc_doit_r): Likewise.
2878         * crypt/crypt_util.c (_ufc_copymem): Likewise.
2879         (_ufc_output_conversion_r): Likewise.
2880         * inet/inet_mkadr.c (__inet_makeaddr): Likewise.
2881         * inet/rcmd.c (rcmd_af): Likewise.
2882         (rcmd): Likewise.
2883         (ruserok_af): Likewise.
2884         (ruserok): Likewise.
2885         (ruserok2_sa): Likewise.
2886         (ruserok_sa): Likewise.
2887         (iruserok_af): Likewise.
2888         (iruserok): Likewise.
2889         (__ivaliduser): Likewise.
2890         (__validuser2_sa): Likewise.
2891         * inet/rexec.c (rexec_af): Likewise.
2892         (rexec): Likewise.
2893         * inet/ruserpass.c (ruserpass): Likewise.
2894         * locale/programs/xmalloc.c (xcalloc): Likewise.
2895         * manual/examples/timeval_subtract.c (timeval_subtract): Likewise.
2896         * math/w_drem.c (__drem): Likewise.
2897         * math/w_dremf.c (__dremf): Likewise.
2898         * math/w_dreml.c (__dreml): Likewise.
2899         * misc/daemon.c (daemon): Likewise.
2900         * resolv/res_debug.c (p_fqnname): Likewise.
2901         * stdlib/div.c (div): Likewise.
2902         * string/memcmp.c (memcmp_bytes): Likewise.
2903         * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
2904         * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
2906         * crypt/cert.c (main): Convert to prototype-style function
2907         definition.
2908         * io/pipe.c (__pipe): Likewise.
2909         * io/pipe2.c (__pipe2): Likewise.
2910         * misc/futimesat.c (futimesat): Likewise.
2911         * misc/utimes.c (__utimes): Likewise.
2912         * posix/execve.c (__execve): Likewise.
2913         * posix/execvp.c (execvp): Likewise.
2914         * posix/execvpe.c (__execvpe): Likewise.
2915         * posix/fexecve.c (fexecve): Likewise.
2916         * socket/socketpair.c (socketpair): Likewise.
2917         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
2918         * stdlib/erand48.c (erand48): Likewise.
2919         * stdlib/erand48_r.c (__erand48_r): Likewise.
2920         * stdlib/jrand48.c (jrand48): Likewise.
2921         * stdlib/jrand48_r.c (__jrand48_r): Likewise.
2922         * stdlib/lcong48.c (lcong48): Likewise.
2923         * stdlib/lcong48_r.c (__lcong48_r): Likewise.
2924         * stdlib/nrand48.c (nrand48): Likewise.
2925         * stdlib/nrand48_r.c (__nrand48_r): Likewise.
2926         * stdlib/seed48.c (seed48): Likewise.
2927         * stdlib/seed48_r.c (__seed48_r): Likewise.
2928         * sysdeps/mach/hurd/execve.c (__execve): Likewise.
2929         * sysdeps/mach/hurd/utimes.c (__utimes): Likewise.
2930         * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Likewise.
2932 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
2934         * configure.ac (libc_cv_asm_unique_object): Remove configure test.
2935         * configure: Regenerated.
2936         * config.h.in (HAVE_ASM_UNIQUE_OBJECT): Remove #undef.
2937         * elf/tst-unique1.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Make code
2938         unconditional.
2939         * elf/tst-unique1mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
2940         * elf/tst-unique1mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
2941         * elf/tst-unique2.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
2942         (do_test) [!HAVE_ASM_UNIQUE_OBJECT]: Remove conditional code.
2943         * elf/tst-unique2mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Make code
2944         unconditional.
2945         * elf/tst-unique2mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
2947         * posix/Makefile (CFLAGS-regex.c): Remove variable.
2948         * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.
2950         * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
2951         function definition.
2952         * crypt/crypt_util.c (__encrypt_r): Likewise.
2953         * libio/genops.c (_IO_no_init): Likewise.
2954         * libio/iofopncook.c (_IO_fopencookie): Likewise.
2955         (_IO_old_fopencookie): Likewise.
2956         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
2957         * libio/iogetline.c (_IO_getline): Likewise.
2958         (_IO_getline_info): Likewise.
2959         * libio/iogetwline.c (_IO_getwline): Likewise.
2960         (_IO_getwline_info): Likewise.
2961         * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
2962         * libio/vswprintf.c (_IO_vswprintf): Likewise.
2963         * locale/programs/simple-hash.c (insert_entry_2): Likewise.
2964         (find_entry): Likewise.
2965         (iterate_table): Likewise.
2966         (lookup): Likewise.
2967         * login/forkpty.c (forkpty): Likewise.
2968         * misc/hsearch_r.c (__hsearch_r): Likewise.
2969         * misc/select.c (__select): Likewise.
2970         * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
2971         Likewise.
2972         * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
2973         Likewise.
2974         * nptl/old_pthread_cond_timedwait.c
2975         (__pthread_cond_timedwait_2_0): Likewise.
2976         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
2977         * nptl/pthread_barrierattr_getpshared.c
2978         (pthread_barrierattr_getpshared): Likewise.
2979         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
2980         Likewise.
2981         * nptl/pthread_mutex_setprioceiling.c
2982         (pthread_mutex_setprioceiling): Likewise.
2983         * nptl/pthread_mutexattr_getprioceiling.c
2984         (pthread_mutexattr_getprioceiling): Likewise.
2985         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
2986         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
2987         Likewise.
2988         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
2989         Likewise.
2990         * nptl/pthread_setschedparam.c (__pthread_setschedparam):
2991         Likewise.
2992         * socket/recvfrom.c (__recvfrom): Likewise.
2993         * socket/sendto.c (__sendto): Likewise.
2994         * socket/setsockopt.c (__setsockopt): Likewise.
2995         * stdio-common/_itoa.c (_itoa): Likewise.
2996         * stdio-common/_itowa.c (_itowa): Likewise.
2997         * stdio-common/reg-printf.c (__register_printf_specifier):
2998         Likewise.
2999         (__register_printf_function): Likewise.
3000         * stdio-common/tempname.c (__path_search): Likewise.
3001         * stdlib/addmul_1.c (mpn_addmul_1): Likewise.
3002         * stdlib/mul_1.c (mpn_mul_1): Likewise.
3003         * stdlib/random_r.c (__initstate_r): Likewise.
3004         * stdlib/setenv.c (__add_to_environ): Likewise.
3005         * stdlib/submul_1.c (mpn_submul_1): Likewise.
3006         * streams/getpmsg.c (getpmsg): Likewise.
3007         * streams/putmsg.c (putmsg): Likewise.
3008         * streams/putpmsg.c (putpmsg): Likewise.
3009         * sunrpc/clnt_raw.c (clntraw_call): Likewise.
3010         * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
3011         * sunrpc/clnt_udp.c (clntudp_create): Likewise.
3012         * sunrpc/clnt_unix.c (clntunix_call): Likewise.
3013         * sunrpc/pm_getport.c (pmap_getport): Likewise.
3014         * sunrpc/svc_udp.c (cache_get): Likewise.
3015         * sunrpc/xdr_array.c (xdr_vector): Likewise.
3016         * sysdeps/mach/hurd/getcwd.c
3017         (__canonicalize_directory_name_internal): Likewise.
3018         * sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
3019         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
3020         * sysdeps/mach/hurd/select.c (__select): Likewise.
3021         * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
3022         * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
3023         * sysdeps/sparc/nptl/pthread_barrier_init.c
3024         (__pthread_barrier_init): Likewise.
3025         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
3026         (__pthread_cond_timedwait): Likewise.
3027         * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
3028         * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
3029         Likewise.
3030         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
3031         * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
3032         Likewise.
3033         * sysvipc/semtimedop.c (semtimedop): Likewise.
3034         * time/setitimer.c (__setitimer): Likewise.
3035         * time/strftime_l.c (emacs_strftime): Likewise.
3037 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
3039         * config.make.in (have-ssp): Delete.
3040         (stack-protector): New variable.
3041         * configure.ac: Delete libc_cv_ssp export.  Add libc_cv_ssp_strong
3042         cache test for -fstack-protector-strong.  Export stack_protector to
3043         the best ssp flag.
3044         * configure: Regenerated.
3045         * login/Makefile (pt_chown-cflags): Always add $(stack-protector).
3046         * nscd/Makefile (CFLAGS-nscd): Likewise.
3047         * resolv/Makefile (CFLAGS-libresolv): Likewise.
3049 2015-10-16  H.J. Lu  <hongjiu.lu@intel.com>
3051         [BZ #19122]
3052         * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
3053         attribute_hidden.
3055 2015-10-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
3057         [BZ #18743]
3058         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this
3059         code to...
3060         (ELIDE_LOCK): ...here.
3061         (__get_new_count): New function with part of the code from
3062         __elide_lock that updates the value of adapt_count after a
3063         transaction abort.
3064         (__elided_trylock): Moved this code to...
3065         (ELIDE_TRYLOCK): ...here.
3067 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
3069         * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing.
3070         * configure: Regenerate.
3071         * INSTALL: Regenerate.
3072         * manual/install.texi (--disable-timezone-tools): Use @theglibc{}
3073         and tweak grammar.
3075 2015-10-19  Geoffrey Thomas  <geofft@ldpreload.com>
3077         * login/programs/pt_chown.c: Include signal.h
3078         (main): Clear any signal mask from the parent process.
3080 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
3082         * configure.ac (libc_cv_gnu89_inline): Remove configure test.
3083         * configure: Regenerated.
3084         * config.make.in (gnu89-inline-CFLAGS): Remove variable.
3085         * Makeconfig (CFLAGS): Use -fgnu89-inline instead of
3086         $(gnu89-inline-CFLAGS).
3088         * configure.ac (libc_cv_asm_weak_directive): Remove configure
3089         test.
3090         (libc_cv_asm_weakext_directive): Likewise.
3091         * configure: Regenerated.
3092         * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef.
3093         (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise.
3094         * include/libc-symbols.h
3095         [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove
3096         #error.
3097         [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code.
3098         [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional.
3100         * sysdeps/arm/backtrace.c (__backtrace): Convert to
3101         prototype-style function definition.
3102         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
3103         * sysdeps/i386/ffs.c (__ffs): Likewise.
3104         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
3105         * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
3106         Likewise.
3107         * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
3108         Likewise.
3109         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
3110         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
3111         Likewise.
3112         * sysdeps/m68k/ffs.c (__ffs): Likewise.
3113         * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
3114         * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
3115         * sysdeps/mach/adjtime.c (__adjtime): Likewise.
3116         * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
3117         * sysdeps/mach/hurd/_exit.c (_exit): Likewise.
3118         * sysdeps/mach/hurd/access.c (__access): Likewise.
3119         * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
3120         * sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
3121         * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
3122         * sysdeps/mach/hurd/chown.c (__chown): Likewise.
3123         * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
3124         (cthread_getspecific): Likewise.
3125         (cthread_setspecific): Likewise.
3126         (__libc_getspecific): Likewise.
3127         * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
3128         * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
3129         * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
3130         * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
3131         * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
3132         * sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
3133         * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
3134         * sysdeps/mach/hurd/flock.c (__flock): Likewise.
3135         * sysdeps/mach/hurd/fsync.c (fsync): Likewise.
3136         * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
3137         * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
3138         * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
3139         * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
3140         * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
3141         * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
3142         * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
3143         * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
3144         * sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
3145         * sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
3146         * sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
3147         * sysdeps/mach/hurd/link.c (__link): Likewise.
3148         * sysdeps/mach/hurd/linkat.c (linkat): Likewise.
3149         * sysdeps/mach/hurd/listen.c (__listen): Likewise.
3150         * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
3151         * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
3152         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
3153         * sysdeps/mach/hurd/poll.c (__poll): Likewise.
3154         * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
3155         * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
3156         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
3157         * sysdeps/mach/hurd/rename.c (rename): Likewise.
3158         * sysdeps/mach/hurd/renameat.c (renameat): Likewise.
3159         * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
3160         * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
3161         * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
3162         * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
3163         * sysdeps/mach/hurd/send.c (__send): Likewise.
3164         * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
3165         * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
3166         * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
3167         * sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
3168         * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
3169         * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
3170         * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
3171         * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
3172         * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
3173         * sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
3174         * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
3175         * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
3176         * sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
3177         * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
3178         * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
3179         * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
3180         * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
3181         * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
3182         * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
3183         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
3184         * sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
3185         * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
3186         * sysdeps/mach/hurd/telldir.c (telldir): Likewise.
3187         * sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
3188         * sysdeps/mach/hurd/umask.c (__umask): Likewise.
3189         * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
3190         * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
3191         * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
3192         * sysdeps/posix/alarm.c (alarm): Likewise.
3193         * sysdeps/posix/cuserid.c (cuserid): Likewise.
3194         * sysdeps/posix/dirfd.c (dirfd): Likewise.
3195         * sysdeps/posix/dup.c (__dup): Likewise.
3196         * sysdeps/posix/dup2.c (__dup2): Likewise.
3197         * sysdeps/posix/euidaccess.c (euidaccess): Likewise.
3198         (main): Likewise.
3199         * sysdeps/posix/flock.c (__flock): Likewise.
3200         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
3201         * sysdeps/posix/getcwd.c (__getcwd): Likewise.
3202         * sysdeps/posix/gethostname.c (__gethostname): Likewise.
3203         * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
3204         * sysdeps/posix/isatty.c (__isatty): Likewise.
3205         * sysdeps/posix/killpg.c (killpg): Likewise.
3206         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
3207         * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
3208         * sysdeps/posix/raise.c (raise): Likewise.
3209         * sysdeps/posix/remove.c (remove): Likewise.
3210         * sysdeps/posix/rename.c (rename): Likewise.
3211         * sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
3212         * sysdeps/posix/seekdir.c (seekdir): Likewise.
3213         * sysdeps/posix/sigblock.c (__sigblock): Likewise.
3214         * sysdeps/posix/sigignore.c (sigignore): Likewise.
3215         * sysdeps/posix/sigintr.c (siginterrupt): Likewise.
3216         * sysdeps/posix/signal.c (__bsd_signal): Likewise.
3217         * sysdeps/posix/sigset.c (sigset): Likewise.
3218         * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
3219         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
3220         * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
3221         * sysdeps/posix/time.c (time): Likewise.
3222         * sysdeps/posix/ttyname.c (getttyname): Likewise.
3223         (ttyname): Likewise.
3224         * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
3225         * sysdeps/posix/utime.c (utime): Likewise.
3226         * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
3227         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
3228         Likewise.
3229         * sysdeps/powerpc/nptl/pthread_spin_trylock.c
3230         (pthread_spin_trylock): Likewise.
3231         * sysdeps/pthread/aio_error.c (aio_error): Likewise.
3232         * sysdeps/pthread/aio_read.c (aio_read): Likewise.
3233         * sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
3234         * sysdeps/pthread/aio_write.c (aio_write): Likewise.
3235         * sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
3236         * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
3237         * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
3238         * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
3239         * sysdeps/pthread/timer_create.c (timer_create): Likewise.
3240         * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
3241         * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
3242         * sysdeps/s390/ffs.c (__ffs): Likewise.
3243         * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
3244         Likewise.
3245         * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
3246         Likewise.
3247         * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
3248         Likewise.
3249         * sysdeps/sparc/nptl/pthread_barrier_destroy.c
3250         (pthread_barrier_destroy): Likewise.
3251         * sysdeps/sparc/nptl/pthread_barrier_wait.c
3252         (__pthread_barrier_wait): Likewise.
3253         * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
3254         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
3255         (__pthread_barrier_wait): Likewise.
3256         * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
3257         * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
3258         (memcmp_not_common_alignment): Likewise.
3259         (MEMCMP): Likewise.
3260         * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
3261         (_wordcopy_fwd_dest_aligned): Likewise.
3262         (_wordcopy_bwd_aligned): Likewise.
3263         (_wordcopy_bwd_dest_aligned): Likewise.
3264         * sysdeps/unix/bsd/ftime.c (ftime): Likewise.
3265         * sysdeps/unix/bsd/gtty.c (gtty): Likewise.
3266         * sysdeps/unix/bsd/stty.c (stty): Likewise.
3267         * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
3268         * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
3269         * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
3270         * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
3271         * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
3272         * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
3273         * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
3274         * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
3275         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
3276         * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
3277         * sysdeps/unix/sockatmark.c (sockatmark): Likewise.
3278         * sysdeps/unix/stime.c (stime): Likewise.
3279         * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
3280         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
3281         Likewise.  Use internal_function.
3282         * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
3283         Convert to prototype-style function definition.
3284         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
3285         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
3286         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
3287         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
3288         Likewise.  Use internal_function.
3289         * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
3290         prototype-style function definition
3291         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
3292         Likewise.
3293         (__getlogin_r): Likewise.
3294         * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
3295         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
3296         (__pthread_cond_broadcast): Likewise.
3297         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
3298         (__pthread_cond_destroy): Likewise.
3299         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
3300         (__pthread_cond_init): Likewise.
3301         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
3302         (__pthread_cond_signal): Likewise.
3303         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
3304         (__pthread_cond_wait): Likewise.
3305         * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
3306         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
3307         * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
3308         Likewise.
3309         * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
3310         Likewise.
3311         * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
3312         Likewise.
3313         * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
3314         Likewise.
3315         * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
3316         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
3317         (__ftruncate64): Likewise.
3318         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
3319         (truncate64): Likewise.
3320         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
3321         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
3322         (pthread_getcpuclockid): Likewise.
3323         * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
3324         Likewise.
3325         * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
3326         Likewise.
3327         * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
3328         Likewise.
3329         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
3330         Likewise.
3331         * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
3332         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
3333         (__libc_sigaction): Likewise.
3334         * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
3335         Likewise.
3336         * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
3337         (__sigprocmask): Likewise.
3338         * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
3339         * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
3340         * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
3341         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
3342         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
3343         * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
3344         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
3345         Likewise.
3346         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
3347         * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
3348         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
3349         * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
3350         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
3351         Likewise.
3352         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
3353         (__sigprocmask): Likewise.
3354         * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
3355         (cfgetispeed): Likewise.
3356         (cfsetospeed): Likewise.
3357         (cfsetispeed): Likewise.
3358         * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
3359         * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
3360         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
3361         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
3362         * sysdeps/unix/sysv/linux/time.c (time): Likewise.
3363         * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
3364         * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
3365         * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
3366         Likewise.
3367         * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
3368         Likewise.
3369         * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
3370         Likewise.
3371         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
3372         Likewise.
3373         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
3375 2015-10-17  Florian Weimer  <fweimer@redhat.com>
3377         sunrpc: Rewrite with explicit TLS access using __thread.
3378         * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable.
3379         (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars
3380         directly.
3381         (__rpc_thread_variables): Access thread_rpc_vars directly.
3382         Eliminate redundant assignment of the tvp variable.
3384 2015-10-17  Florian Weimer  <fweimer@redhat.com>
3386         malloc: Rewrite with explicit TLS access using __thread.
3387         * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create)
3388         (tsd_setspecific, tsd_getspecific): Remove.
3389         * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create)
3390         (tsd_setspecific, tsd_getspecific): Likewise.
3391         * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create)
3392         (tsd_setspecific, tsd_getspecific): Likewise.
3393         * malloc/arena.c (thread_arena): New TLS variable.
3394         (arena_key): Remove variable.
3395         (arena_get): Use thread_arena.
3396         (arena_lookup): Remove macro.
3397         (malloc_atfork, free_atfork, ptmalloc_lock_all)
3398         (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init)
3399         (_int_new_arena, get_free_list, reused_arena)
3400         (arena_thread_freeres): Use thread_arena.
3401         * manual/memory.texi (Basic Allocation): Remove arena_lookup,
3402         tsd_getspecific, tsd_setspecific from safety annotations.
3403         (Allocating Cleared Space): Remove arena_lookup from safety
3404         annotations.
3406 2015-10-17  Florian Weimer  <fweimer@redhat.com>
3408         * stdio-common/vfprintf.c (printf_positional): Rewrite to use
3409         struct scratch_buffer instead of extend_alloca.
3411 2015-10-17  Florian Weimer  <fweimer@redhat.com>
3413         * sysdeps/unix/sysv/linux/kernel-features.h
3414         (__ASSUME_SOCK_CLOEXEC): Remove.
3415         * include/sys/socket.h (__have_sock_cloexec): Remove declaration.
3416         (__have_paccept): Remove unused macro.
3417         * include/unistd.h (__have_sock_cloexec): Remove declaration.
3418         * misc/syslog.c (openlog_internal): Remove fallback code for
3419         !__ASSUME_SOCK_CLOEXEC.
3420         * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for
3421         missing SOCK_CLOEXEC.
3422         * nscd/connections.c (have_sock_cloexec): Remove definition.
3423         (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
3424         * nscd/nscd_helper.c (open_socket): Remove fallback code for
3425         !__ASSUME_SOCK_CLOEXEC.
3426         * resolv/res_send.c (__have_o_nonblock): Remove definition.
3427         (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
3428         * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove
3429         definition.
3430         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback
3431         code for !__ASSUME_SOCK_CLOEXEC.
3433 2015-10-17  Florian Weimer  <fweimer@redhat.com>
3435         [BZ #18982]
3436         * manual/stdio.texi (Variable Arguments Output): Add portability
3437         note, explaining that vfprintf clobbers the va_list pointer.
3439 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
3441         * math/libm-test.inc (fabs_test_data): Add more tests.
3442         (fdim_test_data): Likewise.
3443         (fma_test_data): Likewise.
3444         (fmax_test_data): Likewise.
3445         (fmin_test_data): Likewise.
3446         (fmod_test_data): Likewise.
3448 2015-10-16  Steve Ellcey  <sellcey@imgtec.com>
3450         * sysdeps/mips/memcpy.S (memcpy):  Add word copies for small aligned
3451         data.
3453 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
3455         * math/libm-test.inc (ceil_test_data): Add more tests and more
3456         expectations for "inexact".
3457         (floor_test_data): Add more tests.
3458         (round_test_data): Likewise.
3459         (trunc_test_data): Likewise.
3461         * crypt/cert.c (good_bye): Convert to prototype-style function
3462         definition.
3463         (get8): Likewise.
3464         (put8): Likewise.
3465         * crypt/crypt-entry.c (crypt): Likewise.
3466         (__fcrypt): Likewise.
3467         * crypt/crypt_util.c (_ufc_prbits): Likewise.
3468         (_ufc_set_bits): Likewise.
3469         (_ufc_clearmem): Likewise.
3470         (__init_des_r): Likewise.
3471         (shuffle_sb): Likewise.
3472         (shuffle_sb): Likewise.
3473         (_ufc_setup_salt_r): Likewise.
3474         (_ufc_mk_keytab_r): Likewise.
3475         (_ufc_dofinalperm_r): Likewise.
3476         (encrypt): Likewise.
3477         (__setkey_r): Likewise.
3478         (setkey): Likewise.
3479         * crypt/md5.c (md5_init_ctx): Likewise.
3480         (md5_read_ctx): Likewise.
3481         (md5_finish_ctx): Likewise.
3482         (md5_stream): Likewise.
3483         (md5_buffer): Likewise.
3484         (md5_process_bytes): Likewise.
3485         * crypt/sha256.c (__sha256_init_ctx): Likewise.
3486         (__sha256_finish_ctx): Likewise.
3487         (__sha256_process_bytes): Likewise.
3488         * crypt/sha512.c (__sha512_init_ctx): Likewise.
3489         (__sha512_finish_ctx): Likewise.
3490         (__sha512_process_bytes): Likewise.
3491         * ctype/isctype.c (__isctype): Likewise.
3492         * debug/backtrace.c (__backtrace): Likewise.
3493         * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
3494         * debug/fgets_chk.c (__fgets_chk): Likewise.
3495         * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
3496         * debug/memcpy_chk.c (__memcpy_chk): Likewise.
3497         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
3498         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
3499         * debug/memset_chk.c (__memset_chk): Likewise.
3500         * debug/strcat_chk.c (__strcat_chk): Likewise.
3501         * debug/strncat_chk.c (__strncat_chk): Likewise.
3502         * debug/strncpy_chk.c (__strncpy_chk): Likewise.
3503         * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
3504         * dirent/dirfd.c (dirfd): Likewise.
3505         * dirent/getdents.c (__getdirentries): Likewise.
3506         * dirent/getdents64.c (getdirentries64): Likewise.
3507         * dirent/rewinddir.c (__rewinddir): Likewise.
3508         * dirent/seekdir.c (seekdir): Likewise.
3509         * dirent/telldir.c (telldir): Likewise.
3510         * elf/sln.c (makesymlinks): Likewise.
3511         (makesymlink): Likewise.
3512         * gmon/gmon.c (__moncontrol): Likewise.
3513         (__monstartup): Likewise.
3514         (write_hist): Likewise.
3515         (write_call_graph): Likewise.
3516         (write_bb_counts): Likewise.
3517         * grp/setgroups.c (setgroups): Likewise.
3518         * inet/inet_lnaof.c (inet_lnaof): Likewise.
3519         * inet/inet_net.c (inet_network): Likewise.
3520         * inet/inet_netof.c (inet_netof): Likewise.
3521         * inet/rcmd.c (rresvport_af): Likewise.
3522         (rresvport): Likewise.
3523         * io/access.c (__access): Likewise.
3524         * io/chdir.c (__chdir): Likewise.
3525         * io/chmod.c (__chmod): Likewise.
3526         * io/chown.c (__chown): Likewise.
3527         * io/close.c (__close): Likewise.
3528         * io/creat.c (creat): Likewise.
3529         * io/creat64.c (creat64): Likewise.
3530         * io/dup.c (__dup): Likewise.
3531         * io/dup2.c (__dup2): Likewise.
3532         * io/dup3.c (__dup3): Likewise.
3533         * io/euidaccess.c (__euidaccess): Likewise.
3534         * io/faccessat.c (faccessat): Likewise.
3535         * io/fchmod.c (__fchmod): Likewise.
3536         * io/fchmodat.c (fchmodat): Likewise.
3537         * io/fchown.c (__fchown): Likewise.
3538         * io/fchownat.c (fchownat): Likewise.
3539         * io/fcntl.c (__fcntl): Likewise.
3540         * io/flock.c (__flock): Likewise.
3541         * io/fts.c (fts_load): Likewise.
3542         (fts_close): Likewise.
3543         (fts_read): Likewise.
3544         (fts_set): Likewise.
3545         (fts_children): Likewise.
3546         (fts_build): Likewise.
3547         (fts_stat): Likewise.
3548         (fts_sort): Likewise.
3549         (fts_alloc): Likewise.
3550         (fts_lfree): Likewise.
3551         (fts_palloc): Likewise.
3552         (fts_padjust): Likewise.
3553         (fts_maxarglen): Likewise.
3554         (fts_safe_changedir): Likewise.
3555         * io/getwd.c (getwd): Likewise.
3556         * io/isatty.c (__isatty): Likewise.
3557         * io/lchown.c (__lchown): Likewise.
3558         * io/link.c (__link): Likewise.
3559         * io/linkat.c (linkat): Likewise.
3560         * io/lseek.c (__libc_lseek): Likewise.
3561         * io/mkdir.c (__mkdir): Likewise.
3562         * io/mkdirat.c (mkdirat): Likewise.
3563         * io/mkfifo.c (mkfifo): Likewise.
3564         * io/mkfifoat.c (mkfifoat): Likewise.
3565         * io/open.c (__libc_open): Likewise.
3566         * io/open64.c (__libc_open64): Likewise.
3567         * io/readlink.c (__readlink): Likewise.
3568         * io/readlinkat.c (readlinkat): Likewise.
3569         * io/rmdir.c (__rmdir): Likewise.
3570         * io/symlink.c (__symlink): Likewise.
3571         * io/symlinkat.c (symlinkat): Likewise.
3572         * io/ttyname.c (ttyname): Likewise.
3573         * io/ttyname_r.c (__ttyname_r): Likewise.
3574         * io/umask.c (__umask): Likewise.
3575         * io/unlink.c (__unlink): Likewise.
3576         * io/unlinkat.c (unlinkat): Likewise.
3577         * io/utime.c (utime): Likewise.
3578         * libio/clearerr.c (clearerr): Likewise.
3579         * libio/clearerr_u.c (clearerr_unlocked): Likewise.
3580         * libio/feof.c (_IO_feof): Likewise.
3581         * libio/feof_u.c (feof_unlocked): Likewise.
3582         * libio/ferror.c (_IO_ferror): Likewise.
3583         * libio/ferror_u.c (ferror_unlocked): Likewise.
3584         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
3585         * libio/fileno.c (__fileno): Likewise.
3586         * libio/fputc.c (fputc): Likewise.
3587         * libio/fputc_u.c (fputc_unlocked): Likewise.
3588         * libio/fputwc.c (fputwc): Likewise.
3589         * libio/fputwc_u.c (fputwc_unlocked): Likewise.
3590         * libio/freopen.c (freopen): Likewise.
3591         * libio/freopen64.c (freopen64): Likewise.
3592         * libio/fseek.c (fseek): Likewise.
3593         * libio/fseeko.c (fseeko): Likewise.
3594         * libio/fseeko64.c (fseeko64): Likewise.
3595         * libio/ftello.c (__ftello): Likewise.
3596         * libio/ftello64.c (ftello64): Likewise.
3597         * libio/fwide.c (fwide): Likewise.
3598         * libio/genops.c (_IO_un_link): Likewise.
3599         (_IO_link_in): Likewise.
3600         (_IO_least_marker): Likewise.
3601         (_IO_switch_to_main_get_area): Likewise.
3602         (_IO_switch_to_backup_area): Likewise.
3603         (_IO_switch_to_get_mode): Likewise.
3604         (_IO_free_backup_area): Likewise.
3605         (_IO_switch_to_put_mode): Likewise.
3606         (__overflow): Likewise.
3607         (__underflow): Likewise.
3608         (__uflow): Likewise.
3609         (_IO_setb): Likewise.
3610         (_IO_doallocbuf): Likewise.
3611         (_IO_default_underflow): Likewise.
3612         (_IO_default_uflow): Likewise.
3613         (_IO_default_xsputn): Likewise.
3614         (_IO_sgetn): Likewise.
3615         (_IO_default_xsgetn): Likewise.
3616         (_IO_sync): Likewise.
3617         (_IO_default_setbuf): Likewise.
3618         (_IO_default_seekpos): Likewise.
3619         (_IO_default_doallocate): Likewise.
3620         (_IO_init): Likewise.
3621         (_IO_old_init): Likewise.
3622         (_IO_default_sync): Likewise.
3623         (_IO_default_finish): Likewise.
3624         (_IO_default_seekoff): Likewise.
3625         (_IO_sputbackc): Likewise.
3626         (_IO_sungetc): Likewise.
3627         (_IO_set_column): Likewise.
3628         (_IO_set_column): Likewise.
3629         (_IO_adjust_column): Likewise.
3630         (_IO_get_column): Likewise.
3631         (_IO_init_marker): Likewise.
3632         (_IO_remove_marker): Likewise.
3633         (_IO_marker_difference): Likewise.
3634         (_IO_marker_delta): Likewise.
3635         (_IO_seekmark): Likewise.
3636         (_IO_unsave_markers): Likewise.
3637         (_IO_nobackup_pbackfail): Likewise.
3638         (_IO_default_pbackfail): Likewise.
3639         (_IO_default_seek): Likewise.
3640         (_IO_default_stat): Likewise.
3641         (_IO_default_read): Likewise.
3642         (_IO_default_write): Likewise.
3643         (_IO_default_showmanyc): Likewise.
3644         (_IO_default_imbue): Likewise.
3645         (_IO_iter_next): Likewise.
3646         (_IO_iter_file): Likewise.
3647         * libio/getc.c (_IO_getc): Likewise.
3648         * libio/getwc.c (_IO_getwc): Likewise.
3649         * libio/iofclose.c (_IO_new_fclose): Likewise.
3650         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
3651         * libio/iofflush.c (_IO_fflush): Likewise.
3652         * libio/iofflush_u.c (__fflush_unlocked): Likewise.
3653         * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
3654         * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
3655         * libio/iofgets.c (_IO_fgets): Likewise.
3656         * libio/iofgets_u.c (__fgets_unlocked): Likewise.
3657         * libio/iofgetws.c (fgetws): Likewise.
3658         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
3659         * libio/iofopen64.c (_IO_fopen64): Likewise.
3660         * libio/iofopncook.c (_IO_cookie_read): Likewise.
3661         (_IO_cookie_write): Likewise.
3662         (_IO_cookie_seek): Likewise.
3663         (_IO_cookie_close): Likewise.
3664         (_IO_cookie_seekoff): Likewise.
3665         (_IO_old_cookie_seek): Likewise.
3666         * libio/iofputs.c (_IO_fputs): Likewise.
3667         * libio/iofputs_u.c (__fputs_unlocked): Likewise.
3668         * libio/iofputws.c (fputws): Likewise.
3669         * libio/iofputws_u.c (fputws_unlocked): Likewise.
3670         * libio/iofread.c (_IO_fread): Likewise.
3671         * libio/iofread_u.c (__fread_unlocked): Likewise.
3672         * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
3673         * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
3674         * libio/ioftell.c (_IO_ftell): Likewise.
3675         * libio/iofwrite.c (_IO_fwrite): Likewise.
3676         * libio/iogetdelim.c (_IO_getdelim): Likewise.
3677         * libio/iogets.c (_IO_gets): Likewise.
3678         * libio/iopadn.c (_IO_padn): Likewise.
3679         * libio/iopopen.c (_IO_new_proc_open): Likewise.
3680         (_IO_new_popen): Likewise.
3681         (_IO_new_proc_close): Likewise.
3682         * libio/ioputs.c (_IO_puts): Likewise.
3683         * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
3684         (_IO_seekoff): Likewise.
3685         * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
3686         (_IO_seekpos): Likewise.
3687         * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
3688         * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
3689         * libio/ioungetc.c (_IO_ungetc): Likewise.
3690         * libio/ioungetwc.c (ungetwc): Likewise.
3691         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
3692         * libio/iovsscanf.c (_IO_vsscanf): Likewise.
3693         * libio/iowpadn.c (_IO_wpadn): Likewise.
3694         * libio/libc_fatal.c (__libc_fatal): Likewise.
3695         * libio/memstream.c (__open_memstream): Likewise.
3696         (_IO_mem_sync): Likewise.
3697         (_IO_mem_finish): Likewise.
3698         * libio/oldfileops.c (_IO_old_file_init): Likewise.
3699         (_IO_old_file_close_it): Likewise.
3700         (_IO_old_file_finish): Likewise.
3701         (_IO_old_file_fopen): Likewise.
3702         (_IO_old_file_attach): Likewise.
3703         (_IO_old_file_setbuf): Likewise.
3704         (_IO_old_do_write): Likewise.
3705         (old_do_write): Likewise.
3706         (_IO_old_file_underflow): Likewise.
3707         (_IO_old_file_overflow): Likewise.
3708         (_IO_old_file_sync): Likewise.
3709         (_IO_old_file_seekoff): Likewise.
3710         (_IO_old_file_write): Likewise.
3711         (_IO_old_file_xsputn): Likewise.
3712         * libio/oldiofclose.c (_IO_old_fclose): Likewise.
3713         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
3714         * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
3715         * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
3716         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
3717         * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
3718         * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
3719         * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
3720         (_IO_old_popen): Likewise.
3721         (_IO_old_proc_close): Likewise.
3722         * libio/oldpclose.c (__old_pclose): Likewise.
3723         * libio/pclose.c (__new_pclose): Likewise.
3724         * libio/peekc.c (_IO_peekc_locked): Likewise.
3725         * libio/putc.c (_IO_putc): Likewise.
3726         * libio/putc_u.c (putc_unlocked): Likewise.
3727         * libio/putchar.c (putchar): Likewise.
3728         * libio/putchar_u.c (putchar_unlocked): Likewise.
3729         * libio/putwc.c (putwc): Likewise.
3730         * libio/putwc_u.c (putwc_unlocked): Likewise.
3731         * libio/putwchar.c (putwchar): Likewise.
3732         * libio/putwchar_u.c (putwchar_unlocked): Likewise.
3733         * libio/rewind.c (rewind): Likewise.
3734         * libio/setbuf.c (setbuf): Likewise.
3735         * libio/setlinebuf.c (setlinebuf): Likewise.
3736         * libio/vasprintf.c (_IO_vasprintf): Likewise.
3737         * libio/vscanf.c (_IO_vscanf): Likewise.
3738         * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
3739         * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
3740         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
3741         * libio/wgenops.c (_IO_least_wmarker): Likewise.
3742         (_IO_switch_to_main_wget_area): Likewise.
3743         (_IO_switch_to_wbackup_area): Likewise.
3744         (_IO_wsetb): Likewise.
3745         (_IO_wdefault_pbackfail): Likewise.
3746         (_IO_wdefault_finish): Likewise.
3747         (_IO_wdefault_uflow): Likewise.
3748         (__woverflow): Likewise.
3749         (__wuflow): Likewise.
3750         (__wunderflow): Likewise.
3751         (_IO_wdefault_xsputn): Likewise.
3752         (_IO_wdefault_xsgetn): Likewise.
3753         (_IO_wdoallocbuf): Likewise.
3754         (_IO_wdefault_doallocate): Likewise.
3755         (_IO_switch_to_wget_mode): Likewise.
3756         (_IO_free_wbackup_area): Likewise.
3757         (_IO_switch_to_wput_mode): Likewise.
3758         (_IO_sputbackwc): Likewise.
3759         (_IO_sungetwc): Likewise.
3760         (_IO_adjust_wcolumn): Likewise.
3761         (_IO_init_wmarker): Likewise.
3762         (_IO_wmarker_delta): Likewise.
3763         (_IO_seekwmark): Likewise.
3764         (_IO_unsave_wmarkers): Likewise.
3765         * libio/wmemstream.c (open_wmemstream): Likewise.
3766         (_IO_wmem_sync): Likewise.
3767         (_IO_wmem_finish): Likewise.
3768         * locale/nl_langinfo.c (nl_langinfo): Likewise.
3769         * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
3770         * locale/programs/simple-hash.c (init_hash): Likewise.
3771         (delete_hash): Likewise.
3772         (insert_entry): Likewise.
3773         (set_entry): Likewise.
3774         (next_prime): Likewise.
3775         (is_prime): Likewise.
3776         * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
3777         (xmalloc): Likewise.
3778         (xrealloc): Likewise.
3779         * locale/programs/xstrdup.c (xstrdup): Likewise.
3780         * localedata/collate-test.c (xstrcoll): Likewise.
3781         * localedata/xfrm-test.c (xstrcmp): Likewise.
3782         * login/getlogin_r.c (__getlogin_r): Likewise.
3783         * login/getpt.c (__posix_openpt): Likewise.
3784         * login/login_tty.c (login_tty): Likewise.
3785         * login/setlogin.c (setlogin): Likewise.
3786         * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
3787         (mach_msg_destroy_port): Likewise.
3788         (mach_msg_destroy_memory): Likewise.
3789         * malloc/mcheck.c (flood): Likewise.
3790         * misc/acct.c (acct): Likewise.
3791         * misc/brk.c (__brk): Likewise.
3792         * misc/chflags.c (chflags): Likewise.
3793         * misc/chroot.c (chroot): Likewise.
3794         * misc/fchflags.c (fchflags): Likewise.
3795         * misc/fstab.c (getfsspec): Likewise.
3796         (getfsfile): Likewise.
3797         * misc/fsync.c (fsync): Likewise.
3798         * misc/ftruncate.c (__ftruncate): Likewise.
3799         * misc/ftruncate64.c (__ftruncate64): Likewise.
3800         * misc/getdomain.c (getdomainname): Likewise.
3801         (getdomainname): Likewise.
3802         * misc/gethostname.c (__gethostname): Likewise.
3803         * misc/getpass.c (getpass): Likewise.
3804         * misc/getttyent.c (skip): Likewise.
3805         (value): Likewise.
3806         * misc/gtty.c (gtty): Likewise.
3807         * misc/hsearch.c (hsearch): Likewise.
3808         (hcreate): Likewise.
3809         * misc/hsearch_r.c (__hcreate_r): Likewise.
3810         (__hdestroy_r): Likewise.
3811         * misc/ioctl.c (__ioctl): Likewise.
3812         * misc/mkdtemp.c (mkdtemp): Likewise.
3813         * misc/mkostemp.c (mkostemp): Likewise.
3814         * misc/mkostemp64.c (mkostemp64): Likewise.
3815         * misc/mkostemps.c (mkostemps): Likewise.
3816         * misc/mkostemps64.c (mkostemps64): Likewise.
3817         * misc/mkstemp.c (mkstemp): Likewise.
3818         * misc/mkstemp64.c (mkstemp64): Likewise.
3819         * misc/mkstemps.c (mkstemps): Likewise.
3820         * misc/mkstemps64.c (mkstemps64): Likewise.
3821         * misc/mktemp.c (__mktemp): Likewise.
3822         * misc/preadv.c (preadv): Likewise.
3823         * misc/preadv64.c (preadv64): Likewise.
3824         * misc/pwritev.c (pwritev): Likewise.
3825         * misc/pwritev64.c (pwritev64): Likewise.
3826         * misc/readv.c (__readv): Likewise.
3827         * misc/revoke.c (revoke): Likewise.
3828         * misc/setdomain.c (setdomainname): Likewise.
3829         * misc/setegid.c (setegid): Likewise.
3830         * misc/seteuid.c (seteuid): Likewise.
3831         * misc/sethostid.c (sethostid): Likewise.
3832         * misc/sethostname.c (sethostname): Likewise.
3833         * misc/setregid.c (__setregid): Likewise.
3834         * misc/setreuid.c (__setreuid): Likewise.
3835         * misc/sstk.c (sstk): Likewise.
3836         * misc/stty.c (stty): Likewise.
3837         * misc/syscall.c (syscall): Likewise.
3838         * misc/syslog.c (setlogmask): Likewise.
3839         * misc/truncate.c (__truncate): Likewise.
3840         * misc/truncate64.c (truncate64): Likewise.
3841         * misc/ualarm.c (ualarm): Likewise.
3842         * misc/usleep.c (usleep): Likewise.
3843         * misc/ustat.c (ustat): Likewise.
3844         * misc/writev.c (__writev): Likewise.
3845         * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
3846         * nptl/old_pthread_cond_broadcast.c
3847         (__pthread_cond_broadcast_2_0): Likewise.
3848         * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
3849         Likewise.
3850         * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
3851         Likewise.
3852         * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
3853         Likewise.
3854         * nptl/pt-raise.c (raise): Likewise.
3855         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
3856         Likewise.
3857         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
3858         * nptl/pthread_barrierattr_destroy.c
3859         (pthread_barrierattr_destroy): Likewise.
3860         * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
3861         Likewise.
3862         * nptl/pthread_barrierattr_setpshared.c
3863         (pthread_barrierattr_setpshared): Likewise.
3864         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
3865         Likewise.
3866         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
3867         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
3868         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
3869         * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
3870         Likewise.
3871         * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
3872         Likewise.
3873         * nptl/pthread_condattr_getpshared.c
3874         (pthread_condattr_getpshared): Likewise.
3875         * nptl/pthread_condattr_init.c (__pthread_condattr_init):
3876         Likewise.
3877         * nptl/pthread_condattr_setpshared.c
3878         (pthread_condattr_setpshared): Likewise.
3879         * nptl/pthread_detach.c (pthread_detach): Likewise.
3880         * nptl/pthread_equal.c (__pthread_equal): Likewise.
3881         * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
3882         * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
3883         * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
3884         * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
3885         Likewise.
3886         * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
3887         Likewise.
3888         * nptl/pthread_mutex_getprioceiling.c
3889         (pthread_mutex_getprioceiling): Likewise.
3890         * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
3891         Likewise.
3892         * nptl/pthread_mutexattr_getprotocol.c
3893         (pthread_mutexattr_getprotocol): Likewise.
3894         * nptl/pthread_mutexattr_getpshared.c
3895         (pthread_mutexattr_getpshared): Likewise.
3896         * nptl/pthread_mutexattr_getrobust.c
3897         (pthread_mutexattr_getrobust): Likewise.
3898         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
3899         Likewise.
3900         * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
3901         Likewise.
3902         * nptl/pthread_mutexattr_setprioceiling.c
3903         (pthread_mutexattr_setprioceiling): Likewise.
3904         * nptl/pthread_mutexattr_setprotocol.c
3905         (pthread_mutexattr_setprotocol): Likewise.
3906         * nptl/pthread_mutexattr_setpshared.c
3907         (pthread_mutexattr_setpshared): Likewise.
3908         * nptl/pthread_mutexattr_setrobust.c
3909         (pthread_mutexattr_setrobust): Likewise.
3910         * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
3911         Likewise.
3912         * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
3913         Likewise.
3914         * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
3915         Likewise.
3916         * nptl/pthread_rwlockattr_getkind_np.c
3917         (pthread_rwlockattr_getkind_np): Likewise.
3918         * nptl/pthread_rwlockattr_getpshared.c
3919         (pthread_rwlockattr_getpshared): Likewise.
3920         * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
3921         Likewise.
3922         * nptl/pthread_rwlockattr_setkind_np.c
3923         (pthread_rwlockattr_setkind_np): Likewise.
3924         * nptl/pthread_rwlockattr_setpshared.c
3925         (pthread_rwlockattr_setpshared): Likewise.
3926         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
3927         Likewise.
3928         * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
3929         Likewise.
3930         * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
3931         Likewise.
3932         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
3933         * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
3934         * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
3935         * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
3936         * nptl/sem_close.c (sem_close): Likewise.
3937         * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
3938         * nptl/sem_init.c (__old_sem_init): Likewise.
3939         * nptl/sigaction.c (__sigaction): Likewise.
3940         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
3941         * posix/_exit.c (_exit): Likewise.
3942         * posix/alarm.c (alarm): Likewise.
3943         * posix/confstr.c (confstr): Likewise.
3944         * posix/fpathconf.c (__fpathconf): Likewise.
3945         * posix/getgroups.c (__getgroups): Likewise.
3946         * posix/getpgid.c (__getpgid): Likewise.
3947         * posix/group_member.c (__group_member): Likewise.
3948         * posix/pathconf.c (__pathconf): Likewise.
3949         * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
3950         * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
3951         * posix/setgid.c (__setgid): Likewise.
3952         * posix/setpgid.c (__setpgid): Likewise.
3953         * posix/setuid.c (__setuid): Likewise.
3954         * posix/sleep.c (__sleep): Likewise.
3955         * posix/sysconf.c (__sysconf): Likewise.
3956         * posix/times.c (__times): Likewise.
3957         * posix/uname.c (__uname): Likewise.
3958         * posix/waitid.c (__waitid): Likewise.
3959         * pwd/getpw.c (__getpw): Likewise.
3960         * resolv/base64.c (b64_pton): Likewise.
3961         * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
3962         * resolv/gethnamaddr.c (Dprintf): Likewise.
3963         (gethostbyname): Likewise.
3964         (gethostbyname2): Likewise.
3965         (gethostbyaddr): Likewise.
3966         (_sethtent): Likewise.
3967         (_gethtbyname): Likewise.
3968         (_gethtbyname2): Likewise.
3969         (_gethtbyaddr): Likewise.
3970         (map_v4v6_address): Likewise.
3971         (map_v4v6_hostent): Likewise.
3972         (addrsort): Likewise.
3973         (ht_sethostent): Likewise.
3974         (ht_gethostbyname): Likewise.
3975         (ht_gethostbyaddr): Likewise.
3976         * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
3977         (inet_net_ntop_ipv4): Likewise.
3978         * resolv/inet_neta.c (inet_neta): Likewise.
3979         * resolv/inet_ntop.c (inet_ntop): Likewise.
3980         (inet_ntop4): Likewise.
3981         (inet_ntop6): Likewise.
3982         * resolv/inet_pton.c (__inet_pton): Likewise.
3983         (inet_pton4): Likewise.
3984         (inet_pton6): Likewise.
3985         * resolv/res_debug.c (loc_aton): Likewise.
3986         (loc_ntoa): Likewise.
3987         * resource/getpriority.c (__getpriority): Likewise.
3988         * resource/getrusage.c (__getrusage): Likewise.
3989         * resource/nice.c (nice): Likewise.
3990         * resource/setpriority.c (__setpriority): Likewise.
3991         * resource/setrlimit64.c (setrlimit64): Likewise.
3992         * resource/vlimit.c (vlimit): Likewise.
3993         * resource/vtimes.c (vtimes): Likewise.
3994         * rt/aio_error.c (aio_error): Likewise.
3995         * rt/aio_return.c (aio_return): Likewise.
3996         * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
3997         * signal/kill.c (__kill): Likewise.
3998         * signal/killpg.c (killpg): Likewise.
3999         * signal/raise.c (raise): Likewise.
4000         * signal/sigaction.c (__sigaction): Likewise.
4001         * signal/sigaddset.c (sigaddset): Likewise.
4002         * signal/sigaltstack.c (sigaltstack): Likewise.
4003         * signal/sigandset.c (sigandset): Likewise.
4004         * signal/sigblock.c (__sigblock): Likewise.
4005         * signal/sigdelset.c (sigdelset): Likewise.
4006         * signal/sigempty.c (sigemptyset): Likewise.
4007         * signal/sigfillset.c (sigfillset): Likewise.
4008         * signal/sighold.c (sighold): Likewise.
4009         * signal/sigignore.c (sigignore): Likewise.
4010         * signal/sigintr.c (siginterrupt): Likewise.
4011         * signal/sigisempty.c (sigisemptyset): Likewise.
4012         * signal/sigismem.c (sigismember): Likewise.
4013         * signal/signal.c (signal): Likewise.
4014         * signal/sigorset.c (sigorset): Likewise.
4015         * signal/sigpause.c (__sigpause): Likewise.
4016         * signal/sigpending.c (sigpending): Likewise.
4017         * signal/sigprocmask.c (__sigprocmask): Likewise.
4018         * signal/sigrelse.c (sigrelse): Likewise.
4019         * signal/sigreturn.c (__sigreturn): Likewise.
4020         * signal/sigset.c (sigset): Likewise.
4021         * signal/sigsetmask.c (__sigsetmask): Likewise.
4022         * signal/sigstack.c (sigstack): Likewise.
4023         * signal/sigsuspend.c (__sigsuspend): Likewise.
4024         * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
4025         * signal/sysv_signal.c (__sysv_signal): Likewise.
4026         * socket/accept.c (accept): Likewise.
4027         * socket/accept4.c (__libc_accept4): Likewise.
4028         * socket/bind.c (__bind): Likewise.
4029         * socket/connect.c (__connect): Likewise.
4030         * socket/getpeername.c (getpeername): Likewise.
4031         * socket/getsockname.c (__getsockname): Likewise.
4032         * socket/getsockopt.c (getsockopt): Likewise.
4033         * socket/listen.c (__listen): Likewise.
4034         * socket/recv.c (__recv): Likewise.
4035         * socket/recvmsg.c (__recvmsg): Likewise.
4036         * socket/send.c (__send): Likewise.
4037         * socket/sendmsg.c (__sendmsg): Likewise.
4038         * socket/shutdown.c (shutdown): Likewise.
4039         * socket/sockatmark.c (sockatmark): Likewise.
4040         * socket/socket.c (__socket): Likewise.
4041         * stdio-common/ctermid.c (ctermid): Likewise.
4042         * stdio-common/cuserid.c (cuserid): Likewise.
4043         * stdio-common/printf-prs.c (parse_printf_format): Likewise.
4044         * stdio-common/remove.c (remove): Likewise.
4045         * stdio-common/rename.c (rename): Likewise.
4046         * stdio-common/renameat.c (renameat): Likewise.
4047         * stdio-common/tempname.c (__gen_tempname): Likewise.
4048         * stdio-common/xbug.c (InitBuffer): Likewise.
4049         (AppendToBuffer): Likewise.
4050         (ReadFile): Likewise.
4051         * stdlib/a64l.c (a64l): Likewise.
4052         * stdlib/drand48_r.c (drand48_r): Likewise.
4053         * stdlib/getcontext.c (getcontext): Likewise.
4054         * stdlib/getenv.c (getenv): Likewise.
4055         * stdlib/l64a.c (l64a): Likewise.
4056         * stdlib/llabs.c (llabs): Likewise.
4057         * stdlib/lldiv.c (lldiv): Likewise.
4058         * stdlib/lrand48_r.c (lrand48_r): Likewise.
4059         * stdlib/mrand48_r.c (mrand48_r): Likewise.
4060         * stdlib/putenv.c (putenv): Likewise.
4061         * stdlib/random.c (__srandom): Likewise.
4062         (__initstate): Likewise.
4063         (__setstate): Likewise.
4064         * stdlib/random_r.c (__srandom_r): Likewise.
4065         (__setstate_r): Likewise.
4066         (__random_r): Likewise.
4067         * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
4068         * stdlib/setcontext.c (setcontext): Likewise.
4069         * stdlib/setenv.c (setenv): Likewise.
4070         (unsetenv): Likewise.
4071         * stdlib/srand48.c (srand48): Likewise.
4072         * stdlib/srand48_r.c (__srand48_r): Likewise.
4073         * stdlib/swapcontext.c (swapcontext): Likewise.
4074         * stdlib/system.c (__libc_system): Likewise.
4075         * stdlib/tst-strtod.c (expand): Likewise.
4076         * stdlib/tst-strtol.c (expand): Likewise.
4077         * stdlib/tst-strtoll.c (expand): Likewise.
4078         * streams/fattach.c (fattach): Likewise.
4079         * streams/fdetach.c (fdetach): Likewise.
4080         * streams/getmsg.c (getmsg): Likewise.
4081         * streams/isastream.c (isastream): Likewise.
4082         * string/ffs.c (__ffs): Likewise.
4083         * string/ffsll.c (ffsll): Likewise.
4084         * string/memcmp.c (memcmp_common_alignment): Likewise.
4085         (memcmp_not_common_alignment): Likewise.
4086         (MEMCMP): Likewise.
4087         * string/memcpy.c (memcpy): Likewise.
4088         * string/memmove.c (MEMMOVE): Likewise.
4089         * string/memset.c (memset): Likewise.
4090         * string/rawmemchr.c (RAWMEMCHR): Likewise.
4091         * string/strchrnul.c (STRCHRNUL): Likewise.
4092         * string/strerror.c (strerror): Likewise.
4093         * string/strndup.c (__strndup): Likewise.
4094         * string/strverscmp.c (__strverscmp): Likewise.
4095         * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
4096         * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
4097         (clnttcp_freeres): Likewise.
4098         * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
4099         * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
4100         * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
4101         * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
4102         * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
4103         (xdr_callhdr): Likewise.
4104         * sunrpc/rpcinfo.c (udpping): Likewise.
4105         (tcpping): Likewise.
4106         (pstatus): Likewise.
4107         (pmapdump): Likewise.
4108         (brdcst): Likewise.
4109         (deletereg): Likewise.
4110         (getprognum): Likewise.
4111         (getvers): Likewise.
4112         (get_inet_address): Likewise.
4113         * sunrpc/svc_raw.c (svcraw_recv): Likewise.
4114         * sunrpc/svc_udp.c (svcudp_create): Likewise.
4115         (svcudp_stat): Likewise.
4116         (svcudp_recv): Likewise.
4117         (svcudp_reply): Likewise.
4118         (svcudp_getargs): Likewise.
4119         (svcudp_freeargs): Likewise.
4120         (svcudp_destroy): Likewise.
4121         * sunrpc/xdr.c (xdr_bytes): Likewise.
4122         (xdr_netobj): Likewise.
4123         (xdr_string): Likewise.
4124         (xdr_wrapstring): Likewise.
4125         * sunrpc/xdr_float.c (xdr_float): Likewise.
4126         (xdr_double): Likewise.
4127         * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
4128         * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
4129         * sysvipc/ftok.c (ftok): Likewise.
4130         * sysvipc/msgctl.c (msgctl): Likewise.
4131         * sysvipc/msgget.c (msgget): Likewise.
4132         * sysvipc/msgrcv.c (msgrcv): Likewise.
4133         * sysvipc/msgsnd.c (msgsnd): Likewise.
4134         * sysvipc/semget.c (semget): Likewise.
4135         * sysvipc/semop.c (semop): Likewise.
4136         * sysvipc/shmat.c (shmat): Likewise.
4137         * sysvipc/shmctl.c (shmctl): Likewise.
4138         * sysvipc/shmdt.c (shmdt): Likewise.
4139         * sysvipc/shmget.c (shmget): Likewise.
4140         * termios/cfmakeraw.c (cfmakeraw): Likewise.
4141         * termios/speed.c (cfgetospeed): Likewise.
4142         (cfgetispeed): Likewise.
4143         (cfsetospeed): Likewise.
4144         (cfsetispeed): Likewise.
4145         * termios/tcflow.c (tcflow): Likewise.
4146         * termios/tcflush.c (tcflush): Likewise.
4147         * termios/tcgetattr.c (__tcgetattr): Likewise.
4148         * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
4149         * termios/tcgetsid.c (tcgetsid): Likewise.
4150         * termios/tcsendbrk.c (tcsendbreak): Likewise.
4151         * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
4152         * time/adjtime.c (__adjtime): Likewise.
4153         * time/dysize.c (dysize): Likewise.
4154         * time/ftime.c (ftime): Likewise.
4155         * time/getitimer.c (__getitimer): Likewise.
4156         * time/gettimeofday.c (__gettimeofday): Likewise.
4157         * time/gmtime.c (__gmtime_r): Likewise.
4158         (gmtime): Likewise.
4159         * time/localtime.c (__localtime_r): Likewise.
4160         (localtime): Likewise.
4161         * time/offtime.c (__offtime): Likewise.
4162         * time/settimeofday.c (__settimeofday): Likewise.
4163         * time/stime.c (stime): Likewise.
4164         * time/strftime_l.c (tm_diff): Likewise.
4165         (iso_week_days): Likewise.
4166         * time/strptime.c (strptime): Likewise.
4167         * time/time.c (time): Likewise.
4168         * time/timespec_get.c (timespec_get): Likewise.
4169         * time/tzset.c (tzset_internal): Likewise.
4170         (compute_change): Likewise.
4171         (__tz_compute): Likewise.
4172         * wcsmbs/btowc.c (__btowc): Likewise.
4173         * wcsmbs/mbrlen.c (__mbrlen): Likewise.
4174         * wcsmbs/mbsinit.c (__mbsinit): Likewise.
4175         * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
4176         * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
4177         * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
4178         * wcsmbs/wcscat.c (__wcscat): Likewise.
4179         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
4180         * wcsmbs/wcscmp.c (WCSCMP): Likewise.
4181         * wcsmbs/wcscpy.c (WCSCPY): Likewise.
4182         * wcsmbs/wcscspn.c (wcscspn): Likewise.
4183         * wcsmbs/wcsdup.c (wcsdup): Likewise.
4184         * wcsmbs/wcslen.c (__wcslen): Likewise.
4185         * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
4186         * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
4187         * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
4188         * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
4189         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
4190         * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
4191         * wcsmbs/wcsspn.c (wcsspn): Likewise.
4192         * wcsmbs/wcsstr.c (wcsstr): Likewise.
4193         * wcsmbs/wcstok.c (wcstok): Likewise.
4194         * wcsmbs/wctob.c (wctob): Likewise.
4195         * wcsmbs/wmemchr.c (__wmemchr): Likewise.
4196         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
4197         * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
4198         * wcsmbs/wmemmove.c (__wmemmove): Likewise.
4199         * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
4200         * wcsmbs/wmemset.c (__wmemset): Likewise.
4201         * wctype/wcfuncs.c (__towlower): Likewise.
4202         (__towupper): Likewise.
4204         * sysdeps/unix/sysv/linux/i386/lowlevellock.h
4205         (lll_unlock_elision): Add adapt_count parameter.
4207 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
4209         * sysdeps/nptl/configure.ac: Do not give errors based on the
4210         results of top-level configure tests.
4211         * sysdeps/nptl/configure: Regenerated.
4213         * configure.ac (libc_cv_Bgroup): Remove configure test.
4214         * configure: Regenerated.
4215         * config.make.in (have-Bgroup): Remove variable.
4217         * configure.ac (sizeof_long_double): Remove configure test.
4218         * configure: Regenerated.
4219         * config.make.in (sizeof-long-double): Remove variable.
4221         * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
4222         * configure: Regenerated.
4223         * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
4224         variable.
4225         (exceptions): Likewise.
4226         * sysdeps/arm/configure: Regenerated.
4227         * config.make.in (exceptions): Remove variable.
4228         * Makeconfig (uses-callbacks): Use -fexceptions instead of
4229         $(exceptions).
4230         * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
4231         (CFLAGS-vdprintf_chk.c): Likewise.
4232         (CFLAGS-printf_chk.c): Likewise.
4233         (CFLAGS-fprintf_chk.c): Likewise.
4234         (CFLAGS-vprintf_chk.c): Likewise.
4235         (CFLAGS-vfprintf_chk.c): Likewise.
4236         (CFLAGS-gets_chk.c): Likewise.
4237         (CFLAGS-fgets_chk.c): Likewise.
4238         (CFLAGS-fgets_u_chk.c): Likewise.
4239         (CFLAGS-fread_chk.c): Likewise.
4240         (CFLAGS-fread_u_chk.c): Likewise.
4241         (CFLAGS-wprintf_chk.c): Likewise.
4242         (CFLAGS-fwprintf_chk.c): Likewise.
4243         (CFLAGS-vwprintf_chk.c): Likewise.
4244         (CFLAGS-vfwprintf_chk.c): Likewise.
4245         (CFLAGS-fgetws_chk.c): Likewise.
4246         (CFLAGS-fgetws_u_chk.c): Likewise.
4247         * libio/Makefile (CFLAGS-fileops.c): Likewise.
4248         (CFLAGS-fputc.c): Likewise.
4249         (CFLAGS-fputwc.c): Likewise.
4250         (CFLAGS-freopen64.c): Likewise.
4251         (CFLAGS-freopen.c): Likewise.
4252         (CFLAGS-fseek.c): Likewise.
4253         (CFLAGS-fseeko64.c): Likewise.
4254         (CFLAGS-fseeko.c): Likewise.
4255         (CFLAGS-ftello64.c): Likewise.
4256         (CFLAGS-ftello.c): Likewise.
4257         (CFLAGS-fwide.c): Likewise.
4258         (CFLAGS-genops.c): Likewise.
4259         (CFLAGS-getc.c): Likewise.
4260         (CFLAGS-getchar.c): Likewise.
4261         (CFLAGS-getwc.c): Likewise.
4262         (CFLAGS-getwchar.c): Likewise.
4263         (CFLAGS-iofclose.c): Likewise.
4264         (CFLAGS-iofflush.c): Likewise.
4265         (CFLAGS-iofgetpos64.c): Likewise.
4266         (CFLAGS-iofgetpos.c): Likewise.
4267         (CFLAGS-iofgets.c): Likewise.
4268         (CFLAGS-iofgetws.c): Likewise.
4269         (CFLAGS-iofputs.c): Likewise.
4270         (CFLAGS-iofputws.c): Likewise.
4271         (CFLAGS-iofread.c): Likewise.
4272         (CFLAGS-iofsetpos64.c): Likewise.
4273         (CFLAGS-iofsetpos.c): Likewise.
4274         (CFLAGS-ioftell.c): Likewise.
4275         (CFLAGS-iofwrite.c): Likewise.
4276         (CFLAGS-iogetdelim.c): Likewise.
4277         (CFLAGS-iogetline.c): Likewise.
4278         (CFLAGS-iogets.c): Likewise.
4279         (CFLAGS-iogetwline.c): Likewise.
4280         (CFLAGS-ioputs.c): Likewise.
4281         (CFLAGS-ioseekoff.c): Likewise.
4282         (CFLAGS-ioseekpos.c): Likewise.
4283         (CFLAGS-iosetbuffer.c): Likewise.
4284         (CFLAGS-iosetvbuf.c): Likewise.
4285         (CFLAGS-ioungetc.c): Likewise.
4286         (CFLAGS-ioungetwc.c): Likewise.
4287         (CFLAGS-oldfileops.c): Likewise.
4288         (CFLAGS-oldiofclose.c): Likewise.
4289         (CFLAGS-oldiofgetpos64.c): Likewise.
4290         (CFLAGS-oldiofgetpos.c): Likewise.
4291         (CFLAGS-oldiofsetpos64.c): Likewise.
4292         (CFLAGS-oldiofsetpos.c): Likewise.
4293         (CFLAGS-peekc.c): Likewise.
4294         (CFLAGS-putc.c): Likewise.
4295         (CFLAGS-putchar.c): Likewise.
4296         (CFLAGS-putwc.c): Likewise.
4297         (CFLAGS-putwchar.c): Likewise.
4298         (CFLAGS-rewind.c): Likewise.
4299         (CFLAGS-wfileops.c): Likewise.
4300         (CFLAGS-wgenops.c): Likewise.
4301         (CFLAGS-oldiofopen.c): Likewise.
4302         (CFLAGS-iofopen.c): Likewise.
4303         (CFLAGS-iofopen64.c): Likewise.
4304         (CFLAGS-oldtmpfile.c): Likewise.
4305         * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
4306         (CFLAGS-fprintf.c): Likewise.
4307         (CFLAGS-printf.c): Likewise.
4308         (CFLAGS-vfwprintf.c): Likewise.
4309         (CFLAGS-vfscanf.c): Likewise.
4310         (CFLAGS-vfwscanf.c): Likewise.
4311         (CFLAGS-fscanf.c): Likewise.
4312         (CFLAGS-scanf.c): Likewise.
4313         (CFLAGS-isoc99_vfscanf.c): Likewise.
4314         (CFLAGS-isoc99_vscanf.c): Likewise.
4315         (CFLAGS-isoc99_fscanf.c): Likewise.
4316         (CFLAGS-isoc99_scanf.c): Likewise.
4317         * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
4318         (CFLAGS-isoc99_fwscanf.c): Likewise.
4319         (CFLAGS-isoc99_vwscanf.c): Likewise.
4320         (CFLAGS-isoc99_vfwscanf.c): Likewise.
4322         * io/test-lfs.c (do_prepare): Do not call add_temp_file until
4323         after mkstemp64.
4324         * login/tst-utmp.c (do_prepare): Likewise.
4325         * rt/tst-aio.c (do_prepare): Likewise.
4326         * rt/tst-aio64.c (do_prepare): Likewise.
4328 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4330         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
4331         (__lll_lock_elision): Remove adapt_count decrement...
4332         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
4333         (__lll_trylock_elision): Likewise.
4334         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
4335         (__lll_unlock_elision): ... to here. And utilize
4336         new adapt_count parameter.
4337         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
4338         (__lll_unlock_elision): Update to include adapt_count
4339         parameter.
4340         (lll_unlock_elision): Pass pointer to adapt_count
4341         variable.
4343 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4345         * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
4346         Add elision adapt_count parameter to list of arguments.
4347         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
4348         (lll_unlock_elision): Update with new parameter list
4349         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
4350         (lll_unlock_elision): Likewise
4351         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
4352         (lll_unlock_elision): Likewise
4354 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
4356         [BZ #19122]
4357         * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
4358         attribute_hidden.
4360         * include/string.h [IS_IN (rtld)] (__stpcpy): Add
4361         attribute_hidden.
4362         [IS_IN (rtld)] (__strdup): Likewise.
4363         [IS_IN (rtld)] (__strerror_r): Likewise.
4364         [IS_IN (rtld)] (__strsep_g): Likewise.
4365         [IS_IN (rtld)] (memchr): Likewise.
4366         [IS_IN (rtld)] (memcmp): Likewise.
4367         [IS_IN (rtld)] (memcpy): Likewise.
4368         [IS_IN (rtld)] (memmove): Likewise.
4369         [IS_IN (rtld)] (memset): Likewise.
4370         [IS_IN (rtld)] (rawmemchr): Likewise.
4371         [IS_IN (rtld)] (stpcpy): Likewise.
4372         [IS_IN (rtld)] (strchr): Likewise.
4373         [IS_IN (rtld)] (strcmp): Likewise.
4374         [IS_IN (rtld)] (strlen): Likewise.
4375         [IS_IN (rtld)] (strnlen): Likewise.
4376         [IS_IN (rtld)] (strsep): Likewise.
4378         * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
4379         attribute_hidden.
4380         [IS_IN (rtld)] (__strtoul_internal): Likewise.
4382         * include/signal.h [IS_IN (rtld)] (__sigaction): Add
4383         attribute_hidden.
4384         [IS_IN (rtld)] (__libc_sigaction): Likewise.
4386         * include/setjmp.h (__longjmp): Add attribute_hidden.
4387         [IS_IN (rtld)] (__sigsetjmp): Likewise.
4389         * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
4390         Add attribute_hidden.
4392         * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
4393         [IS_IN (rtld)] (__open): Likewise.
4394         [IS_IN (rtld)] (__fcntl): Likewise.
4396         * include/dirent.h (__opendirat): Add attribute_hidden.
4397         (__getdents): Likewise.
4398         (__getdents64): Likewise.
4399         (__alloc_dir): Likewise.
4400         [IS_IN (rtld)] (__closedir): Likewise.
4401         [IS_IN (rtld)] (__fdopendir): Likewise.
4402         [IS_IN (rtld)] (__readdir): Likewise.
4403         [IS_IN (rtld)] (__readdir64): Likewise.
4404         [IS_IN (rtld)] (__rewinddir): Likewise.
4406         * include/dlfcn.h (_dl_catch_error): Moved to ...
4407         * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
4408         attribute_hidden.
4410         * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
4411         (_itoa_word): Likewise.
4413         * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
4414         * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
4415         * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
4416         * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
4417         (_dl_higher_prime_number): Likewise.
4418         (_dl_debug_printf_c): Likewise.
4419         (_dl_signal_cerror): Likewise.
4420         (_dl_receive_error): Likewise.
4421         (_dl_reloc_bad_type): Likewise.
4422         (_dl_resolve_conflicts): Likewise.
4423         (_dl_check_all_versions): Likewise.
4424         (_dl_check_map_versions): Likewise.
4425         (_dl_sort_fini): Likewise.
4426         (_dl_debug_initialize): Likewise.
4427         (_dl_init_paths): Likewise.
4428         (_dl_show_auxv): Likewise.
4429         (_dl_next_ld_env_entry): Likewise.
4430         (_dl_important_hwcaps): Likewise.
4431         (_dl_load_cache_lookup): Likewise.
4432         (_dl_update_slotinfo): Likewise.
4433         (_dl_show_scope): Likewise.
4435         * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
4436         attribute_hidden.
4437         (_wordcopy_fwd_dest_aligned): Likewise.
4438         (_wordcopy_bwd_aligned): Likewise.
4439         (_wordcopy_bwd_dest_aligned): Likewise.
4441         * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
4442         * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
4443         Likewise.
4444         * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
4445         Likewise.
4446         * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
4448 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
4450         * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
4451         GCC 5 requirement.
4453 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
4455         * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
4456         test.
4457         * sysdeps/i386/configure: Regenerated.
4458         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
4459         code unconditional.
4461         * configure.ac (libc_cv_asm_previous_directive): Remove configure
4462         test.
4463         (libc_cv_asm_popsection_directive): Likewise.
4464         * configure: Regenerated.
4465         * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
4466         (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
4467         * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
4468         (__make_section_unallocated): Make definition unconditional.
4469         [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
4470         Remove conditional definition.
4471         [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
4472         (__make_section_unallocated): Likewise.
4474         * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
4475         * configure: Regenerated.
4476         * config.make.in (static-libgcc): Remove variable.
4477         * Makerules (build-shlib-helper): Use -static-libgcc instead of
4478         $(static-libgcc).
4479         (build-module-helper): Likewise.
4481         * configure.ac (libc_cv_friendly_stddef): Remove configure test.
4482         * configure: Regenerated.
4484 2015-10-15  Florian Weimer  <fweimer@redhat.com>
4486         * stdio-common/vfscanf.c (MEMCPY): Remove macro.
4487         (struct char_buffer): New type.
4488         (char_buffer_start, char_buffer_size, char_buffer_error)
4489         (char_buffer_rewind, char_buffer_add): New functions.
4490         (ADDW): Remove macro, replaced by the char_buffer_add function.
4491         (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
4492         of extend_alloca.  Make control flow more explicit.
4494 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
4496         [BZ #19137]
4497         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
4498         Add -fomit-frame-pointer.
4499         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
4501 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
4503         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
4504         (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
4505         * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
4506         only if !__GNUC_PREREQ (5,0).
4507         (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
4508         (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
4509         (INTERNAL_SYSCALL_NCS): Likewise.
4510         (LOADREGS_0): New macro for GCC 5.
4511         (ASMARGS_0): Likewise.
4512         (LOADREGS_1): Likewise.
4513         (ASMARGS_1): Likewise.
4514         (LOADREGS_2): Likewise.
4515         (ASMARGS_2): Likewise.
4516         (LOADREGS_3): Likewise.
4517         (ASMARGS_3): Likewise.
4518         (LOADREGS_4): Likewise.
4519         (ASMARGS_4): Likewise.
4520         (LOADREGS_5): Likewise.
4521         (ASMARGS_5): Likewise.
4522         (LOADREGS_6): Likewise.
4523         (ASMARGS_6): Likewise.
4525 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
4527         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
4528         -fomit-frame-pointer.
4529         (CFLAGS-mmap64.c): Likewise.
4530         (CFLAGS-semtimedop.c): Likewise.
4531         * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
4532         * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
4533         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
4534         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
4536 2015-10-15  Florian Weimer  <fweimer@redhat.com>
4538         [BZ #18928]
4539         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
4540         _dl_pointer_guard member.
4541         * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
4542         initializer.
4543         (security_init): Always set up pointer guard.
4544         (process_envvars): Do not process LD_POINTER_GUARD.
4546 2015-10-14  Joseph Myers  <joseph@codesourcery.com>
4548         [BZ #19134]
4549         * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
4550         (.LC2): Likewise.
4551         (.LC3): Likewise.
4552         (__lround): Do not add 0.5 to integer or out-of-range arguments.
4554 2015-10-14  Szabolcs Nagy  <szabolcs.nagy@arm.com>
4556         [BZ #19129]
4557         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
4558         r0 and r1.
4560 2015-10-14  Namhyung Kim  <namhyung@gmail.com>
4562         * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
4564 2015-10-14  Carlos O'Donell  <carlos@redhat.com>
4566         * include/stap-probe.h: Fix macro definition formatting.
4568 2015-10-14  Florian Weimer  <fweimer@redhat.com>
4570         [BZ #19074]
4571         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
4572         load and store num_ifs.
4574 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
4576         [BZ #18822]
4577         * sysdeps/unix/sysv/linux/sched_getaffinity.c
4578         (__sched_getaffinity_new): Add libc_hidden_proto and
4579         libc_hidden_def.
4581 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
4583         [BZ #19007]
4584         * scripts/localplt.awk: Also allow GOT references.
4585         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
4586         _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
4587         with "+ REL R_386_GLOB_DAT".
4588         * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
4589         and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
4591 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
4593         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
4594         INLINE_SYSCALL_ERROR_RETURN_VALUE.
4595         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
4596         Likewise.
4597         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
4598         * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
4599         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
4600         INTERNAL_SYSCALLINTERNAL_SYSCALL and
4601         INLINE_SYSCALL_ERROR_RETURN_VALUE.
4602         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
4603         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
4604         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
4605         Likewise.
4606         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
4608 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
4610         [BZ #19125]
4611         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
4612         <math_private.h> and <stdint.h>.
4613         (__llround): Avoid conversions to and from long long int, and
4614         subtractions, where those might raise spurious exceptions.
4615         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
4616         <math_private.h> and <stdint.h>.
4617         (__llroundf): Avoid conversions to and from long long int, and
4618         subtractions, where those might raise spurious exceptions.
4620 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
4622         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
4623         INLINE_SYSCALL_ERROR_RETURN_VALUE.
4624         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
4625         * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
4626         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
4627         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
4628         * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
4629         * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
4630         * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
4631         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
4632         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
4633         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
4634         * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
4635         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
4636         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
4637         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
4638         * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
4639         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
4640         * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
4641         * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
4642         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
4643         * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
4644         * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
4645         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
4646         * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
4647         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
4648         * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
4649         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
4650         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
4651         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
4652         (__xstat64_conv): Likewise.
4653         (__xstat32_conv): Likewise.
4655 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
4657         * sysdeps/unix/sysv/linux/sysdep.h: New file.
4658         * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
4659         * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
4660         <sysdeps/unix/sysv/linux/sysdep.h>.
4661         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
4662         * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
4663         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
4664         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
4665         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
4666         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
4667         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
4668         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
4669         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
4670         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
4671         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
4672         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
4673         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
4674         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
4675         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
4676         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
4677         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
4678         (sysdep-dl-routines): Add sysdep.
4679         [$(subdir) == nptl] (libpthread-routines): Likewise.
4680         [$(subdir) == rt] (librt-routines): Likewise.
4681         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
4682         PIC when branching to SYSCALL_ERROR_LABEL.
4683         * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
4684         * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
4685         <sysdeps/unix/sysv/linux/sysdep.h>.
4686         (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
4687         (SYSCALL_ERROR_ERRNO): Removed.
4688         (SYSCALL_ERROR_HANDLER): Changed to empty.
4689         (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
4690         (__syscall_error): New prototype.
4691         [IS_IN (libc)] (INLINE_SYSCALL): New macro.
4692         (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
4694 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
4696         [BZ #19124]
4697         * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
4698         (_dl_runtime_resolve_avx512): Make it a hidden alias of
4699         _dl_runtime_resolve_avx.
4700         (_dl_runtime_profile_avx512): Make it a hidden alias of
4701         _dl_runtime_profile_avx.
4703 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
4705         * sysdeps/powerpc/fpu/s_llround.c: Move to ....
4706         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
4707         * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
4708         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
4710         [BZ #16422]
4711         * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
4712         New configure test.
4713         * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
4714         * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
4715         * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
4716         <math_private.h> and <stdint.h>.
4717         (__llrint): Avoid conversions to long long int where those might
4718         raise spurious exceptions.
4719         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
4720         <math_private.h> and <stdint.h>.
4721         (__llrintf): Avoid conversions to long long int where those might
4722         raise spurious exceptions.
4724 2015-10-12  Andreas Schwab  <schwab@suse.de>
4726         [BZ #18969]
4727         * debug/Makefile (LOCALES): Define.  Include gen-locales.mk.
4728         ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
4729         * iconvdata/Makefile (LOCALES): Define.  Include gen-locales.mk.
4730         ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
4731         $(gen-locales).
4732         * intl/Makefile (LOCALES): Define.  Include gen-locales.mk.
4733         ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
4734         ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
4735         ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
4736         ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
4737         $(gen-locales).
4738         * libio/Makefile (LOCALES): Define.  Include gen-locales.mk.
4739         ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
4740         ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
4741         ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
4742         ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
4743         ($(objpfx)tst-ftell-active-handler.out)
4744         ($(objpfx)tst-ftell-append.out)
4745         ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
4746         ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
4747         ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
4748         ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
4749         * posix/Makefile (LOCALES): Define.  Include gen-locales.mk.
4750         ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
4751         ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
4752         ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
4753         ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
4754         ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
4755         ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
4756         ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
4757         ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
4758         ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
4759         ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
4760         ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
4761         ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
4762         ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
4763         * stdio-common/Makefile (LOCALES): Define.  Include gen-locales.mk.
4764         ($(objpfx)bug14.out, $(objpfx)scanf13.out)
4765         ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
4766         ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
4767         ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
4768         * stdlib/Makefile (LOCALES): Define.  Include gen-locales.mk.
4769         ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
4770         ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
4771         ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
4772         $(gen-locales).
4773         * time/Makefile (LOCALES): Define.  Include gen-locales.mk.
4774         ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
4775         $(gen-locales).
4776         * wcsmbs/Makefile (LOCALES): Define.  Include gen-locales.mk.
4777         ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
4778         ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
4779         ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
4780         $(gen-locales).
4781         * libio/tst_wprintf2.c (main): Use explicit locale.
4782         * wcsmbs/wcsmbs-tst1.c (main): Likewise.
4784 2015-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4786         * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
4787         __msg_sig_post.
4788         * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
4790 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
4792         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
4793         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
4795         * sysdeps/arm/libm-test-ulps: Regenerated.
4797         [BZ #15470]
4798         * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
4800         [BZ #16399]
4801         * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
4802         * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
4803         and <fix-fp-int-convert-overflow.h>.
4804         (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
4805         FIX_DBL_LLONG_CONVERT_OVERFLOW.
4806         * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
4807         and <fix-fp-int-convert-overflow.h>.
4808         (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
4809         FIX_DBL_LLONG_CONVERT_OVERFLOW.
4810         * sysdeps/ieee754/dbl-64/s_lrint.c: Include
4811         <fix-fp-int-convert-overflow.h>.
4812         (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
4813         FIX_DBL_LLONG_CONVERT_OVERFLOW.
4814         * sysdeps/ieee754/dbl-64/s_lround.c: Include
4815         <fix-fp-int-convert-overflow.h>.
4816         (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
4817         FIX_DBL_LLONG_CONVERT_OVERFLOW.
4818         * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
4819         and <fix-fp-int-convert-overflow.h>.
4820         (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
4821         FIX_DBL_LLONG_CONVERT_OVERFLOW.
4822         * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
4823         <limits.h> and <fix-fp-int-convert-overflow.h>.
4824         (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
4825         FIX_DBL_LLONG_CONVERT_OVERFLOW.
4826         * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
4827         and <fix-fp-int-convert-overflow.h>.
4828         (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
4829         FIX_DBL_LLONG_CONVERT_OVERFLOW.
4830         * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
4831         and <fix-fp-int-convert-overflow.h>.
4832         (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
4833         FIX_DBL_LLONG_CONVERT_OVERFLOW.
4834         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
4836 2015-10-09  Carlos O'Donell  <carlos@redhat.com>
4838         [BZ #18589]
4839         * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
4840         * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
4841         $(gen-locales).
4843 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4844             Phil Blundell <pb@pbcl.net>
4846         * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
4847         * nptl/tst-cancel26.c: New file.
4848         * nptl/tst-cancel27.c: Likewise.
4850 2015-10-09  H.J. Lu  <hongjiu.lu@intel.com>
4852         * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
4853         __ILP32__ isn't defined.
4854         (lrint): Likewise.
4855         * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
4856         (lrintf): Likewise.
4857         * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
4858         (lrintl): Likewise.
4859         * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
4860         * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
4861         * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
4863 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4865         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
4866         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
4868         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
4869         file.
4870         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
4871         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
4873 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
4875         * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
4876         configure test.
4877         * sysdeps/i386/configure: Regenerated.
4878         * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
4879         configure test.
4880         * sysdeps/x86_64/configure: Regenerated.
4881         * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
4882         Make code unconditional.
4884         * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
4885         test.
4886         * sysdeps/i386/configure: Regenerated.
4887         * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
4888         test.
4889         * sysdeps/x86_64/configure: Regenerated.
4890         * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
4891         Make code unconditional.
4892         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
4893         Likewise.
4894         * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
4895         Likewise.
4896         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
4897         * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
4898         code unconditional.
4899         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
4900         * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
4901         code unconditional.
4902         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
4903         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
4904         code unconditional.
4905         * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
4906         code unconditional.
4907         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
4908         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
4909         code unconditional.
4910         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
4911         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
4912         code unconditional.
4913         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
4914         * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
4915         code unconditional.
4916         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
4917         * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
4918         code unconditional.
4919         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
4920         * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
4922         [BZ #19095]
4923         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
4924         mantissa to long int before shifting left.
4926 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
4928         [BZ #19094]
4929         * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
4930         <limits.h>.
4931         (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
4932         when result overflows but exception would not result from cast.
4933         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
4934         <limits.h>.
4935         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
4936         when result overflows but exception would not result from cast.
4937         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
4938         <limits.h>.
4939         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
4940         when result overflows but exception would not result from cast.
4941         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
4942         <limits.h>.
4943         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
4944         when result overflows but exception would not result from cast.
4945         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
4946         <limits.h>.
4947         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
4948         when result overflows but exception would not result from cast.
4949         * math/libm-test.inc (lrint_test_data): Add more tests.
4950         (llrint_test_data): Likewise.
4952 2015-10-08  Roland McGrath  <roland@hack.frob.com>
4954         [BZ #18872]
4955         * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
4956         Move out from under [$(run-built-tests) = yes] conditional.
4957         ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
4958         ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
4960 2015-10-08  Carlos O'Donell  <carlos@redhat.com>
4962         [BZ #18589]
4963         * string/Makefile (tests): Add bug-strcoll2.
4964         (LOCALES): Add cs_CZ.UTF-8.
4965         * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
4967         [BZ #18589]
4968         * string/bug-strcoll2.c: New file.
4969         * locale/categories.def: Revert commit
4970         f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
4971         * locale/langinfo.h: Likewise.
4972         * locale/localeinfo.h: Likewise.
4973         * locale/C-collate.c: Likewise.
4974         * locale/programs/ld-collate.c (collate_output): Likewise.
4975         * string/strcoll_l.c (STRDIFF): Likewise.
4976         (STRCOLL): Likewise.
4977         * wcsmbs/wcscoll_l.c: Likewise.
4979 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
4981         * math/libm-test.inc (lround_test_data): Do not expect the absence
4982         of "inexact" for some tests with non-integer arguments.
4983         (llround_test_data): Likewise.
4985         * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
4986         test.
4987         (libc_cv_cc_sse2avx): Likewise.
4988         * sysdeps/i386/configure: Regenerated.
4989         * sysdeps/i386/i686/multiarch/Makefile
4990         [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
4991         [$(subdir) = math].
4992         * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
4993         code unconditional.
4994         * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
4995         Likewise.
4996         * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
4997         Likewise.
4998         * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
4999         Likewise.
5000         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
5001         test.
5002         (libc_cv_cc_sse2avx): Likewise.
5003         * sysdeps/x86_64/configure: Regenerated.
5004         * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
5005         unconditional.
5006         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
5007         [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
5008         unconditional.
5009         (_dl_runtime_profile)
5010         [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
5011         conditional code.
5012         * sysdeps/x86_64/fpu/multiarch/Makefile
5013         [$(config-cflags-sse2avx) = yes]: Make code unconditional.
5014         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
5015         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
5016         * sysdeps/x86_64/fpu/multiarch/e_exp.c
5017         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
5018         * sysdeps/x86_64/fpu/multiarch/e_log.c
5019         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
5020         * sysdeps/x86_64/fpu/multiarch/s_atan.c
5021         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
5022         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
5023         Likewise.
5024         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
5025         Likewise.
5026         * sysdeps/x86_64/fpu/multiarch/s_sin.c
5027         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
5028         * sysdeps/x86_64/fpu/multiarch/s_tan.c
5029         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
5030         * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
5031         * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
5032         (HAVE_SSE2AVX_SUPPORT): Likewise.
5034 2015-10-07  Paul Pluzhnikov  <ppluzhnikov@google.com>
5036         * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
5037         instead of #pragma optimize.
5039 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
5041         [BZ #17195]
5042         * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
5043         as is similarly done in systrim and _int_free already.
5045 2015-10-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5047         * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
5049 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
5051         [BZ #19088]
5052         * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
5053         <limits.h>.
5054         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
5055         overflows but exception would not result from cast.
5056         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
5057         and <limits.h>.
5058         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
5059         overflows but exception would not result from cast.
5060         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
5061         <limits.h>.
5062         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
5063         overflows but exception would not result from cast.
5064         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
5065         <limits.h>.
5066         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
5067         overflows but exception would not result from cast.
5068         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
5069         <limits.h>.
5070         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
5071         overflows but exception would not result from cast.
5072         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
5073         <limits.h>.
5074         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
5075         overflows but exception would not result from cast.
5076         * math/libm-test.inc (lround_test_data): Add more tests.
5077         (llround_test_data): Likewise.
5079 2015-10-07  Steve Ellcey  <sellcey@imgtec.com>
5081         * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
5082         (CFLAGS-ialloc.c): Ditto.
5083         (CFLAGS-scheck.c): Ditto.
5085 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
5087         [BZ #19086]
5088         * manual/filesys.texi (Storage Allocation): Fix argument order for
5089         posix_fallocate64.
5091 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
5093         [BZ #19085]
5094         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
5095         exponent below 48 inside case for non-overflowing exponent.
5096         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
5098 2015-10-07  Florian Weimer  <fweimer@redhat.com>
5100         * iconvdata/cp737.h (from_idx): Add const.
5101         * iconvdata/cp775.h (from_idx): Likewise.
5103 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
5105         * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
5106         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
5107         (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
5109         [BZ #19079]
5110         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
5111         file, conditioned on [!_LP64].
5112         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
5113         [!_LP64] (__lround): Do not define as function or alias.
5114         [!_LP64] (lround): Likewise.
5115         [!_LP64] (__lroundl): Likewise.
5116         [!_LP64] (lroundl): Likewise.
5117         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
5118         macro.
5119         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
5120         Likewise.
5122 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
5124         * math/libm-test.inc (lrint_test_data): Add more tests.
5125         (llrint_test_data): Likewise.
5126         (lround_test_data): Likewise.
5127         (llround_test_data): Likewise.
5129         * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
5130         (llrint_test_data): Add tests used for lrint.
5132         * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
5133         test.
5134         * sysdeps/i386/configure: Regenerated.
5135         * sysdeps/i386/i686/multiarch/Makefile
5136         [$(config-cflags-sse4) = yes]: Make code unconditional.
5137         * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
5138         Likewise.
5139         * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
5140         Likewise.
5141         * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
5142         test.
5143         * sysdeps/x86_64/configure: Regenerated.
5144         * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
5145         Make code unconditional.
5146         * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
5147         Likewise.
5148         * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
5149         * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
5151         * scripts/rpm2dynsym.sh: Remove file.
5153 2015-10-06  Florian Weimer  <fweimer@redhat.com>
5155         * configure.ac (libc_cv_cxx_thread_local): Define.
5156         * configure: Regenerate.
5157         * config.make.in (have-cxx-thread_local): Define.
5158         * nptl/Makefile (CFLAGS-tst-thread_local1.o):
5159         (LDLIBS-tst-thread_local1): Define.
5160         (tests): Add tst-thread_local1.
5161         [have-cxx-thread_local != yes] (tests-unsupported): Add
5162         tst-thread_local1.
5163         * nptl/tst-thread_local1.cc: New file.
5165 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
5167         [BZ #19078]
5168         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
5169         (u_thres): Likewise.
5170         (__expl): Determine whether to call __kernel_standard_l based on
5171         value of result, not argument.
5173         * math/libm-test.inc (scalb_test_data): Add more expectations for
5174         the "inexact" exception.
5176         [BZ #19077]
5177         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
5178         0.0L for argument 1.0L.
5180         [BZ #19076]
5181         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
5182         constant 0.0L when computing infinite result.
5184 2015-10-06  Florian Weimer  <fweimer@redhat.com>
5186         [BZ #10432]
5187         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
5188         malloc_usable_size.
5190 2015-10-06  Florian Weimer  <fweimer@redhat.com>
5192         [BZ #19018]
5193         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
5194         Mangle function pointer before storing it.
5195         (__call_tls_dtors): Demangle function pointer before calling it.
5197 2015-10-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
5199         [BZ #19012]
5200         * iconv/gconv_db.c (gen_steps): Check for additional errors.
5201         Clean up on failure.
5203 2015-10-05  Joseph Myers  <joseph@codesourcery.com>
5205         [BZ #19071]
5206         * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
5207         long int variable to store possibly incremented high part of
5208         mantissa.
5209         * math/libm-test.inc (lround_test_data): Add tests used for
5210         llround.  Use [LONG_MAX > 0x7fffffff] consistently as condition
5211         for tests requiring 64-bit long.  Do not condition tests on
5212         [TEST_FLOAT] unnecessarily.
5213         (llround_test_data): Add tests used for lround.  Add another
5214         expectation for the "inexact" exception.  Do not condition tests
5215         on [TEST_FLOAT] unnecessarily.
5217         [BZ #887]
5218         [BZ #19049]
5219         [BZ #19050]
5220         * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
5221         * sysdeps/ieee754/dbl-64/e_log10.c: Include
5222         <fix-int-fp-convert-zero.h>.
5223         (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
5224         * sysdeps/ieee754/dbl-64/e_log2.c: Include
5225         <fix-int-fp-convert-zero.h>.
5226         (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
5227         * sysdeps/ieee754/dbl-64/s_erf.c: Include
5228         <fix-int-fp-convert-zero.h>.
5229         (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
5230         * sysdeps/ieee754/dbl-64/s_logb.c: Include
5231         <fix-int-fp-convert-zero.h>.
5232         (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
5233         * sysdeps/ieee754/flt-32/e_log10f.c: Include
5234         <fix-int-fp-convert-zero.h>.
5235         (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
5236         * sysdeps/ieee754/flt-32/e_log2f.c: Include
5237         <fix-int-fp-convert-zero.h>.
5238         (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
5239         * sysdeps/ieee754/flt-32/s_erff.c: Include
5240         <fix-int-fp-convert-zero.h>.
5241         (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
5242         * sysdeps/ieee754/flt-32/s_logbf.c: Include
5243         <fix-int-fp-convert-zero.h>.
5244         (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
5245         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
5246         <fix-int-fp-convert-zero.h>.
5247         (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
5248         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
5249         <fix-int-fp-convert-zero.h>.
5250         (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
5251         * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
5252         * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
5253         * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
5254         file.
5255         * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
5257 2015-10-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
5259         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
5261 2015-10-02  Joseph Myers  <joseph@codesourcery.com>
5263         [BZ #19059]
5264         * math/s_nexttowardf.c (__nexttowardf): Do not return value from
5265         overflowing computation.
5266         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
5267         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
5268         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
5269         Likewise.
5270         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
5271         Likewise.
5272         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
5273         Likewise.
5274         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
5275         Likewise.
5276         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
5277         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
5278         Likewise.
5279         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
5280         Likewise.
5281         * math/libm-test.inc (nexttoward_test_data): Add more tests.
5283         * nss/rewrite_field.c (__nss_rewrite_field): Use
5284         internal_function.
5285         * nss/valid_field.c (__nss_valid_field): Likewise.
5286         * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
5288 2015-10-02  Florian Weimer  <fweimer@redhat.com>
5290         [BZ #18724]
5291         * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
5292         (__nss_invalid_field_characters, __nss_valid_field)
5293         (__nss_valid_list_field, __nss_rewrite_field): Declare.
5294         * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
5295         tst-field.c: New file.
5296         * nss/Makefile (routines): Add valid_field, rewrite_field.
5297         (tests-static): Define unconditionally.
5298         (tests): Include tests-static.
5299         [build-static-nss] (tests-static): Use append.
5300         [build-static-nss] (tests): Remove modification.
5301         * nss/getent.c (print_group): Call putgrent.  Report error.
5302         (print_gshadow): Call putsgent.  Report error.
5303         (print_passwd): Call putpwent.  Report error.
5304         (print_shadow): Call putspent.  Report error.
5305         * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
5306         * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
5307         * pwd/putpwent.c (putpwent): Use ISO function definition.  Check
5308         name, password, directory, shell fields for valid syntax.  Rewrite
5309         GECOS field to match syntax.
5310         * pwd/Makefile (tests): Add tst-putpwent.
5311         * pwd/tst-putpwent.c: New file.
5312         * grp/putgrent.c (putgrent): Convert to ISO function definition.
5313         Check grName, grpasswd, gr_mem fields for valid syntax.
5314         Change loop variable i to size_t.
5315         * grp/Makefile (tests): Add tst-putgrent.
5316         * grp/tst-putgrent.c: New file.
5317         * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
5318         valid syntax.
5319         * shadow/Makefile (tests): Add tst-putspent.
5320         * shadow/tst-putspent.c: New file.
5321         * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
5322         sg_mem fields for valid syntax.
5323         * gshadow/Makefile (tests): Add tst-putsgent.
5324         * gshadow/tst-putsgent.c: New file.
5326 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
5328         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
5329         assembly instructions.
5331 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
5333         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
5334         prefix from operands.
5336 2015-10-01  Joseph Myers  <joseph@codesourcery.com>
5338         [BZ #16347]
5339         [BZ #19046]
5340         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
5341         <libc-internal.h>.
5342         (MAXLGM): Do not use diagnostic control macros.
5343         [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
5344         threshold for ldbl-128ibm.
5345         (__ieee754_lgammal_r): For large arguments, multiply by log - 1
5346         instead of multiplying by log then subtracting.
5347         * math/auto-libm-test-in: Add more tests of lgamma.
5348         * math/auto-libm-test-out: Regenerated.
5350         * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
5351         (TYPE_HEX_DIG): Likewise.
5352         (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
5353         precisions when printing floating-point numbers.
5354         (check_float_internal): Likewise.
5356 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
5358         [BZ #16620]
5359         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
5360         of log (10) rounded downward to 48 bits.
5361         (log10_low): Use corresponding low part of log (10).
5363         [BZ #19032]
5364         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
5365         compute result as (x - x) / (x - x) not as 0 / 0.
5366         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
5367         * math/libm-test.inc (acosh_test_data): Add another test of acosh.
5369         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
5370         atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
5371         and expm1.
5372         * math/auto-libm-test-out: Regenerated.
5373         * math/libm-test.inc (acos_test_data): Add more tests.
5374         (asin_test_data): Likewise.
5375         (asinh_test_data): Likewise.
5376         (atan_test_data): Likewise.
5377         (atanh_test_data): Likewise.
5378         (atan2_test_data): Likewise.
5379         (cbrt_test_data): Likewise.
5380         (ceil_test_data): Likewise.
5381         (copysign_test_data): Likewise.
5382         (cos_test_data): Likewise.
5383         (cosh_test_data): Likewise.
5384         (erf_test_data): Likewise.
5385         (erfc_test_data): Likewise.
5386         (exp_test_data): Likewise.
5387         (exp10_test_data): Likewise.
5388         (exp2_test_data): Likewise.
5389         (expm1_test_data): Likewise.
5390         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5392 2015-09-30  H.J. Lu  <hongjiu.lu@intel.com>
5394         [BZ #19006]
5395         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
5396         to ...
5397         * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
5398         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
5399         to ...
5400         * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
5401         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
5402         to ...
5403         * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
5404         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
5405         * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
5406         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
5407         to ...
5408         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
5409         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
5410         Moved to ...
5411         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
5412         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
5413         Moved to ...
5414         * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
5415         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
5416         to ...
5417         * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
5418         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
5419         Moved to ...
5420         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
5421         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
5422         to ...
5423         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
5424         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
5425         Removed.
5426         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
5427         Likewise.
5428         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
5429         Likewise.
5430         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
5431         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
5432         Likewise.
5433         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
5434         Likewise.
5435         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
5436         Likewise.
5437         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
5438         Likewise.
5439         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
5440         Likewise.
5441         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
5442         Likewise.
5443         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
5444         Likewise.
5445         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
5446         Likewise.
5447         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
5448         Likewise.
5449         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
5450         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
5451         Likewise.
5452         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
5453         Likewise.
5454         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
5455         Likewise.
5456         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
5457         Likewise.
5458         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
5459         Likewise.
5460         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
5461         Replace ../i486/pthread_cond_timedwait.S with
5462         ../pthread_cond_timedwait.S.
5464 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
5466         * math/libm-test.inc (acos_test_data): Refine expectations for
5467         errno and "inexact" exceptions.
5468         (acosh_test_data): Likewise.
5469         (asin_test_data): Likewise.
5470         (asinh_test_data): Likewise.
5471         (atan_test_data): Likewise.
5472         (atanh_test_data): Likewise.
5473         (atan2_test_data): Likewise.
5474         (cbrt_test_data): Likewise.
5475         (ceil_test_data): Likewise.
5476         (copysign_test_data): Likewise.
5477         (cosh_test_data): Likewise.
5478         (erf_test_data): Likewise.
5479         (erfc_test_data): Likewise.
5480         (exp_test_data): Likewise.
5481         (exp10_test_data): Likewise.
5482         (exp2_test_data): Likewise.
5483         (expm1_test_data): Likewise.
5484         (fabs_test_data): Likewise.
5485         (floor_test_data): Likewise.
5486         (fma_test_data): Likewise.
5487         (fmax_test_data): Likewise.
5488         (fmin_test_data): Likewise.
5489         (fmod_test_data): Likewise.
5490         (fpclassify_test_data): Likewise.
5491         (frexp_test_data): Likewise.
5492         (hypot_test_data): Likewise.
5493         (ilogb_test_data): Likewise.
5494         (isgreater_test_data): Likewise.
5495         (isgreaterequal_test_data): Likewise.
5496         (isinf_test_data): Likewise.
5497         (isless_test_data): Likewise.
5498         (islessequal_test_data): Likewise.
5499         (islessgreater_test_data): Likewise.
5500         (isnan_test_data): Likewise.
5501         (isnormal_test_data): Likewise.
5502         (issignaling_test_data): Likewise.
5503         (isunordered_test_data): Likewise.
5504         (j0_test_data): Likewise.
5505         (j1_test_data): Likewise.
5506         (jn_test_data): Likewise.
5507         (lgamma_test_data): Likewise.
5508         (lrint_test_data): Likewise.
5509         (llrint_test_data): Likewise.
5510         (log_test_data): Likewise.
5511         (log10_test_data): Likewise.
5512         (log1p_test_data): Likewise.
5513         (log2_test_data): Likewise.
5514         (logb_test_data): Likewise.
5515         (lround_test_data): Likewise.
5516         (llround_test_data): Likewise.
5517         (modf_test_data): Likewise.
5518         (nearbyint_test_data): Likewise.
5519         (nextafter_test_data): Likewise.
5520         (nexttoward_test_data): Likewise.
5521         (pow_test_data): Likewise.
5522         (remainder_test_data): Likewise.
5523         (remquo_test_data): Likewise.
5524         (rint_test_data): Likewise.
5525         (round_test_data): Likewise.
5526         (signbit_test_data): Likewise.
5527         (sinh_test_data): Likewise.
5528         (sqrt_test_data): Likewise.
5529         (tanh_test_data): Likewise.
5530         (tgamma_test_data): Likewise.
5531         (trunc_test_data): Likewise.
5532         (y0_test_data): Likewise.
5533         (y1_test_data): Likewise.
5534         (yn_test_data): Likewise.
5535         (significand_test_data): Likewise.
5537 2015-09-29  Carlos O'Donell  <carlos@redhat.com>
5539         * manual/filesys.texi (Storage Allocation): Document that
5540         posix_fallocate emulation fails when fd is open with O_WRONLY.
5542 2015-09-28  Joseph Myers  <joseph@codesourcery.com>
5544         [BZ #19016]
5545         * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
5546         allow more cases with X^2 + Y^2 >= 0.5.
5547         * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise.  Add -1 as
5548         normal element in sum instead of special-casing based on values of
5549         arguments.
5550         * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
5551         * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise.  Add
5552         -1 as normal element in sum instead of special-casing based on
5553         values of arguments.
5554         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
5555         * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
5556         (__x2y2m1): Update comment.
5557         * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise.  Add -1
5558         as normal element in sum instead of special-casing based on values
5559         of arguments.
5560         * math/s_clog.c (__clog): Handle more cases using log1p without
5561         hypot.
5562         * math/s_clog10.c (__clog10): Likewise.
5563         * math/s_clog10f.c (__clog10f): Likewise.
5564         * math/s_clog10l.c (__clog10l): Likewise.
5565         * math/s_clogf.c (__clogf): Likewise.
5566         * math/s_clogl.c (__clogl): Likewise.
5567         * math/auto-libm-test-in: Add more tests of clog and clog10.
5568         * math/auto-libm-test-out: Regenerated.
5569         * sysdeps/i386/fpu/libm-test-ulps: Update.
5570         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5572 2015-09-28  Martin Sebor  <msebor@redhat.com>
5574         [BZ #18969]
5575         * string/Makefile (LOCALES): Define.
5576         (gen-locales.mk): Include.
5577         (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
5578         (tst-strxfrm2.out): Add deppendency on $(gen-locales).
5579         * string/tst-strxfrm2.c (do_test): Print the name of the locale
5580         on setlocale failure.
5582 2015-09-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
5584         [BZ #18985]
5585         * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
5586         (__strftime_internal): Likewise.
5587         * time/tst-strftime.c (do_bz18985): New test.
5588         (do_test): Call it.
5590 2015-09-26  Joseph Myers  <joseph@codesourcery.com>
5592         [BZ #18956]
5593         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
5594         not 0x0040000 for high bit of mantissa.  Mask with 0xfffff000 when
5595         extracting high part.
5596         * math/auto-libm-test-in: Add another test of pow.
5597         * math/auto-libm-test-out: Regenerated.
5598         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5600 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
5602         [BZ #18825]
5603         * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
5604         New macro.
5605         (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
5606         (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
5607         * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
5608         (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
5609         DBL_NARROW_EVAL, reloading the PIC register as needed.
5610         * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
5611         (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
5612         FLT_NARROW_EVAL.  Use separate return path for case when first
5613         argument is NaN.
5614         * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>.  Use
5615         DEFINE_LDBL_MIN.
5616         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
5617         PIC register.
5618         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
5619         math_check_force_underflow_nonneg.
5620         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
5621         underflow for subnormal result.
5622         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
5623         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
5624         math_check_force_underflow_nonneg.
5625         * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
5626         math_check_force_underflow.
5627         * sysdeps/x86_64/fpu/x86_64-math-asm.h
5628         (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
5629         * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>.  Use
5630         DEFINE_LDBL_MIN.
5631         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
5632         * math/auto-libm-test-in: Add more tests of pow.
5633         * math/auto-libm-test-out: Regenerated.
5635 2015-09-25  Florian Weimer  <fweimer@redhat.com>
5637         * nss/bug17079.c (init_test_items): Add diagnostic for
5638         inconsistent entries.
5639         (test_buffer_size): Skip inconsistent entries.
5641 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
5643         [BZ #13304]
5644         * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
5645         * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
5646         * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
5648         [BZ #13304]
5649         * sysdeps/microblaze/s_fma.c: New file.
5650         * sysdeps/microblaze/s_fmaf.c: Likewise.
5651         * sysdeps/microblaze/sfp-machine.h: Likewise.
5653 2015-09-25  Maciej W. Rozycki  <macro@imgtec.com>
5655         [BZ #17250]
5656         * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
5657         member.
5659 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
5661         [BZ #18803]
5662         * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
5663         (MO): New macro.
5664         (__ieee754_hypot) [PIC]: Load PIC register.
5665         (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
5666         DBL_NARROW_EVAL.
5667         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
5668         math_check_force_underflow_nonneg in case where result might be
5669         tiny.
5670         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
5671         Likewise.
5672         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
5673         Likewise.
5674         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
5675         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
5676         * math/auto-libm-test-in: Add more tests of hypot.
5677         * math/auto-libm-test-out: Regenerated.
5679 2015-09-24  Steve Ellcey  <sellcey@imgtec.com>
5681         * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
5683 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
5685         * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
5686         * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
5687         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
5688         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
5689         * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
5690         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
5691         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
5693         * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
5694         LOAD_PIC_REG.
5696         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
5697         (FLT_CHECK_FORCE_UFLOW): Likewise.
5698         (DBL_CHECK_FORCE_UFLOW): Likewise.
5699         (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
5700         (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
5701         (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
5702         (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
5703         (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
5704         (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
5705         (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
5706         (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
5707         * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
5708         (dbl_min): Replace with use of DEFINE_DBL_MIN.
5709         (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
5710         * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
5711         (flt_min): Replace with use of DEFINE_FLT_MIN.
5712         (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
5713         * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
5714         (dbl_min): Replace with use of DEFINE_DBL_MIN.
5715         (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
5716         * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
5717         (flt_min): Replace with use of DEFINE_FLT_MIN.
5718         (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
5719         * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
5720         (dbl_min): Replace with use of DEFINE_DBL_MIN.
5721         (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
5722         * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
5723         (flt_min): Replace with use of DEFINE_FLT_MIN.
5724         (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
5725         * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
5726         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
5727         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
5728         * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
5729         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
5730         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
5731         * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
5732         (dbl_min): Replace with use of DEFINE_DBL_MIN.
5733         (__atan): Use DBL_CHECK_FORCE_UFLOW.
5734         * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
5735         (flt_min): Replace with use of DEFINE_FLT_MIN.
5736         (__atanf): Use FLT_CHECK_FORCE_UFLOW.
5737         * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
5738         (dbl_min): Replace with use of DEFINE_DBL_MIN.
5739         (__expm1): Use DBL_CHECK_FORCE_UFLOW.  Move underflow check after
5740         main computation.
5741         * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
5742         (flt_min): Replace with use of DEFINE_FLT_MIN.
5743         (__expm1f): Use FLT_CHECK_FORCE_UFLOW.  Move underflow check after
5744         main computation.
5745         * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
5746         (dbl_min): Replace with use of DEFINE_DBL_MIN.
5747         (MO): New macro.
5748         (__log1p): Use MO.  Use DBL_CHECK_FORCE_UFLOW_NONNAN.
5749         * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
5750         (flt_min): Replace with use of DEFINE_FLT_MIN.
5751         (MO): New macro.
5752         (__log1pf): Use MO.  Use FLT_CHECK_FORCE_UFLOW_NONNAN.
5753         * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
5754         (__log1pl): Use MO.
5756         [BZ #19003]
5757         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
5758         $(config-cflags-nofma).
5760 2015-09-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
5762         * sysdeps/aarch64/libm-test-ulps: Regenerated.
5764 2015-09-23  Joseph Myers  <joseph@codesourcery.com>
5766         * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
5767         (TWO127): Likewise.
5769         * sysdeps/generic/math_private.h (fabs_tg): New macro.
5770         (min_of_type): Likewise.
5771         (math_check_force_underflow): Likewise.
5772         (math_check_force_underflow_nonneg): Likewise.
5773         (math_check_force_underflow_complex): Likewise.
5774         * math/e_exp2l.c (__ieee754_exp2l): Use
5775         math_check_force_underflow_nonneg.
5776         * math/k_casinh.c (__kernel_casinh): Likewise.
5777         * math/k_casinhf.c (__kernel_casinhf): Likewise.
5778         * math/k_casinhl.c (__kernel_casinhl): Likewise.
5779         * math/s_catan.c (__catan): Use
5780         math_check_force_underflow_complex.
5781         * math/s_catanf.c (__catanf): Likewise.
5782         * math/s_catanh.c (__catanh): Likewise.
5783         * math/s_catanhf.c (__catanhf): Likewise.
5784         * math/s_catanhl.c (__catanhl): Likewise.
5785         * math/s_catanl.c (__catanl): Likewise.
5786         * math/s_ccosh.c (__ccosh): Likewise.
5787         * math/s_ccoshf.c (__ccoshf): Likewise.
5788         * math/s_ccoshl.c (__ccoshl): Likewise.
5789         * math/s_cexp.c (__cexp): Likewise.
5790         * math/s_cexpf.c (__cexpf): Likewise.
5791         * math/s_cexpl.c (__cexpl): Likewise.
5792         * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
5793         * math/s_clog10.c (__clog10): Likewise.
5794         * math/s_clog10f.c (__clog10f): Likewise.
5795         * math/s_clog10l.c (__clog10l): Likewise.
5796         * math/s_clogf.c (__clogf): Likewise.
5797         * math/s_clogl.c (__clogl): Likewise.
5798         * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
5799         * math/s_csinf.c (__csinf): Likewise.
5800         * math/s_csinh.c (__csinh): Likewise.
5801         * math/s_csinhf.c (__csinhf): Likewise.
5802         * math/s_csinhl.c (__csinhl): Likewise.
5803         * math/s_csinl.c (__csinl): Likewise.
5804         * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
5805         * math/s_csqrtf.c (__csqrtf): Likewise.
5806         * math/s_csqrtl.c (__csqrtl): Likewise.
5807         * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
5808         * math/s_ctanf.c (__ctanf): Likewise.
5809         * math/s_ctanh.c (__ctanh): Likewise.
5810         * math/s_ctanhf.c (__ctanhf): Likewise.
5811         * math/s_ctanhl.c (__ctanhl): Likewise.
5812         * math/s_ctanl.c (__ctanl): Likewise.
5813         * stdlib/strtod_l.c (round_and_return): Use math_force_eval
5814         instead of volatile.
5815         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
5816         math_check_force_underflow.
5817         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
5818         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
5819         volatile when forcing underflow.
5820         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
5821         math_check_force_underflow_nonneg.
5822         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
5823         Likewise.
5824         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
5825         math_check_force_underflow.
5826         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
5827         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
5828         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
5829         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
5830         math_check_force_underflow_nonneg.
5831         * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
5832         math_check_force_underflow.
5833         * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
5834         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
5835         instead of volatile.
5836         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
5837         math_check_force_underflow.
5838         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
5839         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
5840         math_check_force_underflow_nonneg.
5841         * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
5842         math_check_force_underflow.
5843         * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
5844         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
5845         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
5846         math_check_force_underflow_nonneg.
5847         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
5848         Likewise.
5849         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
5850         math_check_force_underflow.
5851         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
5852         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
5853         * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
5854         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
5855         * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
5856         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
5857         * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
5858         * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
5859         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
5860         * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
5861         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
5862         * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
5863         Likewise.
5864         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
5865         math_check_force_underflow_nonneg.
5866         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
5867         Likewise.
5868         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
5869         math_check_force_underflow.
5870         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
5871         * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
5872         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
5873         Likewise.
5874         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
5875         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
5876         * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
5877         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
5878         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
5879         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
5880         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
5881         instead of volatile.
5882         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
5883         math_check_force_underflow.
5884         * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
5885         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
5886         math_check_force_underflow.
5887         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
5888         Likewise.
5889         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
5890         Use math_check_force_underflow_nonneg.
5891         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
5892         math_check_force_underflow.
5893         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
5894         Likewise.
5895         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
5896         Likewise.
5897         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
5898         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
5899         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
5900         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
5901         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
5902         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
5903         * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
5904         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
5905         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
5906         math_check_force_underflow_nonneg.
5907         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
5908         math_check_force_underflow.
5909         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
5910         * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
5911         * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
5912         * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
5913         math_check_force_underflow_nonneg.
5914         * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
5915         math_check_force_underflow.
5916         * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
5917         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
5918         instead of volatile.
5919         * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
5920         math_check_force_underflow.
5922         * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
5923         * stdlib/strtod_l.c: Include <math_private.h>.
5924         (overflow_value): Use math_narrow_eval.
5925         (underflow_value): Likewise.
5926         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
5927         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
5928         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
5929         (__ieee754_gamma_r): Likewise.
5930         * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
5931         Likewise.
5932         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
5933         Likewise.
5934         * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
5935         * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
5936         * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
5937         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
5938         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
5939         (__ieee754_gammaf_r): Likewise.
5940         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
5941         Likewise.
5942         * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
5943         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
5944         * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
5945         * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
5946         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
5947         volatile.
5948         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
5949         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
5950         math_narrow_eval.
5951         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
5952         Likewise.
5953         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
5954         Likewise.
5955         * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
5956         Likewise.
5957         * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
5958         volatile.
5959         * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
5960         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
5961         math_narrow_eval.
5962         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
5963         Likewise.
5964         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
5965         Likewise.
5967 2015-09-22  H.J. Lu  <hongjiu.lu@intel.com>
5969         * nptl/Versions: Remove ignored symbols.
5971 2015-09-22  Florian Weimer  <fweimer@redhat.com>
5973         * nss/bug17079.c: Renamed from nss/bug18287.c.  Add description.
5974         * nss/Makefile (tests): Update.
5976 2015-09-22  Florian Weimer  <fweimer@redhat.com>
5978         * nss/bug18287.c: New file.
5979         * nss/Makefile (tests): Add bug18287.
5981 2015-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5983         * mach/Versions (__mach_host_self_): Add symbol.
5985 2015-09-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5987         * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
5988         vm_page_size.
5990 2015-09-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5992         Really fix sysdeps/i386/fpu/s_scalbn.S build
5994         * math/Versions (libc: GLIBC_2_20): New (empty) version set.
5995         (libc: GLIBC_2_22): Remove unused version set.
5997 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
5999         * config.make.in (enable-timezone-tools): New variable.
6000         * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
6001         (enable_timezone_tools): Export to generated files.
6002         * configure: Regenerate.
6003         * INSTALL: Regenerate.
6004         * manual/install.texi (--disable-timezone-tools): Document new flag.
6005         * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
6006         ifeq ($(enable-timezone-tools),yes) check.
6008 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
6010         * timezone/Makefile: Revert previous change.
6012         [BZ #18980]
6013         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
6014         (DEFINE_DBL_MIN): Likewise.
6015         (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
6016         (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
6017         (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
6018         (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
6019         * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
6020         (dbl_min): Replace with use of DEFINE_DBL_MIN.
6021         (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
6022         (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
6023         * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
6024         (dbl_min): Replace with use of DEFINE_DBL_MIN.
6025         (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
6026         * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
6027         (flt_min): Replace with use of DEFINE_FLT_MIN.
6028         (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
6029         * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
6030         (dbl_min): Replace with use of DEFINE_DBL_MIN.
6031         (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
6032         * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
6033         (flt_min): Replace with use of DEFINE_FLT_MIN.
6034         (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
6035         * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
6036         (flt_min): Replace with use of DEFINE_FLT_MIN.
6037         (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
6038         (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
6039         * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
6040         (__ieee754_hypot): Use DBL_NARROW_EVAL.
6041         * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
6042         (__ieee754_hypotf): Use FLT_NARROW_EVAL.
6043         * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
6044         (__ieee754_pow): Use DBL_NARROW_EVAL.
6045         * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
6046         (__ieee754_powf): Use FLT_NARROW_EVAL.
6047         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
6048         (__ieee754_expf_sse2): Convert double-precision result to single
6049         precision.
6050         * sysdeps/i386/fpu/libm-test-ulps: Update.
6052 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
6054         * timezone/Makefile: Ignore unused variable errors due to private.h
6055         (time_t_min) and (time_t_max).
6056         * timezone/private.h (time_t_min): Revert removal.  (time_t_max):
6057         Likewise.
6059 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
6061         [BZ #18981]
6062         * sysdeps/i386/fpu/i386-math-asm.h: New file.
6063         * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
6064         (__ieee754_scalb): Use DBL_NARROW_EVAL.
6065         * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
6066         (__ieee754_scalbf): Use FLT_NARROW_EVAL.
6067         * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
6068         (__scalbn): Use DBL_NARROW_EVAL.
6069         * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
6070         (__scalbnf): Use FLT_NARROW_EVAL.
6072 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
6074         * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
6075         * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
6076         * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
6077         * stdio-common/printf_fp.c (___printf_fp):
6078         Use signbit to get the sign. Use isinf macro to allow inlining.
6079         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
6080         * stdio-common/printf_size.c (__printf_size): Likewise.
6082 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
6084         * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
6086 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
6088         [BZ #18980]
6089         * sysdeps/generic/math_private.h: Include <float.h>.
6090         (math_narrow_eval): New macro.
6091         [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
6092         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
6093         math_narrow_eval on overflowing return value.
6094         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
6095         Likewise.
6096         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
6097         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
6098         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
6099         Likewise.
6100         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
6102 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
6104         * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
6105         * math/Makefile: Remove isinf_ns.c.
6106         * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
6107         * math/multc3.c (__multc3): Likewise.
6108         * math/s_casin.c (__casin): Likewise.
6109         * math/s_casinf.c (__casinf): Likewise.
6110         * math/s_casinl.c (__casinl): Likewise.
6111         * math/s_cproj.c (__cproj): Likewise.
6112         * math/s_cprojf.c (__cprojf): Likewise.
6113         * math/s_cprojl.c (__cprofl): Likewise.
6114         * math/s_ctan.c (__ctan): Likewise.
6115         * math/s_ctanf.c (__ctanf): Likewise.
6116         * math/s_ctanh.c (__ctanh): Likewise.
6117         * math/s_ctanhf.c (__ctanhf): Likewise.
6118         * math/s_ctanhl.c (__ctanhl): Likewise.
6119         * math/s_ctanl.c (__ctanl): Likewise.
6120         * math/w_fmod.c (__fmod): Likewise.
6121         * math/w_fmodf.c (__fmodf): Likewise.
6122         * math/w_fmodl.c (_fmodl): Likewise.
6123         * math/w_remainder.c (__remainder): Likewise.
6124         * math/w_remainderf.c (__remainderf): Likewise.
6125         * math/w_remainderl.c (__remainderl): Likewise.
6126         * math/w_scalb.c (__scalb): Likewise.
6127         * math/w_scalbf.c (__scalbf): Likewise.
6128         * math/w_scalbl.c (__scalbl): Likewise.
6129         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
6130         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
6131         with isinf.
6132         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
6133         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
6134         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
6135         __isinf_nsf with isinf.
6136         * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
6137         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
6138         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
6139         * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
6140         with isinf.
6141         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
6142         __isinf_nsl with isinf.
6143         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
6144         with isinf.
6145         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
6146         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
6147         __isinf_nsl with isinf.
6148         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
6149         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
6150         with isinf.
6152 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
6154         * resolv/base64.c (rcsid): Remove unused static.
6155         * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
6156         static.  (tqpi1): Likewise.
6157         * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
6158         * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
6159         * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
6160         * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
6161         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
6162         * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
6163         * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
6164         * timezone/private.h (time_t_min): Likewise.  (time_t_max):
6165         Likewise.
6167 2015-09-18  H.J. Lu  <hongjiu.lu@intel.com>
6169         * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
6170         <nptl/pthreadP.h>.
6171         (_longjmp_unwind): Use __libc_ptf_call.
6172         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
6174 2015-09-18  David Lamparter  <equinox-gentoo@diac24.net>
6176         * sysdeps/arm/setjmp.S: Change PIC to SHARED.
6177         * sysdeps/arm/__longjmp.S: Likewise
6179 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
6181         * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
6182         Use __builtin_signbit.
6183         * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
6184         Use __builtin_signbitf.
6185         * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
6186         Use __builtin_signbitl.
6187         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
6188         * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
6190 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
6192         [BZ #15367]
6193         [BZ #17441]
6195         * math/Makefile: Build test-snan.c with -fsignaling-nans.
6196         * math/math.h (fpclassify): Use __builtin_fpclassify when
6197         available.  (signbit): Use __builtin_signbit(f/l).
6198         (isfinite): Use__builtin_isfinite.  (isnormal): Use
6199         __builtin_isnormal.  (isnan): Use __builtin_isnan.
6200         (isinf): Use __builtin_isinf_sign.
6202 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
6204         * benchtests/Makefile: Add bench-math-inlines, link with libm.
6205         * benchtests/bench-math-inlines.c: New benchmark.
6206         * benchtests/bench-util.h: New file.
6207         * benchtests/bench-util.c: New file.
6208         * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
6210 2015-09-18  Carlos O'Donell  <carlos@redhat.com>
6212         * elf/tst-dlmopen1.c: Define TEST_SO.
6213         (do_test): Use TEST_SO.
6215         * elf/dl-load.c: Include libc-internal.h.
6216         (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
6218 2015-09-18  Vincent Bernat  <vincent@bernat.im>
6220         [BZ #17887]
6221         * time/strptime_l.c (__strptime_internal): Make %z accept
6222         [+-]HH:MM time zones.
6224 2015-09-18  Vincent Bernat  <vincent@bernat.im>
6226         [BZ #17886]
6227         * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
6228         valid time zone.
6230 2015-09-17  Mike Frysinger  <vapier@gentoo.org>
6232         * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
6233         * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
6234         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6235         (__ASSUME_FDATASYNC): Delete.
6237 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
6239         * conform/linknamespace.pl: Require weak undefined symbols to be
6240         in the standard namespace.
6241         (%strong_syms): Rename to %seen_syms.
6242         (%strong_seen): Rename to %seen_where.
6244 2015-09-17  H.J. Lu  <hongjiu.lu@intel.com>
6246         [BZ #18970]
6247         * misc/error.c (error): Replace pthread_setcancelstate with
6248         __pthread_setcancelstate.
6249         (error_at_line): Likewise.
6250         * posix/wordexp.c (parse_comm): Likewise.
6251         * stdlib/fmtmsg.c (fmtmsg): Likewise.
6252         * nptl/forward.c (pthread_setcancelstate): Renamed to ...
6253         (__pthread_setcancelstate): This.
6254         (pthread_setcancelstate): Add an alias.
6255         * nptl/nptl-init.c (pthread_functions): Replace
6256         ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
6257         * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
6258         * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
6259         hidden_proto.
6260         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
6261         it with hidden_def.
6262         * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
6263         (pthread_setcancelstate): Renamed to ...
6264         (__pthread_setcancelstate): This.
6265         * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
6266         __libc_ptf_call with __pthread_setcancelstate.
6268 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
6269             Andreas Schwab  <schwab@suse.de>
6271         [BZ #17118]
6272         * math/s_ctan.c (__ctan): Determine sign of zero real part of
6273         result when imaginary part of argument is infinite using sine and
6274         cosine.
6275         * math/s_ctanf.c (__ctanf): Likewise.
6276         * math/s_ctanl.c (__ctanl): Likewise.
6277         * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
6278         of result when real part of argument is infinite using sine and
6279         cosine.
6280         * math/s_ctanhf.c (__ctanhf): Likewise.
6281         * math/s_ctanhl.c (__ctanhl): Likewise.
6282         * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
6283         (ctanh_test_data): Add more tests of ctanh.
6285 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
6287         [BZ #15384]
6288         * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
6289         bit-mask as in subtraction.
6290         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
6291         Likewise.
6292         * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
6293         * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
6294         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
6296         [BZ #18951]
6297         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
6298         underflow exception for small results.
6299         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
6300         Likewise.
6301         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
6302         Likewise.
6303         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
6304         Likewise.
6305         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
6306         Likewise.
6307         * math/auto-libm-test-in: Add more tests of tgamma.
6308         * math/auto-libm-test-out: Regenerated.
6310 2015-09-17  Andreas Schwab  <schwab@suse.de>
6312         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
6314 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
6316         [BZ #18977]
6317         * math/bits/mathcalls.h
6318         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
6319         not declare.
6320         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
6321         Likewise.
6322         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
6323         Likewise.
6324         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
6325         Likewise.
6326         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
6327         Likewise.
6328         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
6329         Likewise.
6330         * conform/data/math.h-data
6331         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
6332         function.
6333         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
6334         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
6335         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
6336         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
6337         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
6338         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
6339         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
6340         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
6341         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
6342         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
6343         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
6345         [BZ #6803]
6346         * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
6347         [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
6348         * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
6349         * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
6350         * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
6351         * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
6352         * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
6353         * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
6354         [NO_LONG_DOUBLE] (scalbnl): Likewise.
6355         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
6356         Likewise.
6357         [NO_LONG_DOUBLE] (scalbnl): Likewise.
6358         * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
6359         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
6360         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
6361         long_double_symbol calls.
6362         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
6363         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
6364         strong alias of __ldexpl.
6365         (scalbnl): Define using long_double_symbol.
6366         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
6367         Remove alias.
6368         * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
6369         * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
6370         * math/libm-test.inc (scalbn_test_data): Add errno expectations.
6371         (scalbln_test_data): Add more errno expectations.
6373 2015-09-16  Justus Winter  <4winter@informatik.uni-hamburg.de>
6375         Cache the host port like we cache the task port.  This way we do not
6376         need to call the kernel just to get the port.  Furthermore, we no
6377         longer increase the reference count on every invocation of
6378         `mach_host_self'.
6380         * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
6381         Protect declarations against the macro expansion.
6382         * mach/mach_init.c (__mach_host_self_): New variable.
6383         (mach_init): Initialize `__mach_host_self_'.
6384         * mach/mach_init.h (__mach_host_self_): New declaration.
6385         (__mach_host_self, mach_host_self): New macros.
6386         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
6387         Release reference.
6389 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
6391         [BZ #4404]
6392         * po/de.po: Update from Translation Project.
6394         [BZ #16415]
6395         * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
6396         (__expm1l): Remove code to handle positive infinity and overflow.
6397         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
6398         variable.
6399         (__expm1l): Remove code to handle positive infinity and overflow.
6401 2015-09-16  Paul Eggert  <eggert@cs.ucla.edu>
6402             Paul Pluzhnikov  <ppluzhnikov@google.com>
6404         [BZ #18872]
6405         * stdio-common/Makefile (tst-printf-bz18872): New test.
6406         (tst-printf-bz18872-mem.out): Likewise.
6407         * stdio-common/tst-printf-bz18872.sh: Generate new test.
6408         * stdio-common/vfprintf.c: Fix memory leaks.
6410 2015-09-16  Andreas Schwab  <schwab@suse.de>
6412         [BZ #17244]
6413         * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
6414         Remove extra va_start/va_end calls.
6416         [BZ #17243]
6417         * posix/execl.c (execl): Add missing va_end.
6418         * posix/execle.c (execle): Likewise.
6419         * posix/execlp.c (execlp): Likewise.
6421 2015-09-15  Roland McGrath  <roland@hack.frob.com>
6423         * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
6424         (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
6426 2015-09-15  Joseph Myers  <joseph@codesourcery.com>
6428         [BZ #18967]
6429         * math/math.h (__MATH_DECLARING_DOUBLE): New macro.  Define and
6430         undefine around includes of <bits/mathcalls.h>.
6431         * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
6432         not declare function.
6433         [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
6434         [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
6435         (scalb): Likewise.
6436         * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
6437         not define macro.
6438         * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
6439         variable.
6440         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
6441         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
6442         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
6444         [BZ #18857]
6445         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
6446         return non-finite argument without doing ordered comparisons on
6447         it.
6449         [BZ #16296]
6450         * math/fenv.h (fegetround): Use __attribute_pure__.
6451         * include/fenv.h (__fegetround): Likewise.
6453         [BZ #18595]
6454         * math/s_ctan.c (__ctan): Force underflow exception for results
6455         whose real or imaginary part has small absolute value.
6456         * math/s_ctanf.c (__ctanf): Likewise.
6457         * math/s_ctanh.c (__ctanh): Likewise.
6458         * math/s_ctanhf.c (__ctanhf): Likewise.
6459         * math/s_ctanhl.c (__ctanhl): Likewise.
6460         * math/s_ctanl.c (__ctanl): Likewise.
6461         * math/auto-libm-test-in: Do not allow missing underflow for ctan
6462         and ctanh.  Add more tests of ctan and ctanh.
6464         [BZ #15918]
6465         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
6466         handling of cases where one argument is an infinity.
6468         [BZ #18875]
6469         [BZ #18966]
6470         * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
6471         (MO): New macro.
6472         (__ieee754_exp10): For small results, force underflow exception
6473         and remove excess range and precision from return value.
6474         * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
6475         (MO): New macro.
6476         (__ieee754_exp10f): For small results, force underflow exception
6477         and remove excess range and precision from return value.
6478         * math/auto-libm-test-in: Add more tests of exp10.
6479         * math/auto-libm-test-out: Regenerated.
6481 2015-09-14  Joseph Myers  <joseph@codesourcery.com>
6483         [BZ #18875]
6484         [BZ #18961]
6485         * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
6486         (MO): New macro.
6487         (__ieee754_exp): For small results, force underflow exception and
6488         remove excess range and precision from return value.
6489         (__exp_finite): Likewise.
6490         * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
6491         (MO): New macro.
6492         (__ieee754_expf): For small results, force underflow exception and
6493         remove excess range and precision from return value.
6494         (__expf_finite): Likewise.
6495         * math/auto-libm-test-in: Add more tests of exp.
6496         * math/auto-libm-test-out: Regenerated.
6498         [BZ #16521]
6499         [BZ #18875]
6500         * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
6501         small results.
6502         * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
6503         (MO): New macro.
6504         (__ieee754_exp2): For small results, force underflow exception and
6505         remove excess range and precision from return value.
6506         * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
6507         (MO): New macro.
6508         (__ieee754_exp2f): For small results, force underflow exception
6509         and remove excess range and precision from return value.
6510         * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
6511         (MO): New macro.
6512         (__ieee754_exp2l): Force underflow exception for small results.
6513         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
6514         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
6515         * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
6516         (MO): New macro.
6517         (__ieee754_exp2l): Force underflow exception for small results.
6518         * math/auto-libm-test-in: Add more tests or exp2.
6519         * math/auto-libm-test-out: Regenerated.
6521 2015-09-14  Carlos O'Donell  <carlos@redhat.com>
6523         * malloc/malloc.c (systrim): Use ALIGN_DOWN.
6525         * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
6526         /dev/null.
6528 2015-09-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6530         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
6531         io fs process)): Drop spurious backslash.
6533 2015-09-12  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
6535         * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
6536         Use sysinfo system call instead of parsing /proc/meminfo.
6537         * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
6538         Likewise.
6540 2015-09-11  Mike Frysinger  <vapier@gentoo.org>
6542         [BZ #16985]
6543         * programs/localedef.c (main): Display argv[remaining] when
6544         output_path is NULL.
6546 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
6548         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
6549         asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
6550         exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
6551         tanh.
6552         * math/auto-libm-test-out: Regenerated.
6553         * sysdeps/i386/fpu/libm-test-ulps: Update.
6554         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
6555         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
6556         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6558 2015-09-11  Roland McGrath  <roland@hack.frob.com>
6560         * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
6561         Use 'override' keyword to freeze the value here, preventing
6562         the addition of sys/mtio.h by sysdeps/gnu/Makefile.
6564 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
6566         [BZ #14912]
6567         * sysdeps/aarch64/bits/atomic.h: Move to ...
6568         * sysdeps/aarch64/atomic-machine.h: ...here.
6569         (_AARCH64_BITS_ATOMIC_H): Rename macro to
6570         _AARCH64_ATOMIC_MACHINE_H.
6571         * sysdeps/alpha/bits/atomic.h: Move to ...
6572         * sysdeps/alpha/atomic-machine.h: ...here.
6573         * sysdeps/arm/bits/atomic.h: Move to ...
6574         * sysdeps/arm/atomic-machine.h: ...here.  Update comments.
6575         * bits/atomic.h: Move to ...
6576         * sysdeps/generic/atomic-machine.h: ...here.
6577         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
6578         * sysdeps/i386/bits/atomic.h: Move to ...
6579         * sysdeps/i386/atomic-machine.h: ...here.
6580         * sysdeps/ia64/bits/atomic.h: Move to ...
6581         * sysdeps/ia64/atomic-machine.h: ...here.
6582         * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
6583         * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
6584         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
6585         * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
6586         * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
6587         * sysdeps/microblaze/bits/atomic.h: Move to ...
6588         * sysdeps/microblaze/atomic-machine.h: ...here.
6589         * sysdeps/mips/bits/atomic.h: Move to ...
6590         * sysdeps/mips/atomic-machine.h: ...here.
6591         (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
6592         * sysdeps/powerpc/bits/atomic.h: Move to ...
6593         * sysdeps/powerpc/atomic-machine.h: ...here.  Update comments.
6594         * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
6595         * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here.  Update
6596         comments.  Include <atomic-machine.h> instead of <bits/atomic.h>.
6597         * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
6598         * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here.  Include
6599         <atomic-machine.h> instead of <bits/atomic.h>.
6600         * sysdeps/s390/bits/atomic.h: Move to ...
6601         * sysdeps/s390/atomic-machine.h: ...here.
6602         * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
6603         * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
6604         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
6605         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
6606         * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
6607         * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
6608         * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
6609         * sysdeps/tile/bits/atomic.h: Move to ...
6610         * sysdeps/tile/atomic-machine.h: ...here.
6611         * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
6612         * sysdeps/tile/tilegx/atomic-machine.h: ...here.  Include
6613         <sysdeps/tile/atomic-machine.h> instead of
6614         <sysdeps/tile/bits/atomic.h>.
6615         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
6616         * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
6617         * sysdeps/tile/tilepro/atomic-machine.h: ...here.  Include
6618         <sysdeps/tile/atomic-machine.h> instead of
6619         <sysdeps/tile/bits/atomic.h>.
6620         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
6621         * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
6622         * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here.  Include
6623         <sysdeps/arm/atomic-machine.h> instead of
6624         <sysdeps/arm/bits/atomic.h>.
6625         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
6626         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
6627         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
6628         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
6629         * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
6630         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
6631         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
6632         * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
6633         (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
6634         * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
6635         * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
6636         * sysdeps/x86_64/bits/atomic.h: Move to ...
6637         * sysdeps/x86_64/atomic-machine.h: ...here.
6638         * include/atomic.h: Include <atomic-machine.h> instead of
6639         <bits/atomic.h>.
6641         * sysdeps/mips/mips32/libm-test-ulps: Update.
6642         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
6644         [BZ #18952]
6645         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
6646         not convert non-integer negative arguments to int to determine the
6647         value of signgam.
6648         * math/auto-libm-test-in: Add more tests of lgamma.
6649         * math/auto-libm-test-out: Regenerated.
6651         * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
6652         cosh, csqrt, erfc, expm1 and lgamma.
6653         * math/auto-libm-test-out: Regenerated.
6654         * sysdeps/i386/fpu/libm-test-ulps: Update.
6655         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6657 2015-09-10  Joseph Myers  <joseph@codesourcery.com>
6659         [BZ #2542]
6660         [BZ #2543]
6661         [BZ #2558]
6662         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
6663         __lgamma_neg for arguments from -28.0 to -2.0.
6664         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
6665         __lgamma_negf for arguments from -15.0 to -2.0.
6666         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
6667         Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
6668         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
6669         Call __lgamma_negl for arguments from -33.0 to -2.0.
6670         * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
6671         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
6672         * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
6673         * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
6674         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
6675         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
6676         * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
6677         * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
6678         * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
6679         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
6680         * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
6681         * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
6682         (__lgamma_neg): Likewise.
6683         (__lgamma_negl): Likewise.
6684         (__lgamma_product): Likewise.
6685         (__lgamma_productl): Likewise.
6686         * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
6687         * math/auto-libm-test-in: Add more tests of lgamma.
6688         * math/auto-libm-test-out: Regenerated.
6689         * sysdeps/i386/fpu/libm-test-ulps: Update.
6690         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6692 2015-09-09  Justin Maggard  <jmaggard@netgear.com>
6694         [BZ #18675]
6695         * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
6697 2015-09-08  Joseph Myers  <joseph@codesourcery.com>
6699         [BZ #14912]
6700         * bits/libc-lock.h: Move to ...
6701         * sysdeps/generic/libc-lock.h: ...here.
6702         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
6703         * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
6704         * sysdeps/mach/hurd/libc-lock.h: ...here.
6705         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
6706         [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
6707         * sysdeps/mach/bits/libc-lock.h: Move to ...
6708         * sysdeps/mach/libc-lock.h: ...here.
6709         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
6710         * sysdeps/nptl/bits/libc-lock.h: Move to ...
6711         * sysdeps/nptl/libc-lock.h: ...here.
6712         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
6713         * sysdeps/nptl/bits/libc-lockP.h: Move to ...
6714         * sysdeps/nptl/libc-lockP.h: ...here.
6715         (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
6716         * crypt/crypt_util.c: Include <libc-lock.h> instead of
6717         <bits/libc-lock.h>.
6718         * dirent/scandir-tail.c: Likewise.
6719         * dlfcn/dlerror.c: Likewise.
6720         * elf/dl-close.c: Likewise.
6721         * elf/dl-iteratephdr.c: Likewise.
6722         * elf/dl-lookup.c: Likewise.
6723         * elf/dl-open.c: Likewise.
6724         * elf/dl-support.c: Likewise.
6725         * elf/dl-writev.h: Likewise.
6726         * elf/rtld.c: Likewise.
6727         * grp/fgetgrent.c: Likewise.
6728         * gshadow/fgetsgent.c: Likewise.
6729         * gshadow/sgetsgent.c: Likewise.
6730         * iconv/gconv_conf.c: Likewise.
6731         * iconv/gconv_db.c: Likewise.
6732         * iconv/gconv_dl.c: Likewise.
6733         * iconv/gconv_int.h: Likewise.
6734         * iconv/gconv_trans.c: Likewise.
6735         * include/link.h: Likewise.
6736         * inet/getnameinfo.c: Likewise.
6737         * inet/getnetgrent.c: Likewise.
6738         * inet/getnetgrent_r.c: Likewise.
6739         * intl/bindtextdom.c: Likewise.
6740         * intl/dcigettext.c: Likewise.
6741         * intl/finddomain.c: Likewise.
6742         * intl/gettextP.h: Likewise.
6743         * intl/loadmsgcat.c: Likewise.
6744         * intl/localealias.c: Likewise.
6745         * intl/textdomain.c: Likewise.
6746         * libidn/idn-stub.c: Likewise.
6747         * libio/libioP.h: Likewise.
6748         * locale/duplocale.c: Likewise.
6749         * locale/freelocale.c: Likewise.
6750         * locale/newlocale.c: Likewise.
6751         * locale/setlocale.c: Likewise.
6752         * login/getutent_r.c: Likewise.
6753         * login/getutid_r.c: Likewise.
6754         * login/getutline_r.c: Likewise.
6755         * login/utmp-private.h: Likewise.
6756         * login/utmpname.c: Likewise.
6757         * malloc/mtrace.c: Likewise.
6758         * misc/efgcvt.c: Likewise.
6759         * misc/error.c: Likewise.
6760         * misc/fstab.c: Likewise.
6761         * misc/getpass.c: Likewise.
6762         * misc/mntent.c: Likewise.
6763         * misc/syslog.c: Likewise.
6764         * nis/nis_call.c: Likewise.
6765         * nis/nis_callback.c: Likewise.
6766         * nis/nss-default.c: Likewise.
6767         * nis/nss_compat/compat-grp.c: Likewise.
6768         * nis/nss_compat/compat-initgroups.c: Likewise.
6769         * nis/nss_compat/compat-pwd.c: Likewise.
6770         * nis/nss_compat/compat-spwd.c: Likewise.
6771         * nis/nss_nis/nis-alias.c: Likewise.
6772         * nis/nss_nis/nis-ethers.c: Likewise.
6773         * nis/nss_nis/nis-grp.c: Likewise.
6774         * nis/nss_nis/nis-hosts.c: Likewise.
6775         * nis/nss_nis/nis-network.c: Likewise.
6776         * nis/nss_nis/nis-proto.c: Likewise.
6777         * nis/nss_nis/nis-pwd.c: Likewise.
6778         * nis/nss_nis/nis-rpc.c: Likewise.
6779         * nis/nss_nis/nis-service.c: Likewise.
6780         * nis/nss_nis/nis-spwd.c: Likewise.
6781         * nis/nss_nisplus/nisplus-alias.c: Likewise.
6782         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
6783         * nis/nss_nisplus/nisplus-grp.c: Likewise.
6784         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
6785         * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
6786         * nis/nss_nisplus/nisplus-network.c: Likewise.
6787         * nis/nss_nisplus/nisplus-proto.c: Likewise.
6788         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
6789         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
6790         * nis/nss_nisplus/nisplus-service.c: Likewise.
6791         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
6792         * nis/ypclnt.c: Likewise.
6793         * nptl/libc_pthread_init.c: Likewise.
6794         * nss/getXXbyYY.c: Likewise.
6795         * nss/getXXent.c: Likewise.
6796         * nss/getXXent_r.c: Likewise.
6797         * nss/nss_db/db-XXX.c: Likewise.
6798         * nss/nss_db/db-netgrp.c: Likewise.
6799         * nss/nss_db/nss_db.h: Likewise.
6800         * nss/nss_files/files-XXX.c: Likewise.
6801         * nss/nss_files/files-alias.c: Likewise.
6802         * nss/nsswitch.c: Likewise.
6803         * posix/regex_internal.h: Likewise.
6804         * posix/wordexp.c: Likewise.
6805         * pwd/fgetpwent.c: Likewise.
6806         * resolv/res_hconf.c: Likewise.
6807         * resolv/res_libc.c: Likewise.
6808         * shadow/fgetspent.c: Likewise.
6809         * shadow/lckpwdf.c: Likewise.
6810         * shadow/sgetspent.c: Likewise.
6811         * socket/opensock.c: Likewise.
6812         * stdio-common/reg-modifier.c: Likewise.
6813         * stdio-common/reg-printf.c: Likewise.
6814         * stdio-common/reg-type.c: Likewise.
6815         * stdio-common/vfprintf.c: Likewise.
6816         * stdio-common/vfscanf.c: Likewise.
6817         * stdlib/abort.c: Likewise.
6818         * stdlib/cxa_atexit.c: Likewise.
6819         * stdlib/fmtmsg.c: Likewise.
6820         * stdlib/random.c: Likewise.
6821         * stdlib/setenv.c: Likewise.
6822         * string/strsignal.c: Likewise.
6823         * sunrpc/auth_none.c: Likewise.
6824         * sunrpc/bindrsvprt.c: Likewise.
6825         * sunrpc/create_xid.c: Likewise.
6826         * sunrpc/key_call.c: Likewise.
6827         * sunrpc/rpc_thread.c: Likewise.
6828         * sysdeps/arm/backtrace.c: Likewise.
6829         * sysdeps/generic/ldsodefs.h: Likewise.
6830         * sysdeps/generic/stdio-lock.h: Likewise.
6831         * sysdeps/generic/unwind-dw2-fde.c: Likewise.
6832         * sysdeps/i386/backtrace.c: Likewise.
6833         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
6834         * sysdeps/m68k/backtrace.c: Likewise.
6835         * sysdeps/mach/hurd/cthreads.c: Likewise.
6836         * sysdeps/mach/hurd/dirstream.h: Likewise.
6837         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
6838         * sysdeps/nptl/malloc-machine.h: Likewise.
6839         * sysdeps/nptl/stdio-lock.h: Likewise.
6840         * sysdeps/posix/dirstream.h: Likewise.
6841         * sysdeps/posix/getaddrinfo.c: Likewise.
6842         * sysdeps/posix/system.c: Likewise.
6843         * sysdeps/pthread/aio_suspend.c: Likewise.
6844         * sysdeps/s390/s390-32/backtrace.c: Likewise.
6845         * sysdeps/s390/s390-64/backtrace.c: Likewise.
6846         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
6847         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
6848         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
6849         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
6850         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
6851         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
6852         * sysdeps/unix/sysv/linux/system.c: Likewise.
6853         * sysdeps/x86_64/backtrace.c: Likewise.
6854         * time/alt_digit.c: Likewise.
6855         * time/era.c: Likewise.
6856         * time/tzset.c: Likewise.
6857         * wcsmbs/wcsmbsload.c: Likewise.
6858         * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
6859         instead of <bits/libc-lock.h> in comment.
6861 2015-09-08  Andrew Bennett  <andrew.bennett@imgtec.com>
6863         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
6864         Only use .set mips2 if the current ISA is below mips2.
6865         * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
6866         Likewise.
6867         * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
6868         mips32r2 if the current ISA is below mips32r2.
6869         * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
6870         (TLS_IE): Updated to use the TLD_RDHWR macro.
6871         (TLS_LE): Likewise.
6872         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
6873         __ASSEMBLER__ condition.
6875 2015-09-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6877         Fix parallel build of before-compile targets.
6879         * sysdeps/mach/Makefile ($(patsubst
6880         mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
6881         mach-before-compile target.
6882         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
6883         io fs process)): Move rule to dedicated hurd-before-compile target.
6885 2015-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6887         Fix rules generating headers in hurd/ and mach/ when initial make call
6888         has subdir= explicitly set.
6890         * sysdeps/mach/Makefile ($(patsubst
6891         mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
6892         calling $(MAKE).
6893         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
6894         io fs process)): Force subdir to hurd when calling $(MAKE).
6895         ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
6896         subdir to mach when calling $(MAKE).
6898 2015-09-06  Manolis Ragkousis  <manolis837@gmail.com>
6900         Check sysheaders when looking for Mach and Hurd headers
6902         * sysdeps/mach/configure.ac: Add sysheaders check.
6903         * sysdeps/mach/configure: Regenerate.
6904         * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
6905         * sysdeps/mach/hurd/configure: Regenerate.
6907 2015-09-04  Roland McGrath  <roland@hack.frob.com>
6909         [BZ #18921]
6910         * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
6911         Fix inverted sense of test of 'o_directory_works' value.
6912         Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
6913         Bernhard Voelker <mail@bernhard-voelker.de>.
6915 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
6917         [BZ #14912]
6918         * bits/linkmap.h: Move to ...
6919         * sysdeps/generic/linkmap.h: ...here.
6920         * sysdeps/aarch64/bits/linkmap.h: Move to ...
6921         * sysdeps/aarch64/linkmap.h: ...here.
6922         * sysdeps/arm/bits/linkmap.h: Move to ...
6923         * sysdeps/arm/linkmap.h: ...here.
6924         * sysdeps/hppa/bits/linkmap.h: Move to ...
6925         * sysdeps/hppa/linkmap.h: ...here.
6926         * sysdeps/ia64/bits/linkmap.h: Move to ...
6927         * sysdeps/ia64/linkmap.h: ...here.
6928         * sysdeps/mips/bits/linkmap.h: Move to ...
6929         * sysdeps/mips/linkmap.h: ...here.
6930         * sysdeps/s390/bits/linkmap.h: Move to ...
6931         * sysdeps/s390/linkmap.h: ...here.
6932         * sysdeps/sh/bits/linkmap.h: Move to ...
6933         * sysdeps/sh/linkmap.h: ...here.
6934         * sysdeps/x86/bits/linkmap.h: Move to ...
6935         * sysdeps/x86/linkmap.h: ...here.
6936         * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
6938 2015-09-04  Andreas Schwab  <schwab@suse.de>
6940         [BZ #18635]
6941         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
6942         (__makecontext): Terminate FDE before return label.
6943         (__novec_makecontext): Likewise.
6945 2015-09-04  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
6947         * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
6948         first member of struct sv in syscall macro.
6950 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
6952         [BZ #14912]
6953         * bits/stdio-lock.h: Move to ...
6954         * sysdeps/generic/stdio-lock.h: ...here.
6955         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
6956         * sysdeps/nptl/bits/stdio-lock.h: Move to ...
6957         * sysdeps/nptl/stdio-lock.h: ...here.
6958         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
6959         * include/libio.h: Include <stdio-lock.h> instead of
6960         <bits/stdio-lock.h>.
6961         * sysdeps/nptl/fork.c: Likewise.
6962         * sysdeps/pthread/flockfile.c: Likewise.
6963         * sysdeps/pthread/ftrylockfile.c: Likewise.
6964         * sysdeps/pthread/funlockfile.c: Likewise.
6966         [BZ #14912]
6967         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
6968         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
6969         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
6970         <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
6971         * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
6972         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
6973         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
6975 2015-09-03  Roland McGrath  <roland@hack.frob.com>
6977         * elf/Makefile (test-xfail-tst-protected1a): New variable.
6978         (test-xfail-tst-protected1b): New variable.
6980 2015-09-03  Joseph Myers  <joseph@codesourcery.com>
6982         [BZ #14912]
6983         * bits/libc-tsd.h: Move to ...
6984         * sysdeps/generic/libc-tsd.h: ...here.
6985         (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
6986         * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
6987         * sysdeps/mach/hurd/libc-tsd.h: ...here.
6988         (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
6989         * include/ctype.h: Include <libc-tsd.h> instead of
6990         <bits/libc-tsd.h>.
6991         * include/rpc/rpc.h: Likewise.
6992         * locale/localeinfo.h: Likewise.
6993         * sunrpc/rpc_thread.c: Likewise.
6994         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
6995         * sysdeps/nptl/malloc-machine.h: Likewise.
6997         * Makefile (headers): Remove bits/libc-lock.h.
6998         * libio/Makefile (headers): Remove bits/stdio-lock.h.
7000         * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
7001         <bits/stdio-lock.h> and commented-out include of <comthread.h>.
7002         * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
7003         <bits/stdio-lock.h>.
7004         * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
7005         * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
7007 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
7009         [BZ #18757]
7010         * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
7011         * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
7012         BZ #18757.
7014 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
7016         * malloc/mtrace.pl: Filter out NULL entries.
7018 2015-09-01  Joseph Myers  <joseph@codesourcery.com>
7020         * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
7021         * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
7022         macro.
7024         * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
7025         (TCP_CC_INFO): Likewise.
7026         (TCP_SAVE_SYN): Likewise.
7027         (TCP_SAVED_SYN): Likewise.
7029 2015-08-31  Brett Neumeier <brett@neumeier.us>
7031         [BZ #18870]
7032         * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
7034 2015-08-31  Paul Eggert  <eggert@cs.ucla.edu>
7036         [BZ #18873]
7037         Fix broken overflow check in posix_fallocate
7038         * sysdeps/posix/posix_fallocate.c (posix_fallocate):
7039         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
7040         Fix parenthesization typo.
7042 2015-08-28  Mike Frysinger  <vapier@gentoo.org>
7044         [BZ #18887]
7045         * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
7046         tst-mntent-blank-passno.
7047         * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
7048         * misc/tst-mntent-blank-corrupt.c: New test.
7049         * misc/tst-mntent-blank-passno.c: New test ripped from ...
7050         * misc/tst-mntent.c (do_test): ... here.
7052 2015-08-29  Mike Frysinger  <vapier@gentoo.org>
7054         [BZ #4404]
7055         * po/de.po: Fix SIGALRM typo.
7057 2015-08-28  James Perkins  <james@loowit.net>
7059         * time/tst-strptime2.c (tests): Replace short list of test
7060         strings for strptime %z specifier with code which exhaustively
7061         tests every combination of sign and 0 to 5 digits. Tests for
7062         rejection of invalid strings.
7064 2015-08-28  James Perkins  <james@loowit.net>
7066         [BZ #16141]
7067         * time/strptime_l.c (__strptime_internal): Fix %z minutes
7068         calculation, removing incorrect decimal time rounding, so that
7069         all minute values result in a valid seconds value.
7070         * time/strptime_l.c (__strptime_internal): Extend %z time zone
7071         offset range limits to UTC-99:59 through UTC+99:59 to parse
7072         current and historical use cases.
7073         * time/tst-strptime2.c (tests): Modify and add tests for the
7074         strptime %z input field descriptor, specifically conversion of
7075         minutes to seconds and validating an offset range of -9959 to
7076         +9959.
7078 2015-08-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7079             Dmitry V. Levin  <ldv@altlinux.org>
7081         [BZ #18877]
7082         * posix/Makefile (tests): Add tst-mmap-offset.
7083         * posix/tst-mmap.c: New file.
7084         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
7085         offset calculation for negative values.
7087 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
7089         * sysdeps/i386/init-arch.h: New file.
7090         * sysdeps/i386/i586/init-arch.h: Likewise.
7091         * sysdeps/i386/i686/init-arch.h: Likewise.
7092         * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
7093         bit if CX8 is available.  Set bit_I686 bit if CMOV is available.
7094         * sysdeps/x86/cpu-features.h (bit_I586): New.
7095         (bit_I686): Likewise.
7096         (bit_CX8): Likewise.
7097         (bit_CMOV): Likewise.
7098         (index_CX8): Likewise.
7099         (index_CMOV): Likewise.
7100         (index_I586): Likewise.
7101         (index_I686): Likewise.
7102         (reg_CX8): Likewise.
7103         (reg_CMOV): Likewise.
7104         (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
7105         available at compile-time.
7106         (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
7107         available at compile-time.
7108         * sysdeps/x86/init-arch.h (USE_I586): New macro.
7109         (USE_I686): Likewise.
7111 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
7113         * sysdeps/i386/bcopy.S: New file.
7114         * sysdeps/i386/bzero.S: Likewise.
7115         * sysdeps/i386/memcpy.S: Likewise.
7116         * sysdeps/i386/memmove.S: Likewise.
7117         * sysdeps/i386/mempcpy.S: Likewise.
7118         * sysdeps/i386/memset.S: Likewise.
7119         * sysdeps/i386/bzero.c: Removed.
7120         * sysdeps/i386/memset.c: Likewise.
7121         * sysdeps/i386/i586/memcpy_chk.S: Likewise.
7122         * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
7123         * sysdeps/i386/i586/memset_chk.S: Likewise.
7124         * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
7125         * sysdeps/i386/memcpy_chk.S: Here.
7126         * sysdeps/i386/i686/memmove_chk.S: Moved to ...
7127         * sysdeps/i386/memmove_chk.S: Here.
7128         * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
7129         * sysdeps/i386/mempcpy_chk.S: Likewise.
7130         * sysdeps/i386/i686/memset_chk.S: Moved to ...
7131         * sysdeps/i386/memset_chk.S: Likewise.
7133 2015-08-27  Steve Ellcey  <sellcey@imgtec.com>
7135         * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
7136         Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
7137         file, move DIAG_POP_NEEDS_COMMENT to end of file.
7138         * soft-fp/fmadf4.c: Ditto.
7139         * soft-fp/fmatf4.c: Ditto.
7141 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
7143         * sysdeps/i386/i586/Implies: Removed.
7144         * sysdeps/i386/i686/Implies: Likewise.
7146 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
7148         * sysdeps/i386/i486/strlen.S: Moved to ...
7149         * sysdeps/i386/strlen.S: Here.
7151 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
7153         * sysdeps/i386/i486/strcat.S: Moved to ...
7154         * sysdeps/i386/strcat.S: Here.
7156 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
7158         * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
7159         * sysdeps/i386/pthread_spin_trylock.S: Here.
7160         * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
7161         * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
7163 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
7165         * sysdeps/i386/i486/string-inlines.c: Moved to ...
7166         * sysdeps/i386/string-inlines.c: Here.
7168 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
7170         * sysdeps/i386/i486/htonl.S: Moved ...
7171         * sysdeps/i386/htonl.S: here.
7173 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
7175         * sysdeps/i386/i486/bits/atomic.h: Moved to ...
7176         * sysdeps/i386/bits/atomic.h: Here.
7178 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
7180         * sysdeps/i386/i486/Versions: Removed.
7182 2015-08-27  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
7184         [BZ #2898]
7185         * misc/mktemp.c: Add mkdtemp to the link_warning message.
7186         Based on patch by Aurelien Jarno.
7188 2015-08-26  Stan Shebs  <stanshebs@google.com>
7190         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
7191         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
7193 2015-08-26  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
7195         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
7196         * sysdeps/powerpc/dl-procinfo.c:
7197         (_dl_powerpc_cap_flags): Added descriptor for this hwcap
7198         feature so it shows when LD_SHOW_AUXV=1.
7200 2015-08-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7202         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
7203         (__arch_compare_and_exchange_val_32_acq): Remove and use common
7204         definition.  ISA 2.07B no longer requires full sync.
7206 2015-08-26  Mike Frysinger  <vapier@gentoo.org>
7208         [BZ #18863]
7209         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
7210         (si_call_addr): Define.
7211         (si_syscall): Define.
7212         (si_arch): Define.
7214 2015-08-26  H.J. Lu  <hongjiu.lu@intel.com>
7216         * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
7217         * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
7218         * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
7219         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
7220         (__memset_zero_constant_len_parameter): New.
7221         * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
7222         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
7223         (__memset_zero_constant_len_parameter): Don't define if
7224         __memset_chk or USE_AS_BZERO are defined.
7226         * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
7227         Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
7228         * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
7230         * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
7231         tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
7232         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
7233         tests-special, $(objpfx)tst-ld-sse-use.out): Here.  Update
7234         comments.
7235         * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
7236         -mno-mmx for $(all-rtld-routines).
7237         * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
7238         * sysdeps/i386/tst-ld-sse-use.sh: Here.  Replace x86-64 with
7239         i386.
7241 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
7243         * sysdeps/generic/unwind.h
7244         (_Unwind_Word): Use __mode__(__unwind_word__)
7245         instead of __mode__(__word__).
7246         (_Unwind_Sword): Likewise.
7248         * sysdeps/s390/s390-64/utf8-utf16-z9.c
7249         (MAX_NEEDED_INPUT): New define.
7250         (MAX_NEEDED_OUTPUT): New define.
7252         * NEWS: New item for IBM z13 string optimizations.
7254         * sysdeps/s390/multiarch/memrchr-c.c: New File.
7255         * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
7256         * sysdeps/s390/multiarch/memrchr.c: Likewise.
7257         * sysdeps/s390/multiarch/Makefile
7258         (sysdep_routines): Add memrchr functions.
7259         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
7260         (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
7262         * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
7263         * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
7264         * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
7265         * sysdeps/s390/multiarch/Makefile
7266         (sysdep_routines): Add wmemcmp functions.
7267         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
7268         (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
7269         * benchtests/bench-wmemcmp.c: New File.
7270         * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
7272         * sysdeps/s390/multiarch/wmemset-c.c: New File.
7273         * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
7274         * sysdeps/s390/multiarch/wmemset.c: Likewise.
7275         * sysdeps/s390/multiarch/Makefile
7276         (sysdep_routines): Add wmemset functions.
7277         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
7278         (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
7279         * wcsmbs/wmemset.c: Use WMEMSET if defined.
7280         * string/test-memset.c: Add wmemset support.
7281         * wcsmbs/test-wmemset.c: New File.
7282         * wcsmbs/Makefile (strop-tests): Add wmemset.
7283         * benchtests/bench-memset.c: Add wmemset support.
7284         * benchtests/bench-wmemset.c: New File.
7285         * benchtests/Makefile (wcsmbs-bench): Add wmemset.
7287         * sysdeps/s390/multiarch/memccpy-c.c: New File.
7288         * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
7289         * sysdeps/s390/multiarch/memccpy.c: Likewise.
7290         * sysdeps/s390/multiarch/Makefile
7291         (sysdep_routines): Add memccpy functions.
7292         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
7293         (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
7294         * string/memccpy.c: Use MEMCCPY if defined.
7296         * sysdeps/s390/multiarch/memchr-vx.S: New File.
7297         * sysdeps/s390/multiarch/memchr.c: Likewise.
7298         * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
7299         * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
7300         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
7301         * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
7302         * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
7303         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
7304         * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
7305         * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
7306         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
7307         and rawmemchr functions.
7308         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
7309         (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
7310         and wmemchr.
7311         * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
7312         * string/test-memchr.c: Add wmemchr support.
7313         * wcsmbs/test-wmemchr.c: New File.
7314         * wcsmbs/Makefile (strop-tests): Add wmemchr.
7315         * benchtests/bench-memchr.c: Add wmemchr support.
7316         * benchtests/bench-wmemchr.c: New File.
7317         * benchtests/Makefile (wcsmbs-bench): wmemchr.
7319         * sysdeps/s390/multiarch/strcspn-c.c: New File.
7320         * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
7321         * sysdeps/s390/multiarch/strcspn.c: Likewise.
7322         * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
7323         * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
7324         * sysdeps/s390/multiarch/wcscspn.c: Likewise.
7325         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
7326         wcscspn functions.
7327         * sysdeps/s390/multiarch/ifunc-impl-list.c
7328         (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
7329         * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
7330         * string/test-strcspn.c: Add wcscspn support.
7331         * wcsmbs/test-wcscspn.c: New File.
7332         * wcsmbs/Makefile (strop-tests): Add wcscspn.
7333         * benchtests/bench-strcspn.c: Add wcscspn support.
7334         * benchtests/bench-wcscspn.c: New File.
7335         * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
7337         * sysdeps/s390/multiarch/strpbrk-c.c: New File.
7338         * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
7339         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
7340         * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
7341         * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
7342         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
7343         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
7344         wcspbrk functions.
7345         * sysdeps/s390/multiarch/ifunc-impl-list.c
7346         (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
7347         * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
7348         * string/test-strpbrk.c: Add wcspbrk support.
7349         * wcsmbs/test-wcspbrk.c: New File.
7350         * wcsmbs/Makefile (strop-tests): Add wcspbrk.
7351         * benchtests/bench-strpbrk.c: Add wcspbrk support.
7352         * benchtests/bench-wcspbrk.c: New File.
7353         * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
7355         * sysdeps/s390/multiarch/strspn-c.c: New File.
7356         * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
7357         * sysdeps/s390/multiarch/strspn.c: Likewise.
7358         * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
7359         * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
7360         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
7361         * wcsmbs/wcsspn.c: Use WCSSPN if defined.
7362         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
7363         wcsspn functions.
7364         * sysdeps/s390/multiarch/ifunc-impl-list.c
7365         (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
7366         * string/test-strspn.c: Add wcsspn support.
7367         * wcsmbs/test-wcsspn.c: New File.
7368         * wcsmbs/Makefile (strop-tests): Add wcsspn.
7369         * benchtests/bench-strspn.c: Add wcsspn support.
7370         * benchtests/bench-wcsspn.c: New File.
7371         * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
7373         * sysdeps/s390/multiarch/strrchr-c.c: New File.
7374         * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
7375         * sysdeps/s390/multiarch/strrchr.c: Likewise.
7376         * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
7377         * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
7378         * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
7379         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
7380         wcsrchr functions.
7381         * sysdeps/s390/multiarch/ifunc-impl-list.c
7382         (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
7383         * benchtests/bench-wcsrchr.c: New File.
7384         * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
7386         * sysdeps/s390/multiarch/strchrnul-c.c: New File.
7387         * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
7388         * sysdeps/s390/multiarch/strchrnul.c: Likewise.
7389         * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
7390         * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
7391         * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
7392         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
7393         wcschrnul functions.
7394         * sysdeps/s390/multiarch/ifunc-impl-list.c
7395         (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
7396         * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
7397         * string/test-strchr.c: Add wcschrnul support.
7398         * wcsmbs/test-wcschrnul.c: New File.
7399         * wcsmbs/Makefile (strop-tests): Add wcschrnul.
7400         * benchtests/bench-strchr.c: Add wcschrnul support.
7401         * benchtests/bench-wcschrnul.c: New File.
7402         * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
7404         * sysdeps/s390/multiarch/strchr-c.c: New File.
7405         * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
7406         * sysdeps/s390/multiarch/strchr.c: Likewise.
7407         * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
7408         * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
7409         * sysdeps/s390/multiarch/wcschr.c: Likewise.
7410         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
7411         wcschr functions.
7412         * sysdeps/s390/multiarch/ifunc-impl-list.c
7413         (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
7414         * string/strchr.c (STRCHR): Define and use macro.
7415         * benchtests/bench-wcschr.c: New File.
7416         * benchtests/Makefile (wcsmbs-bench): Add wcschr.
7418         * sysdeps/s390/multiarch/strncmp-c.c: New File.
7419         * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
7420         * sysdeps/s390/multiarch/strncmp.c: Likewise.
7421         * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
7422         * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
7423         * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
7424         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
7425         wcsncmp functions.
7426         * sysdeps/s390/multiarch/ifunc-impl-list.c
7427         (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
7428         * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
7429         * benchtests/bench-strncmp.c: Add wcsncmp support.
7430         * benchtests/bench-wcsncmp.c: New File.
7431         * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
7433         * sysdeps/s390/multiarch/strcmp-vx.S: New File.
7434         * sysdeps/s390/multiarch/strcmp.c: Likewise.
7435         * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
7436         * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
7437         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
7438         * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
7439         * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
7440         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
7441         wcscmp functions.
7442         * sysdeps/s390/multiarch/ifunc-impl-list.c
7443         (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
7444         * string/strcmp.c (STRCMP): Define and use macro.
7445         * benchtests/bench-wcscmp.c: New File.
7446         * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
7447         * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
7448         instead of _HAVE_STRING_ARCH_memchr.
7450         * sysdeps/s390/multiarch/strncat-c.c: New File.
7451         * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
7452         * sysdeps/s390/multiarch/strncat.c: Likewise.
7453         * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
7454         * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
7455         * sysdeps/s390/multiarch/wcsncat.c: Likewise.
7456         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
7457         wcsncat functions.
7458         * sysdeps/s390/multiarch/ifunc-impl-list.c
7459         (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
7460         * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
7461         * string/test-strncat.c: Add wcsncat support.
7462         * wcsmbs/test-wcsncat.c: New File.
7463         * wcsmbs/Makefile (strop-tests): Add wcsncat.
7464         * benchtests/bench-strncat.c: Add wcsncat support.
7465         * benchtests/bench-wcsncat.c: New File.
7466         * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
7468         * sysdeps/s390/multiarch/strcat-c.c: New File.
7469         * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
7470         * sysdeps/s390/multiarch/strcat.c: Likewise.
7471         * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
7472         * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
7473         * sysdeps/s390/multiarch/wcscat.c: Likewise.
7474         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
7475         wcscat functions.
7476         * sysdeps/s390/multiarch/ifunc-impl-list.c
7477         (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
7478         * string/strcat.c (STRCAT): Define and use macro.
7479         * wcsmbs/wcscat.c: Use WCSCAT if defined.
7480         * string/test-strcat.c: Add wcscat support.
7481         * wcsmbs/test-wcscat.c: New File.
7482         * wcsmbs/Makefile (strop-tests): Add wcscat.
7483         * benchtests/bench-strcat.c: Add wcscat support.
7484         * benchtests/bench-wcscat.c: New File.
7485         * benchtests/Makefile (wcsmbs-bench): Add wcscat.
7487         * sysdeps/s390/multiarch/stpncpy-c.c: New File.
7488         * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
7489         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
7490         * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
7491         * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
7492         * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
7493         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
7494         wcpncpy functions.
7495         * sysdeps/s390/multiarch/ifunc-impl-list.c
7496         (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
7497         * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
7498         * string/test-stpncpy.c: Add wcpncpy support.
7499         * wcsmbs/test-wcpncpy.c: New File.
7500         * wcsmbs/Makefile (strop-tests): Add wcpncpy.
7501         * benchtests/bench-stpncpy.c: Add wcpncpy support.
7502         * benchtests/bench-wcpncpy.c: New File.
7503         * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
7505         * sysdeps/s390/multiarch/strncpy-vx.S: New File.
7506         * sysdeps/s390/multiarch/strncpy.c: Likewise.
7507         * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
7508         * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
7509         * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
7510         * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
7511         * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
7512         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
7513         wcsncpy functions.
7514         * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
7515         * sysdeps/s390/multiarch/ifunc-impl-list.c
7516         (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
7517         * string/test-strncpy.c: Add wcsncpy support.
7518         * wcsmbs/test-wcsncpy.c: New File.
7519         * wcsmbs/Makefile (strop-tests): Add wcsncpy.
7520         * benchtests/bench-strncpy.c: Add wcsncpy support.
7521         * benchtests/bench-wcsncpy.c: New File.
7522         * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
7524         * sysdeps/s390/multiarch/stpcpy-c.c: New File.
7525         * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
7526         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
7527         * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
7528         * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
7529         * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
7530         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
7531         wcpcpy functions.
7532         * string/stpcpy.c: Use STPCPY if defined.
7533         * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
7534         * sysdeps/s390/multiarch/ifunc-impl-list.c
7535         (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
7536         * string/test-stpcpy.c: Add wcpcpy support.
7537         * wcsmbs/test-wcpcpy.c: New File.
7538         * wcsmbs/Makefile (strop-tests): Add wcpcpy.
7539         * benchtests/bench-stpcpy.c: Add wcpcpy support.
7540         * benchtests/bench-wcpcpy.c: New File.
7541         * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
7543         * sysdeps/s390/multiarch/strcpy-vx.S: New File.
7544         * sysdeps/s390/multiarch/strcpy.c: Likewise.
7545         * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
7546         * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
7547         * sysdeps/s390/multiarch/wcscpy.c: Likewise.
7548         * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
7549         * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
7550         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
7551         wcscpy functions.
7552         * sysdeps/s390/multiarch/ifunc-impl-list.c
7553         (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
7554         * benchtests/bench-wcscpy.c: New File.
7555         * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
7557         * sysdeps/s390/multiarch/strnlen-c.c: New File.
7558         * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
7559         * sysdeps/s390/multiarch/strnlen.c: Likewise.
7560         * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
7561         * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
7562         * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
7563         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
7564         wcsnlen functions.
7565         * sysdeps/s390/multiarch/ifunc-impl-list.c
7566         (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
7567         * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
7568         * string/test-strnlen.c: Add wcsnlen support.
7569         * wcsmbs/test-wcsnlen.c: New File.
7570         * wcsmbs/Makefile (strop-tests): Add wcsnlen.
7571         * benchtests/bench-strnlen.c: Add wcsnlen support.
7572         * benchtests/bench-wcsnlen.c: New File.
7573         * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
7575         * sysdeps/s390/multiarch/Makefile: New File.
7576         * sysdeps/s390/multiarch/strlen-c.c: Likewise.
7577         * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
7578         * sysdeps/s390/multiarch/strlen.c: Likewise.
7579         * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
7580         * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
7581         * sysdeps/s390/multiarch/wcslen.c: Likewise.
7582         * string/strlen.c (STRLEN): Define and use macro.
7583         * sysdeps/s390/multiarch/ifunc-impl-list.c
7584         (IFUNC_VX_IMPL): New macro function.
7585         (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
7586         * benchtests/Makefile (wcsmbs-bench): New variable.
7587         (string-bench-all): Added wcsmbs-bench.
7588         * benchtests/bench-wcslen.c: New File.
7590         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
7591         s390_vx_libc_ifunc2): New macro function.
7593         * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
7594         * sysdeps/s390/configure.ac: Add test for S390 vector instruction
7595         assembler support.
7596         * sysdeps/s390/configure: Regenerated.
7598         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
7599         * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
7601         * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
7602         * sysdeps/s390/dl-procinfo.h: Add vector capability.
7603         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
7605         * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
7606         Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
7607         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
7608         * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
7609         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
7610         (memcmp, bcmp): Use __memcmp_default as alias source.
7611         * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
7612         * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
7613         Rename to __memcmp_default.
7614         * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
7615         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
7616         (memcpy): Use __memcpy_default as alias source.
7617         * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
7618         * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
7619         Rename to __memcpy_default.
7620         * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
7621         * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
7622         (memset): Use __memset_default as alias source.
7623         * sysdeps/s390/s390-32/multiarch/memset.c: New File.
7624         * sysdeps/s390/s390-32/memset.S (__memset_g5):
7625         Rename to __memset_default.
7626         * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
7627         Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
7628         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
7629         * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
7630         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
7631         (memcmp, bcmp): Use __memcmp_default as alias source.
7632         * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
7633         * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
7634         Rename to __memcmp_default.
7635         * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
7636         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
7637         (memcpy): Use __memcpy_default as alias source.
7638         * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
7639         * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
7640         Rename to __memcpy_default.
7641         * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
7642         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
7643         (memset): Use __memset_default as alias source.
7644         * sysdeps/s390/s390-64/multiarch/memset.c: New File.
7645         * sysdeps/s390/s390-64/memset.S (__memset_z900):
7646         Rename to __memset_default.
7647         * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
7648         * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
7650         [BZ #18610]
7651         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
7652         __ieee_instruction_pointer to __unused.
7653         * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
7654         __ieee_instruction_pointer.
7655         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
7656         * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
7657         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
7658         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
7659         * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
7660         Mark dxc-field as reserved.
7662 2015-08-25  Roland McGrath  <roland@hack.frob.com>
7664         * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
7665         if the weak reference is not null.
7667 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
7669         * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
7671         [BZ #11214]
7672         * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
7674 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
7676         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
7677         * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
7678         * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
7679         * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
7680         * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
7681         * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
7682         * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
7683         * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
7684         * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
7685         * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
7686         * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
7687         * sysdeps/unix/sysv/linux/send.c: Call direct system call.
7688         * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
7689         * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
7690         * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
7691         * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
7692         * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
7693         * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
7695 2015-08-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7697         * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
7698         register other than r0 for tabort, it has special meaning.
7699         * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise
7700         * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
7701         transaction before starting syscall.
7703 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
7705         * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
7707 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
7709         * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
7711         * sysdeps/x86_64/rtld-memcmp.c: Removed.
7712         * sysdeps/x86_64/rtld-memset.S: Likewise.
7713         * sysdeps/x86_64/rtld-strchr.S: Likewise.
7714         * sysdeps/x86_64/rtld-strlen.S: Likewise.
7715         * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
7716         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
7718         * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
7720 2015-08-25  Ondřej Bílka  <neleai@seznam.cz>
7722         * debug/strcpy_chk.c: Improve performance.
7723         * debug/stpcpy_chk.c: Likewise.
7724         * sysdeps/x86_64/strcpy_chk.S: Remove.
7725         * sysdeps/x86_64/stpcpy_chk.S: Remove.
7727         [BZ #18240]
7728         * misc/hsearch_r.c (__hcreate_r): Handle overflow.
7730 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
7732         [BZ #15128]
7733         * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
7734         ifuncmain8.
7735         (modules-names): Add ifuncmod8.
7736         ($(objpfx)ifuncmain8): New rule.
7737         * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
7738         <cpuid.h>.
7739         (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
7740         _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
7741         _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
7742         _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
7743         * sysdeps/x86_64/dl-trampoline.S: Rewrite.
7744         * sysdeps/x86_64/dl-trampoline.h: Likewise.
7745         * sysdeps/x86_64/ifuncmain8.c: New file.
7746         * sysdeps/x86_64/ifuncmod8.c: Likewise.
7747         * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
7748         Removed.
7749         * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
7750         (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
7751         Change rtld_savespace_sse to __glibc_unused2.
7752         (RTLD_CHECK_FOREIGN_CALL): Removed.
7753         (RTLD_ENABLE_FOREIGN_CALL): Likewise.
7754         (RTLD_PREPARE_FOREIGN_CALL): Likewise.
7755         (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
7757 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
7759         * sysdeps/aarch64/bzero.S (__bzero): Remove.
7761 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
7763         * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
7764         Unconditionally set __fpcr to avoid uninialized warning.
7765         (libc_feholdsetround_noex_aarch64_ctx): Likewise.
7767 2015-08-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
7769         * malloc/arena.c (arena_get_retry): Don't use main_arena if it
7770         is corrupt.
7772         * malloc/arena.c (arena_get2): Drop unused argument.
7773         (arena_lock): Adjust.
7774         (arena_get_retry): Likewise.
7776 2015-08-24  Andreas Schwab  <schwab@suse.de>
7778         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
7779         Don't define.
7780         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
7781         (__ASSUME_IPC64): Don't undef.
7782         * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
7783         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
7784         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
7785         * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
7786         * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
7787         * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
7788         * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
7789         * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
7790         * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
7791         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
7792         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
7793         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
7794         * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
7795         * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
7796         * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
7797         * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
7798         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
7799         * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
7800         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
7801         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
7802         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
7804 2015-08-21  Mike Frysinger  <vapier@gentoo.org>
7806         * manual/Makefile (install): Only build manual when perl is available.
7808 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
7810         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
7811         '#undef memcpy' by '#undef memchr'.
7813 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
7815         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
7816         memchr not point to the internal __GI_memchr implementation.
7818 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
7820         * timezone/Makefile (CFLAGS-zdump.c): Remove
7821         -Wno-strict-prototypes.
7822         (CFLAGS-zic.c): Likewise.
7823         (CFLAGS-ialloc.c): Likewise.
7824         (CFLAGS-scheck.c): Likewise.
7826         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
7827         -Wno-error=undef.
7829 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
7831         * i386/i686/multiarch/strcasestr-c.c: Removed.
7832         * x86_64/multiarch/strcasestr.c: Likewise.
7833         * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
7834         Remove strcasestr.
7836 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
7838         * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
7840         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
7841         variables for high and low parts before possibly modifying them.
7843 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
7845         * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
7846         * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
7847         * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
7848         of "multiarch/init-arch.h".
7849         * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
7850         * sysdeps/x86/init-arch.h: This.
7852 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
7854         * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
7855         * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
7857 2015-08-20  Ondřej Bílka  <neleai@seznam.cz>
7859         [BZ #17787]
7860         * manual/macros.texi: Add twoexp macro.
7861         * manual/filesys.texi: Fix exponents.
7862         * manual/llio.texi: Likewise.
7863         * manual/stdio.texi: Likewise.
7865 2015-08-20  Florian Weimer  <fweimer@redhat.com>
7867         * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
7868         incorrect use.
7870 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
7872         [BZ #18370]
7873         * math/s_csqrt.c (__csqrt): Force underflow exception for results
7874         whose real or imaginary part has small absolute value.
7875         * math/s_csqrtf.c (__csqrtf): Likewise.
7876         * math/s_csqrtl.c (__csqrtl): Likewise.
7877         * math/auto-libm-test-in: Add more tests of csqrt.
7878         * math/auto-libm-test-out: Regenerated.
7879         * sysdeps/i386/fpu/libm-test-ulps: Update.
7881 2015-08-19  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
7883         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
7884         __ppc_set_ppr_very_low): New functions.
7885         * manual/platform.texi: Add documentation about
7886         __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
7888 2015-08-19  Wilco Dijkstra  <wdijkstr@arm.com>
7890         * string/stpncpy.c (stpncpy): Improve performance using
7891         __strnlen/memcpy/memset.
7893 2015-08-19  Andrew Senkevich  <andrew.senkevich@intel.com>
7895         [BZ #18796]
7896         * scripts/test-installation.pl: Don't add -lmvec to build options if
7897         libmvec wasn't built.
7899 2015-08-19   Petar Jovanovic  <petar.jovanovic@rt-rk.com>
7901         [BZ #14341]
7902         * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
7903         case when there is a gap between DT_REL and DT_JMPREL sections.
7904         * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
7905         (LDFLAGS-tst-split-dynreloc): New.
7906         (tst-split-dynreloc-ENV): Likewise.
7907         * sysdeps/x86_64/tst-split-dynreloc.c: New file.
7908         * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
7910 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
7912         [BZ #18822]
7913         * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
7914         attribute_hidden.
7915         (__xstat64_conv): Likewise.
7916         (__xstat32_conv): Likewise.
7918 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
7920         [BZ #18822]
7921         * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
7922         Don't load %ebx when calling __setcontext.  Call __setcontext
7923         with HIDDEN_JUMPTARGET.
7924         * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
7925         libc_hidden_def.
7927 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
7929         * sysdeps/i386/i686/Makefile
7930         [$(subdir) == string] (sysdep_routines): Moved to ...
7931         * sysdeps/i386/Makefile: Here.
7932         * sysdeps/i386/i686/cacheinfo.c: Moved to ...
7933         * sysdeps/i386/cacheinfo.c: Here.
7934         * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
7935         * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
7936         * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
7937         * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
7939 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
7941         * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
7942         __i586__ is defined.
7943         (HAS_I686): Defined to 1 if __i686__ is defined.
7945 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
7947         * elf/Makefile [$(have-z-execstack) = yes]
7948         (CPPFLAGS-tst-execstack.c): New variable.
7950         * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
7951         conditional to [defined UTMPX || _HAVE_UT_TYPE].
7952         [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
7953         UTMPX || _HAVE_UT_TV].
7954         [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
7955         UTMPX || _HAVE_UT_TV - 0].
7957 2015-08-18  Joseph Myers  <joseph@codesourcery.com>
7959         * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
7960         conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
7961         * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
7963 2015-08-18  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
7965         * sysdeps/powerpc/dl-procinfo.c:
7966         (_dl_powerpc_cap_flags): Added missing strings for some
7967         hwcap features.
7968         * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
7970 2015-08-18  Paul Eggert  <eggert@cs.ucla.edu>
7972         Port the 0x7efe...feff pattern to GCC 6.
7973         See Steve Ellcey's bug report in:
7974         https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
7975         * string/memrchr.c (MEMRCHR):
7976         * string/rawmemchr.c (RAWMEMCHR):
7977         * string/strchr.c (strchr):
7978         * string/strchrnul.c (STRCHRNUL):
7979         Rewrite code to avoid issues with signed shift overflow.
7981 2015-08-18  H.J. Lu  <hongjiu.lu@intel.com>
7983         * sysdeps/x86/cpu-features.c (init_cpu_features): Check
7984         whether cpuid is available only if HAS_CPUID is 0.
7985         * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
7986         (HAS_I586): Likewise.
7987         (HAS_I686): Likewise.
7989 2015-08-18  Zack Weinberg  <zackw@panix.com>
7991         * misc/Versions (libc): Add GLIBC_2.23.
7993 2015-08-18  Alan Modra  <amodra@gmail.com>
7995         [BZ #18421]
7996         * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
7997         .Lp__global.
7998         (_start): Load %dp via .Lp__global.
7999         [!SHARED]: Use .section .rodata.
8001 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
8003         * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
8004         * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
8006 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
8008         * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
8009         * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
8011 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
8013         * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
8014         * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
8016 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
8018         * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
8019         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
8021 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
8023         * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
8024         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
8026 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
8028         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
8029         SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
8031 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
8033         * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
8035 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
8037         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
8038         kernel-features.h include.  Delete __ASSUME_LWS_CAS checks.
8039         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
8040         (__ASSUME_LWS_CAS): Delete.
8042 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
8044         * sysdeps/hppa/configure.ac: Delete binutils tls checks.
8045         * sysdeps/hppa/configure: Regenerated.
8046         * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
8047         * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
8048         * sysdeps/hppa/nptl/tls.h: Likewise.
8050 2015-08-17  Joseph Myers  <joseph@codesourcery.com>
8052         [BZ #18823]
8053         * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
8054         for scaling up small arguments.
8055         * math/s_csqrtf.c (__csqrtf): Likewise.
8056         * math/s_csqrtl.c (__csqrtl): Likewise.
8057         * math/auto-libm-test-in: Add more tests of csqrt.
8058         * math/auto-libm-test-out: Regenerated.
8060 2015-08-17  Andreas Schwab  <schwab@suse.de>
8062         * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
8063         version set GLIBC_2.19.
8065 2015-08-16  Zack Weinberg  <zackw@panix.com>
8067         [BZ #18681]
8068         * misc/regexp.h: This interface is no longer supported.
8069         Remove all contents, leaving only an #error directive.
8070         * misc/regexp.c (loc1, loc2, locs, step, advance):
8071         Demote to compatibility symbols.
8073 2015-08-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
8075         [BZ #18084]
8076         * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
8077         * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
8078         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
8079         * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
8080         * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
8081         * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
8082         * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
8083         * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
8084         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
8086 2015-08-15  Zack Weinberg  <zackw@panix.com>
8088         [BZ #18795]
8089         * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
8090         buffer length is known to be too large, not if it's known to be
8091         small enough.
8092         * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
8093         overflow at runtime, involving a length parameter, twice: once
8094         with a compile-time constant length parameter, once without.
8096 2015-08-14  Joseph Myers  <joseph@codesourcery.com>
8098         [BZ #18824]
8099         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
8100         scaling x * y up instead of down.
8101         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
8102         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
8103         * math/auto-libm-test-in: Add more tests of fma.
8104         * math/auto-libm-test-out: Regenerated.
8106 2015-08-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
8108         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
8110 2015-08-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
8112         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
8113         unnecessary movq.
8114         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
8115         Likewise.
8117 2015-08-13  Joseph Myers  <joseph@codesourcery.com>
8119         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
8120         asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
8121         exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
8122         and tgamma.
8123         * math/auto-libm-test-out: Regenerated.
8124         * sysdeps/i386/fpu/libm-test-ulps: Update.
8125         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8127         [BZ #16520]
8128         * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
8129         (__tanh): Force underflow exception for arguments with small
8130         absolute value.
8131         * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
8132         (__tanhf): Force underflow exception for arguments with small
8133         absolute value.
8134         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
8135         (__tanhl): Force underflow exception for arguments with small
8136         absolute value.
8137         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
8138         (__tanhl): Force underflow exception for arguments with small
8139         absolute value.
8140         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
8141         (__tanhl): Force underflow exception for arguments with small
8142         absolute value.
8143         * math/auto-libm-test-in: Add more tests of tanh.
8144         * math/auto-libm-test-out: Regenerated.
8145         * sysdeps/i386/fpu/libm-test-ulps: Update.
8147 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
8149         * sysdeps/x86/cpu-features.c (init_cpu_features): Call
8150         __get_cpuid_max if not compiling for i586, i686 nor x86-64.
8152 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
8154         * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
8155         <cpuid.h>.
8157 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
8159         * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
8160         Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
8162 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
8164         * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
8165         Remove $(objpfx)init-arch.o.
8166         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
8167         init-arch.
8168         * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
8169         (INIT_ARCH_EXT): Defined as empty.
8170         (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
8171         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
8172         __init_cpu_features call.  Replace HAS_XXX with
8173         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
8174         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
8175         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
8176         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
8177         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
8178         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
8179         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
8180         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
8181         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
8182         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
8183         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
8184         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
8185         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
8186         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
8187         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
8188         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
8189         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
8190         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
8191         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
8192         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
8193         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
8194         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
8195         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
8196         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
8197         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
8198         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
8199         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
8200         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
8201         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
8202         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
8203         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
8204         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
8205         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
8206         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
8207         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
8208         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
8210 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
8212         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
8213         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
8214         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
8215         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
8216         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
8217         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
8218         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
8219         * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
8220         * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
8221         * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
8222         call.  Merge SHARED and !SHARED.  Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
8223         Use LOAD_FUNC_GOT_EAX to load function address.  Replace HAS_XXX
8224         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
8225         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
8226         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
8227         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
8228         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
8229         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
8230         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
8231         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
8232         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
8233         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
8234         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
8235         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
8236         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
8237         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
8238         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
8239         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
8240         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
8241         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
8242         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
8243         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
8244         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
8245         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
8246         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
8247         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
8248         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
8249         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
8250         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
8251         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
8252         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
8253         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
8254         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
8256 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
8258         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
8259         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
8260         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
8261         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
8262         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
8263         * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
8264         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
8265         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
8266         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
8267         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
8268         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
8269         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
8270         LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
8271         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
8272         * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
8273         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
8274         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
8275         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
8276         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
8277         * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
8278         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
8279         * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
8280         * sysdeps/x86_64/multiarch/strstr.c: Likewise.
8281         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
8282         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
8283         * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
8284         * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
8285         call.  Add LOAD_RTLD_GLOBAL_RO_RDX.  Replace HAS_XXX with
8286         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
8287         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
8288         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
8289         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
8290         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
8291         * sysdeps/x86_64/multiarch/memset.S: Likewise.
8292         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
8293         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
8294         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
8295         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
8296         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
8297         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
8298         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
8299         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
8300         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
8302 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
8304         * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
8305         (dl_platform_init): Call init_cpu_features.
8306         * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
8307         * sysdeps/i386/i686/cacheinfo.c
8308         (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
8309         * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
8310         * sysdeps/i386/i686/multiarch/Versions: Removed.
8311         * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
8312         Removed.
8313         * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
8314         * sysdeps/unix/sysv/linux/x86/Makefile
8315         (libpthread-sysdep_routines): Remove init-arch.
8316         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
8317         <sysdeps/x86_64/dl-procinfo.c> instead of
8318         sysdeps/generic/dl-procinfo.c>.
8319         * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
8320         Add cpu-features-offsets.sym and rtld-global-offsets.sym.
8321         [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
8322         [$(subdir) == elf] (tests): Add tst-get-cpu-features.
8323         [$(subdir) == elf] (tests-static): Add
8324         tst-get-cpu-features-static.
8325         * sysdeps/x86/Versions: New file.
8326         * sysdeps/x86/cpu-features-offsets.sym: Likewise.
8327         * sysdeps/x86/cpu-features.c: Likewise.
8328         * sysdeps/x86/cpu-features.h: Likewise.
8329         * sysdeps/x86/dl-get-cpu-features.c: Likewise.
8330         * sysdeps/x86/libc-start.c: Likewise.
8331         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
8332         * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
8333         * sysdeps/x86/tst-get-cpu-features.c: Likewise.
8334         * sysdeps/x86_64/dl-procinfo.c: Likewise.
8335         * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
8336         Assume USE_MULTIARCH is defined and don't check it.
8337         (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
8338         (is_amd): Likewise.
8339         (max_cpuid): Likewise.
8340         (intel_check_word): Likewise.
8341         (__cache_sysconf): Don't call __init_cpu_features.
8342         (__x86_preferred_memory_instruction): Removed.
8343         (init_cacheinfo): Don't call __init_cpu_features. Replace
8344         __cpu_features with GLRO(dl_x86_cpu_features).
8345         * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
8346         (dl_platform_init): Call init_cpu_features.
8347         * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
8348         * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
8349         * sysdeps/x86_64/multiarch/Versions: Removed.
8350         * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
8351         * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
8352         * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
8353         Removed.
8354         * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
8356 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
8358         [BZ #18820]
8359         * libio/Makefile (test-fmemopen-mem): New test.
8360         * libio/test-fmemopen.c (do_bz18820): New test.
8361         * libio/fmemopen.c (__fmemopen): Fix memory leak.
8362         * libio/oldfmemopen.c (__old_fmemopen): Likewise.
8364 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
8366         [BZ #16734]
8367         * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
8368         (FREE_BUF): Delete.
8369         * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
8370         * libio/genops.c (_IO_setb): Use malloc and free directly.
8371         (_IO_default_doallocate, _IO_default_finish): Likewise.
8372         ( _IO_unbuffer_all): Likewise.
8373         ( libc_freeres_fn): Likewise.
8374         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
8375         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
8376         * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
8377         (_IO_wdefault_doallocate): Likewise.
8379 2015-08-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
8381         [BZ #18086]
8382         * sysdeps/posix/nice.c (nice): Restore old errno.
8383         * posix/tst-nice.c (do_test): Add test for BZ #18086.
8385 2015-08-10  Ondrej Bilka  <neleai@seznam.cz>
8387         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
8389 2015-08-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8391         * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
8392         __bcopy and add a weak_alias to bcopy.
8393         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
8394         for static build.
8396         * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
8397         cleanup macro usage.
8398         * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
8399         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
8400         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
8401         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
8402         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
8403         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
8404         * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
8405         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
8406         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
8407         * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
8408         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
8409         [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
8410         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
8411         [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
8412         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
8413         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
8414         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
8415         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
8416         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
8418         * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
8419         libc_hidden_def.
8420         (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
8422         * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
8423         (sysdep_routines): Add strstr-ppc64.
8424         * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
8426 2015-08-10  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
8428         [BZ #18778]
8429         * elf/Makefile (tests): Add Add tst-nodelete2.
8430         (modules-names): Add tst-nodelete2mod.
8431         (tst-nodelete2mod.so-no-z-defs): New.
8432         ($(objpfx)tst-nodelete2): Likewise.
8433         ($(objpfx)tst-nodelete2.out): Likewise.
8434         (LDFLAGS-tst-nodelete2): Likewise.
8435         * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
8436         out of loop through all loaded libraries.
8437         * elf/tst-nodelete2.c: New file.
8438         * elf/tst-nodelete2mod.c: Likewise.
8439         * elf/tst-znodelete-zlib.cc: Delete.
8441 2015-08-11  Andreas Schwab  <schwab@suse.de>
8443         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
8444         * sysdeps/unix/sysv/linux/wordsize-64/openat.c
8445         (__openat64_nocancel): Likewise.
8447 2015-08-11  Joseph Myers  <joseph@codesourcery.com>
8449         * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
8450         atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
8451         expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
8452         * math/auto-libm-test-out: Regenerated.
8453         * sysdeps/i386/fpu/libm-test-ulps: Update.
8454         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8456 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
8458         [BZ #18790]
8459         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
8460         threshold for returning +/- 1.
8461         * math/auto-libm-test-in: Add more tests of tanh.
8462         * math/auto-libm-test-out: Regenerated.
8463         * sysdeps/i386/fpu/libm-test-ulps: Update.
8465 2015-08-10  Andreas Schwab  <schwab@suse.de>
8467         [BZ #18781]
8468         * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
8469         MORE_OFLAGS to oflag.
8470         * io/test-lfs.c (do_test): Test openat64.
8472 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
8474         [BZ #18789]
8475         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
8476         smaller threshold for returning the argument.
8477         * math/auto-libm-test-in: Add more tests of sinh.
8478         * math/auto-libm-test-out: Regenerated.
8479         * sysdeps/i386/fpu/libm-test-ulps: Update.
8481 2015-08-09  H.J. Lu  <hongjiu.lu@intel.com>
8483         [BZ #18674]
8484         * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
8485         break.
8487 2015-08-09  Andreas Schwab  <schwab@linux-m68k.org>
8489         * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
8490         (generated): Don't add $(addprefix z.,$(tzfiles)).
8492 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
8494         * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
8495         * scripts/sysd-rules.awk: Likewise.
8497 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
8499         * iconvdata/tst-tables.sh: Change echo -n to printf.
8500         * nss/db-Makefile: Likewise.
8501         * posix/tst-getconf.sh: Likewise.
8502         * stdio-common/tst-unbputc.sh: Likewise.
8504 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
8506         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
8507         MADV_*_PAGES defines behind this feature check.
8509 2015-08-09  John David Anglin  <danglin@gcc.gnu.org>
8511         [BZ #18480]
8512         * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
8513         LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
8514         Define.
8515         (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
8516         LOAD_REGS_5, LOAD_REGS_6): Update.
8517         (INTERNAL_SYSCALL): Update using new LOAD defines.
8518         (INTERNAL_SYSCALL_NCS): Likewise.
8519         * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
8521 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
8523         [BZ #16734]
8524         * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
8526 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
8528         [BZ #17905]
8529         * catgets/Makefile (tst-catgets-mem): New test.
8530         * catgets/catgets.c (catopen): Don't use unbounded alloca.
8531         * catgets/open_catalog.c (__open_catalog): Likewise.
8532         * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
8534 2015-08-08  John David Anglin  <danglin@gcc.gnu.org>
8536         [BZ #18787]
8537         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
8538         clobber registers.
8539         (atomic_compare_and_exchange_val_acq): Use register asms to assign
8540         operand registers.  Use register %r20 for EAGAIN and EDEADLOCK checks.
8541         Cast return to __typeof (oldval).
8543 2015-08-08  Mike Frysinger  <vapier@gentoo.org>
8545         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
8546         in _LINUX_MICROBLAZE_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h
8547         and delete sys/syscall.h include.
8549 2015-08-07  Joseph Myers  <joseph@codesourcery.com>
8551         [BZ #16517]
8552         * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
8553         (tan): Force underflow exception for arguments with small absolute
8554         value.
8555         * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
8556         (__kernel_tanf): Force underflow exception for arguments with
8557         small absolute value.
8558         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
8559         (__kernel_tanl): Force underflow exception for arguments with
8560         small absolute value.
8561         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
8562         (__kernel_tanl): Force underflow exception for arguments with
8563         small absolute value.
8564         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
8565         (__kernel_tanl): Force underflow exception for arguments with
8566         small absolute value.
8567         * math/auto-libm-test-in: Add more tests of tan.
8568         * math/auto-libm-test-out: Regenerated.
8570 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8572         Fix sysdeps/i386/fpu/s_scalbn.S build
8574         * math/Versions (libc: GLIBC_2_22): New (empty) version set.
8576 2015-08-07  Mike Frysinger  <vapier@gentoo.org>
8578         * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
8580 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8582         Fix gcrt0.o compilation
8584         When static-start-installed-name is different from
8585         start-installed-name, we must not use the shared objects.
8587         * csu/Makefile
8588         (extra-objs): Add gmon-start.o when building shared library and
8589         $(static-start-installed-name) is different from
8590         $(start-installed-name).
8591         $(objpfx)g$(static-start-installed-name): When building shared
8592         library and $(static-start-installed-name) is different from
8593         $(static-start-installed-name), revert to non-shared rule,
8594         i.e. using $(objpfx)% and gmon-start.o.
8596 2015-08-06  Joseph Myers  <joseph@codesourcery.com>
8598         [BZ #16519]
8599         * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
8600         (__ieee754_sinh): Force underflow exception for arguments with
8601         small absolute value.
8602         * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
8603         (__ieee754_sinhf): Force underflow exception for arguments with
8604         small absolute value.
8605         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
8606         (__ieee754_sinhl): Force underflow exception for arguments with
8607         small absolute value.
8608         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
8609         (__ieee754_sinhl): Force underflow exception for arguments with
8610         small absolute value.
8611         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
8612         (__ieee754_sinhl): Force underflow exception for arguments with
8613         small absolute value.
8614         * math/auto-libm-test-in: Add more tests of sinh.
8615         * math/auto-libm-test-out: Regenerated.
8616         * sysdeps/i386/fpu/libm-test-ulps: Update.
8618 2015-08-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
8620         * libio/oldfileops.c: Include unistd.h.
8622 2015-08-06  Mike Frysinger  <vapier@gentoo.org>
8624         * stdlib/isomac.c: Include ctype.h.
8626 2015-08-06  Arjun Shankar  <arjun.is@lostca.se>
8628         * dirent/tst-seekdir.c (main): Converted to ...
8629         (do_test): ... this.
8630         (TEST_FUNCTION): New macro.
8631         Include test-skeleton.c.
8632         * elf/tst-dlmodcount.c (main): Converted to ...
8633         (do_test): ... this.
8634         (TEST_FUNCTION): New macro.
8635         Include test-skeleton.c.
8636         * elf/tst-order-main.c (main): Converted to ...
8637         (do_test): ... this.
8638         (TEST_FUNCTION): New macro.
8639         Include test-skeleton.c.
8640         * elf/tst-pie2.c (main): Converted to ...
8641         (do_test): ... this.
8642         (TEST_FUNCTION): New macro.
8643         Include test-skeleton.c.
8644         * inet/tst-ether_aton.c (main): Converted to ...
8645         (do_test): ... this.
8646         (TEST_FUNCTION): New macro.
8647         Include test-skeleton.c.
8648         * misc/tst-mntent.c (main): Converted to ...
8649         (do_test): ... this.
8650         (TEST_FUNCTION): New macro.
8651         Include test-skeleton.c.
8652         * misc/tst-tsearch.c (main): Converted to ...
8653         (do_test): ... this.
8654         (TEST_FUNCTION): New macro.
8655         Include test-skeleton.c.
8656         * posix/tst-regexloc.c (main): Converted to ...
8657         (do_test): ... this.
8658         (TEST_FUNCTION): New macro.
8659         Include test-skeleton.c.
8660         * resolv/tst-aton.c (main): Converted to ...
8661         (do_test): ... this.
8662         (TEST_FUNCTION): New macro.
8663         Include test-skeleton.c.
8664         * stdio-common/test-fwrite.c (main): Converted to ...
8665         (do_test): ... this.
8666         (TEST_FUNCTION): New macro.
8667         Include test-skeleton.c.
8668         * stdio-common/tst-ferror.c (main): Converted to ...
8669         (do_test): ... this.
8670         (TEST_FUNCTION): New macro.
8671         Include test-skeleton.c.
8672         * stdio-common/tst-printf.c (main): Converted to ...
8673         (do_test): ... this.
8674         (TEST_FUNCTION): New macro.
8675         Include test-skeleton.c.
8676         * stdio-common/tst-printfsz.c (main): Converted to ...
8677         (do_test): ... this.
8678         (TEST_FUNCTION): New macro.
8679         Include test-skeleton.c.
8680         * stdlib/tst-strtod.c (main): Converted to ...
8681         (do_test): ... this.
8682         (TEST_FUNCTION): New macro.
8683         Include test-skeleton.c.
8684         * string/tst-strlen.c (main): Converted to ...
8685         (do_test): ... this.
8686         (TEST_FUNCTION): New macro.
8687         Include test-skeleton.c.
8688         * string/tst-svc.c (main): Converted to ...
8689         (do_test): ... this.
8690         (TEST_FUNCTION): New macro.
8691         Include test-skeleton.c.
8692         * time/tst-strptime.c (main): Converted to ...
8693         (do_test): ... this.
8694         (TEST_FUNCTION): New macro.
8695         Include test-skeleton.c.
8696         * timezone/tst-timezone.c (main): Converted to ...
8697         (do_test): ... this.
8698         (TEST_FUNCTION): New macro.
8699         Include test-skeleton.c.
8701 2015-08-05  Zack Weinberg  <zackw@panix.com>
8703         * misc/regexp.h: Update comments.
8705 2015-08-05  Andreas Schwab  <schwab@linux-m68k.org>
8707         [BZ #18635]
8708         * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
8709         before return label.
8711 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
8713         [BZ #18661]
8714         * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
8715         when calling __errno_location.
8716         * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
8717         * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
8719 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
8721         [BZ #18661]
8722         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
8723         (__lll_timedwait_tid): Align stack to 16 bytes when calling
8724         __gettimeofday.
8726 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
8728         [BZ #18661]
8729         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
8730         (__start_context): Don't use pop to restore %rdi so that stack
8731         is aligned to 16 bytes when calling __setcontext.
8733 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
8735         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
8736         only for libc.
8737         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
8739 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
8741         * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
8742         (__mempcpy): Likewise.  (__mempcpy_inline): New inline function.
8743         * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
8745 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
8747         * string/memccpy.c (memccpy):
8748         Improve performance by using memchr/memcpy/__mempcpy.
8750 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
8752         * string/strncpy.c (strncpy):
8753         Improve performance by using __strnlen/memcpy.
8755 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
8757         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
8758         Optimize to avoid an unnecessary FPCR read.
8760 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
8762         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
8763         Optimize to reduce FPCR/FPSR accesses.
8765 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
8767         * locale/loadarchive.c (_nl_archive_subfreeres): Also check
8768         dead->data[category] != NULL.
8770 2015-08-05  Joseph Myers  <joseph@codesourcery.com>
8772         [BZ #18647]
8773         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
8774         and |x| close to 1, use absolute value of x when computing log.
8775         * math/auto-libm-test-in: Add more tests of pow.
8776         * math/auto-libm-test-out: Regenerated.
8778 2015-08-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8780         * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
8781         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
8782         * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
8784 2015-08-05  Marko Myllynen  <myllynen@redhat.com>
8786         [BZ #18525]
8787         * locales/km_KH: Remove timezone definition.
8788         * locales/lo_LA: Likewise.
8789         * locales/my_MM: Likewise.
8790         * locales/nan_TW@latin: Likewise.
8791         * locales/th_TH: Likewise.
8792         * locales/uk_UA: Likewise.
8794 2015-08-05  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
8796         [BZ #18265]
8797         * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
8798         (wcsncat): Likewise.
8799         (wcscmp): Likewise.
8800         (wcsncmp): Likewise.
8802 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
8804         * test-skeleton.c (usage): New function.
8805         (main): Call usage when opt is '?'.
8807 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
8809         * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
8810         before first use.
8812 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
8814         * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
8815         bottom and under _STACK_GROWS_DOWN.  Move the stacktop assignment
8816         in there too.
8818 2015-08-05  Carlos O'Donell  <carlos@systemhalted.org>
8820         * version.h (RELEASE): Set to "development".
8821         (VERSION): Set to "2.22.90"
8823         * version.h (RELEASE): Set to "stable".
8824         (VERSION): Set to "2.22"
8825         * include/features.h (__GLIBC_MINOR__): Set to 22.
8827 2015-08-04  Chris Metcalf  <cmetcalf@ezchip.com>
8829         * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
8830         Restructure macro to avoid "value computed is not used" warning.
8831         (atomic_compare_and_exchange_val_acq): Likewise.
8833 2015-08-04  Andreas Schwab  <schwab@suse.de>
8835         [BZ #18635]
8836         * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
8837         ret.
8838         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
8840 2015-08-01  Carlos O'Donell  <carlos@redhat.com>
8842         * po/pl.po: Updated translation.
8843         * po/uk.po: Likewise.
8844         * po/fi.po: Likewise.
8845         * po/ko.po: Likewise.
8846         * po/ru.po: Likewise.
8847         * po/vi.po: Likewise.
8849 2015-07-31  Zack Weinberg  <zackw@panix.com>
8851         [BZ #18681]
8852         * regexp.h: Add unconditional #warning stating that this header
8853         will be removed soon.  Revise banner comment to match.
8854         (compile): Consistently use ERROR instead of RETURN to report
8855         errors (partial fix for bz#18681).
8856         * regexp.c: Don't include regexp.h. Remove some unnecessary
8857         declarations.
8859 2015-07-31  Carlos O'Donell  <carlos@redhat.com>
8861         * po/libc.pot: Regenerated.
8863 2015-07-30  Andrew Senkevich  <andrew.senkevich@intel.com>
8865         [BZ #18740]
8866         * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
8867         float-vlen4-arch-ext-cflags): Removed.
8868         * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
8869         CFLAGS-test-float-vlen4-wrappers.c): Likewise.
8871 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
8873         [BZ #14113]
8874         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
8875         aligned to __aligned__.
8876         (pthread_cond_t, pthread_rwlock_t): Likewise.
8878 2015-07-30  Torvald Riegel  <triegel@redhat.com>
8880         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
8882 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
8884         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
8885         (struct sigaction): Change sa_flags from a long to an int, and add
8886         __glibc_reserved0 before it for padding when __WORDSIZE is 64.
8888 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
8890         * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
8891         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
8892         sysdeps/generic/sysdep.h include.
8893         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
8894         _LINUX_HPPA_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h and
8895         sysdeps/hppa/sysdep.h.
8896         (ENTRY, PSEUDO): Undefine before defining.
8898 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
8900         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
8901         from scratch to use INTERNAL_SYSCALL.
8903 2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
8905         [BZ #18078]
8906         * scripts/check-localplt.awk: Support alternate relocations.
8907         * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
8908         sections.
8909         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
8910         malloc entries with + REL R_386_GLOB_DAT.
8911         * sysdeps/x86_64/localplt.data: New file.
8913 2015-07-29  Andrew Senkevich  <andrew.senkevich@intel.com>
8915         [BZ #18731]
8916         * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
8917         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
8918         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
8920 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
8922         * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
8924 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
8926         * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
8927         directly in terms of __sync_fetch_and_add and delete (int) cast.
8929 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
8931         * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
8932         the -D_ASM_IA64_CURRENT_H flag.
8934 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
8936         [BZ #18641]
8937         * pwd/pwd.h (putpwent): Delete __nonnull markings.
8939 2015-07-27  Andreas Schwab  <schwab@suse.de>
8941         * conform/conformtest.pl (checknamespace): Filter out string
8942         literals while tokenizing.
8944 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
8946         * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
8947         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
8948         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
8950 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
8952         * nptl/tst-join7mod.c: Add #include <string.h>.
8954 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
8956         * sysdeps/nios2/libm-test-ulps: Update.
8958 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
8960         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
8961         Fix order of arguments to the rt_sigprocmask syscall.
8962         * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
8963         Likewise.
8965 2015-07-24  Roland McGrath  <roland@hack.frob.com>
8967         * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
8969 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
8971         [BZ #18457]
8972         * nptl/Makefile (tests): New test case tst-join7.
8973         (modules-names): New test case module tst-join7mod.
8974         * nptl/tst-join7.c: New file.
8975         * nptl/tst-join7mod.c: New file.
8976         * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
8977         all translation units in libc.so, libpthread.so and rtld.
8979 2015-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8981         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8983 2015-07-24  Andrew Senkevich  <andrew.senkevich@intel.com>
8985         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
8986         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
8987         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
8988         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
8989         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
8990         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
8991         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
8992         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
8993         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
8994         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
8995         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
8996         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
8997         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
8998         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
8999         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
9000         implementation.
9002 2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
9004         [BZ #17711]
9005         * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
9006         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
9007         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
9008         * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
9009         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
9010         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
9012 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
9014         * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
9015         instead of just saying load lock in the comments.
9017 2015-07-23  Roland McGrath  <roland@hack.frob.com>
9019         * sysdeps/unix/Subdirs: Moved ...
9020         * sysdeps/posix/Subdirs: ... here.
9021         * login/pty.h (struct termios, struct winsize): Add forward decls.
9022         * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
9023         * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
9024         * sysdeps/arm/nacl/libc.abilist: Updated.
9025         * sysdeps/nacl/libutil.abilist: New file.
9027         * bits/signum.h: Update comments to mention 1003.1-2013 too.
9028         (SIGWINCH): New macro.
9030         * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
9031         * sysdeps/arm/nacl/libc.abilist: Add it.
9033 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
9035         * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
9037 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
9039         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
9040         Swap __glibc_reserved0 and sa_flags order.
9042 2015-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
9044         [BZ #18657]
9045         * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
9046         are pending TLS destructor calls.
9047         * include/link.h (struct link_map): Add concurrency note for
9048         L_TLS_DTOR_COUNT.
9049         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
9050         Don't touch the link map flag.  Atomically increment
9051         l_tls_dtor_count.
9052         (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
9053         Avoid taking the load lock and don't touch the link map flag.
9054         * stdlib/tst-tls-atexit-nodelete.c: New test case.
9055         * stdlib/Makefile (tests): Use it.
9056         * stdlib/tst-tls-atexit.c (do_test): dlopen
9057         tst-tls-atexit-lib.so again before dlclose.  Add conditionals
9058         to allow tst-tls-atexit-nodelete test case to use it.
9060 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
9062         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
9063         to bits/types.h.
9064         (msgqnum_t): New typedef.
9065         (msglen_t): Likewise.
9066         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
9067         and msg_qbytes type to msglen_t.
9069 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
9071         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
9072         pad0 to __glibc_reserved0.
9073         (struct stat64): Likewise.
9075 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
9077         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
9078         Change sa_flags from a long to an int and add __glibc_reserved0 before
9079         it for padding.
9081 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
9083         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
9084         anonymous by deleting "siginfo" name.
9086 2015-07-21  Roland McGrath  <roland@hack.frob.com>
9088         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
9089         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
9090         rather than __nacl_irt_filename.
9091         * sysdeps/nacl/xstat.c (__xstat): Likewise.
9093         * NEWS: New item for arm-nacl port.
9094         * sysdeps/arm/nacl/libc.abilist: New file.
9095         * sysdeps/nacl/ld.abilist: New file.
9096         * sysdeps/nacl/libBrokenLocale.abilist: New file.
9097         * sysdeps/nacl/libanl.abilist: New file.
9098         * sysdeps/nacl/libcrypt.abilist: New file.
9099         * sysdeps/nacl/libdl.abilist: New file.
9100         * sysdeps/nacl/libm.abilist: New file.
9101         * sysdeps/nacl/libpthread.abilist: New file.
9102         * sysdeps/nacl/libresolv.abilist: New file.
9103         * sysdeps/nacl/librt.abilist: New file.
9105 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
9107         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
9108         __startcontext to initialize the new context.
9109         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
9110         up CFI directive to forbid further backtracing.
9112 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
9114         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
9115         reference.
9116         * charmaps/ANSI_X3.4-1968: Likewise.
9117         * charmaps/BS_4730: Likewise.
9118         * charmaps/BS_VIEWDATA: Likewise.
9119         * charmaps/CP1250: Likewise.
9120         * charmaps/CP1251: Likewise.
9121         * charmaps/CP1252: Likewise.
9122         * charmaps/CP1253: Likewise.
9123         * charmaps/CP1254: Likewise.
9124         * charmaps/CP1255: Likewise.
9125         * charmaps/CP1256: Likewise.
9126         * charmaps/CSN_369103: Likewise.
9127         * charmaps/EBCDIC-DK-NO: Likewise.
9128         * charmaps/GB_1988-80: Likewise.
9129         * charmaps/GREEK-CCITT: Likewise.
9130         * charmaps/GREEK7: Likewise.
9131         * charmaps/INIS-8: Likewise.
9132         * charmaps/ISIRI-3342: Likewise.
9133         * charmaps/ISO_2033-1983: Likewise.
9134         * charmaps/ISO_5427-EXT: Likewise.
9135         * locales/POSIX: Likewise.
9136         * locales/ar_SA: Likewise.
9137         * locales/be_BY: Likewise.
9138         * locales/be_BY@latin: Likewise.
9139         * locales/ca_ES: Likewise.
9140         * locales/cs_CZ: Likewise.
9141         * locales/da_DK: Likewise.
9142         * locales/de_BE: Likewise.
9143         * locales/de_CH: Likewise.
9144         * locales/de_LU: Likewise.
9145         * locales/en_AU: Likewise.
9146         * locales/en_BW: Likewise.
9147         * locales/en_CA: Likewise.
9148         * locales/en_DK: Likewise.
9149         * locales/en_GB: Likewise.
9150         * locales/en_IE: Likewise.
9151         * locales/en_NZ: Likewise.
9152         * locales/en_ZA: Likewise.
9153         * locales/en_ZW: Likewise.
9154         * locales/es_AR: Likewise.
9155         * locales/es_BO: Likewise.
9156         * locales/es_CL: Likewise.
9157         * locales/es_CO: Likewise.
9158         * locales/es_DO: Likewise.
9159         * locales/es_EC: Likewise.
9160         * locales/es_ES: Likewise.
9161         * locales/es_HN: Likewise.
9162         * locales/es_MX: Likewise.
9163         * locales/es_PA: Likewise.
9164         * locales/es_PE: Likewise.
9165         * locales/es_PY: Likewise.
9166         * locales/es_SV: Likewise.
9167         * locales/es_US: Likewise.
9168         * locales/es_UY: Likewise.
9169         * locales/es_VE: Likewise.
9170         * locales/et_EE: Likewise.
9171         * locales/fa_IR: Likewise.
9172         * locales/fo_FO: Likewise.
9173         * locales/fr_CA: Likewise.
9174         * locales/fr_CH: Likewise.
9175         * locales/gv_GB: Likewise.
9176         * locales/he_IL: Likewise.
9177         * locales/hr_HR: Likewise.
9178         * locales/id_ID: Likewise.
9179         * locales/is_IS: Likewise.
9180         * locales/it_CH: Likewise.
9181         * locales/iw_IL: Likewise.
9182         * locales/kl_GL: Likewise.
9183         * locales/ko_KR: Likewise.
9184         * locales/kw_GB: Likewise.
9185         * locales/lg_UG: Likewise.
9186         * locales/lt_LT: Likewise.
9187         * locales/lv_LV: Likewise.
9188         * locales/mi_NZ: Likewise.
9189         * locales/nhn_MX: Likewise.
9190         * locales/nl_BE: Likewise.
9191         * locales/pl_PL: Likewise.
9192         * locales/sk_SK: Likewise.
9193         * locales/sl_SI: Likewise.
9194         * locales/sv_FI: Likewise.
9195         * locales/tl_PH: Likewise.
9196         * locales/tr_TR: Likewise.
9197         * locales/vi_VN: Likewise.
9199 2015-07-21  Khem Raj  <raj.khem@gmail.com>
9201         [BZ #17475]
9202         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
9203         of tu_IN and bh_IN.
9205 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
9207         [BZ #18694]
9208         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
9209         bits/wordsize.h.
9210         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
9212 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
9214         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
9215         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
9216         (spawn_thread): New function.
9217         (load): Rename to reg_dtor_and_close.  Move dlopen to...
9218         (do_test): ... here.  Use IS_LOADED to test for its
9219         availability.
9221 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
9223         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
9225 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
9227         [BZ #18696]
9228         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
9229         si_addr_bnd.
9230         (si_lower): New.
9231         (si_upper): Likewise.
9233 2015-07-16  David S. Miller  <davem@davemloft.net>
9235         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
9237 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9239         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
9240         buffer.
9241         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
9242         fail output information.
9244 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
9246         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
9247         and strstr-ppc64..
9248         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
9249         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
9250         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
9251         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
9252         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
9254 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
9256         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
9257         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
9258         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
9259         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
9261 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
9263         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
9264         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
9265         rtld_hidden_proto.
9266         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
9268 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
9270         * tst-nodelete-opened.c (do_test): Add comment to clarify how
9271         the test can fail.
9273         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
9275         [BZ #18676]
9276         * elf/tst-nodelete-opened.c: New test case.
9277         * elf/tst-nodelete-opened-lib.c: New test case module.
9278         * elf/Makefile (tests, modules-names): Use them.
9279         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
9280         early.
9282 2015-07-15  David S. Miller  <davem@davemloft.net>
9284         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
9285         futex-intenal.h
9286         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
9287         * sysdeps/sparc/sparc64/Makefile: Likewise.
9288         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
9289         Remove space from macro define.
9290         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
9292 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
9294         [BZ #17475]
9295         * locale/iso-639.def: Update Bhili and Tulu language codes as
9296         per iso639-3.
9298 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
9300         * elf/tst-leaks1.c (main): Converted to ...
9301         (do_test): ... this.
9302         (TEST_FUNCTION): New macro.
9303         Include test-skeleton.c.
9304         * localedata/tst-langinfo.c (main): Converted to ...
9305         (do_test): ... this.
9306         (TEST_FUNCTION): New macro.
9307         Include test-skeleton.c.
9308         * math/test-fpucw.c (main): Converted to ...
9309         (do_test): ... this.
9310         (TEST_FUNCTION): New macro.
9311         Include test-skeleton.c.
9312         * math/test-tgmath.c (main): Converted to ...
9313         (do_test): ... this.
9314         (TEST_FUNCTION): New macro.
9315         Include test-skeleton.c.
9316         * math/test-tgmath2.c (main): Converted to ...
9317         (do_test): ... this.
9318         (TEST_FUNCTION): New macro.
9319         Include test-skeleton.c.
9320         * setjmp/tst-setjmp.c (main): Converted to ...
9321         (do_test): ... this.
9322         (TEST_FUNCTION): New macro.
9323         Include test-skeleton.c.
9324         * stdio-common/tst-sscanf.c (main): Converted to ...
9325         (do_test): ... this.
9326         (TEST_FUNCTION): New macro.
9327         Include test-skeleton.c.
9328         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
9329         (do_test): ... this.
9330         (TEST_FUNCTION): New macro.
9331         Include test-skeleton.c.
9333         * elf/tst-audit9.c (main): Converted to ...
9334         (do_test): ... this.
9335         (TEST_FUNCTION): New macro.
9336         Include test-skeleton.c.
9338 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
9340         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
9342 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
9344         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
9345         New variable.
9347 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
9349         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
9351 2015-07-14  Roland McGrath  <roland@hack.frob.com>
9353         * sysdeps/generic/dl-fileid.h: New file.
9354         * sysdeps/posix/dl-fileid.h: New file.
9355         * sysdeps/nacl/dl-fileid.h: New file.
9356         * include/link.h: Include <dl-fileid.h>.
9357         (struct link_map): Replace l_dev and l_ino with l_file_id.
9358         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
9359         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
9360         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
9362 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
9364         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
9366 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9368         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
9369         Add iff $CXX is set.
9370         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
9371         Likewise.
9372         (tst-nodelete-zmodiff): Likewise.
9373         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
9375 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
9377         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
9379 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
9381         * sysdeps/aarch64/fpu/math_private.h
9382         (define math_opt_barrier): Add AArch64 version.
9383         (math_force_eval): Likewise.
9385 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
9387         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
9389 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
9391         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
9392         %ld with %jd and cast to intmax_t.
9393         (do_test_length_zero): Likewise.
9395 2015-07-10  Roland McGrath  <roland@hack.frob.com>
9397         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
9399 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
9401         * sysdeps/tile/libm-test-ulps: Regenerated.
9403         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
9404         Comment out the whole function, not just its body.
9406 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
9408         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
9409         locks.
9411         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
9413 2015-07-10  Torvald Riegel  <triegel@redhat.com>
9415         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
9416         (sem_assume_only_signals_cause_futex_EINTR): Remove.
9418 2015-07-10  Torvald Riegel  <triegel@redhat.com>
9420         * sysdeps/nptl/futex-internal.h: New file.
9421         * sysdeps/nacl/futex-internal.h: New file.
9422         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
9423         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
9424         error checking.
9425         (setxid_unmark_thread): Likewise.
9426         (__nptl_setxid): Likewise.
9427         (__wait_lookup_done): Likewise.
9428         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
9429         * nptl/nptl-init.c (sighandler_setxid): Likewise.
9430         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
9431         * nptl/pthread_once.c (clear_once_control): Likewise.
9432         (__pthread_once_slow): Likewise.
9433         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
9434         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
9435         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
9436         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
9437         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
9438         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
9439         Likewise.
9440         (__pthread_rwlock_rdlock): Likewise.
9441         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
9442         Likewise.
9443         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
9444         Likewise.
9445         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
9446         Likewise.
9447         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
9448         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
9449         Likewise.
9450         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
9451         __ASSUME_PRIVATE_FUTEX check.
9452         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
9453         Check that shared futexes are supported.
9454         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
9455         wrappers with error checking.
9456         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
9457         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
9458         * nptl/pthread_barrierattr_setpshared.c
9459         (pthread_barrierattr_setpshared): Check that shared futexes are
9460         supported.
9461         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
9462         Likewise.
9463         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
9464         Likewise.
9465         * nptl/sem_init.c (futex_private_if_supported): Remove.
9466         (__new_sem_init): Adapt and check that shared futexes are supported.
9467         * nptl/sem_open.c (sem_open): Likewise.
9468         * nptl/sem_post.c (futex_wake): Remove.
9469         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
9470         (do_futex_wait): Use futex wrappers with error checking.
9471         * nptl/sem_wait.c: Include lowlevellock.h.
9472         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
9473         Use futex_supports_pshared.
9474         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
9475         Use futex wrappers with error checking.
9476         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
9477         Likewise.
9478         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
9479         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
9480         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
9481         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
9482         (futex_wake): Likewise.
9483         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
9484         (do_futex_wait): Use futex wrappers with error checking.
9485         (__new_sem_wait_slow): Update EINTR handling.
9486         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
9488 2015-07-09  Martin Sebor  <msebor@redhat.com>
9490         [BZ #18435]
9491         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
9492         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
9493         * nptl/Makefile (test-xfail-tst-once5): Define.
9495 2015-07-09  Roland McGrath  <roland@hack.frob.com>
9497         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
9498         * elf/dl-minimal.c: For readability, reorder some definitions and
9499         introduce more page breaks.  Include <stdio.h>.
9500         (__libc_fatal): New function.
9502         * include/unistd.h: Add rtld_hidden_proto for _exit.
9503         * posix/_exit.c: Add rtld_hidden_def.
9504         * sysdeps/mach/hurd/_exit.c: Likewise.
9505         * sysdeps/nacl/_exit.c: Likewise.
9506         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
9507         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
9509 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
9511         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
9512         bndmov encoding with zero displacement.
9514 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
9515             H.J. Lu  <hongjiu.lu@intel.com>
9517         [BZ #18134]
9518         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
9519         * sysdeps/i386/configure: Regenerated.
9520         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
9521         (_dl_runtime_profile): Save and restore Intel MPX return bound
9522         registers when calling _dl_call_pltexit.  Add
9523         PRESERVE_BND_REGS_PREFIX before return.
9524         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
9525         (LRV_BND1_OFFSET): Likewise.
9526         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
9527         lrv_bnd1.
9528         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
9529         typo in bndmov encoding.
9530         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
9531         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
9532         branch instructions to preserve bounds.
9534 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9536         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
9537         [GLIBC_2.22]: Add fmemopen.
9539 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9541         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
9542         returns an error, also try to use host port from __mach_host_self for
9543         the __vm_wire call.
9544         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
9546 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
9548         [BZ #18400]
9549         [BZ #18648]
9550         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
9551         Fix pr_uid and pr_gid members.
9552         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
9553         definition to elf_greg_t.
9555 2015-07-08  Roland McGrath  <roland@hack.frob.com>
9557         [BZ #18383]
9558         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
9559         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
9560         * sysdeps/arm/configure: Regenerated.
9561         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
9562         (test-xfail-tst-tlsalign-static): Variable removed.
9564         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
9565         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
9566         rather than explicit 'ln -s'.
9568         * resolv/rpc/netdb.h: New file.
9569         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
9571 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9573         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
9574         length buffers.
9575         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
9576         test-skeleton.c.
9578         [BZ #6544]
9579         [BZ #11216]
9580         [BZ #12836]
9581         [BZ #13151]
9582         [BZ #13152]
9583         [BZ #14292]
9584         * include/stdio.h (fmemopen): Remove hidden prototype.
9585         (__fmemopen): Add new hidden prototype.
9586         * libio/Makefile: Add oldfmemopen object.
9587         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
9588         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
9589         compliance.
9590         * libio/oldfmemopen.c: New file: old fmemopen implementation for
9591         symbol compatibility.
9592         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
9593         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
9594         fmemopen.
9595         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
9596         on append and read mode.
9597         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
9598         fmemopen.
9599         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
9600         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
9601         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
9602         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
9603         Likewise.
9604         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
9605         [GLIBC_2.22]: Likewise.
9606         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
9607         Likewise.
9608         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
9609         Likewise.
9610         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
9611         [GLIBC_2.22]: Likewise.
9612         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
9613         [GLIBC_2.22]: Likewise.
9614         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
9615         [GLIBC_2.22]: Likewise.
9616         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
9617         [GLIBC_2.22]: Likewise.
9618         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
9619         [GLIBC_2.22]: Likewise.
9620         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
9621         [GLIBC_2.22]: Likewise.
9622         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
9623         [GLIBC_2.22]: Likewise.
9624         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
9625         Likewise.
9626         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
9627         Likewise.
9628         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
9629         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
9630         [GLIBC_2.22]: Likewise.
9631         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
9632         [GLIBC_2.22]: Likewise.
9633         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
9634         [GLIBC_2.22]: Likewise.
9635         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
9636         [GLIBC_2.22]: Likewise.
9637         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
9638         Likewise.
9639         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
9640         Likewise.
9641         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
9642         Likewise.
9643         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
9644         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
9646 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
9648         [BZ #18643]
9649         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
9650         IPV6_PATHMTU, and IPV6_DONTFRAG.
9652 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
9654         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
9655         and _IO_UNBUFFERED.
9656         * libio/oldfileops.c: Likewise.
9657         * libio/wfileops.c: Likewise.
9659 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
9661         * nscd/selinux.c: Delete selinux/flask.h include.
9663 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
9665         [BZ #18641]
9666         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
9667         (putpwent): Likewise.
9668         (getpwnam): Likewise.
9669         (getpwent_r): Likewise.
9670         (getpwuid_r): Likewise.
9671         (getpwnam_r): Likewise.
9672         (fgetpwent_r): Likewise.
9674 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
9676         [BZ #18557]
9677         * inet/rcmd.c (__validuser2_sa): Check user first to
9678         short-circuit host check.
9680 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
9681             Mikhail Ilin  <m.ilin@samsung.com>
9683         [BZ #17833]
9684         * elf/Makefile (tests): Add tst-nodelete.
9685         (modules-names): Add tst-nodelete-uniquemod.
9686         (tst-nodelete-uniquemod.so-no-z-defs): New.
9687         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
9688         (tst-nodelete-zmod.so-no-z-defs): Likewise.
9689         ($(objpfx)tst-nodelete): Likewise.
9690         ($(objpfx)tst-nodelete.out): Likewise.
9691         (LDFLAGS-tst-nodelete): Likewise.
9692         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
9693         * elf/dl-close.c (_dl_close_worker): Add a parameter to
9694         implement forced object deletion.
9695         (_dl_close): Pass false to _dl_close_worker.
9696         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
9697         * elf/tst-nodelete.cc: New file.
9698         * elf/tst-nodeletelib.cc: Likewise.
9699         * elf/tst-znodeletelib.cc: Likewise.
9700         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
9702 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
9704         [BZ #18508]
9705         * stdlib/Makefile ($(objpfx)tst-makecontext3):
9706         Depend on $(libdl).
9707         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
9708         is not called infinitely times.
9709         (backtrace_helper): New function.
9710         (trace_arg): New struct.
9711         (st1): Enlarge stack size.
9712         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
9713         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
9714         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
9715         Likewise.
9717 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
9719         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
9721 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
9723         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
9724         Include sys/types.h instead of bits/types.h.
9725         Remove inclusion of bits/wordsize.h.
9727 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
9729         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
9730         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
9731         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
9732         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
9733         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
9734         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
9736 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
9738         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
9739         link-defines.sym.
9740         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
9741         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
9742         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
9743         and LR_SIZE.
9744         * sysdeps/i386/link-defines.sym: New file.
9746 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
9748         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
9749         (modules-names): Add tst-auditmod3a tst-auditmod3b.
9750         ($(objpfx)tst-audit3): New rule.
9751         ($(objpfx)tst-audit3.out): Likewise.
9752         * sysdeps/i386/tst-audit3.c: New file.
9753         * sysdeps/i386/tst-audit3.h: Likewise.
9754         * sysdeps/i386/tst-auditmod3a.c: Likewise.
9755         * sysdeps/i386/tst-auditmod3b.c: Likewise.
9757 2015-07-07  Torvald Riegel  <triegel@redhat.com>
9759         [BZ #18633]
9760         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
9761         pointer in C code.
9762         (__strcat_c): Likewise.
9763         (__strcat_g): Likewise.
9765 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
9767         [BZ #18592]
9768         * misc/sbrk.c: Set errno to ENOMEM on overflow.
9770 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
9772         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
9773         New function.  (__ieee754_sqrtf): New function.
9774         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
9775         New function.
9776         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
9777         New function.
9779 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
9781         * sysdeps/ieee754/support.c: Remove unused file.
9783 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
9785         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
9786         registers instead of d ones so the layout is kernel abi compatible.
9787         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
9788         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
9789         Likewise.
9791 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
9793         * sysdeps/aarch64/libm-test-ulps: Regenerated.
9795 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
9797         [BZ #18619]
9798         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
9799         and return argument in case of subnormal argument.
9801 2015-07-01  Martin Sebor  <msebor@redhat.com>
9803         [BZ #18435]
9804         * nptl/Makefile: Add tst-once5.cc.
9805         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
9806         Remove macro redefinitions.
9807         * nptl/tst-once5.cc: New test.
9809 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
9811         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
9813         * sysdeps/arm/libm-test-ulps: Regenerated.
9815         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
9816         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
9818 2015-06-30  Torvald Riegel  <triegel@redhat.com>
9820         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
9821         lll_lock_wait_private and lll_futex_wake probes.
9823         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
9824         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
9825         Likewise.
9826         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
9827         atomic_spin_nop.
9828         * sysdeps/x86_64/bits/atomic.h: Likewise.
9829         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
9830         to atomic_spin_nop and move ...
9831         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
9832         ... here and ...
9833         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
9834         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
9835         atomic_spin_nop instead of BUSY_WAIT_NOP.
9836         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
9837         Likewise.
9838         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
9839         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
9840         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
9841         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
9842         instead of atomic_delay.
9844 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
9846         [BZ #18613]
9847         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
9848         X_ADJ not X when adjusting exponent.
9849         (__ieee754_gamma_r): Do intermediate computations in
9850         round-to-nearest then adjust overflowing and underflowing results
9851         as needed.
9852         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
9853         of X_ADJ not X when adjusting exponent.
9854         (__ieee754_gammaf_r): Do intermediate computations in
9855         round-to-nearest then adjust overflowing and underflowing results
9856         as needed.
9857         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
9858         log of X_ADJ not X when adjusting exponent.
9859         (__ieee754_gammal_r): Do intermediate computations in
9860         round-to-nearest then adjust overflowing and underflowing results
9861         as needed.  Use 1.0L not 1.0f as numerator of division.
9862         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
9863         log of X_ADJ not X when adjusting exponent.
9864         (__ieee754_gammal_r): Do intermediate computations in
9865         round-to-nearest then adjust overflowing and underflowing results
9866         as needed.  Use 1.0L not 1.0f as numerator of division.
9867         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
9868         of X_ADJ not X when adjusting exponent.
9869         (__ieee754_gammal_r): Do intermediate computations in
9870         round-to-nearest then adjust overflowing and underflowing results
9871         as needed.  Use 1.0L not 1.0f as numerator of division.
9872         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
9873         to auto-libm-test-in.
9874         (tgamma_test): Use ALL_RM_TEST.
9875         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
9876         tests of tgamma with spurious-overflow.
9877         * math/auto-libm-test-out: Regenerated.
9878         * math/gen-libm-have-vector-test.sh: Do not check for START.
9879         * sysdeps/i386/fpu/libm-test-ulps: Update.
9880         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9882         [BZ #18612]
9883         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
9884         arguments, just return 0.5 times the argument, with underflow
9885         forced as needed.
9886         * math/auto-libm-test-in: Add more tests of j1.
9887         * math/auto-libm-test-out: Regenerated.
9889         [BZ #16559]
9890         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
9891         (__ieee754_j1): Force underflow exception for small results.
9892         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
9893         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
9894         (__ieee754_j1f): Force underflow exception for small results.
9895         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
9896         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
9897         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
9898         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
9899         (__ieee754_j1l): Force underflow exception for small results.
9900         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
9901         * math/auto-libm-test-in: Add more tests of j1 and jn.
9902         * math/auto-libm-test-out: Regenerated.
9904         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
9905         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
9906         (PF_MPLS): Likewise.
9907         (AF_IB): Likewise.
9908         (AF_MPLS): Likewise.
9909         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
9910         value and macro.
9911         (MS_RMT_MASK): Include MS_LAZYTIME.
9913 2015-06-26  Mel Gorman  <mgorman@suse.de>
9915         [BZ #18502]
9916         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
9917         already minimal.
9919 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
9921         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
9922         (DT_MIPS_NUM): Update.
9923         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
9924         DT_MIPS_RLD_MAP_REL.
9926 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
9928         [BZ #16559]
9929         [BZ #18602]
9930         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
9931         round-to-nearest internally then recompute results that
9932         underflowed to zero in the original rounding mode.
9933         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
9934         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
9935         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
9936         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise
9937         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
9938         * sysdeps/i386/fpu/libm-test-ulps: Update.
9939         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9941 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
9943         * NEWS: Fixed description of link with vector math library.
9945 2015-06-25  Andreas Schwab  <schwab@suse.de>
9947         [BZ #18549]
9948         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
9949         * libio/test-fmemopen.c (do_test): Add test for it.
9951 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
9953         [BZ #17841]
9954         * Makeconfig (no-pie-ldflag): New.
9955         (+link): Set to $(+link-pie) if default to PIE.
9956         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
9957         * config.make.in (build-pie-default): New.
9958         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
9959         is default.  AC_SUBST.
9960         * configure: Regenerated.
9961         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
9963 2015-06-24  Roland McGrath  <roland@hack.frob.com>
9965         * nptl/descr.h (struct pthread): Change type of field setxid_futex
9966         to 'unsigned int'.
9968         * resolv/gai_misc.h (struct waitlist): Change type of field
9969         counterp to 'volatile unsigned int *'.
9970         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
9971         FUTEXADDR and OLDVAL.
9972         * resolv/getaddrinfo_a.c (getaddrinfo_a):
9973         Give local variable TOTAL type 'volatile unsigned int'.
9974         (struct async_waitlist): Change type of field counter to 'unsigned int'.
9975         * resolv/gai_suspend.c (gai_suspend):
9976         Give local variable CNTR type 'unsigned int'.
9978         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
9979         counterp to 'volatile unsigned int *'.
9980         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
9981         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
9982         (aio_suspend): Give local variable CNTR type 'unsigned int'.
9983         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
9984         Give local variable TOTAL type 'volatile unsigned int'.
9985         (struct async_waitlist): Change type of field counter to 'unsigned int'.
9987 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
9989         [BZ #18383]
9990         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
9991         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
9992         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
9993         comment for i386/x86-64.
9994         (test-xfail-tst-tlsalign-extern-static): Removed.
9996 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
9998         * math/test-double.h: New file.
9999         * math/test-float.h: Likewise.
10000         * math/test-ldouble.h: Likewise.
10001         * math/test-math-inline.h: Likewise.
10002         * math/test-math-no-inline.h: Likewise.
10003         * math/test-math-scalar.h: Likewise.
10004         * math/test-math-vector.h: Likewise.
10005         * math/test-vec-loop.h: Remove file.  Contents moved into
10006         test-math-vector.h.
10007         * math/libm-test.inc (MATHCONST): Do not document macro.
10008         * math/test-double.c: Include test-double.h, test-math-no-inline.h
10009         and test-math-scalar.h.
10010         (FUNC): Remove macro.
10011         (FUNC_TEST): Likewise.
10012         (FLOAT): Likewise.
10013         (MATHCONST): Likewise.
10014         (PRINTF_EXPR): Likewise.
10015         (PRINTF_XEXPR): Likewise.
10016         (PRINTF_NEXPR): Likewise.
10017         (TEST_DOUBLE): Likewise.
10018         (TEST_MATHVEC): Likewise.
10019         (__NO_MATH_INLINES): Likewise.
10020         * math/test-float.c: Include test-float.h, test-math-no-inline.h
10021         and test-math-scalar.h.
10022         (FUNC): Remove macro.
10023         (FUNC_TEST): Likewise.
10024         (FLOAT): Likewise.
10025         (MATHCONST): Likewise.
10026         (PRINTF_EXPR): Likewise.
10027         (PRINTF_XEXPR): Likewise.
10028         (PRINTF_NEXPR): Likewise.
10029         (TEST_FLOAT): Likewise.
10030         (TEST_MATHVEC): Likewise.
10031         (__NO_MATH_INLINES): Likewise.
10032         * math/test-idouble.c: Include test-double.h, test-math-inline.h
10033         and test-math-scalar.h.
10034         (FUNC): Remove macro.
10035         (FUNC_TEST): Likewise.
10036         (FLOAT): Likewise.
10037         (MATHCONST): Likewise.
10038         (PRINTF_EXPR): Likewise.
10039         (PRINTF_XEXPR): Likewise.
10040         (PRINTF_NEXPR): Likewise.
10041         (TEST_DOUBLE): Likewise.
10042         (TEST_MATHVEC): Likewise.
10043         (TEST_INLINE): Likewise.
10044         (__NO_MATH_INLINES): Likewise.
10045         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
10046         test-math-scalar.h.
10047         (FUNC): Remove macro.
10048         (FUNC_TEST): Likewise.
10049         (FLOAT): Likewise.
10050         (MATHCONST): Likewise.
10051         (PRINTF_EXPR): Likewise.
10052         (PRINTF_XEXPR): Likewise.
10053         (PRINTF_NEXPR): Likewise.
10054         (TEST_FLOAT): Likewise.
10055         (TEST_MATHVEC): Likewise.
10056         (TEST_INLINE): Likewise.
10057         (__NO_MATH_INLINES): Likewise.
10058         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
10059         and test-math-scalar.h.
10060         (FUNC): Remove macro.
10061         (FUNC_TEST): Likewise.
10062         (FLOAT): Likewise.
10063         (MATHCONST): Likewise.
10064         (PRINTF_EXPR): Likewise.
10065         (PRINTF_XEXPR): Likewise.
10066         (PRINTF_NEXPR): Likewise.
10067         (TEST_LDOUBLE): Likewise.
10068         (TEST_MATHVEC): Likewise.
10069         (TEST_INLINE): Likewise.
10070         (__NO_MATH_INLINES): Likewise.
10071         * math/test-ldouble.c: Include test-ldouble.h,
10072         test-math-no-inline.h and test-math-scalar.h.
10073         (FUNC): Remove macro.
10074         (FUNC_TEST): Likewise.
10075         (FLOAT): Likewise.
10076         (MATHCONST): Likewise.
10077         (PRINTF_EXPR): Likewise.
10078         (PRINTF_XEXPR): Likewise.
10079         (PRINTF_NEXPR): Likewise.
10080         (TEST_LDOUBLE): Likewise.
10081         (TEST_MATHVEC): Likewise.
10082         (__NO_MATH_INLINES): Likewise.
10083         * math/test-double-vlen2.h: Include test-double.h,
10084         test-math-no-inline.h and test-math-vector.h.
10085         (FLOAT): Remove macro.
10086         (FUNC): Likewise.
10087         (MATHCONST): Likewise.
10088         (PRINTF_EXPR): Likewise.
10089         (PRINTF_XEXPR): Likewise.
10090         (PRINTF_NEXPR): Likewise.
10091         (TEST_DOUBLE): Likewise.
10092         (TEST_MATHVEC): Likewise.
10093         (__NO_MATH_INLINES): Likewise.
10094         (CNCT): Likewise.
10095         (CONCAT): Likewise.
10096         (WRAPPER_NAME): Likewise.
10097         (WRAPPER_DECL): Likewise.
10098         (WRAPPER_DECL_ff): Likewise.
10099         (WRAPPER_DECL_fFF): Likewise.
10100         (VECTOR_WRAPPER): Likewise.
10101         (VECTOR_WRAPPER_ff): Likewise.
10102         (VECTOR_WRAPPER_fFF): Likewise.
10103         (VEC_LEN): New macro.
10104         * math/test-double-vlen4.h: Include test-double.h,
10105         test-math-no-inline.h and test-math-vector.h.
10106         (FLOAT): Remove macro.
10107         (FUNC): Likewise.
10108         (MATHCONST): Likewise.
10109         (PRINTF_EXPR): Likewise.
10110         (PRINTF_XEXPR): Likewise.
10111         (PRINTF_NEXPR): Likewise.
10112         (TEST_DOUBLE): Likewise.
10113         (TEST_MATHVEC): Likewise.
10114         (__NO_MATH_INLINES): Likewise.
10115         (CNCT): Likewise.
10116         (CONCAT): Likewise.
10117         (WRAPPER_NAME): Likewise.
10118         (WRAPPER_DECL): Likewise.
10119         (WRAPPER_DECL_ff): Likewise.
10120         (WRAPPER_DECL_fFF): Likewise.
10121         (VECTOR_WRAPPER): Likewise.
10122         (VECTOR_WRAPPER_ff): Likewise.
10123         (VECTOR_WRAPPER_fFF): Likewise.
10124         (VEC_LEN): New macro.
10125         * math/test-double-vlen8.h: Include test-double.h,
10126         test-math-no-inline.h and test-math-vector.h.
10127         (FLOAT): Remove macro.
10128         (FUNC): Likewise.
10129         (MATHCONST): Likewise.
10130         (PRINTF_EXPR): Likewise.
10131         (PRINTF_XEXPR): Likewise.
10132         (PRINTF_NEXPR): Likewise.
10133         (TEST_DOUBLE): Likewise.
10134         (TEST_MATHVEC): Likewise.
10135         (__NO_MATH_INLINES): Likewise.
10136         (CNCT): Likewise.
10137         (CONCAT): Likewise.
10138         (WRAPPER_NAME): Likewise.
10139         (WRAPPER_DECL): Likewise.
10140         (WRAPPER_DECL_ff): Likewise.
10141         (WRAPPER_DECL_fFF): Likewise.
10142         (VECTOR_WRAPPER): Likewise.
10143         (VECTOR_WRAPPER_ff): Likewise.
10144         (VECTOR_WRAPPER_fFF): Likewise.
10145         (VEC_LEN): New macro.
10146         * math/test-float-vlen4.h: Include test-float.h,
10147         test-math-no-inline.h and test-math-vector.h.
10148         (FLOAT): Remove macro.
10149         (FUNC): Likewise.
10150         (MATHCONST): Likewise.
10151         (PRINTF_EXPR): Likewise.
10152         (PRINTF_XEXPR): Likewise.
10153         (PRINTF_NEXPR): Likewise.
10154         (TEST_FLOAT): Likewise.
10155         (TEST_MATHVEC): Likewise.
10156         (__NO_MATH_INLINES): Likewise.
10157         (CNCT): Likewise.
10158         (CONCAT): Likewise.
10159         (WRAPPER_NAME): Likewise.
10160         (WRAPPER_DECL): Likewise.
10161         (WRAPPER_DECL_ff): Likewise.
10162         (WRAPPER_DECL_fFF): Likewise.
10163         (VECTOR_WRAPPER): Likewise.
10164         (VECTOR_WRAPPER_ff): Likewise.
10165         (VECTOR_WRAPPER_fFF): Likewise.
10166         (VEC_LEN): New macro.
10167         * math/test-float-vlen8.h: Include test-float.h,
10168         test-math-no-inline.h and test-math-vector.h.
10169         (FLOAT): Remove macro.
10170         (FUNC): Likewise.
10171         (MATHCONST): Likewise.
10172         (PRINTF_EXPR): Likewise.
10173         (PRINTF_XEXPR): Likewise.
10174         (PRINTF_NEXPR): Likewise.
10175         (TEST_FLOAT): Likewise.
10176         (TEST_MATHVEC): Likewise.
10177         (__NO_MATH_INLINES): Likewise.
10178         (CNCT): Likewise.
10179         (CONCAT): Likewise.
10180         (WRAPPER_NAME): Likewise.
10181         (WRAPPER_DECL): Likewise.
10182         (WRAPPER_DECL_ff): Likewise.
10183         (WRAPPER_DECL_fFF): Likewise.
10184         (VECTOR_WRAPPER): Likewise.
10185         (VECTOR_WRAPPER_ff): Likewise.
10186         (VECTOR_WRAPPER_fFF): Likewise.
10187         (VEC_LEN): New macro.
10188         * math/test-float-vlen16.h: Include test-float.h,
10189         test-math-no-inline.h and test-math-vector.h.
10190         (FLOAT): Remove macro.
10191         (FUNC): Likewise.
10192         (MATHCONST): Likewise.
10193         (PRINTF_EXPR): Likewise.
10194         (PRINTF_XEXPR): Likewise.
10195         (PRINTF_NEXPR): Likewise.
10196         (TEST_FLOAT): Likewise.
10197         (TEST_MATHVEC): Likewise.
10198         (__NO_MATH_INLINES): Likewise.
10199         (CNCT): Likewise.
10200         (CONCAT): Likewise.
10201         (WRAPPER_NAME): Likewise.
10202         (WRAPPER_DECL): Likewise.
10203         (WRAPPER_DECL_ff): Likewise.
10204         (WRAPPER_DECL_fFF): Likewise.
10205         (VECTOR_WRAPPER): Likewise.
10206         (VECTOR_WRAPPER_ff): Likewise.
10207         (VECTOR_WRAPPER_fFF): Likewise.
10208         (VEC_LEN): New macro.
10209         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
10210         test-vec-loop.h.
10211         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
10212         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
10213         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
10214         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
10215         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
10216         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
10217         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
10219 2015-06-24  Roland McGrath  <roland@hack.frob.com>
10221         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
10222         (__getlogin_r): ... this.
10224 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
10226         [BZ #18594]
10227         * math/s_ccosh.c (__ccosh): Compare with least normal value
10228         instead of comparing class with FP_SUBNORMAL.
10229         * math/s_ccoshf.c (__ccoshf): Likewise.
10230         * math/s_ccoshl.c (__ccoshl): Likewise.
10231         * math/s_cexp.c (__cexp): Likewise.
10232         * math/s_cexpf.c (__cexpf): Likewise.
10233         * math/s_cexpl.c (__cexpl): Likewise.
10234         * math/s_csin.c (__csin): Likewise.
10235         * math/s_csinf.c (__csinf): Likewise.
10236         * math/s_csinh.c (__csinh): Likewise.
10237         * math/s_csinhf.c (__csinhf): Likewise.
10238         * math/s_csinhl.c (__csinhl): Likewise.
10239         * math/s_csinl.c (__csinl): Likewise.
10240         * math/s_ctan.c (__ctan): Likewise.
10241         * math/s_ctanf.c (__ctanf): Likewise.
10242         * math/s_ctanh.c (__ctanh): Likewise.
10243         * math/s_ctanhf.c (__ctanhf): Likewise.
10244         * math/s_ctanhl.c (__ctanhl): Likewise.
10245         * math/s_ctanl.c (__ctanl): Likewise.
10246         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
10247         csin, csinh, ctan and ctanh.
10248         * math/auto-libm-test-out: Regenerated.
10249         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
10250         * sysdeps/i386/fpu/libm-test-ulps: Update.
10251         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10253 2015-06-24  Roland McGrath  <roland@hack.frob.com>
10255         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
10256         return value is wrong, print the expected value too.
10258 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
10260         [BZ #18585]
10261         * elf/readlib.c (is_gdb_python_file): New.
10262         (process_file): Don't issue errors on filenames with -gdb.py
10263         suffix.
10265 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
10267         * math/auto-libm-test-in: Add more tests of csin and csinh.
10268         * math/auto-libm-test-out: Regenerated.
10269         * math/libm-test.inc (csin_test_data): Remove tests moved to
10270         auto-libm-test-in.
10271         (csinh_test_data): Likewise.
10273         [BZ #18593]
10274         * math/s_csin.c (__csin): Negate before rather than after possibly
10275         overflowing multiplication.
10276         * math/s_csinf.c (__csinf): Likewise.
10277         * math/s_csinh.c (__csinh): Likewise.
10278         * math/s_csinhf.c (__csinhf): Likewise.
10279         * math/s_csinhl.c (__csinhl): Likewise.
10280         * math/s_csinl.c (__csinl): Likewise.
10281         * math/auto-libm-test-in: Add some tests of csin and csinh.
10282         * math/auto-libm-test-out: Regenerated.
10283         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
10284         (csinh_test_data): Likewise.
10285         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10287         [BZ #18586]
10288         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
10289         underflow exception for small results.
10291 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
10293         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
10294         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
10295         variable and included header.
10296         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
10297         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
10298         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
10299         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
10300         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
10301         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
10302         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
10303         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
10304         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
10305         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
10306         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
10307         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
10308         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
10309         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
10310         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
10311         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
10313 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
10315         [BZ #16526]
10316         [BZ #16538]
10317         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
10318         (__sin): Force underflow exception for arguments with small
10319         absolute value.
10320         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
10321         (__kernel_sinf): Force underflow exception for arguments with
10322         small absolute value.
10323         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
10324         (__kernel_sincosl): Force underflow exception for arguments with
10325         small absolute value.
10326         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
10327         (__kernel_sinl): Force underflow exception for arguments with
10328         small absolute value.
10329         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
10330         (__kernel_sincosl): Force underflow exception for arguments with
10331         small absolute value.
10332         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
10333         (__kernel_sinl): Force underflow exception for arguments with
10334         small absolute value.
10335         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
10336         (__kernel_sinl): Force underflow exception for arguments with
10337         small absolute value.
10338         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
10339         (__kernel_sinf): Force underflow exception for arguments with
10340         small absolute value.
10341         * math/auto-libm-test-in: Add more tests of sin and sincos.
10342         * math/auto-libm-test-out: Regenerated.
10344         [BZ #18245]
10345         [BZ #18583]
10346         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
10347         (__kernel_standard_l): Use feholdexcept and fesetenv around
10348         conversion to double instead of special-casing overflow and
10349         underflow.
10350         * math/libm-test.inc (fmod_test_data): Add more tests.
10351         (remainder_test_data): Likewise.
10352         (sqrt_test_data): Likewise.
10354 2015-06-23  Torvald Riegel  <triegel@redhat.com>
10356         [BZ #17403]
10357         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
10358         atomic_read_barrier, atomic_write_barrier): Define.
10359         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
10360         atomic_read_barrier, atomic_write_barrier): Define.
10362 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
10364         * math/Makefile [$(PERL) != no]
10365         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
10366         dependency on libm-test.stmp below the inclusion of Rules.
10368 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
10370         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
10371         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
10372         and included header.
10373         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
10374         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
10375         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
10376         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
10377         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
10378         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
10379         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
10380         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
10381         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
10382         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
10383         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
10384         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
10385         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
10386         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
10387         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
10388         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
10389         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
10390         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
10391         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
10393 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
10395         [BZ #18371]
10396         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
10397         intermediate but not final result might underflow.
10398         * math/s_csqrtf.c (__csqrtf): Likewise.
10399         * math/s_csqrtl.c (__csqrtl): Likewise.
10400         * math/auto-libm-test-in: Add more tests of csqrt.
10401         * math/auto-libm-test-out: Regenerated.
10402         * sysdeps/i386/fpu/libm-test-ulps: Update.
10404         [BZ #18219]
10405         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
10406         threshold on absolute value of exponent for which scaling is used.
10407         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
10408         * math/auto-libm-test-in: Add more tests of exp2.
10409         * math/auto-libm-test-out: Regenerated.
10411 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
10413         [BZ #17977]
10414         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
10415         when initializing interface list, based on the bug analysis
10416         and the patch proposed by Eric Newton.
10417         * resolv/tst-res_hconf_reorder.c: New test.
10418         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
10419         tst-res_hconf_reorder.
10420         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
10421         and $(shared-thread-library).
10422         (tst-res_hconf_reorder-ENV): New variable.
10424         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
10425         in comment.
10427 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
10429         [BZ #16353]
10430         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
10431         (__expm1): Force underflow exception for arguments with small
10432         absolute value.
10433         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
10434         (__expm1f): Force underflow exception for arguments with small
10435         absolute value.
10436         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
10437         (__expm1): Force underflow exception for arguments with small
10438         absolute value.
10439         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
10440         (__expm1f): Force underflow exception for arguments with small
10441         absolute value.
10442         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
10443         Check for small arguments before calling __expm1.
10444         * math/auto-libm-test-in: Do not mark underflow exceptions as
10445         possibly missing for bug 16353.
10446         * math/auto-libm-test-out: Regenerated.
10448 2015-06-22  Andreas Schwab  <schwab@suse.de>
10450         [BZ #18513]
10451         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
10452         PTR queries.
10454 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
10456         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
10458         * string/strcoll_l.c: Remove unused struct element idxnow.
10460 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
10462         [BZ #18569]
10463         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
10464         underflow and return argument in case of subnormal argument.
10465         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
10466         Likewise.
10467         * math/auto-libm-test-in: Add more tests of expm1.
10468         * math/auto-libm-test-out: Regenerated.
10470         [BZ #16361]
10471         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
10472         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
10473         tiny results.
10474         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
10475         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
10476         tiny results.
10477         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
10478         mark underflow exceptions as possibly missing for bug 16361.
10479         * math/auto-libm-test-out: Regenerated.
10481 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
10483         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
10484         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
10485         Remove variable.
10486         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
10487         (test-xfail-XOPEN2K8/utmpx.h/conform).
10489         * conform/conformtest.pl ($xerrors): New variable.
10490         (note_error): New function.
10491         (compiletest): New argument $xfail.  Use not_error.
10492         (runtest): Likewise.
10493         (top level): Handle xfail- lines.  Update calls to compiletest and
10494         runtest.  Handle xfail- and optional- in headers listed with
10495         allow-header.
10496         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
10497         (O_EXEC): Likewise.
10498         (O_SEARCH): Likewise.
10499         * conform/data/stropts.h-data (ioctl): Likewise.
10500         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
10501         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
10502         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
10503         (msghdr.msg_controllen): Likewise.
10504         (cmsghdr.cmsg_len): Likewise.
10505         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
10506         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
10507         variable.
10508         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
10509         (test-xfail-XPG4/stropts.h/conform): Likewise.
10510         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
10511         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
10512         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
10513         (test-xfail-UNIX98/stropts.h/conform): Likewise.
10514         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
10515         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
10516         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
10517         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
10518         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
10519         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
10520         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
10521         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
10522         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
10523         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
10524         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
10525         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
10526         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
10527         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
10528         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
10530 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
10532         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
10533         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
10534         definitions for proper unfolding of __MATHDECL_VEC.
10536 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
10538         * benchtests/bench-strcoll.c:
10539         Include string.h.
10540         (main): Remove unused variable res.
10542 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
10544         * timezone/Makefile (%/UTC %/Universal):
10545         Generate test-result files for UTC and Universal.
10547 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
10549         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
10551 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
10553         [BZ #16350]
10554         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
10555         for arguments with small absolute value.
10556         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
10557         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
10558         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
10559         (__asinh): Force underflow exception for arguments with small
10560         absolute value.
10561         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
10562         (__asinhf): Force underflow exception for arguments with small
10563         absolute value.
10564         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
10565         (__asinhl): Force underflow exception for arguments with small
10566         absolute value.
10567         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
10568         (__asinhl): Force underflow exception for arguments with small
10569         absolute value.
10570         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
10571         (__asinhl): Force underflow exception for arguments with small
10572         absolute value.
10573         * math/auto-libm-test-in: Do not mark underflow exceptions as
10574         possibly missing for bug 16350.
10575         * math/auto-libm-test-out: Regenerated.
10577         * include/bits/ipc.h: Remove file.
10578         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
10579         variable.
10580         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
10581         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
10582         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
10583         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
10584         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
10585         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
10586         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
10587         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
10588         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
10590         * math/auto-libm-test-in: Remove spurious underflow allowance for
10591         tests of cexp.
10592         * math/auto-libm-test-out: Regenerated.
10594         [BZ #18558]
10595         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
10596         unconditional definition.
10597         (MCAST_BLOCK_SOURCE): Likewise.
10598         (MCAST_UNBLOCK_SOURCE): Likewise.
10599         (MCAST_LEAVE_GROUP): Likewise.
10600         (MCAST_JOIN_SOURCE_GROUP): Likewise.
10601         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
10602         (MCAST_MSFILTER): Likewise.
10603         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
10604         Remove variable.
10605         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
10606         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
10607         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
10608         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
10609         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
10611 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
10613         * NEWS: Mention addition of x86_64 vector sincosf.
10614         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
10615         * math/test-float-vlen4.h: Likewise.
10616         * math/test-float-vlen8.h: Likewise.
10617         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
10618         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
10619         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
10620         * sysdeps/x86_64/fpu/Versions: New versions added.
10621         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
10622         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
10623         Added build of SSE, AVX2 and AVX512 IFUNC versions.
10624         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
10625         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
10626         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
10627         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
10628         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
10629         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
10630         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
10631         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
10632         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
10633         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
10634         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
10635         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
10636         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
10637         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
10638         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
10639         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
10640         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
10641         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
10642         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
10643         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
10644         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
10646         * NEWS: Mention addition of x86_64 vector sincos.
10647         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
10648         * math/math.h (__MATHDECL_VEC): New macro.
10649         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
10650         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
10651         declaration under condition.
10652         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
10653         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
10654         TEST_VEC_LOOP change.
10655         * math/test-double-vlen4.h: Likewise.
10656         * math/test-double-vlen8.h: Likewise.
10657         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
10658         * math/test-float-vlen4.h: Likewise.
10659         * math/test-float-vlen8.h: Likewise.
10660         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
10661         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
10662         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
10663         * sysdeps/x86_64/fpu/Versions: New versions added.
10664         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
10665         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
10666         Added build of SSE, AVX2 and AVX512 IFUNC versions.
10667         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
10668         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
10669         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
10670         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
10671         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
10672         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
10673         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
10674         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
10675         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
10676         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
10677         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
10678         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
10679         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
10680         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
10681         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
10682         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
10683         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
10684         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
10685         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
10686         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
10687         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
10689         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
10690         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
10691         redirections for powf.
10692         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
10693         * sysdeps/x86_64/fpu/Versions: New versions added.
10694         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
10695         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
10696         Added build of SSE, AVX2 and AVX512 IFUNC versions.
10697         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
10698         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
10699         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
10700         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
10701         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
10702         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
10703         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
10704         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
10705         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
10706         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
10707         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
10708         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
10709         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
10710         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
10711         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
10712         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
10713         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
10714         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
10715         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
10716         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
10717         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
10718         * math/test-float-vlen16.h: Fixed 2 argument macro.
10719         * math/test-float-vlen4.h: Likewise.
10720         * math/test-float-vlen8.h: Likewise.
10721         * NEWS: Mention addition of x86_64 vector powf.
10723 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
10725         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
10726         and redefine.
10727         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
10728         and redefine.
10729         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
10730         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
10731         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
10733         [BZ #18553]
10734         * resource/getpriority.c (getpriority): Rename to __getpriority
10735         and define as weak alias of __getpriority.
10736         * resource/setpriority.c (setpriority): Rename to __setpriority
10737         and define as weak alias of __setpriority.
10738         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
10739         __getpriority and define as weak alias of __getpriority.
10740         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
10741         __setpriority and define as weak alias of __setpriority.
10742         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
10743         strong name.
10744         (setpriority): Use __setpriority as strong name.
10745         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
10746         __getpriority and define as weak alias of __getpriority.
10747         * include/sys/resource.h (__getpriority): Declare.  Use
10748         libc_hidden_proto.
10749         (__setpriority): Likewise.
10750         (getpriority): Don't use libc_hidden_proto.
10751         (setpriority): Likewise.
10752         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
10753         getpriority.  Call __setpriority instead of setpriority.
10754         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
10755         Remove variable.
10757         [BZ #18547]
10758         * misc/getttyent.c (getttynam): Rename to __getttynam and define
10759         as weak alias of __getttynam.  Use prototype function definition.
10760         Call __setttyent, __getttyent and __endttyent instead of
10761         setttyent, getttyent and endttyent.
10762         (getttyent): Rename to __getttyent and define as weak alias of
10763         __getttyent.  Call __setttyent instead of setttyent.  Call
10764         __fgets_unlocked instead of fgets_unlocked.
10765         (setttyent): Rename to __setttyent and define as weak alias of
10766         __setttyent.
10767         (endttyent): Rename to __endttyent and define as weak alias of
10768         __endttyent.
10769         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
10770         (__setttyent): Likewise.
10771         (__endttyent): Likewise.
10772         (getttyent): Don't use libc_hidden_proto.
10773         (setttyent): Likewise.
10774         (endttyent): Likewise.
10775         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
10776         __endttyent instead of setttyent, getttyent and endttyent.
10777         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
10778         Remove variable.
10780         [BZ #18546]
10781         * socket/recv.c (__recv): Use libc_hidden_def.
10782         * socket/socket.c (__socket): Likewise.
10783         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
10784         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
10785         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
10786         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
10787         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
10788         libc_hidden_def.
10789         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
10790         libc_hidden_weak.
10791         * include/sys/socket.h (__socket): Do not use attribute_hidden.
10792         Use libc_hidden_proto.
10793         (__recv): Likewise.
10794         * socket/Versions (libc): Export __recv and __socket at version
10795         GLIBC_PRIVATE.
10796         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
10797         instead of recv.
10798         (init_mq_netlink): Call __socket instead of socket.
10799         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
10800         Remove variable.
10802         [BZ #18545]
10803         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
10804         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
10805         hidden_weak.
10806         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
10807         define as alias of __mq_timedsend.  Use hidden_weak.
10808         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
10809         __mq_timedsend as strong name.
10810         (mq_timedreceive): Use __mq_timedreceive as strong name.
10811         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
10812         (__mq_timedreceive): Likewise.
10813         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
10814         __mq_timedreceive instead of mq_timedreceive.
10815         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
10816         instead of mq_timedsend.
10817         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
10818         Remove variable.
10820         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
10821         hidden_def and hidden_weak instead of libc_hidden_def and
10822         libc_hidden_weak.
10823         (top level): Refer to hidden_def in comment.
10824         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
10825         macro.  Use it instead of libc_hidden_def.
10826         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
10827         specify __GI_* name explicitly.
10828         (mq_timedreceive): Likewise.
10829         (mq_setattr): Likewise.
10831         [BZ #18544]
10832         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
10833         __pthread_barrier_init and define as weak alias of
10834         __pthread_barrier_init.
10835         * sysdeps/sparc/nptl/pthread_barrier_init.c
10836         (pthread_barrier_init): Likewise.
10837         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
10838         __pthread_barrier_wait and define as weak alias of
10839         __pthread_barrier_wait.
10840         * sysdeps/sparc/nptl/pthread_barrier_wait.c
10841         (pthread_barrier_wait): Likewise.
10842         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
10843         (pthread_barrier_wait): Likewise.
10844         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
10845         (pthread_barrier_wait): Likewise.
10846         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
10847         (pthread_barrier_wait): Likewise.
10848         * nptl/Versions (libpthread): Export __pthread_barrier_init and
10849         __pthread_barrier_wait at version GLIBC_PRIVATE.
10850         * include/pthread.h (__pthread_barrier_init): Declare.
10851         (__pthread_barrier_wait): Likewise.
10852         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
10853         Call __pthread_barrier_wait instead of pthread_barrier_wait.
10854         (helper_thread): Likewise.
10855         (init_mq_netlink): Call __pthread_barrier_init instead of
10856         pthread_barrier_init.
10858         [BZ #18542]
10859         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
10860         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
10861         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
10862         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
10863         vswscanf.
10864         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
10865         Remove variable.
10867         [BZ #18540]
10868         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
10869         strong alias of _IO_fflush.  Use libc_hidden_def.
10870         * libio/iofflush_u.c (fflush_unlocked): Rename to
10871         __fflush_unlocked and define as weak alias of __fflush_unlocked.
10872         Use libc_hidden_weak.
10873         * include/stdio.h (__fflush_unlocked): Declare.  Use
10874         libc_hidden_proto.
10875         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
10876         fflush_unlocked.
10877         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
10878         Remove variable.
10880         [BZ #18539]
10881         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
10882         define as weak alias of __addseverity.
10883         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
10884         Remove variable.
10885         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
10886         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
10887         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
10889         [BZ #18536]
10890         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
10891         (__tfind): Likewise.
10892         (__tdelete): Likewise.
10893         (__twalk): Likewise.
10894         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
10895         __twalk to GLIBC_PRIVATE.
10896         * include/search.h (__tsearch): Use libc_hidden_proto.
10897         (__tfind): Likewise.
10898         (__tdelete): Likewise.
10899         (__twalk): Likewise.
10900         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
10901         Call __tdelete instead of tdelete.
10902         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
10903         tfind.  Call __tsearch instead of tsearch.
10904         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
10905         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
10906         Remove variable.
10907         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
10909         [BZ #18534]
10910         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
10911         (dprintf): Define as a weak alias of __dprintf, not a strong
10912         alias.
10913         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
10914         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
10915         dprintf.
10916         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
10917         Remove variable.
10918         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
10919         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
10921         [BZ #18533]
10922         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
10923         not a strong alias.
10924         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
10925         Remove variable.
10927         [BZ #18532]
10928         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
10929         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
10930         (in6addr_loopback): Rename to __in6addr_loopback and define as
10931         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
10932         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
10933         libc_hidden_proto.
10934         (__in6addr_any): Likewise.
10935         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
10936         in6addr_any.
10937         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
10938         variable.
10939         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
10941 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
10943         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
10944         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
10945         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
10946         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
10947         redirections for pow.
10948         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
10949         * sysdeps/x86_64/fpu/Versions: New versions added.
10950         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
10951         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
10952         build of SSE, AVX2 and AVX512 IFUNC versions.
10953         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
10954         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
10955         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
10956         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
10957         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
10958         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
10959         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
10960         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
10961         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
10962         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
10963         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
10964         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
10965         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
10966         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
10967         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
10968         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
10969         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
10970         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
10971         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
10972         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
10973         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
10974         * NEWS: Mention addition of x86_64 vector pow.
10976         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
10977         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
10978         redirections for expf.
10979         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
10980         * sysdeps/x86_64/fpu/Versions: New versions added.
10981         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
10982         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
10983         build of SSE, AVX2 and AVX512 IFUNC versions.
10984         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
10985         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
10986         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
10987         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
10988         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
10989         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
10990         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
10991         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
10992         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
10993         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
10994         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
10995         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
10996         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
10997         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
10998         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
10999         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
11000         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
11001         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
11002         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
11003         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
11004         * NEWS: Mention addition of x86_64 vector expf.
11006         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
11007         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
11008         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
11009         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
11010         redirections for exp.
11011         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
11012         * sysdeps/x86_64/fpu/Versions: New versions added.
11013         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
11014         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
11015         build of SSE, AVX2 and AVX512 IFUNC versions.
11016         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
11017         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
11018         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
11019         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
11020         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
11021         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
11022         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
11023         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
11024         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
11025         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
11026         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
11027         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
11028         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
11029         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
11030         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
11031         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
11032         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
11033         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
11034         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
11035         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
11036         * NEWS: Mention addition of x86_64 vector exp.
11038         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
11039         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
11040         redirections for logf.
11041         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
11042         * sysdeps/x86_64/fpu/Versions: New versions added.
11043         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
11044         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
11045         build of SSE, AVX2 and AVX512 IFUNC versions.
11046         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
11047         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
11048         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
11049         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
11050         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
11051         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
11052         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
11053         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
11054         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
11055         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
11056         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
11057         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
11058         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
11059         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
11060         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
11061         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
11062         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
11063         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
11064         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
11065         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
11066         * NEWS: Mention addition of x86_64 vector logf.
11068         * bits/libm-simd-decl-stubs.h: Added stubs for log.
11069         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
11070         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
11071         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
11072         redirections for log.
11073         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
11074         * sysdeps/x86_64/fpu/Versions: New versions added.
11075         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
11076         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
11077         build of SSE, AVX2 and AVX512 IFUNC versions.
11078         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
11079         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
11080         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
11081         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
11082         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
11083         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
11084         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
11085         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
11086         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
11087         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
11088         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
11089         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
11090         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
11091         test.
11092         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
11093         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
11094         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
11095         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
11096         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
11097         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
11098         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
11099         * NEWS: Mention addition of x86_64 vector log.
11101 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
11103         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
11104         cfi_adjust_cfa_offset argument.
11105         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
11106         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
11108         [BZ #18034]
11109         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
11110         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
11111         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
11112         ordering using ldar.
11113         (_dl_tlsdesc_dynamic): Likewise.
11114         (_dl_tlsdesc_return_lazy): Likewise.
11115         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
11116         relaxed atomics instead of volatile and synchronize with release store.
11117         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
11118         volatile.
11119         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
11121 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
11123         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
11124         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
11125         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
11126         * sysdeps/x86_64/fpu/Versions: New versions added.
11127         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
11128         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
11129         build of SSE, AVX2 and AVX512 IFUNC versions.
11130         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
11131         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
11132         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
11133         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
11134         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
11135         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
11136         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
11137         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
11138         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
11139         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
11140         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
11141         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
11142         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
11143         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
11144         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
11145         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
11146         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
11147         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
11148         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
11149         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
11150         * NEWS: Mention addition of x86_64 vector sinf.
11152 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
11154         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
11155         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
11156         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
11157         Remove variable.
11158         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
11159         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
11161 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
11163         [BZ #18530]
11164         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
11165         strong alias of _IO_fputs.  Use libc_hidden_def.
11166         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
11167         and define as weak alias of __fputs_unlocked.  Use
11168         libc_hidden_weak.
11169         * include/stdio.h (__fputs_unlocked): Declare.  Use
11170         libc_hidden_proto.
11171         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
11172         fputs_unlocked.
11174         [BZ #18529]
11175         * resolv/netdb.h [__USE_POSIX]: Change condition to
11176         [__USE_XOPEN2K].
11177         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
11178         not expect.
11179         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
11180         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
11181         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
11182         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
11183         [XPG4 || UNIX98] (AI_ALL): Likewise.
11184         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
11185         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
11186         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
11187         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
11188         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
11189         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
11190         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
11191         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
11192         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
11193         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
11194         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
11195         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
11196         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
11197         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
11198         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
11199         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
11200         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
11201         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
11202         [XPG4 || UNIX98] (gai_strerror): Likewise.
11203         [XPG4 || UNIX98] (getaddrinfo): Likewise.
11204         [XPG4 || UNIX98] (getnameinfo): Likewise.
11206         [BZ #18528]
11207         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
11208         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
11209         __USE_XOPEN2K8].
11210         (getgrent): Likewise.
11211         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
11212         expect.
11213         [XPG3 || POSIX2008] (endgrent): Likewise.
11214         [XPG3] (setgrent): Likewise.
11215         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
11216         variable.
11217         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
11219         [BZ #18527]
11220         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
11221         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
11222         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
11223         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
11224         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
11225         * include/unistd.h (__getlogin_r): Declare.  Use
11226         libc_hidden_proto.
11227         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
11228         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
11229         variable.
11230         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
11231         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
11232         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
11234 2015-06-12  Martin Sebor  <msebor@redhat.com>
11236         [BZ #18512]
11237         * Makerules (check-install-supported): New target.
11238         (install): Add check-install-supported as a dependency.
11239         * manual/install.texi (Installing the C Library): Document
11240         that overriding prefix and exec_prefix is not supported.
11241         Mention DESTDIR.
11242         * INSTALL: Regenerate from the above.
11244 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
11246         [BZ #18519]
11247         * posix/Versions (libc): Export __libc_pread at version
11248         GLIBC_PRIVATE.
11249         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
11250         instead of pread.
11251         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
11252         variable.
11254         [BZ #18522]
11255         * misc/efgcvt_r.c
11256         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
11257         (cvt_symbol): Use weak_alias instead of strong_alias.
11258         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
11259         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
11260         Remove variable.
11261         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
11262         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
11264         [BZ #18520]
11265         * inet/herrno.c (h_errno): Rename to __h_errno.
11266         (__libc_h_errno): Define as alias of __h_errno not h_errno.
11267         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
11268         to __h_errno instead of h_errno.
11269         * nptl/herrno.c (h_errno): Rename to __h_errno.
11270         (__h_errno_location): Refer to __h_errno not h_errno.
11271         * resolv/Versions (h_errno): Rename to __h_errno.
11272         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
11273         Remove variable.
11274         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
11276 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
11278         * configure.ac: More strict check for AVX512 assembler support.
11279         * configure: Regenerated.
11281         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
11282         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
11283         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
11284         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
11285         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
11286         * sysdeps/x86_64/fpu/Versions: New versions added.
11287         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
11288         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
11289         Added build of SSE, AVX2 and AVX512 IFUNC versions.
11290         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
11291         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
11292         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
11293         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
11294         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
11295         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
11296         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
11297         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
11298         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
11299         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
11300         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
11301         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
11302         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
11303         test.
11304         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
11305         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
11306         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
11307         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
11308         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
11309         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
11310         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
11311         * NEWS: Mention addition of x86_64 vector sin.
11313 2015-06-11  Florian Weimer  <fweimer@redhat.com>
11315         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
11316         comment.
11318 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
11320         [BZ #18479]
11321         * nptl/pt-interp.c: New file.
11322         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
11323         Add pt-interp.
11324         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
11325         $(common-objpfx)runtime-linker.h.
11327 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
11329         * Makeconfig (+interp): Remove unused variable.
11330         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
11331         only.  Depend on $(common-objpfx)runtime-linker.h instead of
11332         $(elf-objpfx)runtime-linker.h.
11333         ($(elf-objpfx)runtime-linker.h): Rename to
11334         $(common-objpfx)runtime-linker.h and move ...
11335         * Makerules [$(build-shared) = yes]: ... here.
11336         * elf/interp.c: Include <runtime-linker.h> instead of
11337         <elf/runtime-linker.h>.
11339 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11341         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
11342         (__gettimeofday_syscall): Remove vsyscall fallback.
11343         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
11344         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
11345         Add syscall fallback function.
11346         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
11347         if vDSO is not present.
11348         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
11349         fallback function.
11350         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
11351         present.
11352         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
11353         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
11355 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
11357         [BZ #18497]
11358         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
11359         of wcscmp.
11360         (wcscmp): Define as weak alias of WCSCMP.
11361         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
11362         wcscoll.
11363         (USE_HIDDEN_DEF): Define.
11364         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
11365         __wcscoll.  Don't use libc_hidden_weak.
11366         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
11367         wcscmp.
11368         * sysdeps/i386/i686/multiarch/wcscmp-c.c
11369         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
11370         __GI_wcscmp.
11371         (weak_alias): Undefine and redefine.
11372         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
11373         __wcscmp and define as weak alias of __wcscmp.
11374         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
11375         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
11376         (__wcscoll): Likewise.
11377         (wcscmp): Don't use libc_hidden_proto.
11378         (wcscoll): Likewise.
11379         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
11380         wcscoll.
11381         * posix/regexec.c (check_node_accept_bytes): Likewise.
11382         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
11383         variable.
11384         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
11385         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
11387         [BZ #18507]
11388         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
11389         __fstatvfs and define as weak alias of __fstatvfs.  Use
11390         libc_hidden_weak.
11391         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
11392         and define as weak alias of __statvfs.  Use libc_hidden_weak.
11393         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
11394         Define as alias of __fstatvfs, not fstatvfs.
11395         (fstatvfs64): Likewise.
11396         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
11397         Define as alias of __statvfs, not statvfs.
11398         (statvfs64): Likewise.
11399         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
11400         Remove variable.
11402 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11404         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
11405         (HAVE_GETCPU_VSYSCALL): Define.
11406         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
11407         (HAVE_GETCPU_VSYSCALL): Likewise.
11408         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
11409         * sysdeps/unix/sysv/linux/sched_getcpu.c
11410         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
11411         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
11412         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
11413         prototype.
11414         * sysdeps/unix/sysv/linux/x86_64/init-first.c
11415         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
11416         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
11417         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
11418         Define.
11419         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
11420         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
11421         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
11422         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
11424 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
11426         * sysdeps/x86_64/fpu/Makefile: New file.
11427         * sysdeps/x86_64/fpu/Versions: New file.
11428         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
11429         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
11430         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
11431         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
11432         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
11433         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
11434         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
11435         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
11436         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
11437         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
11438         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
11439         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
11440         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
11441         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
11442         Added build of SSE, AVX2 and AVX512 IFUNC versions.
11443         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
11444         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
11445         * sysdeps/x86_64/configure.ac: Options for libmvec build.
11446         * sysdeps/x86_64/configure: Regenerated.
11447         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
11448         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
11449         * manual/install.texi (Configuring and compiling): Document
11450         --disable-mathvec.
11451         * INSTALL: Regenerated.
11452         * NEWS: Mention addition of libmvec and x86_64 vector cos.
11454         * math/Makefile: Added rules for vector tests.
11455         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
11456         declaration under condition.
11457         * math/test-double-vlen2.h: New file.
11458         * math/test-double-vlen4.h: New file.
11459         * math/test-double-vlen8.h: New file.
11460         * math/test-vec-loop.h: Added initialization macro.
11461         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
11462         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
11463         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
11464         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
11465         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
11466         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
11467         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
11468         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
11469         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
11470         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
11471         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
11473         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
11474         * sysdeps/x86_64/fpu/Versions: New versions added.
11475         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
11476         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
11477         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
11478         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
11479         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
11480         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
11481         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
11482         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
11483         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
11484         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
11485         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
11486         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
11487         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
11488         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
11489         Added build of SSE, AVX2 and AVX512 IFUNC versions.
11490         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
11491         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
11492         * NEWS: Mention addition of x86_64 vector cosf.
11494         * math/Makefile: Added CFLAGS for new tests.
11495         * math/test-float-vlen16.h: New file.
11496         * math/test-float-vlen4.h: New file.
11497         * math/test-float-vlen8.h: New file.
11498         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
11499         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
11500         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
11501         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
11502         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
11503         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
11504         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
11505         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
11506         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
11507         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
11508         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
11510 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
11512         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
11513         * locale/programs/ld-ctype.c: Likewise.
11515 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
11517         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
11518         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
11519         bit_ZMM16_31_state): New macro.
11520         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11521         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
11523 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
11525         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
11527 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
11529         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
11531 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
11533         [BZ #18498]
11534         * libio/memstream.c (open_memstream): Rename to __open_memstream
11535         and define as weak alias of __open_memstream.
11536         * include/stdio.h (__open_memstream): Declare.  Use
11537         libc_hidden_proto.
11538         (open_memstream): Don't use libc_hidden_proto.
11539         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
11540         open_memstream.
11541         * posix/getopt.c (_getopt_internal_r): Likewise.
11542         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
11543         variable.
11544         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
11545         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
11546         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
11548         [BZ #18496]
11549         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
11550         instead of wcrtomb.
11552         [BZ #18483]
11553         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
11554         [__USE_XOPEN2K8].  Remove redundant #endif.
11555         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
11556         Remove redundant #if.
11557         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
11558         Remove variable.
11559         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
11560         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
11562         [BZ #18495]
11563         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
11564         (__iswlower): Likewise.
11565         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
11566         (__iswlower): Likewise.
11567         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
11568         instead of towlower.
11569         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
11570         instead of iswlower.  Call __towupper instead of towupper.
11571         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
11572         instead of iswalnum.
11574 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
11576         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
11577         errors to stderr.
11579 2015-06-05  Florian Weimer  <fweimer@redhat.com>
11581         [BZ #15661]
11582         [BZ #17322]
11583         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
11584         Check for overflow properly.  Check for O_APPEND.  Ignore large
11585         file system block sizes.  Add comments about problems.
11586         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
11587         * manual/filesys.texi (Storage Allocation): New node.
11589 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11591         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
11592         cancellable syscalls.
11593         (SYS_ify): Add guard to no redefine it.
11594         (INLINE_SYSCALL): Likewise.
11595         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
11596         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
11597         SYSCALL_CANCEL instead.
11598         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
11599         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
11600         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
11601         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
11602         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
11603         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
11604         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
11605         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
11606         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
11607         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
11608         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
11609         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
11610         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
11611         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
11612         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
11613         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
11614         Likewise.
11615         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
11616         (__libc_pread64): Likewise.
11617         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
11618         (__libc_preadv): Likewise.
11619         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
11620         (__libc_readv64): Likewise.
11621         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
11622         (__libc_pwrite): Likewise.
11623         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
11624         (__libc_pwrite64): Likewise.
11625         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
11626         (__libc_pwritev): Likewise.
11627         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
11628         (__libc_pwritev64): Likewise.
11629         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
11630         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
11631         (sync_file_range): Likewise.
11632         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
11633         Likewise.
11634         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
11635         Likewise.
11636         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
11637         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
11638         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
11639         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
11640         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
11641         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
11642         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
11643         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
11644         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
11645         Likewise.
11646         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
11647         (__libc_read64): Likewise.
11648         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
11649         Likewise.
11650         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
11651         Likewise.
11652         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
11653         Likewise.
11654         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
11655         Likewise.
11656         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
11657         (__libc_pread64): Likewise.
11658         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
11659         Likewise.
11660         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
11661         (__libc_pwrite64): Likewise.
11662         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
11663         (sync_file_range): Likewise.
11664         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
11665         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
11666         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
11667         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
11668         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
11669         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
11670         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
11671         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
11672         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
11673         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
11674         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
11675         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
11676         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
11677         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
11678         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
11679         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
11680         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
11681         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
11682         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
11683         Likewise.
11684         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
11685         Likewise.
11686         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
11687         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
11688         Likewise.
11689         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
11690         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
11691         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
11692         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
11693         Likewise.
11694         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
11695         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
11696         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
11697         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
11698         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
11700 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
11702         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
11703         Include dl-vdso.
11704         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
11705         Use VDSO routines for gettimeofday, clock_gettime if
11706         available.
11707         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
11708         Declare VDSO symbols.
11709         * sysdeps/unix/sysv/linux/arm/sysdep.h:
11710         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
11711         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
11712         * sysdeps/unix/sysv/linux/arm/Versions: Add
11713         __vdso_clock_gettime.
11715 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11717         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
11718         be an inline implementation regardless of library is built within.
11719         (open_not_cancel_2): Likewise.
11720         (__read_nocancel): Likewise.
11721         (__write_nocancel): Likewise.
11722         (openat_not_cancel): Likewise.
11723         (openat_not_cancel_3): Likewise.
11724         (openat64_not_cancel): Likewise.
11725         (openat64_not_cancel_3): Likewise.
11726         (__close_nocancel): Likewise.
11727         (pause_not_cancel): Likewise.
11728         (nanosleep_not_cancel): Likewise.
11729         (sigsuspend_not_cancel): Likewise.
11731 2015-06-04  Torvald Riegel  <triegel@redhat.com>
11733         [BZ #14958]
11734         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
11735         wake-up.
11736         (__pthread_rwlock_rdlock_slow): Likewise.
11737         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
11738         Likewise.
11739         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
11740         Likewise.
11741         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
11742         * nptl/tst-rwlock16.c: New file.
11743         * nptl/Makefile (tests): Add new test.
11745 2015-06-04  Torvald Riegel  <triegel@redhat.com>
11747         [BZ #18324]
11748         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
11749         missing wake-up of readers.
11750         * nptl/tst-rwlock15.c: New file.
11751         * nptl/Makefile (tests): Add new test.
11753 2015-06-03  Roland McGrath  <roland@hack.frob.com>
11755         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
11756         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
11757         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
11758         and __nacl_supply_interface_rtld.
11759         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
11760         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
11761         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
11762         Add __nacl_supply_interface_rtld.
11763         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
11765 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
11767         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
11768         isfinite.
11769         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
11770         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
11772 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
11774         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
11775         __signbit* with standard C99 macros.
11776         * math/e_exp10l.c: Likewise.
11777         * math/e_exp2l.c: Likewise.
11778         * math/e_scalb.c: Likewise.
11779         * math/e_scalbf.c: Likewise.
11780         * math/e_scalbl.c: Likewise.
11781         * math/s_ldexp.c: Likewise.
11782         * math/s_ldexpf.c: Likewise.
11783         * math/s_ldexpl.c: Likewise.
11784         * math/w_atan2.c: Likewise.
11785         * math/w_atan2f.c: Likewise.
11786         * math/w_atan2l.c: Likewise.
11787         * math/w_cosh.c: Likewise.
11788         * math/w_coshf.c: Likewise.
11789         * math/w_coshl.c: Likewise.
11790         * math/w_exp10.c: Likewise.
11791         * math/w_exp10f.c: Likewise.
11792         * math/w_exp10l.c: Likewise.
11793         * math/w_exp2.c: Likewise.
11794         * math/w_exp2f.c: Likewise.
11795         * math/w_exp2l.c: Likewise.
11796         * math/w_fmod.c: Likewise.
11797         * math/w_fmodf.c: Likewise.
11798         * math/w_fmodl.c: Likewise.
11799         * math/w_hypot.c: Likewise.
11800         * math/w_hypotf.c: Likewise.
11801         * math/w_hypotl.c: Likewise.
11802         * math/w_jnl.c: Likewise.
11803         * math/w_lgamma.c: Likewise.
11804         * math/w_lgamma_r.c: Likewise.
11805         * math/w_lgammaf.c: Likewise.
11806         * math/w_lgammaf_r.c: Likewise.
11807         * math/w_lgammal.c: Likewise.
11808         * math/w_lgammal_r.c: Likewise.
11809         * math/w_pow.c: Likewise.
11810         * math/w_powf.c: Likewise.
11811         * math/w_powl.c: Likewise.
11812         * math/w_remainder.c: Likewise.
11813         * math/w_remainderf.c: Likewise.
11814         * math/w_remainderl.c: Likewise.
11815         * math/w_scalb.c: Likewise.
11816         * math/w_scalbf.c: Likewise.
11817         * math/w_scalbl.c: Likewise.
11818         * math/w_scalbln.c: Likewise.
11819         * math/w_scalblnf.c: Likewise.
11820         * math/w_scalblnl.c: Likewise.
11821         * math/w_sinh.c: Likewise.
11822         * math/w_sinhf.c: Likewise.
11823         * math/w_sinhl.c: Likewise.
11824         * math/w_tgamma.c: Likewise.
11825         * math/w_tgammaf.c: Likewise.
11826         * math/w_tgammal.c: Likewise.
11827         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
11828         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
11829         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
11830         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
11831         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
11832         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11833         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
11834         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
11835         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
11836         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
11837         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
11838         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
11839         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
11840         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
11841         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
11842         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
11843         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
11844         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
11845         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
11846         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
11847         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
11848         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
11849         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
11850         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
11851         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
11852         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
11853         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
11854         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
11855         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
11856         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
11857         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
11858         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
11859         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
11860         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
11861         * stdio-common/printf_fp.c: Likewise.
11862         * stdio-common/printf_fphex.c: Likewise.
11863         * stdio-common/printf_size.c: Likewise.
11865 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
11867         [BZ #18470]
11868         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
11869         strnlen.
11870         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
11871         Remove variable.
11872         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
11873         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
11874         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
11875         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
11876         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
11877         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
11878         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
11879         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
11880         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
11881         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
11883         [BZ #18468]
11884         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
11885         weak alias of __wmemchr.  Use libc_hidden_weak.
11886         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
11887         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
11888         instead of wmemchr.
11890 2015-06-02  Roland McGrath  <roland@hack.frob.com>
11892         [BZ #18383]
11893         * elf/tst-tlsalign-extern.c: New file.
11894         * elf/tst-tlsalign-extern-static.c: New file.
11895         * elf/tst-tlsalign-vars.c: New file.
11896         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
11897         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
11898         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
11899         ($(objpfx)tst-tlsalign-extern-static): Likewise.
11900         (test-xfail-tst-tlsalign-extern-static): New variable.
11902 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
11904         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
11905         Use variable name _sc_err instead of err.
11906         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
11907         instead of ret.
11908         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
11909         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
11910         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
11911         (INLINE_SYSCALL): Likewise.
11913         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
11914         * include/string.h (__strnlen): Use libc_hidden_proto.
11915         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
11916         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
11917         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
11918         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
11919         (libc_hidden_def): Undefine and redefine.
11920         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
11921         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
11922         __GI_strnlen.
11923         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
11924         libc_hidden_def.
11925         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
11927         [BZ #18469]
11928         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
11929         weak alias of __towlower.  Use libc_hidden_weak.
11930         (towupper): Rename to __towupper and define as weak alias of
11931         __towupper.  Use libc_hidden_weak.
11932         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
11933         (__towupper): Likewise.
11934         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
11935         __towlower instead of towlower.
11937 2015-06-02  Roland McGrath  <roland@hack.frob.com>
11939         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
11940         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
11942 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
11944         * sysdeps/aarch64/libm-test-ulps: Update.
11946 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11948         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
11949         Define.
11950         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
11951         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
11952         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
11953         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
11954         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
11955         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
11956         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
11958 2015-06-01  Martin Sebor  <msebor@redhat.com>
11960         [BZ #18116]
11961         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
11962         (__setcontext): Use extended four-operand version of mtsf whenever
11963         possible.
11964         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
11965         (__novec_swapcontext): Likewise.
11967 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
11969         * benchtests/scripts/compare_bench.py: New file.
11970         * benchtests/scripts/import_bench.py (mean): New function.
11971         (split_list): Likewise.
11972         (do_for_all_timings): Likewise.
11973         (compress_timings): Likewise.
11975         * benchtests/scripts/import_bench.py: New file.
11976         * benchtests/scripts/validate_benchout.py: Import import_bench
11977         instead of jsonschema.
11978         (validate_bench): Remove function.
11979         (main): Use import_bench.
11981 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
11983         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
11984         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
11986 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11988         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11990 2015-05-28  Roland McGrath  <roland@hack.frob.com>
11992         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
11993         set THREAD_SELF->tid to a magic value and futex-wake it.
11994         Pass its address to the thread_exit system call.
11995         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
11996         bit is clear.
11997         * sysdeps/nacl/lowlevellock.h: New file.
11998         * sysdeps/nacl/lll_timedwait_tid.c: New file.
12000         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
12001         Add TIMEOUT to current time, don't subtract it.
12003 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
12005         [BZ #2981]
12006         [BZ #18422]
12007         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
12008         ($(objpfx)tst-audit2.out): Also depend on
12009         $(objpfx)tst-auditmod9b.so.
12010         * elf/tst-audit2.c: Include <dlfcn.h>.
12011         (calloc_called): New.
12012         (calloc): Allow to be called more than once.
12013         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
12015 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
12017         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
12018         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
12020 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
12022         * stdlib/monetary.h: Fix comment.
12024 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
12026         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
12027         Avoid using variables in #defines that might cause shadowing.
12028         (INTERNAL_VSYSCALL_CALL): Likewise.
12030 2015-05-26  Roland McGrath  <roland@hack.frob.com>
12032         * sysdeps/nacl/lll_timedlock_wait.c: New file.
12034         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
12035         * nptl/lll_timedlock_wait.c: ... to this new file.
12036         * nptl/Makefile (libpthread-routines): Add it.
12037         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
12038         * nptl/lll_timedwait_tid.c: ... to this new file.
12039         * nptl/Makefile (libpthread-routines): Add it.
12040         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
12041         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
12042         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
12043         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
12044         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
12045         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
12046         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
12047         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
12048         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
12049         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
12051 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12053         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
12054         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
12055         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
12056         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
12057         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
12058         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
12059         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
12060         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
12061         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
12062         * sysdeps/unix/sysv/linux/tile/sysdep.h
12063         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
12064         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
12065         using vDSO syscall macro.
12067 2015-05-26  Andriy Rysin  <arysin@gmail.com>
12069         [BZ #17293]
12070         * uk_UA: Fix sorting order for Ukrainian locale
12072 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
12074         * stdlib/monetary.h: Fix comment.
12076 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
12078         [BZ #18234]
12079         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
12080         st_mtim and st_ctim members.
12081         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
12082         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
12083         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
12084         (struct stat64): Likewise.
12085         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
12086         (struct stat64): Likewise.
12087         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
12088         (struct stat64): Likewise.
12090 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12092         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
12093         Define and include sysdep-vdso.h.
12094         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
12095         Likewise.
12096         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
12097         Likewise.
12098         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
12099         Define with VDSO_SYMBOL and use PTR_MANGLE.
12100         (__vdso_clock_gettime): Likewise.
12101         (__vdso_clock_getres): Likewise.
12102         (_libc_vdso_platform_setup): Likewise.
12103         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
12104         Likewise.
12105         (_libc_vdso_platform_setup): Likewise.
12106         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
12107         Likewise.
12108         (__vdso_clock_gettime): Likewise.
12109         (__vdso_clock_getres): Likewise.
12110         (__vdso_get_tbfreq): Likewise.
12111         (__vdso_getcpu): Likewise.
12112         (__vdso_time): Likewise.
12113         (__vdso_sigtramp_rt64): Likewise.
12114         (__vdso_signtramp32): Likewise.
12115         (__vdso_sigtramp_rt32): Likewise.
12116         (_libc_vdso_platform_setup): Likewise.
12117         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
12118         Likewise.
12119         (__vdso_clock_gettime): Likewise.
12120         (__vdso_clock_getres): Likewise.
12121         (_libc_vdso_platform_setup): Likewise.
12122         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
12123         Likewise.
12124         (__vdso_clock_gettime): Likewise.
12125         (_libc_vdso_platform_setup): Likewise.
12126         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
12127         Likewise.
12128         (__vdso_getcpu): Likewise.
12129         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
12130         Use VDSO_SYMBOL macro to define.
12131         (__vdso_clock_gettime): Likewise.
12132         (__vdso_clock_getres): Likewise.
12133         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
12134         Likewise.
12135         (__vdso_clock_gettime): Likewise.
12136         (__vdso_clock_getres): Likewise.
12137         (__vdso_get_tbfreq): Likewise.
12138         (__vdso_getcpu): Likewise.
12139         (__vdso_time): Likewise.
12140         (__vdso_sigtramp_rt64): Likewise.
12141         (__vdso_signtramp32): Likewise.
12142         (__vdso_sigtramp_rt32): Likewise.
12143         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
12144         Likewise.
12145         (__vdso_clock_gettime): Likewise.
12146         (__vdso_clock_getres): Likewise.
12147         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
12148         Likewise.
12149         (__vdso_clock_gettime): Likewise.
12150         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
12151         Likewise.
12152         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
12153         macro.
12154         (INTERNAL_VSYSCALL): Likewise.
12155         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
12156         Remove macro.
12157         (INTERNAL_VSYSCALL): Likewise.
12158         (INTERNAL_VSYSCALL_NCS): Likewise.
12159         (INTERNAL_VSYSCALL_CALL): New macro.
12160         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
12161         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
12162         Likewise.
12163         (INTERNAL_VSYSCALL): Likewise.
12164         (INTERNAL_VSYSCALL_NCS): Likewise.
12165         (INTERNAL_VSYSCALL_CALL): New macro.
12166         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
12167         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
12168         (INLINE_VSYSCALL): Remove macro.
12169         (INTERNAL_VSYSCALL): Remove macro.
12170         (INTERNAL_VSYSCALL_NCS): Remove macro.
12171         (INTERNAL_VSYSCALL_CALL): New macro.
12172         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
12173         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
12174         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
12175         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
12176         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
12177         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
12178         (INLINE_VSYSCALL): Remove macro.
12179         (INTERNAL_VSYSCALL): Likewise.
12180         (INTERNAL_VSYSCALL_NCS): Likewise.
12181         (INTERNAL_VSYSCALL_CALL): New macro.
12182         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
12183         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
12184         PTR_DEMANGLE on vDSO pointer.
12185         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
12186         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
12187         macro.
12188         (INTERNAL_SYSCALL): Likewise.
12189         (INTERNAL_VSYSCALL_NCS): Remove macro.
12190         (INTERNAL_VSYSCALL_CALL): New macro.
12191         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
12192         Remove macro.
12193         (INTERNAL_VSYSCALL): Likewise.
12194         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
12195         sysdep-vdso.h instead of libc-vdso.h.
12196         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
12197         definition.
12198         (INLINE_VSYSCALL): Likewise.
12199         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
12200         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
12201         definition.
12202         (INLINE_VSYSCALL): Likewise.
12203         (INTERNAL_VSYSCALL): Likewise.
12204         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
12205         * sysdeps/unix/sysv/linux/timespec_get.c
12206         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
12207         (timespec_get): Use ANSI prototype.
12208         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
12209         and definition for Linux.
12211 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
12213         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
12214         * include/libc-symbols.h: libmvec_hidden_* macro series added.
12216 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
12218         [BZ #2981]
12219         [BZ #18410]
12220         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
12221         for missing DT_PLTRELSZ.
12223 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
12225         Remove obsolete aliases that broke 'locale -a'
12226         [BZ #18412]
12227         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
12228         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
12229         breaking some applications that use 'locale -a' output.
12230         Change the encoding of this file from Latin-1 to ASCII to avoid
12231         other potential problems with people grepping this file.
12233 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12235         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
12236         -fasynchronous-unwind-tables.
12237         (CFLAGS-sendto.c): Likewise.
12238         (CFLAGS-sendmsg.c): Likewise.
12239         (CFLAGS-connect.c): Likewise.
12240         (CFLAGS-recvmsg.c): Likewise.
12241         (CFLAGS-recvfrom.c): Likewise.
12242         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
12243         (SOCKETCALL): New macro: non-cancellable socketcall.
12244         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
12245         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
12246         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
12247         * sysdeps/unix/sysv/linux/accept.c: New file.
12248         * sysdeps/unix/sysv/linux/bind.c: Likewise.
12249         * sysdeps/unix/sysv/linux/connect.c: Likewise.
12250         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
12251         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
12252         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
12253         * sysdeps/unix/sysv/linux/listen.c: Likewise.
12254         * sysdeps/unix/sysv/linux/recv.c: Likewise.
12255         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
12256         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
12257         * sysdeps/unix/sysv/linux/send.c: Likewise.
12258         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
12259         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
12260         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
12261         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
12262         * sysdeps/unix/sysv/linux/socket.c: Likewise.
12263         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
12264         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
12265         prototype.
12266         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
12267         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
12268         instead of __internal_xxx function.
12269         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
12270         prototype.
12271         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
12272         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
12273         instead of __internal_xxx function.
12274         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
12275         prototype.
12276         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
12277         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
12278         instead of __internal_xxx function.
12279         * sysdeps/unix/sysv/linux/accept.S: Remove file.
12280         * sysdeps/unix/sysv/linux/bind.S: Likewise.
12281         * sysdeps/unix/sysv/linux/connect.S: Likewise.
12282         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
12283         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
12284         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
12285         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
12286         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
12287         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
12288         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
12289         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
12290         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
12291         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
12292         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
12293         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
12294         * sysdeps/unix/sysv/linux/listen.S: Likewise.
12295         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
12296         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
12297         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
12298         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
12299         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
12300         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
12301         * sysdeps/unix/sysv/linux/recv.S: Likewise.
12302         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
12303         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
12304         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
12305         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
12306         * sysdeps/unix/sysv/linux/send.S: Likewise.
12307         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
12308         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
12309         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
12310         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
12311         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
12312         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
12313         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
12314         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
12315         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
12316         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
12317         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
12318         socketcall is implemented in GLIBC.
12320 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
12322         * soft-fp/fmadf4.c: Include <libc-internal.h>.
12323         (__fma): Ignore uninitialized warnings around packing.
12324         * soft-fp/fmasf4.c: Include <libc-internal.h>.
12325         (__fmaf): Ignore uninitialized warnings around packing.
12326         * soft-fp/fmatf4.c: Include <libc-internal.h>.
12327         (__fmal): Ignore uninitialized warnings around packing.
12329         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
12330         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
12331         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
12332         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
12334         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
12335         switch statement into default case.
12336         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
12338         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
12339         a conditional in forcing "inexact".
12340         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
12341         Likewise.
12343 2015-05-22  Roland McGrath  <roland@hack.frob.com>
12345         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
12346         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
12347         for each INTERNAL_SYSCALL use.
12349 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
12351         [BZ #438]
12352         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
12353         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
12354         variable.
12356         [BZ #18444]
12357         * string/basename.c (basename): Rename to __basename and define as
12358         weak alias of __basename.  Use libc_hidden_weak.
12359         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
12360         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
12361         __basename instead of basename.
12362         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
12363         Remove variable.
12364         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
12366 2015-05-18  Florian Weimer  <fweimer@redhat.com>
12368         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
12369         (_IO_JUMPS_FILE_plus): New.
12370         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
12371         _IO_CAST_FIELD_ACCESS.
12372         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
12373         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
12374         * libio/freopen.c (freopen): Likewise.
12375         * libio/freopen64.c (freopen64): Likewise.
12376         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
12377         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
12378         * libio/iofwide.c (_IO_fwide): Likewise.
12379         * libio/memstream.c (open_memstream): Likewise.
12380         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
12381         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
12382         * libio/oldiopopen.c (_IO_old_popen): Likewise.
12384 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
12386         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
12387         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
12388         NADJ.
12389         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
12390         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
12391         NADJ.
12392         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
12393         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
12394         NADJ.
12396         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
12397         (p == 4) case.
12399         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
12400         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
12401         Remove variable.
12402         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
12403         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
12404         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
12406 2015-05-21  Florian Weimer  <fweimer@redhat.com>
12408         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
12409         Adjust jump table label generation macros.
12411 2015-05-21  Florian Weimer  <fweimer@redhat.com>
12413         * stdio-common/vfprintf.c (vfprintf): Move local variables
12414         args_malloced, specs, specs_malloced, and the code after
12415         do_positional to the printf_positional function.
12416         (printf_positional): New function.
12418 2015-05-21  Florian Weimer  <fweimer@redhat.com>
12420         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
12421         function.
12422         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
12423         STEP4_TABLE, process_arg): Move macro definitions
12424         out of the vfprintf function.  (Cosmetic change only.)
12426 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
12428         * benchtests/Makefile (stdio-common-bench): Define.
12429         (benchset): Add stdio-common-bench.
12430         * sprintf-inputs: New file.
12431         * sprintf-source.c: New file.
12433 2015-05-21  Andreas Schwab  <schwab@suse.de>
12435         [BZ #13028]
12436         [BZ #17053]
12437         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
12438         of struct __res_state.
12439         * resolv/res_send.c (__libc_res_nsend): Likewise.
12440         (get_nsaddr): New function.
12441         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
12442         statp directly.
12444 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
12446         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
12447         -D_POSIX_C_SOURCE=199506L.
12449         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
12451         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
12452         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
12453         Do not mention otherwise.
12454         [POSIX] (_XOPEN_VERSION): Do not expect.
12455         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
12456         [POSIX] (_POSIX2_C_BIND): Likewise.
12457         [POSIX] (_POSIX2_VERSION): Likewise.
12458         [POSIX] (_XOPEN_XPG2): Likewise.
12459         [POSIX] (_XOPEN_XPG3): Likewise.
12460         [POSIX] (_XOPEN_XPG4): Likewise.
12461         [POSIX] (_XOPEN_UNIX): Likewise.
12462         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
12463         [POSIX] (_POSIX_BARRIERS): Likewise.
12464         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
12465         [POSIX] (_POSIX_CPUTIME): Likewise.
12466         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
12467         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
12468         [POSIX] (_POSIX_SHELL): Likewise.
12469         [POSIX] (_POSIX_SPAWN): Likewise.
12470         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
12471         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
12472         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
12473         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
12474         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
12475         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
12476         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
12477         [POSIX] (_XBS5_LP64_OFF64): Likewise.
12478         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
12479         [POSIX] (_POSIX_TIMEOUTS): Likewise.
12480         [POSIX] (_POSIX2_PBS): Likewise.
12481         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
12482         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
12483         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
12484         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
12485         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
12486         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
12487         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
12488         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
12489         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
12490         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
12491         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
12492         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
12493         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
12494         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
12495         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
12496         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
12497         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
12498         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
12499         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
12500         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
12501         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
12502         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
12503         [POSIX] (_SC_2_C_BIND): Likewise.
12504         [POSIX] (_SC_2_C_VERSION): Likewise.
12505         [POSIX] (_SC_2_PBS): Likewise.
12506         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
12507         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
12508         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
12509         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
12510         [POSIX] (_SC_2_PBS_TRACK): Likewise.
12511         [POSIX] (_SC_ATEXIT_MAX): Likewise.
12512         [POSIX] (_SC_BARRIERS): Likewise.
12513         [POSIX] (_SC_BASE): Likewise.
12514         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
12515         [POSIX] (_SC_DEVICE_IO): Likewise.
12516         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
12517         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
12518         [POSIX] (_SC_FD_MGMT): Likewise.
12519         [POSIX] (_SC_FIFO): Likewise.
12520         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
12521         [POSIX] (_SC_FILE_LOCKING): Likewise.
12522         [POSIX] (_SC_FILE_SYSTEM): Likewise.
12523         [POSIX] (_SC_IOV_MAX): Likewise.
12524         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
12525         [POSIX] (_SC_NETWORKING): Likewise.
12526         [POSIX] (_SC_PAGE_SIZE): Likewise.
12527         [POSIX] (_SC_PASS_MAX): Likewise.
12528         [POSIX] (_SC_PIPE): Likewise.
12529         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
12530         [POSIX] (_SC_REGEXP): Likewise.
12531         [POSIX] (_SC_SHELL): Likewise.
12532         [POSIX] (_SC_SIGNALS): Likewise.
12533         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
12534         [POSIX] (_SC_SPIN_LOCKS): Likewise.
12535         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
12536         [POSIX] (_SC_USER_GROUPS): Likewise.
12537         [POSIX] (_SC_USER_GROUPS_R): Likewise.
12538         [POSIX] (_SC_STREAMS): Likewise.
12539         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
12540         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
12541         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
12542         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
12543         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
12544         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
12545         [POSIX] (_PC_FILESIZEBITS): Likewise.
12546         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
12547         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
12548         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
12549         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
12550         [POSIX] (uid_t): Likewise.
12551         [POSIX] (gid_t): Likewise.
12552         [POSIX] (off_t): Likewise.
12553         [POSIX] (pid_t): Likewise.
12554         [POSIX] (cuserid): Allow.
12555         (_SC_2_CHAR_TERM): Require constant.
12556         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
12557         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
12558         variable.
12560 2015-05-20  Roland McGrath  <roland@hack.frob.com>
12562         * sysdeps/nacl/pthread-pids.h: New file.
12563         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
12564         (create_thread): Use __nacl_get_tid to initialize PD->tid.
12566         * nptl/pthread-pids.h: New file.
12567         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
12568         * nptl/nptl-init.c: Include <pthread-pids.h>.
12569         (__pthread_initialize_minimal_internal):
12570         Call __pthread_initialize_pids instead of set_tid_address syscall.
12572         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
12573         * sysdeps/posix/usleep.c: ... here.
12575 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12577         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
12578         call_pselect6 object.
12579         [$(subdir) = io]: Remove call_sync_file_range object.
12580         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
12581         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
12582         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
12583         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
12585 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
12587         * math/s_cproj.c: Add include "math_private.h".
12588         * math/s_cprojf.c: Likewise.
12589         * math/s_cprojl.c: Likewise.
12591 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
12593         [BZ #18244]
12594         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
12595         high mantissa bit when testing whether P is a NaN.
12596         * math/libm-test.inc (remainder_test_data): Add more tests.
12597         (remquo_test_data): Likewise.
12599         [BZ #18049]
12600         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
12601         below -32, return the argument, with underflow if subnormal.
12602         * math/auto-libm-test-in: Add more tests of atanh.
12603         * math/auto-libm-test-out: Regenerated.
12605 2015-05-19  Roland McGrath  <roland@hack.frob.com>
12607         [BZ #18434]
12608         * nptl/tst-sem15.c: New file.
12609         * nptl/Makefile (tests): Add it.
12610         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
12611         s/<</>>/ to fix typo in EOVERFLOW check.
12612         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
12614 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
12616         * manual/strings.texi (envz_remove): Fix typo in safety
12617         annotations.
12619 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
12620             Steve Ellcey  <sellcey@imgtec.com>
12622         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
12623         in order to avoid strict alias warnings.
12624         (iruserok_af): Ditto for ra.
12626 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
12628         [BZ #17581]
12629         * malloc/hooks.c
12630         (magicbyte): Convert to a function and avoid returning 0x01.
12631         (mem2mem_check): Avoid using a length byte equal to the magic byte.
12632         (mem2chunk_check): Fix unsigned comparisons to zero.
12633         Hoist defs of sz and magic.
12635 2015-05-19  Richard Henderson  <rth@redhat.com>
12637         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
12639         * sysdeps/alpha/fpu/libm-test-ulps: Update.
12641 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
12643         [BZ #16159]
12644         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
12645         * malloc/arena.c (arena_lock): Check if arena is corrupt.
12646         (reused_arena): Find a non-corrupt arena.
12647         (heap_trim): Pass arena to unlink.
12648         * malloc/hooks.c (malloc_check_get_size): Pass arena to
12649         malloc_printerr.
12650         (top_check): Likewise.
12651         (free_check): Likewise.
12652         (realloc_check): Likewise.
12653         * malloc/malloc.c (malloc_printerr): Add arena argument.
12654         (unlink): Likewise.
12655         (munmap_chunk): Adjust.
12656         (ARENA_CORRUPTION_BIT): New macro.
12657         (arena_is_corrupt): Likewise.
12658         (set_arena_corrupt): Likewise.
12659         (sysmalloc): Use mmap if there are no usable arenas.
12660         (_int_malloc): Likewise.
12661         (__libc_malloc): Don't fail if arena_get returns NULL.
12662         (_mid_memalign): Likewise.
12663         (__libc_calloc): Likewise.
12664         (__libc_realloc): Adjust for additional argument to
12665         malloc_printerr.
12666         (_int_free): Likewise.
12667         (malloc_consolidate): Likewise.
12668         (_int_realloc): Likewise.
12669         (_int_memalign): Don't touch corrupt arenas.
12670         * malloc/tst-malloc-backtrace.c: New test case.
12672         * Makefile (summarize-tests): Fix return value on success.
12674         * manual/string.texi (Envz Functions): Add envz_remove.
12676 2015-05-18  Roland McGrath  <roland@hack.frob.com>
12678         * sysdeps/posix/opendir.c: Include <stdbool.h>.
12679         (invalid_name): New function, broken out of ...
12680         (__opendirat): ... here.  Call it.
12681         (need_isdir_precheck): New function, broken out of ...
12682         (__opendirat): ... here.  Call it.
12683         Use __fxstatat64, not __xstatat64.
12684         (opendir_oflags): New function, broken out of ...
12685         (__opendirat): ... here.  Call it.
12686         (opendir_tail): New function, broken out of ...
12687         (__opendirat): ... here.  Call it.
12688         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
12689         opendir_tail, rather than punting to __opendirat.
12690         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
12692 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
12694         * .gitignore: Ignore generated *.pyc.
12696 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
12698         * include/stdio.h: Define __need_wint_t.
12699         * test-skeleton.c: Avoid `for' loop initial declaration.
12700         * nptl/tst-initializers1.c: Use test-skeleton.c.
12702 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12704         [BZ #18418]
12705         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
12707 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
12709         [BZ #16352]
12710         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
12711         (__ieee754_atanh): Force underflow exception for results with
12712         small absolute value.
12713         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
12714         (__ieee754_atanhf): Force underflow exception for results with
12715         small absolute value.
12716         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
12717         (__ieee754_atanh): Force underflow exception for results with
12718         small absolute value.
12719         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
12720         (__ieee754_atanhf): Force underflow exception for results with
12721         small absolute value.
12722         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
12723         (__ieee754_atanhl): Force underflow exception for results with
12724         small absolute value.
12725         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
12726         (__ieee754_atanhl): Force underflow exception for results with
12727         small absolute value.
12728         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
12729         (__ieee754_atanhl): Force underflow exception for results with
12730         small absolute value.
12731         * math/auto-libm-test-in: Do not allow missing underflow
12732         exceptions from atanh.
12733         * math/auto-libm-test-out: Regenerated.
12735         [BZ #18221]
12736         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
12737         2**-28 as threshold for returning x or +/- 1/x.
12738         * math/auto-libm-test-in: Add more tests of tan.
12739         * math/auto-libm-test-out: Regenerated.
12741         [BZ #18220]
12742         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
12743         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
12744         * math/auto-libm-test-in: Add another test of lgamma.
12745         * math/auto-libm-test-out: Regenerated.
12747 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
12749         * stdio-common/printf_fp.c (___printf_fp): Use abs.
12750         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
12751         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
12752         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
12753         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
12754         (ADD2A): Use fabs.  (SUB2A): Use fabs.
12755         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
12756         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
12757         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
12758         (log1): Use fabs.  (my_log2): Use fabs.
12759         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
12760         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
12761         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
12762         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
12763         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
12764         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
12765         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
12766         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
12767         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
12768         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
12769         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
12771 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
12773         [BZ #18217]
12774         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
12775         as threshold for returning 1 - x.
12776         * math/auto-libm-test-in: Add more tests of erfc.
12777         * math/auto-libm-test-out: Regenerated.
12779 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
12781         [BZ #18196]
12782         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
12783         threshold for large arguments.
12784         * math/auto-libm-test-in: Add another test of atan.
12785         * math/auto-libm-test-out: Regenerated.
12787         [BZ #16339]
12788         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
12789         (__log1p): Force underflow exception for results with small
12790         absolute value.
12791         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
12792         (__log1pf): Force underflow exception for results with small
12793         absolute value.
12794         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
12795         (__log1p): Force underflow exception for results with small
12796         absolute value.
12797         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
12798         (__log1pf): Force underflow exception for results with small
12799         absolute value.
12800         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
12801         (__log1pl): Force underflow exception for results with small
12802         absolute value.
12803         * math/auto-libm-test-in: Do not allow missing underflow
12804         exceptions from log1p.
12805         * math/auto-libm-test-out: Regenerated.
12807 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
12808             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12810         [BZ #16704]
12811         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
12813 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
12815         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
12816         (libmvec): New variable.
12817         * configure.ac: Added option for mathvec build.
12818         * configure: Regenerated.
12819         * mathvec/Depend: New file.
12820         * mathvec/Makefile: New file.
12821         * shlib-versions: Added libmvec.
12822         * math/Makefile: Added rule for libm.so installation.
12824         * bits/math-vector.h: New file.
12825         * bits/libm-simd-decl-stubs.h: New header.
12826         * math/Makefile (headers): Added new header
12827         libm-simd-decl-stubs.h.
12828         * math/math.h (__MATHCALL_VEC): New macro.
12830         * math/gen-libm-have-vector-test.sh: Script generates series of macros
12831         for conditions in testing functions.
12832         * math/Makefile: Added call of libm-have-vector-test.sh.
12833         * math/libm-test.inc (HAVE_VECTOR): New macros.
12835         * math/libm-test.inc: START refactored.
12836         * math/test-double.c (TEST_MATHVEC): Add define.
12837         * math/test-float.c: Likewise.
12838         * math/test-idouble.c: Likewise.
12839         * math/test-ifloat.c: Likewise.
12840         * math/test-ildoubl.c: Likewise.
12841         * math/test-ldouble.c: Likewise.
12842         * sysdeps/generic/math-tests-arch.h
12843         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
12844         architecture check.
12846         * math/test-double.c (FUNC_TEST): New macro.
12847         * math/test-float.c: Likewise.
12848         * math/test-idouble.c: Likewise.
12849         * math/test-ifloat.c: Likewise.
12850         * math/test-ildoubl.c: Likewise.
12851         * math/test-ldouble.c: Likewise.
12852         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
12854 2015-05-13  Roland McGrath  <roland@hack.frob.com>
12856         * sysdeps/nacl/fdopendir.c: New file.
12858         * dirent/scandir-tail.c: New file.
12859         * dirent/scandir64-tail.c: New file.
12860         * dirent/Makefile (routines): Add them.
12861         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
12862         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
12863         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
12864         [!SCANDIR] (SCANDIR_TAIL): New macro.
12865         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
12866         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
12867         (SCANDIRAT): Macro removed.
12868         (SCANDIR_TAIL): New macro.
12869         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
12870         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
12871         (SCANDIRAT): Just call __opendirat and __scandir_tail.
12872         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
12873         (READDIR): Macro removed.
12874         (SCANDIR_TAIL): New macro.
12875         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
12876         (SCANDIR_TAIL): New macro.
12878         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
12879         * dirent/scandir-cancel.c: ... to this new file.
12880         * dirent/Makefile (routines): Add it.
12881         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
12882         * sysdeps/unix/sysv/linux/i386/scandir64.c
12883         (SKIP_SCANDIR_CANCEL): Macro removed.
12884         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
12886         * dirent/tst-scandir.c: New file.
12887         * dirent/tst-scandir64.c: New file.
12888         * dirent/Makefile (tests): Add them.
12890 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
12892         [BZ #18409]
12893         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
12895 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
12897         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
12898         list.
12900 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
12902         * benchtests/bench-strcoll.c: New benchmark.
12903         * benchtests/Makefile: Generate locales and run benchmark.
12904         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
12905         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
12906         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
12907         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
12908         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
12909         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
12910         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
12911         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
12912         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
12913         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
12914         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
12915         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
12916         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
12917         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
12918         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
12919         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
12920         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
12921         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
12922         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
12923         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
12924         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
12925         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
12926         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
12927         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
12929 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
12931         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
12932         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
12934 2015-05-12  Roland McGrath  <roland@hack.frob.com>
12936         * posix/uname-values.h: New file.
12937         * posix/uname.c: Include that instead of <config-name.h>.
12938         * sysdeps/nacl/uname-values.h: New file.
12939         * sysdeps/arm/nacl/uname-values.h: New file.
12941 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
12943         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
12944         splitting into fields.
12946 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
12948         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
12949         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
12950         * locale/localeinfo.h: Add enum collation_encoding_type.
12951         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
12952         * programs/ld-collate.c (collate_output): Add encoding type info.
12953         * string/strcoll_l.c (STRDIFF): New function.
12954         * (STRCOLL): Use STRDIFF to skip over equal prefix.
12955         * wcsmbs/wcscoll_l.c: Define STRDIFF.
12957 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
12959         [BZ #18397]
12960         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
12961         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
12962         <fpu_control.h> instead of <math/fpu_control.c>.
12963         * sysdeps/mips/mips32/fpu/Makefile: New file.
12965 2015-05-11  Andreas Schwab  <schwab@suse.de>
12967         [BZ #18007]
12968         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
12969         nss_endgrent.
12970         (_nss_compat_endgrent): Call nss_endgrent.
12971         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
12972         nss_endpwent.
12973         (_nss_compat_endpwent): Call nss_endpwent.
12974         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
12975         needent, call nss_setspent only if non-zero.
12976         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
12977         (internal_endspent): Don't call nss_endspent.
12978         (_nss_compat_endspent): Call nss_endspent.
12979         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
12980         Remove.  All uses removed.
12981         (internal_setent): Remove parameter stayopen, add parameter
12982         stream.  Use it instead of global variable.
12983         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
12984         (internal_endent, internal_getent): Add parameter stream.  Use it
12985         instead of global variable.
12986         (CONCAT(_nss_files_end,ENTNAME))
12987         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
12988         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
12989         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
12990         uses removed.
12991         (internal_setent, internal_endent): Add parameter stream.  Use it
12992         instead of global variable.
12993         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
12994         stream.
12995         (get_next_alias): Add parameter stream.
12996         (_nss_files_getaliasent_r): Pass global stream.
12997         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
12998         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
12999         (_nss_files_gethostbyname4_r): Pass local stream to
13000         internal_setent, internal_getent and internal_endent.  Remove
13001         locking.
13003 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
13005         * tst-strfmon1.c (tests): Update expected currency symbol.
13007 2015-05-08  Roland McGrath  <roland@hack.frob.com>
13009         * sysdeps/nacl/gethostname.c: New file.
13011 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
13013         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
13014         and sinh.
13015         * math/auto-libm-test-out: Regenerated.
13016         * sysdeps/i386/fpu/libm-test-ulps: Update.
13017         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13019 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
13021         [BZ #18125]
13022         * stdlib/tst-setcontext3.c: New file.
13023         * stdlib/tst-setcontext3.sh: New file.
13024         * stdlib/Makefile (tests): Add tst-setcontext3.
13025         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
13026         to verify test program created output file.
13027         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
13028         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
13029         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
13030         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
13032 2015-05-06  Roland McGrath  <roland@hack.frob.com>
13034         [BZ #18383]
13035         * elf/tst-tlsalign.c: New file.
13036         * elf/tst-tlsalign-static.c: New file.
13037         * elf/tst-tlsalign-lib.c: New file.
13038         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
13039         (tests-static): Add tst-tlsalign-static.
13040         (modules-names): Add tst-tlsalign-lib.
13041         (test-xfail-tst-tlsalign): New variable.
13042         (test-xfail-tst-tlsalign-static): New variable.
13044         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
13045         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
13047 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
13049         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
13050         csqrt, erfc, sin and sincos.
13051         * math/auto-libm-test-out: Regenerated.
13052         * sysdeps/i386/fpu/libm-test-ulps: Update.
13053         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13055 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
13057         * sysdeps/aarch64/libm-test-ulps: Update.
13059 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
13061         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
13062         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
13063         * math/auto-libm-test-out: Regenerated.
13064         * sysdeps/i386/fpu/libm-test-ulps: Update.
13065         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13067 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
13069         [BZ #18265]
13070         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
13071         (wcsncpy): Likewise.
13073 2015-05-05  Florian Weimer  <fweimer@redhat.com>
13075         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
13076         Assume __ASSUME_FALLOCATE is always true.
13077         * sysdeps/unix/sysv/linux/posix_fallocate64.c
13078         (__posix_fallocate64_l64): Likweise.
13079         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
13080         (posix_fallocate): Likewise.
13081         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
13082         (__posix_fallocate64_l64): Likewise.
13083         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
13084         [!__ASSUME_FALLOCATE]: Add comment.
13086 2015-05-05  Florian Weimer  <fweimer@redhat.com>
13088         * sysdeps/unix/sysv/linux/i386/Makefile
13089         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
13090         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
13091         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
13092         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
13093         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
13094         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
13095         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
13097 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
13099         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
13100         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
13101         tgamma.
13102         * math/auto-libm-test-out: Regenerated.
13103         * sysdeps/i386/fpu/libm-test-ulps: Update.
13104         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13106 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
13108         * math/auto-libm-test-in: Add more tests of tgamma.
13109         * math/auto-libm-test-out: Regenerated.
13110         * sysdeps/i386/fpu/libm-test-ulps: Update.
13111         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13113         * math/auto-libm-test-in: Add more tests of tanh.
13114         * math/auto-libm-test-out: Regenerated.
13115         * sysdeps/i386/fpu/libm-test-ulps: Update.
13116         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13118         * math/auto-libm-test-in: Add more tests of tan.
13119         * math/auto-libm-test-out: Regenerated.
13120         * sysdeps/i386/fpu/libm-test-ulps: Update.
13121         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13123         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
13124         * math/auto-libm-test-out: Regenerated.
13125         * sysdeps/i386/fpu/libm-test-ulps: Update.
13126         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13128         * math/auto-libm-test-in: Add another test of pow.
13129         * math/auto-libm-test-out: Regenerated.
13130         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13132         * math/auto-libm-test-in: Add more tests of lgamma.
13133         * math/auto-libm-test-out: Regenerated.
13134         * sysdeps/i386/fpu/libm-test-ulps: Update.
13135         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13137         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
13138         log1p.
13139         * math/auto-libm-test-out: Regenerated.
13140         * sysdeps/i386/fpu/libm-test-ulps: Update.
13141         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13143 2015-05-01  Mark Wielaard  <mjw@redhat.com>
13145         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
13146         Elf64_Chdr structs and ELFCOMPRESS constants.
13148 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
13150         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
13151         expm1.
13152         * math/auto-libm-test-out: Regenerated.
13153         * sysdeps/i386/fpu/libm-test-ulps: Update.
13154         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13156         * math/auto-libm-test-in: Add more tests of erf and erfc.
13157         * math/auto-libm-test-out: Regenerated.
13158         * sysdeps/i386/fpu/libm-test-ulps: Update.
13159         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13161 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
13163         * config.h.in (HAVE_AARCH64_BE): Add.
13165 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
13167         * math/auto-libm-test-in: Add more tests of csqrt.
13168         * math/auto-libm-test-out: Regenerated.
13169         * sysdeps/i386/fpu/libm-test-ulps: Update.
13170         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13172         * math/auto-libm-test-in: Add more tests of cosh and sinh.
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         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
13179 2015-04-29  Roland McGrath  <roland@hack.frob.com>
13181         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
13182         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
13184         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
13185         (euidaccess, eaccess): Define as weak aliases.
13187         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
13188         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
13189         but __suseconds_t is often 'long int' so some sources assume that
13190         type is being used (e.g. they use %ld to print tv_usec).
13192 2015-04-29  Florian Weimer  <fweimer@redhat.com>
13194         [BZ #18007]
13195         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
13196         (CVE-2014-8121)
13197         * nss/tst-nss-getpwent.c: New file.
13198         * nss/Makefile (tests): Add new test.
13200 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
13202         [BZ #18346]
13203         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
13204         exponents less than 48 as cases where high part of mantissa needs
13205         examining to determine whether argument is integral.
13206         * math/libm-test.inc (round_test_data): Add more tests.
13208 2015-04-28  Mark Wielaard  <mjw@redhat.com>
13210         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
13212 2015-04-27  David S. Miller  <davem@davemloft.net>
13214         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
13215         __tls_get_addr.
13216         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
13218 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
13220         [BZ#18333]
13221         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
13223 2015-04-27  Florian Weimer  <fweimer@redhat.com>
13225         [BZ#18333]
13226         * time/tzset.c (parse_tzname): Return error on memory allocation
13227         failure.
13228         * test-skeleton.c (struct temp_name_list): Change type of name
13229         member to non-const.
13230         (add_temp_file): Create a copy of the file name.
13231         (delete_temp_files): Deallocate memory.
13232         (create_temp_file): Add comment.
13234 2015-04-24  Florian Weimer  <fweimer@redhat.com>
13236         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
13237         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
13239 2015-04-24  Roland McGrath  <roland@hack.frob.com>
13241         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
13242         * sysdeps/arm/configure: Regenerated.
13244 2015-04-24  Florian Weimer  <fweimer@redhat.com>
13246         [BZ #17715]
13247         * time/tzfile.c (__tzfile_read): Check for large values of
13248         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
13249         * time/tzset.c (__tzstring_len): New function, based on the old
13250         __tzstring function.
13251         (__tzstring): Call __tzstring_len.
13252         (parse_tzname): New helper function extracted from
13253         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
13254         the input string.
13255         (parse_offset): New helper function extracted from
13256         __tzset_parse_tz.  Replace switch with fallthrough with
13257         initialization before sscanf.
13258         (parse_rule): Likewise.
13259         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
13260         new-style function definition.
13261         * timezone/Makefile (tests): Add tst-tzset.
13262         (tst-tzset.out): Dependencies on time zone files.
13263         (tst-tzset-ENV): Set TZDIR.
13264         (testdata/XT%): Copy crafted time zone files.
13265         * timezone/README: Mention crafted time zone files.
13266         * timezone/testdata/XT1, timezone/testdata/XT2,
13267         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
13268         files.
13269         * timezone/tst-tzset.c: New test.
13271 2015-04-24  Florian Weimer  <fweimer@redhat.com>
13273         * Makeconfig (+gccwarn): Remove -Winline.
13275 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
13277         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
13279 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
13281         * NEWS: Mention sysconf() cache information support for s390.
13282         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
13284 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
13286         * math/k_casinh.c (__kernel_casinh): Use __copysign.
13287         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
13288         (__nearbyint): Likewise.
13289         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
13290         (copysignl): Likewise.
13292 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
13294         [BZ #18287]
13295         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
13296         based on padding.  (CVE-2015-1781)
13298 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13300         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
13301         libc-vdso.h.
13302         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
13303         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
13304         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
13305         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
13306         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
13307         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
13308         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
13309         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
13310         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
13311         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
13312         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
13313         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
13314         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
13315         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
13316         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
13317         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
13318         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
13319         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
13320         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
13321         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
13322         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
13323         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
13324         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
13326 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
13328         * stdlib/setenv.c (__add_to_environ):
13329         Dump core quickly if setenv (..., NULL, ...) is called.
13330         This time, do it the right way, and pacify GCC with a pragma.
13332 2015-04-17  Roland McGrath  <roland@hack.frob.com>
13334         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
13335         IMAP->l_prev cannot be null, and #if out the code for the contrary
13336         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
13337         believe that NS (&_dl_ns[NSID]) could point outside the array.
13339         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
13340         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
13341         before using NSID as an index.
13343 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
13345         [BZ #17825]
13346         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
13347         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
13348         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
13350 2015-04-17  Roland McGrath  <roland@hack.frob.com>
13352         Add preliminary port to Google Native Client on ARM.
13353         * abi-tags (.*-.*-nacl.*): New entry.
13354         * sysdeps/arm/nacl: New directory.
13355         * sysdeps/nacl: New directory.
13357 2015-04-16  David S. Miller  <davem@davemloft.net>
13359         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
13360         lowlevellock-futex.h
13362 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
13364         * sysdeps/tile/configure.ac: New file.
13365         * sysdeps/tile/configure: Regenerated.
13367 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13369         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
13370         conditionals for weak_alias and libc_hidden_weak.
13371         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
13372         libc_hidden_weak and weak_alias.
13373         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
13374         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
13375         and weak_alias for static one.
13377 2015-04-15  David S. Miller  <davem@davemloft.net>
13379         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
13381 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
13383         [BZ #18206]
13384         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
13385           Use signed comparision instead of substraction to avoid
13386           overflow bug.
13387         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
13388           Take the sign of ret.
13389         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
13390           Do not expect precise return values. Only the sign matters.
13391         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
13392         * wcsmbs/test-wcsncmp.c: New File.
13393         * string/test-strncmp.c: Add wcsncmp support.
13395 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
13397         [BZ #6792]
13398         * math/w_log1p.c: New file.
13399         * math/w_log1pf.c: Likewise.
13400         * math/w_log1pl.c: Likewise.
13401         * math/Makefile (libm-calls): Add w_log1p.
13402         * math/s_log1pl.c (log1pl): Remove weak_alias.
13403         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
13404         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
13405         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
13406         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
13407         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
13408         [NO_LONG_DOUBLE] (log1pl): Likewise.
13409         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
13410         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
13411         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
13412         (log1p): Remove long_double_symbol.
13413         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
13414         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
13415         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
13416         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
13417         remove weak_alias for corresponding log1p function.
13418         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
13419         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
13420         * sysdeps/ia64/fpu/w_log1p.c: New file.
13421         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
13422         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
13423         * math/libm-test.inc (log1p_test_data): Add errno expectations.
13425 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
13427         [BZ #18247]
13428         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
13429         decimal exponent by 1.
13430         * stdlib/tst-strtod-round-data: Add more tests.
13431         * stdlib/tst-strtod-round.c (tests): Regenerated.
13433 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
13435         * math/auto-libm-test-in: Add more tests of clog and clog10.
13436         * math/auto-libm-test-out: Regenerated.
13437         * sysdeps/i386/fpu/libm-test-ulps: Update.
13438         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13440 2015-04-09  Roland McGrath  <roland@hack.frob.com>
13442         * Makeconfig (module-cppflags): Exclude all .v.i files.
13443         (skip-module-cppflags): Variable removed.
13445         * configure.ac (libc_config_ok): Initialize before reading
13446         preconfigure scripts, not after.
13447         * configure: Regenerated.
13449         * test-skeleton.c (TIMEOUT): Move #define to top level.
13450         (main): Grok environment variable TEST_DIRECT.  If set, print
13451         test expectation details into that file and then behave as if
13452         given --direct.
13454 2015-04-09  Florian Weimer  <fweimer@redhat.com>
13456         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
13457         warning on 32-bit.
13459 2015-04-08  David S. Miller  <davem@davemloft.net>
13461         * sysdeps/sparc/fpu/libm-test-ulps: Update.
13463 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
13465         * math/auto-libm-test-in: Add more tests of atanh.
13466         * math/auto-libm-test-out: Regenerated.
13467         * sysdeps/i386/fpu/libm-test-ulps: Update.
13468         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13470         * math/auto-libm-test-in: Add more tests of atan.
13471         * math/auto-libm-test-out: Regenerated.
13472         * sysdeps/i386/fpu/libm-test-ulps: Update.
13473         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13475 2015-04-08  Florian Weimer  <fweimer@redhat.com>
13477         * elf/pldd.c (main): Rewrite to use struct
13478         scratch_buffer instead of extend_alloca.
13479         * elf/pldd-xx.c (find_maps): Likewise.
13480         * grp/initgroups.c: Include <scratch_buffer.h> instead of
13481         <alloca.h>.
13482         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
13483         scratch_buffer instead of extend_alloca.
13484         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
13485         grp/compat-initgroups.c.
13486         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
13487         Rewrite to use struct scratch_buffer instead of extend_alloca.
13488         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
13489         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
13491 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
13493         * math/auto-libm-test-in: Add more tests of cbrt.
13494         * math/auto-libm-test-out: Regenerated.
13495         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13497         * math/auto-libm-test-in: Add more tests of cabs.
13498         * math/auto-libm-test-out: Regenerated.
13499         * sysdeps/i386/fpu/libm-test-ulps: Update.
13500         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13502         [BZ #18210]
13503         [BZ #18211]
13504         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
13505         (__ieee754_atan2): Set FE_TONEAREST mode for internal
13506         computations.
13507         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
13508         clog10.
13509         * math/auto-libm-test-out: Regenerated.
13510         * sysdeps/i386/fpu/libm-test-ulps: Update.
13511         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13513         [BZ #18197]
13514         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
13515         (atan): Set FE_TONEAREST mode for internal computations.
13516         * math/auto-libm-test-in: Add more tests of atan.
13517         * math/auto-libm-test-out: Regenerated.
13519 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
13521         [BZ #17930]
13522         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
13524 2015-04-07  Florian Weimer  <fweimer@redhat.com>
13526         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
13528 2015-04-07  Florian Weimer  <fweimer@redhat.com>
13530         * include/scratch_buffer.h: New file.
13531         * malloc/scratch_buffer_grow.c: Likewise.
13532         * malloc/scratch_buffer_grow_preserve.c: Likewise.
13533         * malloc/scratch_buffer_set_array_size.c: Likewise.
13534         * malloc/tst-scratch_buffer.c: Likewise.
13535         * malloc/Makefile (routines): Add scratch_buffer_grow.
13536         (tests): Add test case.
13537         * malloc/Versions (GLIBC_PRIVATE): Export
13538         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
13539         __libc_scratch_buffer_set_array_size.
13541 2015-04-06  Richard Henderson  <rth@redhat.com>
13543         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
13544         * sysdeps/alpha/fpu/libm-test-ulps: Update.
13546         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
13547         unsigned int before printing.
13549 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
13551         [BZ #17596]
13552         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
13553         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
13555 2015-04-02  Florian Weimer  <fweimer@redhat.com>
13557         * include/libc-internal.h (libc_max_align_t): Define.
13559 2015-04-02  Andreas Schwab  <schwab@suse.de>
13561         [BZ #16850]
13562         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
13564 2015-04-02  Mel Gorman  <mgorman@suse.de>
13566         [BZ #17195]
13567         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
13568         as well as the main arena.
13570 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
13572         [BZ #18185]
13573         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
13574         sharing L2 cache to 2 for Silvermont/Knights Landing.
13576 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
13578         [BZ #17711]
13579         * config.make.in (have-protected-data): New.
13580         * configure.ac: Check linker support for protected data symbol.
13581         * configure: Regenerated.
13582         * elf/Makefile (modules-names): Add tst-protected1moda and
13583         tst-protected1modb if $(have-protected-data) is yes.
13584         (tests): Add tst-protected1a and tst-protected1b if
13585         $(have-protected-data) is yes.
13586         ($(objpfx)tst-protected1a): New.
13587         ($(objpfx)tst-protected1b): Likewise.
13588         (tst-protected1modb.so-no-z-defs): Likewise.
13589         * elf/tst-protected1a.c: New file.
13590         * elf/tst-protected1b.c: Likewise.
13591         * elf/tst-protected1mod.h: Likewise.
13592         * elf/tst-protected1moda.c: Likewise.
13593         * elf/tst-protected1modb.c: Likewise.
13595 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
13597         [BZ #17711]
13598         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
13599         indicates it is called from do_lookup_x on relocation against
13600         protected data, skip the data definion in the executable from
13601         copy reloc.
13602         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
13603         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
13604         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
13605         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
13606         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
13607         otherwise to 0.
13608         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
13609         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
13610         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
13611         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
13612         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
13613         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
13615 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
13617         * sysdeps/nptl/pthread.h: Remove duplicate definition of
13618         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
13620 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
13622         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
13623         THREAD_SETMEM_NC.
13624         * sysdeps/x86_64/nptl/tls.h: Ditto.
13626 2015-03-27  Roland McGrath  <roland@hack.frob.com>
13628         * dlfcn/tststatic.c (main): Converted to ...
13629         (do_test): ... this.
13630         (TEST_FUNCTION): New macro.
13631         Include test-skeleton.c.
13633 2015-03-26  Alan Modra  <amodra@gmail.com>
13635         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
13636         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
13637         zero for undefined weak.
13638         (elf_machine_plt_conflict): Similarly.
13640 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
13642         * math/auto-libm-test-in: Add more tests of acosh, asinh and
13643         atanh.
13644         * math/auto-libm-test-out: Regenerated.
13645         * sysdeps/i386/fpu/libm-test-ulps: Update.
13646         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13648         * math/auto-libm-test-in: Add another test of asin.
13649         * math/auto-libm-test-out: Regenerated.
13650         * sysdeps/i386/fpu/libm-test-ulps: Update.
13651         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13653         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
13654         Remove macro.
13655         (LLL_EBX_REG): Likewise.
13656         (LLL_ENTER_KERNEL): Likewise.
13658         * math/auto-libm-test-in: Add more tests of asin.
13659         * math/auto-libm-test-out: Regenerated.
13660         * sysdeps/i386/fpu/libm-test-ulps: Update.
13661         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13663         [BZ #18138]
13664         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
13665         libc_do_syscall_args): New structure.
13666         (INTERNAL_SYSCALL_MAIN_0): New macro.
13667         (INTERNAL_SYSCALL_MAIN_1): Likewise.
13668         (INTERNAL_SYSCALL_MAIN_2): Likewise.
13669         (INTERNAL_SYSCALL_MAIN_3): Likewise.
13670         (INTERNAL_SYSCALL_MAIN_4): Likewise.
13671         (INTERNAL_SYSCALL_MAIN_5): Likewise.
13672         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
13673         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
13674         Replace conditional definitions by conditional definitions of ....
13675         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
13676         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
13677         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
13678         (libpthread-sysdep_routines): Add libc-do-syscall.
13679         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
13680         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
13681         to __NR_futex not 240.
13683 2015-03-25  Alan Modra  <amodra@gmail.com>
13685         * NEWS: Advertise TLS optimization.
13686         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
13687         (DT_PPC_NUM): Increment.
13688         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
13689         (CHECK_STATIC_TLS): Use here.
13690         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
13691         TLS descriptors.
13692         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
13693         * sysdeps/powerpc/dl-tls.c: New file.
13694         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
13695         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
13696         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
13697         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
13698         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
13699         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
13700         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
13702 2015-03-25  Alan Modra  <amodra@gmail.com>
13704         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
13705         for overlapping .opd entries" to "support...".
13706         * sysdeps/powerpc/powerpc64/configure: Regenerate
13708 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
13710         * math/auto-libm-test-in: Add more tests of acos.
13711         * math/auto-libm-test-out: Regenerated.
13712         * sysdeps/i386/fpu/libm-test-ulps: Update.
13713         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13715         * math/auto-libm-test-in: Add more tests of expm1.
13716         * math/auto-libm-test-out: Regenerated.
13717         * sysdeps/i386/fpu/libm-test-ulps: Update.
13718         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13720 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
13722         * math/auto-libm-test-in: Add more tests of cosh and sinh.
13723         * math/auto-libm-test-out: Regenerated.
13724         * sysdeps/i386/fpu/libm-test-ulps: Update.
13725         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13727         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
13728         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13730         * math/auto-libm-test-in: Add more tests of log2.
13731         * math/auto-libm-test-out: Regenerated.
13732         * sysdeps/i386/fpu/libm-test-ulps: Update.
13733         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13735 2015-03-23  Roland McGrath  <roland@hack.frob.com>
13737         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
13738         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
13739         _IO_IS_APPENDING bit in READ_WRITE instead.
13741 2015-03-23  Florian Weimer  <fweimer@redhat.com>
13743         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
13744         (__determine_cpumask_size): Replace extend_alloca with a
13745         variable-length array.  Do not treat res == 0 as an error.
13747 2015-03-23  Florian Weimer  <fweimer@redhat.com>
13749         [BZ #18100]
13750         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
13751         and integer overflow.
13752         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
13753         (main): Add integer overflow tests.
13754         * manual/pattern.texi (Calling Wordexp): Document additional use
13755         for WRDE_SYNTAX.
13757 2015-03-23  Alan Modra  <amodra@gmail.com>
13759         * config.h.in: Remove HAVE_ASM_PPC_REL16.
13760         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
13761         and false branch of conditional.
13762         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
13763         Likewise.
13765 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
13767         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
13768         libc-modules.h
13769         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
13770         unused declaration of _hurd_intr_rpc_msg_in_trap.
13771         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
13772         defined instead of whether it is non-zero.
13773         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
13774         input constraint instead of both input and output constraint.  Use ecx
13775         clobber instead of %ecx.
13776         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
13777         mutex_unlock): Use a statement expression instead of an expression list.
13778         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
13779         type to vm_size_t instead of vm_address_t.
13780         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
13781         defined instead of whether it is non-zero.
13782         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
13783         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
13784         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
13785         comparisons with mapaddr.
13786         * nscd/nscd-client.h: Include <time.h>.
13787         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
13788         9th parameter to __vm_region instead of int.
13789         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
13790         * scripts/check-local-headers.sh (exclude): Add device/,
13791         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
13792         cthreads.h.
13794 2015-03-19  Roland McGrath  <roland@hack.frob.com>
13796         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
13797         to account for alignment padding.
13798         * sysdeps/arm/memmove.S: Likewise.
13800 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
13802         * sysdeps/unix/sysv/linux/generic/README: New file.
13804 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
13806         [BZ #18138]
13807         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
13808         (futex_abstimed_wait)
13809         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
13810         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
13811         of lll_futex_timed_wait.
13813 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
13815         [BZ #17542]
13816         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
13818 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
13820         [BZ #17090]
13821         [BZ #17620]
13822         [BZ #17621]
13823         [BZ #17628]
13824         * NEWS: Update.
13825         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
13826         entries with Static TLS too.  Skip entries past the end of the
13827         allocated DTV, from Alan Modra.
13828         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
13829         Static TLS DTV entry set up from...
13830         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
13831         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
13832         * nptl/allocatestack.c (init_one_static_tls): ... and here...
13833         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
13834         for Static TLS.
13835         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
13836         that the slot we find is associated with the given map before
13837         using its generation count.
13838         * nptl_db/db_info.c: Include ldsodefs.h.
13839         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
13840         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
13841         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
13842         (link_map::l_tls_offset): New struct field.
13843         (dtv_t::counter): Likewise.
13844         (rtld_global): New struct.
13845         (_rtld_global): New rtld variable.
13846         (dl_tls_dtv_slotinfo_list): New rtld global field.
13847         (dtv_slotinfo_list): New struct.
13848         (dtv_slotinfo): Likewise.
13849         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
13850         (td_lookup): Rename to...
13851         (td_mod_lookup): ... this.  Use new mod parameter instead of
13852         LIBPTHREAD_SO.
13853         * nptl_db/td_thr_tlsbase.c: Include link.h.
13854         (dtv_slotinfo_list, dtv_slotinfo): New functions.
13855         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
13856         addresses even if the DTV is out of date or missing them.
13857         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
13858         index zero-length arrays.
13859         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
13860         (td_lookup): Make it a macro implemented in terms of...
13861         (td_mod_lookup): ... this declaration.
13862         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
13863         (DB_MAIN_VARIABLE): Likewise.
13865 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
13867         [BZ #18134]
13868         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
13870 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
13872         * stdlib/setenv.c (__add_to_environ): Revert previous change.
13874 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
13876         [BZ #18128]
13877         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
13878         (atomic_add, atomic_increment_and_test)
13879         (atomic_decrement_and_test): Fix 64-bit arithmetic.
13881 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
13883         * stdlib/setenv.c (__add_to_environ):
13884         Dump core quickly if setenv (..., NULL, ...) is called.
13886 2015-03-13  Roland McGrath  <roland@hack.frob.com>
13888         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
13889         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
13890         all the necessary asm magic in one place.
13891         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
13892         using those.
13894 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
13896         [BZ #14906]
13897         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
13898         traced file mtime. Use consistent log message.
13899         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
13900         (register_traced_file): Call install_watches. Always set mtime.
13901         (invalidate_cache): Iterate over all trace files. Call install_watches.
13902         (inotify_check_files): Don't inline. Handle watching parent
13903         directories and configuration file movement in and out.
13904         (handle_inotify_events): New function.
13905         (main_loop_poll): Call handle_inotify_events.
13906         (main_loop_epoll): Likewise.
13907         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
13908         (struct traced_file): Use array of inotify fds. Add parent directory,
13909         and basename.
13910         (struct database_dyn): Remove unused file_mtime.
13911         (init_traced_file): New inline function.
13912         (define_traced_file): New macro.
13913         * nss/nss_db/db-init.c: Use define_traced_file.
13914         (_nss_db_init): Use init_traced_file.
13915         * nss/nss_files/files-init.c: Use define_traced_file.
13916         (_nss_files_init): Use init_traced_file.
13918 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
13920         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
13921         [_LIBC]: Do not include <stdlib.h>.
13922         [!_LIBC] (abort): Remove declaration.
13923         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
13924         _FP_STATIC_ASSERT instead of conditionally calling abort.
13925         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
13926         (_FP_EXTEND_CNAN): Likewise.
13927         (FP_TRUNC): Likewise.
13928         (__FP_CLZ): Likewise.
13929         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
13931 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
13933         * manual/string.texi (XPG basename): Fix prototype.
13935 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
13937         [BZ #18080]
13938         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
13939         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
13940         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
13941         (__setcontext): Likewise.
13942         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
13943         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
13944         Call rt_sigprocmask syscall one time to set new signal mask
13945         and retrieve the current signal mask instead of two calls.
13946         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
13947         (__swapcontext): Likewise.
13948         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
13949         * stdlib/tst-setcontext2.c: New file.
13951 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
13953         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
13955 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
13957         [BZ #18093]
13958         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
13959         the wrong size.
13961 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
13963         [BZ #18043]
13964         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
13966 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
13968         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
13969         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
13970         Remove define.
13971         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
13972         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
13973         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
13974         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
13975         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
13976         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
13977         define.
13978         * nptl_db/td_symbol_list.c (td_lookup): Remove
13979         HAVE_ASM_GLOBAL_DOT_NAME code.
13980         * sysdeps/powerpc/powerpc64/configure.ac: Remove
13981         HAVE_ASM_GLOBAL_DOT_NAME check.
13982         * sysdeps/powerpc/powerpc64/configure: Regenerate.
13983         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
13984         (DOT_LABEL): Remove define.
13985         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
13986         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
13987         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
13988         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
13989         (__TLS_GET_ADDR): Likewise.
13990         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
13991         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
13993 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
13995         [BZ #18111]
13996         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
13997         (_FPU_SETCW): Initialize cw from fpsr before storing.
13998         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
13999         (fesetexceptflag): Rewrite using fpu_control.h.
14000         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
14002 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
14004         [BZ #18110]
14005         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
14006         asms.
14007         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
14009 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
14011         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
14012         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
14013         abort.
14014         (_FP_FMA): Likewise.
14015         (_FP_DIV): Likewise.
14017 2015-03-10  Roland McGrath  <roland@hack.frob.com>
14019         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
14020         with 0 in that case.
14021         * Makefile (summarize-tests): New canned sequence, factored out of
14022         commands for targets tests and xtests.  Display summary lines that
14023         don't start with PASS: or XFAIL: rather than ones that do start with
14024         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
14025         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
14026         do start with ERROR: or FAIL:.
14027         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
14028         (except for [$(build-shared) = yes]).
14029         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
14030         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
14031         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
14032         * nptl/Makefile: Revert 2015-03-04 changes.
14033         [$(CXX) empty] (tests-unsupported): New variable.
14034         * debug/Makefile: Likewise.
14036         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
14037         gnulib file.  Replace __attribute with __attribute__ throughout.
14039 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
14041         * sysdeps/hppa/fpu/libm-test-ulps: Update.
14043 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
14045         [BZ #18104]
14046         * math/auto-libm-test-in: Add another test of pow.
14047         * math/auto-libm-test-out: Regenerated.
14049 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14051         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
14052         $(config-cflags-nofma).
14054 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
14056         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
14057         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
14058         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
14059         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
14060         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
14061         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
14062         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
14063         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
14064         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
14065         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
14066         Add comment on closing #endif.
14068 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
14070         * posix/wordexp.c (CHAR_IN_SET): New macro.
14071         (parse_param): Use it.
14073 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14075         * sysdeps/powerpc/fpu/libm-test-ulps: update.
14077 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
14079         [BZ #18043]
14080         * posix/wordexp.c (parse_param): Fix buffer overflow.
14081         * posix/wordexp-test.c (test_case): Add test case.
14083 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
14085         [BZ #18042]
14086         * posix/wordexp.c (parse_backtick): Fix off-by-one.
14087         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
14089 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
14091         [BZ #18043]
14092         * posix/wordexp-test.c (test_case): Add test for BZ #18043
14093         (do_bz18043): Delete.
14094         (at_page_end): New.
14095         (testit): Refactor to have words at the edge of unreadable page.
14097 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
14099         [BZ #16734]
14100         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
14101         Cleanup read-only streams as well.
14102         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
14104 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14106         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
14107         <bits/libc-lockP.h>
14109 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
14111         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
14112         on [__KERNEL__].
14113         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
14114         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
14115         * soft-fp/op-common.h (_FP_DECL): Likewise.
14117 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
14119         * elf/ifuncdep2.c (global): Replace
14120         __attribute__((visibility("protected"))) with
14121         asm (".protected global").
14122         * elf/ifuncmod1.c (global): Likewise.
14123         * elf/ifuncmod5.c (global): Likewise.
14125 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
14127         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
14128         <asm/sfp-machine.h> instead of <sfp-machine.h>.
14130 2015-03-06  Roland McGrath  <roland@hack.frob.com>
14132         * manual/install.texi (Configuring and compiling):
14133         Document test-wrapper-env-only.
14134         * INSTALL: Regenerated.
14136 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
14138         [BZ #18043]
14139         * posix/wordexp.c (parse_param): Fix buffer overflow.
14140         * posix/wordexp-test.c (do_bz18043): Add test case.
14142 2015-03-06  Vincent Bernat  <vincent@bernat.im>
14144         * time/tst-strptime2.c (do_test): Ensure failing tests are
14145         reported correctly.
14146         * time/tst-strptime3.c (do_test): Likewise.
14148 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
14150         Fix aio_error thread-safety.
14151         * sysdeps/pthread/aio_error.c: New file
14152         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
14153         synchronization.
14155 2015-03-06  Florian Weimer  <fweimer@redhat.com>
14157         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
14158         (group_number, vfprintf): Use it.
14159         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
14160         (JUMP, REF): Use it.
14161         (WORK_BUFFER_SIZE): New enum constant.
14162         (process_arg, vfprintf): Use it.
14164 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
14166         * manual/errno.texi (Error Messages): Complete example function
14167         by adding missing #define.
14168         (program_invocation_name): Add statement indicating GNU
14169         extension and reference which header file declares the variable.
14170         (program_invocation_short_name): Likewise.
14172 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
14174         * manual/errno.texi (Error Messages): Delete strerror ISO C89
14175         compatibility note.
14177 2015-03-05  Roland McGrath  <roland@hack.frob.com>
14179         * Makeconfig (test-wrapper-env-only): New variable.
14180         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
14181         then use that with $(test-wrapper-env-only) rather than using
14182         $(test-wrapper-env) $(run-program-env) $($*-ENV).
14184 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
14186         [BZ #18082]
14187         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
14188         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
14189         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
14190         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
14191         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
14192         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
14193         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
14194         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
14195         Likewise.
14196         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
14197         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
14198         Likewise.
14199         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
14200         Likewise.
14201         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
14202         Likewise.
14203         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
14204         Likewise.
14205         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
14206         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
14207         Likewise.
14208         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
14209         Likewise.
14210         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
14211         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
14213 2015-03-04  Roland McGrath  <roland@hack.frob.com>
14215         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
14216         (ETH_ALEN): New macro.
14217         (struct ether_addr): Use it for length of ether_addr_octet.
14219         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
14220         (setdb): Don't call __nss_configure_lookup for "rpc".
14221         (do_test): Don't call test_rpc.
14222         (output_rpcent, test_rpc): Functions moved ...
14223         * sunrpc/test-rpcent.c: ... to this new file.
14224         * sunrpc/Makefile (tests): Add it.
14226         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
14227         __xpg_sigpause.
14228         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
14229         * nptl/tst-signal6.c: Likewise.
14230         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
14231         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
14233         * configure.ac (libc_cv_cxx_link_ok): New check.
14234         Reset CXX to empty if it fails to link.
14235         * configure: Regenerated.
14236         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
14237         bug-atexit3-lib only if $(CXX) is nonempty.
14238         * nptl/Makefile (tests): Likewise for tst-cancel24.
14239         (tests, tests-static): Likewise for tst-cancel24-static.
14240         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
14241         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
14242         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
14243         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
14245 2015-03-04  Andreas Schwab  <schwab@suse.de>
14247         [BZ #17631]
14248         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
14249         for non-GCC compilers.
14250         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
14251         Likewise.
14253 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
14255         [BZ #17776]
14256         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
14257         integer before bitwise and assembly operations.
14258         (feclearexcept): Likewise.
14259         * math/test-fenvinline.c: New file.
14260         * math/Makefile: Add test-fenvinline test.
14262 2015-03-03  Alan Modra  <amodra@gmail.com>
14264         [BZ #16512]
14265         * scripts/localplt.awk: Strip off symbol version.
14266         * NEWS: Mention bug fix.
14268 2015-03-02  Roland McGrath  <roland@hack.frob.com>
14270         * sysdeps/pthread/timer_routines.c
14271         (timer_free_list, thread_free_list, thread_active_list): Make static.
14273 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
14275         [BZ #17779]
14276         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
14277         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
14278         Undefine.
14279         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14280         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
14281         Likewise.
14282         * sysdeps/unix/sysv/linux/sh/kernel-features.h
14283         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
14284         Likewise.
14286 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
14288         [BZ #18036]
14289         * posix/fnmatch_loop.c (END): Detect invalid pattern.
14290         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
14292 2015-03-02  Andreas Schwab  <schwab@suse.de>
14294         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
14295         variable name.
14297 2015-03-02  Florian Weimer  <fweimer@redhat.com>
14299         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
14300         Return error status.
14302 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
14304         [BZ #15969]
14305         * locale/findlocale.c (_nl_find_locale): Introduce const
14306         version of loc_name and drop unsafe type casts.
14308 2015-02-27  Roland McGrath  <roland@hack.frob.com>
14310         * dlfcn/tststatic2.c (main): Converted to ...
14311         (do_test): ... this.
14312         (TEST_FUNCTION): New macro.
14313         Include test-skeleton.c.
14315 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
14317         [BZ #17711]
14318         * elf/Makefile (tests): Add vismain only if PIE is enabled.
14319         (tests-pie): Add vismain.
14320         (CFLAGS-vismain.c): New.
14321         * elf/vismain.c: Add comments for PIE requirement.
14323 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
14325         [BZ #18046]
14326         [BZ #18047]
14327         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
14328         0x1p-56L as threshold for just returning the argument.
14329         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
14330         0x1p-32L as threshold for just returning the argument.
14331         * math/auto-libm-test-in: Add more tests of atanh.
14332         * math/auto-libm-test-out: Regenerated.
14333         * sysdeps/i386/fpu/libm-test-ulps: Update.
14334         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
14336 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
14338         * string/bcopy.c (bcopy): Call memmove for performance.
14340 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
14342         * string/bzero.c (__bzero): Call memset for performance.
14344 2015-02-27  John David Anglin  <dave.anglin@bell.net>
14346         [BZ #18068]
14347         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
14348         to 00100000.
14350 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
14352         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
14354 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
14356         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
14357         (__kernel_standard): Use CSTR macro when setting exc.name.
14358         * sysdeps/ieee754/Makefile [$(subdir) = math]
14359         (CFLAGS-k_standard.c): Remove variable.
14361         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
14362         setting p and q from "else if" to "else".
14363         (qzero): Likewise.
14364         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
14365         (qone): Likewise.
14366         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
14367         (qzerof): Likewise.
14368         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
14369         (qonef): Likewise.
14370         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
14371         (qzero): Likewise.
14372         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
14373         (qone): Likewise.
14375         [BZ #18038]
14376         [BZ #18039]
14377         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
14378         return pi/2 for arguments below 0x1p-113L.
14379         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
14380         return pi/2 for arguments below 0x1p-106L.
14381         * math/auto-libm-test-in: Add more tests of acos.
14382         * math/auto-libm-test-out: Regenerated.
14384         [BZ #16351]
14385         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
14386         (MO): New macro.
14387         (__ieee754_asin): Force underflow exception for results with small
14388         absolute value.
14389         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
14390         (MO): New macro.
14391         (__ieee754_asinf): Force underflow exception for results with
14392         small absolute value.
14393         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
14394         (__ieee754_asin): Force underflow exception for results with small
14395         absolute value.
14396         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
14397         (__ieee754_asinf): Force underflow exception for results with
14398         small absolute value.
14399         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
14400         (__ieee754_asinl): Force underflow exception for results with
14401         small absolute value.
14402         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
14403         (__ieee754_asinl): Force underflow exception for results with
14404         small absolute value.
14405         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
14406         (__ieee754_asinl): Force underflow exception for results with
14407         small absolute value.
14408         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
14409         Include <math.h>.
14410         * math/auto-libm-test-in: Do not mark underflow exceptions as
14411         possibly missing for bug 16351.
14412         * math/auto-libm-test-out: Regenerated.
14414         [BZ #18030]
14415         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
14416         of power of 2 down when low part has opposite sign.
14417         * math/libm-test.inc (logb_test_data): Add more tests.
14419 2015-02-26  Andreas Schwab  <schwab@suse.de>
14421         [BZ #18032]
14422         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
14423         over collating symbol inside a bracket expression.  Minor cleanup.
14424         * posix/tst-fnmatch3.c (do_test): Add test case.
14426 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
14428         [BZ #18029]
14429         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
14430         Adjust exponent of power of 2 down when low part has opposite
14431         sign.
14432         * math/libm-test.inc (ilogb_test_data): Add more tests.
14434 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
14436         [BZ #15969]
14437         * locale/findlocale.c (_nl_find_locale): Fix constness error in
14438         the previous change.
14440         [BZ #15969]
14441         * locale/findlocale.c (_nl_find_locale): Retry archive search
14442         after alias expansion.
14444 2015-02-25  Roland McGrath  <roland@hack.frob.com>
14446         * iconv/tst-iconv3.c (main): Converted to ...
14447         (do_test): ... this.
14448         (TEST_FUNCTION): New macro.
14449         Include test-skeleton.c.
14451         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
14452         (convert): Make function static.
14453         (test_unalign): Likewise.  Add const to argument pointee types.
14454         (main): Replace with static function do_test.
14455         Print "Succeeded." only if RET is zero.
14456         (TEST_FUNCTION): New macro.
14457         Include test-skeleton.c.
14459         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
14460         returns a null pointer.
14462 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14464         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
14465         to __memcpy_ppc only for static builds.
14467 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
14469         [BZ #18020]
14470         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
14471         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
14472         * math/auto-libm-test-in: Add more tests of asinh.
14473         * math/auto-libm-test-out: Regenerated.
14474         * sysdeps/i386/fpu/libm-test-ulps: Update.
14475         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14477 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
14479         [BZ #15850]
14480         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
14481         and ip6_mtuinfo definitions here.
14482         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
14483         in this define too.  Update comment.
14485 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
14487         * elf/sprof.c (load_shobj): Tweak error message to match others.
14489 2015-02-24  Kevin Easton  <kevin@guarana.org>
14491         [BZ #16145] (partial fix)
14492         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
14493         to reduce lock contention.
14495 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
14497         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
14498         (struct timex): Update time comment.
14499         (ADJ_SETOFFSET): Define.
14501 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
14503         [BZ #18019]
14504         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
14505         2**56 not 2**28 as threshold for log (2x) formula.
14506         * math/auto-libm-test-in: Add more tests of acosh.
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-24  Mike Frysinger  <vapier@gentoo.org>
14513         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
14514         parenthesis around the buf assignment.
14515         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
14517 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
14519         [BZ #16783]
14520         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
14521         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
14522         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
14523         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
14524         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
14525         * math/libm-test.inc (scalb_test_data): Add more tests.
14527 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
14529         [BZ #17916]
14530         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
14531         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
14533 2015-02-24  Eric Rannaud  <e@nanocritical.com>
14535         [BZ #17523]
14536         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
14537         * io/bits/fcntl2.h (open): Use it.
14538         (openat): Likewise.
14539         * io/open.c (__libc_open): Likewise.
14540         * io/open64.c (__libc_open64): Likewise.
14541         * io/open64_2.c (__open64_2): Likewise.
14542         * io/open_2.c (__open_2): Likewise.
14543         * io/openat.c (__openat): Likewise.
14544         * io/openat64.c (__openat64): Likewise.
14545         * io/openat64_2.c (__openat64_2): Likewise.
14546         * io/openat_2.c (__openat_2): Likewise.
14547         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
14548         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
14549         * sysdeps/posix/open64.c (__libc_open64): Likewise.
14550         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
14551         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
14552         (__open_nocancel): Likewise.
14553         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
14554         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
14555         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
14557 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
14559         [BZ #14841]
14560         * resolv/gethnamaddr.c (getanswer): Skip logging if
14561         RES_USE_DNSSEC is set.
14562         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
14564 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
14566         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
14568 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
14570         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
14571         201304L, for Unicode 7.
14573 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
14575         [BZ #17836]
14576         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
14577         shared library.  Add gmon-start.os otherwise.
14578         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
14579         $(objpfx)gmon-start.os if builing shared library.
14580         ($(objpfx)g$(static-start-installed-name)): Likewise.
14582 2015-02-23  Andreas Schwab  <schwab@suse.de>
14584         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
14586 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
14588         [BZ #17269]
14589         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
14590         (enlarge_userbuf): Likewise.
14592 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
14594         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
14595         * math/atest-exp.c (TIMEOUT): Adjust to 200.
14596         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
14597         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
14599 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
14601         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
14602         expression inside statement expression.
14604 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
14606         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
14607         <sysdeps/nptl/lowlevellock.h> and remove macros and
14608         functions that are now defined there.
14609         (SYS_futex): Remove.
14610         (lll_compare_and_swap): Remove.
14611         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
14613 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
14615         [BZ #17999]
14616         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
14617         instead of scandirat.
14618         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
14619         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
14620         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
14621         __scandirat.
14622         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
14623         (__scandirat): Declare.  Use libc_hidden_proto.
14624         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
14625         Remove variable.
14626         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
14628 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
14630         [BZ #15319]
14631         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
14632         (MO): New macro.
14633         (__ieee754_atan2): For results with small absolute value, force
14634         underflow exception and remove excess range and precision from
14635         return value.
14636         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
14637         (MO): New macro.
14638         (__ieee754_atan2f): For results with small absolute value, force
14639         underflow exception and remove excess range and precision from
14640         return value.
14641         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
14642         (MO): New macro.
14643         (__atan): For results with small absolute value, force underflow
14644         exception and remove excess range and precision from return value.
14645         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
14646         (MO): New macro.
14647         (__atanf): For results with small absolute value, force underflow
14648         exception and remove excess range and precision from return value.
14649         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
14650         <math.h>.
14651         (__ieee754_atan2): Force underflow exception for results with
14652         small absolute value.
14653         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
14654         <math_private.h>.
14655         (atan): Force underflow exception for results with small absolute
14656         value.
14657         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
14658         (__atanf): Force underflow exception for results with small
14659         absolute value.
14660         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
14661         <math.h>.
14662         (__atanl): Force underflow exception for results with small
14663         absolute value.
14664         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
14665         (__atanl): Force underflow exception for results with small
14666         absolute value.
14667         * sysdeps/x86/fpu/bits/mathinline.h
14668         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
14669         (__ieee754_atan2): Only define inline for long double.
14670         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
14671         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
14672         * math/auto-libm-test-in: Do not mark underflow exceptions as
14673         possibly missing for bug 15319.  Add more tests of atan2.
14674         * math/auto-libm-test-out: Regenerated.
14675         * math/libm-test.inc (casin_test_data): Do not mark underflow
14676         exceptions as possibly missing for bug 15319.
14677         (casinh_test_data): Likewise.
14678         * sysdeps/i386/fpu/libm-test-ulps: Update.
14680 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
14682         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
14683         * sysdeps/mips/bits/endian.h: Fix comments.
14685 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
14687         [BZ #17996]
14688         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
14689         (hdestroy_r): Likewise.
14690         (hsearch_r): Likewise.
14691         (__hcreate_r): Declare and use libc_hidden_proto.
14692         (__hdestroy_r): Likewise.
14693         (__hsearch_r): Likewise.
14694         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
14695         (hcreate): Call __hcreate_r instead of hcreate_r.
14696         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
14697         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
14698         as weak alias of __hcreate_r.
14699         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
14700         __hdestroy_r.
14701         (hsearch_r): Rename to __hsearch_r and define as weak alias of
14702         __hsearch_r.
14703         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
14704         Remove variable.
14705         (test-xfail-XPG4/search.h/linknamespace): Likewise.
14706         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
14707         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
14708         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
14710 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
14712         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
14713         arena_lock into a single arena_get.
14715 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
14717         * dl-reloc.c: Inlucde libc-internal.h.
14718         (_dl_try_allocate_static_tls): Call ALIGN_UP.
14719         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
14720         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
14721         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
14722         (grow_heap): Likewise.
14723         * malloc/malloc.c: Include libc-internal.h.
14724         (do_check_malloc): Call powerof2.
14725         (sysmalloc): Use pagesize. Call ALIGN_UP.
14726         (systrim): Use pagesize.
14727         (mremap_chunk): Use pagesize. Call ALIGN_UP.
14728         (__libc_valloc): Use pagesize.
14729         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
14731 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
14733         [BZ #17991]
14734         * include/sys/resource.h (__getrlimit64): Declare.  Use
14735         libc_hidden_proto.
14736         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
14737         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
14738         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
14739         getrlimit64.
14740         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
14741         __getrlimit64.
14742         [!getrlimit64] (getrlimit64): Define as weak alias of
14743         __getrlimit64.  Use libc_hidden_weak.
14744         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
14745         using __getrlimit64 not __new_getrlimit64.
14746         (__GI_getrlimit64): Likewise.
14747         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
14748         Likewise.
14749         (__GI_getrlimit64): Likewise.
14750         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
14751         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
14752         (getrlimit): Add __getrlimit64 alias.
14753         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
14754         Likewise.
14755         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
14756         Remove variable.
14757         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
14758         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
14760 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
14762         * libio/fileops.c: Add missing sys/mman.h
14763         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
14765 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
14767         * manual/math.texi (Errors in Math Functions): Clarify goals
14768         regarding inexact and underflow exceptions.
14770 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
14772         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
14773         * sysdeps/mips/memset.S: Ditto.
14775 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
14777         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
14779 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
14781         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
14782         (__v1longjmp): Remove versioned symbol.
14783         (__v1siglongjmp): Remove alias and versioned symbol.
14784         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
14785         (__v2siglongjmp): Likewise.
14787 2015-02-16  Torvald Riegel  <triegel@redhat.com>
14789         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
14791 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
14793         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
14795 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
14797         [BZ #17987]
14798         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
14799         zero result does not depend on the sign resulting from
14800         subtraction.
14801         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
14802         Likewise.
14803         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
14804         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
14805         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
14806         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
14807         * math/libm-test.inc (remquo_test_data): Add more tests.
14809 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
14811         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
14812         Problem reported by J William Piggott.
14814 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
14816         [BZ #17978]
14817         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
14818         products 4 * y and 2 * y where those would overflow.
14819         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
14820         Likewise.
14821         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
14822         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
14823         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
14824         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
14825         * math/libm-test.inc (remquo_test_data): Add more tests.
14827         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
14829         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
14830         [defined _COMPILING_NEWLIB].
14831         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
14832         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
14834         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
14835         [!defined __mips_isa_rev || __mips_isa_rev < 6].
14837 2015-02-16  Torvald Riegel  <triegel@redhat.com>
14839         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
14840         acquired.
14842 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
14844         [BZ #17792]
14845         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
14846         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
14847         HOST_STACK_END_ADDR): Likewise.
14849 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
14851         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
14852         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
14853         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
14855 2015-02-13  Roland McGrath  <roland@hack.frob.com>
14857         * sysdeps/generic/c++-types.data: New file.
14858         * sysdeps/generic/ld.abilist: New file.
14859         * sysdeps/generic/libBrokenLocale.abilist: New file.
14860         * sysdeps/generic/libanl.abilist: New file.
14861         * sysdeps/generic/libc.abilist: New file.
14862         * sysdeps/generic/libcrypt.abilist: New file.
14863         * sysdeps/generic/libdl.abilist: New file.
14864         * sysdeps/generic/libm.abilist: New file.
14865         * sysdeps/generic/libpthread.abilist: New file.
14866         * sysdeps/generic/libresolv.abilist: New file.
14867         * sysdeps/generic/librt.abilist: New file.
14869 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
14871         [BZ #17569]
14872         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
14873         Compute absolute value of x as modified by fmod, not original
14874         value of x.
14875         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
14876         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
14877         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
14878         RUN_TEST_ffI_f1_mod8.
14879         (remquo_test_data): Add more tests.
14881 2015-02-13  Roland McGrath  <roland@hack.frob.com>
14883         * sysdeps/init_array/pt-crti.S: New file.
14885 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
14887         [BZ #17967]
14888         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
14889         __builtin_fmaf instead of relying on contraction of a * b + c.
14891 2015-02-12  J William Piggott  <elseifthen@gmx.com>
14893         [BZ #17969]
14894         * manual/time.texi: correct the zoneinfo path in the TZ Variable
14895         node.
14897 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
14899         [BZ #17964]
14900         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
14901         __builtin_fma instead of relying on contraction of a * b + c.
14903 2015-02-12  Roland McGrath  <roland@hack.frob.com>
14905         * Makeconfig (ASFLAGS): Add -Werror=undef.
14906         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
14907         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
14908         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
14910         * Makeconfig (after-link): New variable.
14911         (+link-pie, +link-pie-tests): Use it.
14912         (+link-static, +link-static-tests): Likewise.
14913         (+link, +link-tests): Likewise.
14914         * Makerules (build-module, build-module-asneeded): Likewise.
14915         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
14916         Likewise.
14917         * elf/Makefile ($(objpfx)ld.so): Likewise.
14919 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
14921         [BZ #17965]
14922         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
14923         both struct timeval and struct timespec.
14925 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
14927         [BZ #16560]
14928         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
14929         and redefine.
14930         (__ieee754_exp2l): Do not multiply small fractional parts by
14931         M_LN2l.
14932         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
14933         small argument.
14934         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
14935         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
14936         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
14937         * math/auto-libm-test-in: Add more tests of exp2.
14938         * math/auto-libm-test-out: Regenerated.
14940 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
14942         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
14943         unaligned path.
14945 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14947         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
14948         little endian.
14950 2015-02-12  Andreas Schwab  <schwab@suse.de>
14952         [BZ #15790]
14953         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
14954         Filter out elision flags from value returned in kind.
14955         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
14956         * nptl/tst-pthread-mutexattr.c: New file.
14958 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14960         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
14961         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
14962         into gnu-gnu, and update comment to refer to abi-tags.
14964 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
14966         [BZ #15467]
14967         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
14968         (__sincos): Set errno to EDOM for infinite argument.
14969         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
14970         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
14971         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
14972         (__sincosl): Set errno to EDOM for infinite argument.
14973         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
14974         (__sincosl): Set errno to EDOM for infinite argument.
14975         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
14976         (__sincosl): Set errno to EDOM for infinite argument.
14977         * math/libm-test.inc (sincos_test_data): Test errno setting.
14979 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
14981         * string/strxfrm_l.c: Remove #define STRCMP.
14982         * string/strcoll_l.c: Remove #define STRLEN.
14983         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
14984         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
14986 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
14988         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
14989         * sysdeps/mips/mips32/sfp-machine.h: ... here.
14990         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
14991         * sysdeps/mips/mips64/Makefile: ... here.
14992         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
14993         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
14994         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
14995         * sysdeps/mips/mips64/sfp-machine.h: ... here.
14996         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
14997         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
14998         * sysdeps/mips/mips64/n64/Implies: Likewise.
15000 2015-02-10  Roland McGrath  <roland@hack.frob.com>
15002         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
15003         <sys/time.h>, <string.h>, and <errno.h>.
15004         (dest_offset, dest_address, value, zero): Remove unused variables.
15005         (ldouble): Remove typedef.
15006         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
15007         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
15008         1).  Fix code style.
15009         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
15010         (check): Function removed.
15011         (CHECK): New macro.
15012         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
15013         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
15014         Don't call set_sigaction_FP and remove_sigaction_FP here.
15015         (ldouble_test): Just use 'long double' as macro argument, no need for
15016         the 'ldouble' typedef.
15017         (do_test): Set up SIGFPE handler at start, using plain signal rather
15018         than sigaction.  Fix code style.
15020 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
15022         [BZ #17949]
15023         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
15024         jump label.
15026 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
15028         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
15029         * sysdeps/powerpc/powerpc32/configure: Regenerated.
15031         * sysdeps/powerpc/configure.ac: Remove file.
15032         * sysdeps/powerpc/configure: Likewise.
15034         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
15035         [sysdep_routines]: Remove wordcopy-power6 object.
15036         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
15037         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
15038         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
15039         (__memmove_ppc32): Likewise.
15040         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
15041         file.
15042         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
15043         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
15044         Remove preprocessor.
15046         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
15047         [sysdep_routines]: Remove wide chars objects.
15048         [wcsmbs]: New rule for wide char objects.
15050         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
15051         Remove wordcopy-power6 obejct.
15052         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
15053         Use local call for wordcopy and memcpy symbols.
15054         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
15055         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
15056         implementation for loader.
15057         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
15059         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
15060         Remove wordcopy-power7 object.
15061         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
15062         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
15063         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
15064         (_wordcopy_fwd_dest_aligned): Likewise.
15065         (_wordcopy_bwd_aligned): Likewise.
15066         (_wordcopy_bwd_dest_aligned): Likewise.
15068         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
15069         Rewrite to call __memmove_ppc instead of include default
15070         implementation.
15072         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
15073         Remove wide chars objects.
15074         [wcsmbs]: New rule for wide char objects.
15076 2015-02-09  Andreas Schwab  <schwab@suse.de>
15078         [BZ #17912]
15079         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
15080         in terms of __O_DIRECTORY.
15082 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15084         * time/getdate.c: Include <stdbool.h>.
15085         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
15086         call PTR_MANGLE.
15087         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
15088         PTR_DEMANGLE.
15090 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
15092         Add ersatz _Static_assert on older C hosts
15093         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
15094         pre-C11 C platform that is not known to support _Static_assert.
15096 2015-02-07  Richard Braun  <rbraun@sceen.net>
15098         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
15099         sigstate.
15100         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
15102 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15104         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
15105         priority against unexistent AIO_PRIO_DELTA_MAX.
15106         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
15107         instead of int.
15108         * misc/fchflags.c (fchflags): Likewise.
15109         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
15110         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
15111         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
15112         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
15113         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
15114         Declare macros.
15115         [__USE_MISC] (chflags, fchflags): Declare functions.
15116         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
15117         EINVAL when nfds is greater than FD_SETSIZE.
15118         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
15119         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
15120         45.
15121         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
15122         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
15123         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
15124         MACH_RCV_TIMED_OUT.
15125         * hurd/hurd/signal.h (_hurd_self_sigstate,
15126         _hurd_critical_section_lock, _hurd_critical_section_unlock):
15127         Explicit casts from void *.
15128         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
15129         * abi-tags: Rename gnu-gnu os into gnu.
15131         [BZ #4719]
15132         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
15133         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
15134         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
15135         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
15136         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
15137         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
15139         [BZ #17944]
15140         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
15141         duplicates ADDR->sun_path with sockaddr LEN limitation.
15142         * sysdeps/mach/hurd/connect.c: Include <string.h>
15143         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
15144         * sysdeps/mach/hurd/sendmsg.c: Likewise.
15145         * sysdeps/mach/hurd/sendto.c: Likewise.
15146         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
15147         implementing it by hand.
15149 2015-02-06  Roland McGrath  <roland@hack.frob.com>
15151         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
15152         Use sfi_breg on ldr.
15153         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
15154         Likewise.
15156         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
15157         it's defined.
15158         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
15159         Test SIGSETXID only if it's defined.
15161         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
15163         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
15164         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
15166         * nptl/tst-align2.c: Moved ...
15167         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
15168         * nptl/Makefile (tests): Remove tst-align2.
15169         * sysdeps/unix/sysv/linux/Makefile
15170         [$(subdir) = nptl] (tests): Add tst-align-clone.
15171         * nptl/tst-getpid1.c: Moved ...
15172         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
15173         * nptl/tst-getpid2.c: Moved ...
15174         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
15175         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
15176         * sysdeps/unix/sysv/linux/Makefile
15177         [$(subdir) = nptl] (tests): ... here.
15178         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
15179         * sysdeps/unix/sysv/linux/Makefile
15180         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
15182         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
15183         Drop trailing \n from perror argument.  Use return rather than exit.
15185         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
15186         on [SA_SIGINFO].
15187         * nptl/tst-cancel21.c (do_test): Likewise.
15188         * debug/tst-backtrace6.c: Include <signal.h> first thing.
15189         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
15190         [!SA_SIGINFO]: Make it a stub test.
15192         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
15193         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
15195         * posix/tst-getlogin.c: Move to ...
15196         * login/tst-getlogin.c: ... here.
15197         * posix/Makefile (tests): Move tst-getlogin to ...
15198         * login/Makefile (tests): ... here.
15200         * libio/tst-atime.c (do_test): Move local variables SV and E
15201         inside [ST_NOATIME] conditional.
15203         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
15205         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
15207         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
15208         (wait_code): New function replaces macro.
15209         Call nanosleep rather than syscall.
15211         * nptl/pt-system.c: Rewritten.  Put everything under
15212         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
15213         Use IFUNC to redirect when possible.
15215         * nptl/pt-longjmp.c: Rewritten.  Put everything under
15216         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
15217         Use IFUNC to redirect when possible.
15219         * nptl/pt-fork.c: Rewritten.  Put everything under
15220         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
15221         Use IFUNC to redirect when possible.
15222         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
15224         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
15225         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
15226         unconditionally nowadays.  This included the only reference to
15227         __vdso_clock_gettime that appears outside libc proper.
15228         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
15229         Remove version set (containing only __vdso_clock_gettime).
15230         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
15231         Add attribute_hidden.
15232         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
15233         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
15234         libc_hidden_data_def.
15235         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
15236         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
15238         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
15239         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
15240         setrpcent, and getrpcport to ...
15241         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
15242         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
15243         getrpcbynumber_r, and getrpcent_r to ...
15244         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
15245         * inet/getrpcbyname.c: Moved ...
15246         * sunrpc/getrpcbyname.c: ... here.
15247         * inet/getrpcbyname_r.c: Moved ...
15248         * sunrpc/getrpcbyname_r.c: ... here.
15249         * inet/getrpcbynumber.c: Moved ...
15250         * sunrpc/getrpcbynumber.c: ... here.
15251         * inet/getrpcbynumber_r.c: Moved ...
15252         * sunrpc/getrpcbynumber_r.c: ... here.
15253         * inet/getrpcent.c: Moved ...
15254         * sunrpc/getrpcent.c: ... here.
15255         * inet/getrpcent_r.c: Moved ...
15256         * sunrpc/getrpcent_r.c: ... here.
15257         * inet/Makefile (routines): Move those to ...
15258         * sunrpc/Makefile (routines): ... here.
15259         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
15260         the $(subdirs) list.
15261         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
15262         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
15263         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
15264         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
15266         * elf/Makefile (routines): Include $(all-dl-routines), not just
15267         $(dl-routines).
15268         (rtld-routines): Likewise.  Use = rather than :=.
15269         * sysdeps/aarch64/Makefile [$(subdir) = elf]
15270         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
15271         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
15272         * sysdeps/arm/Makefile: Likewise.
15273         * sysdeps/i386/Makefile: Likewise.
15274         * sysdeps/x86_64/Makefile: Likewise.
15275         * sysdeps/hppa/Makefile [$(subdir) = elf]
15276         (sysdep_routines, sysdep-rtld-routines): Don't add
15277         $(sysdep-dl-routines) to these.
15278         * sysdeps/ia64/Makefile: Likewise.
15279         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
15280         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
15281         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
15282         Don't add dl-static to these; sysdep-dl-routines alone is enough.
15283         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
15284         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
15285         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
15286         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
15287         * sysdeps/powerpc/Makefile [$(subdir) = elf]
15288         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
15289         these; sysdep-dl-routines alone is enough.
15291 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
15293         [BZ #17932]
15294         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
15295         where multiplication results in zero and third argument is finite
15296         and nonzero.
15297         * math/auto-libm-test-in: Add more tests of fma.
15298         * math/auto-libm-test-out: Regenerated.
15300         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
15301         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
15302         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
15303         (_FP_CMP_EQ): Likewise.
15304         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
15306         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
15307         extra argument CHECK_NAN.  Redefine as wrapper around
15308         _FP_EXTEND_CNAN.
15310 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
15312         * version.h (RELEASE): Set to "stable".
15313         (VERSION): Set to "2.21"
15314         * include/features.h (__GLIBC_MINOR__): Set to 21.
15316         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
15318 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
15319             Paul Eggert  <eggert@cs.ucla.edu>
15321         [BZ #16618]
15322         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
15323         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
15324         size in bytes. Store needed elements in wpmax. Use needed size
15325         in bytes for extend_alloca.
15327 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
15329         * manual/install.texi: Latest tested versions are GCC 4.9.2,
15330         binutls 2.25, and texinfo 5.2.
15331         * INSTALL: Regenerate.
15332         * sysdeps/nios2/configure: Regenerate.
15333         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
15334         * manual/contrib.texi: Update.
15335         * po/be.po: Update.
15336         * po/bg.po: Update.
15337         * po/ca.po: Update.
15338         * po/cs.po: Update.
15339         * po/da.po: Update.
15340         * po/de.po: Update.
15341         * po/el.po: Update.
15342         * po/eo.po: Update.
15343         * po/es.po: Update.
15344         * po/fi.po: Update.
15345         * po/fr.po: Update.
15346         * po/gl.po: Update.
15347         * po/hr.po: Update.
15348         * po/hu.po: Update.
15349         * po/ia.po: Update.
15350         * po/id.po: Update.
15351         * po/it.po: Update.
15352         * po/ja.po: Update.
15353         * po/ko.po: Update.
15354         * po/lt.po: Update.
15355         * po/nb.po: Update.
15356         * po/nl.po: Update.
15357         * po/pl.po: Update.
15358         * po/pt_BR.po: Update.
15359         * po/ru.po: Update.
15360         * po/rw.po: Update.
15361         * po/sk.po: Update.
15362         * po/sl.po: Update.
15363         * po/sv.po: Update.
15364         * po/tr.po: Update.
15365         * po/uk.po: Update.
15366         * po/vi.po: Update.
15367         * po/zh_CN.po: Update.
15368         * po/zh_TW.po: Update.
15370         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
15371         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
15372         * sysdeps/hppa/dl-irel.h: Remove #warning.
15373         * sysdeps/hppa/entry.h: Provide prototype for
15374         __canonicalize_funcptr_for_compare and cast argument.
15375         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
15376         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
15377         * sysdeps/hppa/sotruss-lib.c: New file.
15378         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
15379         (atomic_compare_and_exchange_val_acq): Use __typeof__.
15380         (atomic_compare_and_exchange_bool_acq): Likewise.
15381         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
15382         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
15384         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
15385         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
15386         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
15388 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
15390         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
15391         called function in non-PIC case.
15393 2015-01-31  David S. Miller  <davem@davemloft.net>
15395         * sysdeps/sparc/sparc32/bits/atomic.h
15396         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
15397         unlock not after it.
15398         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
15399         volatile register usage warnings from the compiler.
15401         * sysdeps/sparc/nptl/sem_init.c: Delete.
15402         * sysdeps/sparc/nptl/sem_post.c: Delete.
15403         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
15404         * sysdeps/sparc/nptl/sem_wait.c: Delete.
15405         * sysdeps/sparc/sparc32/sem_init.c: New file.
15406         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
15407         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
15408         padding explicitly initialized.
15409         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
15410         padding for in-semaphore spinlock.
15411         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
15412         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
15413         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
15414         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
15415         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
15416         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
15417         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
15418         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
15419         version.
15420         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
15421         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
15423 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
15425         [BZ #17801]
15426         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15427         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
15428         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
15429         New.
15430         (index_AVX_Fast_Unaligned_Load): Likewise.
15431         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
15432         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
15433         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
15434         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
15435         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
15436         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
15437         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
15438         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
15439         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
15441 2015-01-29  Andreas Schwab  <schwab@suse.de>
15443         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
15445 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
15447         [BZ #17892]
15448         * nscd/nscd_stat.c (send_stats): Initialize DATA.
15450 2015-01-28  Martin Sebor  <msebor@redhat.com>
15452         * math/README.libm-test: Clarify. Add "How to read the test output."
15454 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
15456         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
15457         Define to 0.
15459 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
15461         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
15462         (__HAVE_64B_ATOMICS): Define to 0.
15464 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
15466         [BZ #17885]
15467         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
15468         value to set as new flag.
15470         [BZ #16576]
15471         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
15472         and use _ARCH_PPCSQ instead.
15473         (__ieee754_sqrt): Likewise.
15474         (__ieee754_sqrtf): Likewise.
15475         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
15476         _ARCH_PPCSQ is defined.
15477         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
15478         fsqrt instruction.
15479         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
15480         _ARCH_PPCSQ is defined.
15481         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
15482         fsqrts instruction.
15483         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
15485 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
15487         * iconv/loop.c: Suppress array out of bound warning caused by GCC
15488         bug (GCC BZ #64739).
15490 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
15492         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
15493         Mark _retval as used.
15494         (lll_futex_wake_unlock): Likewise.
15495         (lll_futex_timed_wait_requeue_pi): Likewise.
15497         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
15498         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
15499         register variables.
15501         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
15502         libm_hidden_def.
15504         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
15505         (__bswap_64): Mark as __always_inline.
15507 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
15509         [BZ #15378]
15510         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
15511         when none of the search directories exist.
15513 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
15515         [BZ #17869]
15516         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
15517         power8 in .machine directive.
15519         [BZ #17868]
15520         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
15521         set dependency from opd value.
15523 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
15525         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15526         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
15527         architecture.
15529 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
15531         [BZ #17870]
15532         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
15533         with uint64_t.
15534         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
15535         (uint64_t) 1.
15536         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
15537         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
15538         Replace 1UL with (uint64_t) 1.
15539         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
15540         int with uint64_t.
15542 2015-01-23  Roland McGrath  <roland@hack.frob.com>
15544         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
15545         (if_freenameindex): Likewise.
15547         * resource/getrlimit64.c: Add missing libc_hidden_def.
15549 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
15551         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
15552         __label__.
15553         (_FP_FMA): Likewise.
15554         (_FP_TO_INT_ROUND): Likewise.
15555         (_FP_FROM_INT): Likewise.
15557 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15559         [BZ #16418]
15560         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
15561         Make code racy and cancel safe.
15563 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
15565         * sysdeps/arm/unwind-resume.h: Fix copyright year.
15566         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
15567         attribution.
15569         * pwd/tst-getpw.c: Rewrite.
15571         [BZ #17702]
15572         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
15573         (modules-names): Add moddummy1 and moddummy2.
15574         ($(objpfx)tst-rec-dlopen): Define.
15575         * dlfcn/moddummy1.c: New file.
15576         * dlfcn/moddummy2.c: New file.
15577         * dlfcn/tst-rec-dlopen.c: New file.
15578         * elf/dl-cache.c (_dl_load_cache_lookup):
15579         Return char*. Copy result with alloca/strcpy/strdup.
15580         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
15581         returns char*. Free cached. If not saving realname
15582         free cached.
15583         * elf/dl-open.c (dl_open_worker): Do not assert that
15584         _r_debug->r_state is RT_CONSISTENT.
15585         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
15586         returns char*.
15588 2015-01-21  Torvald Riegel  <triegel@redhat.com>
15589             Carlos O'Donell  <carlos@redhat.com>
15591         [BZ #12674]
15592         * nptl/sem_waitcommon.c: New file.
15593         * nptl/sem_wait.c: Include sem_waitcommon.c.
15594         (__sem_wait_cleanup, do_futex_wait): Remove.
15595         (__new_sem_wait): Adapt.
15596         (__new_sem_trywait): New function.
15597         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
15598         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
15599         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
15600         (sem_timedwait): Adapt.
15601         * nptl/sem_post.c (__new_sem_post): Adapt.
15602         (futex_wake): New function.
15603         (__old_sem_post): Add release MO fence.
15604         * nptl/sem_open.c (sem_open): Adapt.
15605         * nptl/sem_init.c (__new_sem_init): Adapt.
15606         (futex_private_if_supported): New function.
15607         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
15608         (__old_sem_getvalue): Add using previous code.
15609         * sysdeps/nptl/internaltypes.h: Adapt.
15610         * nptl/tst-sem13.c (do_test): Adapt.
15611         * nptl/tst-sem11.c (main): Adapt.
15612         * nptl/sem_trywait.c: Remove.
15613         * nptl/DESIGN-sem.txt: Remove.
15614         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
15615         (gen-as-const-headers): Remove structsem.sym.
15616         * nptl/structsem.sym: Remove.
15617         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
15618         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
15619         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
15620         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
15621         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
15622         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
15623         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
15624         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
15625         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
15626         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
15627         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
15628         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
15629         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
15630         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
15631         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
15632         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
15633         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
15634         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
15635         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
15636         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
15637         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
15638         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
15640 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
15642         * INSTALL: Regenerated.
15644         * po/libc.pot: Regenerated.
15646 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
15647             Sandra Loosemore  <sandra@codesourcery.com>
15648             Andrew Jenner  <andrew@codesourcery.com>
15649             Joseph Myers  <joseph@codesourcery.com>
15650             Nathan Sidwell  <nathan@codesourcery.com>
15652         * NEWS: Mention new Nios II port.
15653         * sysdeps/nios2/Implies: New file.
15654         * sysdeps/nios2/Makefile: New file.
15655         * sysdeps/nios2/Subdirs: New file.
15656         * sysdeps/nios2/Versions: New file.
15657         * sysdeps/nios2/__longjmp.S: New file.
15658         * sysdeps/nios2/abort-instr.h: New file.
15659         * sysdeps/nios2/backtrace.c: New file.
15660         * sysdeps/nios2/bits/endian.h: New file.
15661         * sysdeps/nios2/bits/fenv.h: New file.
15662         * sysdeps/nios2/bits/link.h: New file.
15663         * sysdeps/nios2/bits/setjmp.h: New file.
15664         * sysdeps/nios2/bsd-_setjmp.S: New file.
15665         * sysdeps/nios2/bsd-setjmp.S: New file.
15666         * sysdeps/nios2/configure: New generated file.
15667         * sysdeps/nios2/configure.ac: New file.
15668         * sysdeps/nios2/crti.S: New file.
15669         * sysdeps/nios2/crtn.S: New file.
15670         * sysdeps/nios2/dl-init.c: New file.
15671         * sysdeps/nios2/dl-machine.h: New file.
15672         * sysdeps/nios2/dl-sysdep.h: New file.
15673         * sysdeps/nios2/dl-tls.h: New file.
15674         * sysdeps/nios2/dl-trampoline.S: New file.
15675         * sysdeps/nios2/gccframe.h: New file.
15676         * sysdeps/nios2/gmp-mparam.h: New file.
15677         * sysdeps/nios2/jmpbuf-offsets.h: New file.
15678         * sysdeps/nios2/jmpbuf-unwind.h: New file.
15679         * sysdeps/nios2/ldsodefs.h: New file.
15680         * sysdeps/nios2/libc-tls.c: New file.
15681         * sysdeps/nios2/libm-test-ulps: New file.
15682         * sysdeps/nios2/machine-gmon.h: New file.
15683         * sysdeps/nios2/math-tests.h: New file.
15684         * sysdeps/nios2/math_private.h: New file.
15685         * sysdeps/nios2/memusage.h: New file.
15686         * sysdeps/nios2/nptl/Makefile: New file.
15687         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
15688         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
15689         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
15690         * sysdeps/nios2/nptl/pthreaddef.h: New file.
15691         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
15692         * sysdeps/nios2/nptl/tls.h: New file.
15693         * sysdeps/nios2/preconfigure: New file.
15694         * sysdeps/nios2/s_fma.c: New file.
15695         * sysdeps/nios2/s_fmaf.c: New file.
15696         * sysdeps/nios2/setjmp.S: New file.
15697         * sysdeps/nios2/sfp-machine.h: New file.
15698         * sysdeps/nios2/sotruss-lib.c: New file.
15699         * sysdeps/nios2/stackguard-macros.h: New file.
15700         * sysdeps/nios2/stackinfo.h: New file.
15701         * sysdeps/nios2/start.S: New file.
15702         * sysdeps/nios2/sysdep.h: New file.
15703         * sysdeps/nios2/tls-macros.h: New file.
15704         * sysdeps/nios2/tst-audit.h: New file.
15705         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
15706         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
15707         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
15708         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
15709         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
15710         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
15711         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
15712         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
15713         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
15714         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
15715         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
15716         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
15717         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
15718         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
15719         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
15720         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
15721         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
15722         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
15723         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
15724         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
15725         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
15726         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
15727         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
15728         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
15729         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
15730         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
15731         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
15732         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
15733         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
15734         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
15735         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
15736         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
15737         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
15738         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
15739         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
15740         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
15741         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
15742         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
15743         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
15744         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
15745         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
15746         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
15747         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
15748         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
15750 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
15752         [BZ #17844]
15753         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
15754         (getutent): Use weak_alias in non SHARED case
15755         and default_symbol_version in SHARED case.
15756         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
15757         (getutent_r, pututline): Likewise.
15758         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
15759         (getutid): Likewise.
15760         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
15761         (getutid_r): Likewise.
15762         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
15763         (getutline): Likewise.
15764         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
15765         (getutline_r): Likewise.
15766         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
15767         (updwtmp): Likewise.
15769 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
15771         [BZ #17848]
15772         * sysdeps/s390/s390-32/memcmp.S
15773         (memcmp_g5): Rename to __memcmp_g5.
15774         * sysdeps/s390/s390-32/memcpy.S
15775         (memcpy_g5): Rename to __memcpy_g5.
15776         Jump to __memcpy_mvcle instead of memcpy_mvcle.
15777         (memcpy_mvcle) Rename to __memcpy_mvcle.
15778         * sysdeps/s390/s390-32/memset.S
15779         (memset_g5): Rename to __memset_g5.
15780         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
15781         (IFUNC_RESOLVE): Prefix ifunc-resolve function
15782         and use prefixed functions.
15783         * sysdeps/s390/s390-32/multiarch/memcmp.S
15784         (memcmp_z196): Rename to __memcmp_z196.
15785         (memcmp_z10): Rename to __memcmp_z10.
15786         (memcmp): Set alias to __memcmp_g5.
15787         (bcmp): Set alias to __memcmp_g5.
15788         * sysdeps/s390/s390-32/multiarch/memcpy.S
15789         (memcpy_z196): Rename to __memcpy_z196.
15790         Jump to __memcpy_mvcle instead of memcpy_mvcle.
15791         (memcpy_z10): Rename to __memcpy_z10.
15792         Jump to __memcpy_mvcle instead of memcpy_mvcle.
15793         (memcpy): Set alias to __memcpy_g5.
15794         * sysdeps/s390/s390-32/multiarch/memset.S
15795         (memset_z196): Rename to __memset_z196.
15796         Jump to __memset_mvcle instead of memset_mvcle.
15797         (memset_z10): Rename to __memset_z10.
15798         Jump to __memset_mvcle instead of memset_mvcle.
15799         (memset_mvcle) Rename to __memset_mvcle.
15800         (memset): Set alias to __memset_g5.
15801         * sysdeps/s390/s390-64/memcmp.S
15802         (memcmp_z900): Rename to __memcmp_z900.
15803         * sysdeps/s390/s390-64/memcpy.S
15804         (memcpy_z900): Rename to __memcpy_z900.
15805         Jump to __memcpy_mvcle instead of memcpy_mvcle.
15806         (memcpy_mvcle) Rename to __memcpy_mvcle.
15807         * sysdeps/s390/s390-64/memset.S
15808         (memset_z900): Rename to __memset_z900.
15809         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
15810         (IFUNC_RESOLVE): Prefix ifunc-resolve function
15811         and use prefixed functions.
15812         * sysdeps/s390/s390-64/multiarch/memcmp.S
15813         (memcmp_z196): Rename to __memcmp_z196.
15814         (memcmp_z10): Rename to __memcmp_z10.
15815         (memcmp): Set alias to __memcmp_z900.
15816         (bcmp): Set alias to __memcmp_z900.
15817         * sysdeps/s390/s390-64/multiarch/memcpy.S
15818         (memcpy_z196): Rename to __memcpy_z196.
15819         Jump to __memcpy_mvcle instead of memcpy_mvcle.
15820         (memcpy_z10): Rename to __memcpy_z10.
15821         Jump to __memcpy_mvcle instead of memcpy_mvcle.
15822         (memcpy): Set alias to __memcpy_z900.
15823         * sysdeps/s390/s390-64/multiarch/memset.S
15824         (memset_z196): Rename to __memset_z196.
15825         Jump to __memset_mvcle instead of memset_mvcle.
15826         (memset_z10): Rename to __memset_z10.
15827         Jump to __memset_mvcle instead of memset_mvcle.
15828         (memset_mvcle) Rename to __memset_mvcle.
15829         (memset): Set alias to __memset_z900.
15831 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
15833         [BZ #17748]
15834         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
15835         __fesetenv instead of fesetenv.
15837 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
15839         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
15840         macro.
15842 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15844         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
15845         regression on LE.
15847         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
15848         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
15849         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
15850         strncmp-power8 object.
15851         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15852         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
15853         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
15854         * NEWS: Update.
15856 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
15857             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15859         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
15860         trailing byte check.
15862 2015-01-13  David S. Miller  <davem@davemloft.net>
15864         * include/signal.h (__sigreturn): Guard with __USE_MISC.
15866 2015-01-13  Roland McGrath  <roland@hack.frob.com>
15868         * login/logout.c (logout): Use memset rather than bzero.
15869         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
15870         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
15871         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
15872         (_gethtbyaddr): Likewise.
15873         * locale/programs/simple-hash.c (bcopy): Macro removed.
15875 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15877         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
15878         Add strcmp-power8 object.
15879         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15880         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
15881         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
15882         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
15883         __strcmp_power8 implementation.
15884         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
15885         * NEWS: Update.
15887         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
15888         Add strncpy-power8 and stpncpy-power8 objects.
15889         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15890         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
15891         implementations.
15892         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
15893         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
15894         __stpncpy_power8 implementation.
15895         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
15896         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
15897         __strncpy_power8 implementation.
15898         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
15899         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
15900         * NEWS: Update.
15902         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
15903         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
15904         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
15906         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
15907         strncat-power8 object.
15908         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
15909         __strcat_power8 implementation.
15910         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15911         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
15912         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
15913         optimized strcat for power8.
15915         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
15916         strcpy-power8 and stpcpy-power8 objects.
15917         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15918         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
15919         implementations.
15920         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
15921         multiarch stpcpy implementation for POWER8.
15922         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
15923         multiarch strcpy implementation for POWER8.
15924         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
15925         __strcpy_power8 function.
15926         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
15927         stpcpy for POWER8.
15928         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
15929         strcpy for POWER8.
15930         * NEWS: Update.
15932 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
15934         [BZ #16009]
15935         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
15936         weights and rules. Use do_xfrm_cached if data fits in cache,
15937         do_xfrm otherwise.  Moved former main loop to...
15938         * (do_xfrm_cached): New function.
15939         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
15940         find_idx, find_position and stack_push.
15941         * (find_idx): New function.
15942         * (find_position): Likewise.
15943         * localedata/sort-test.sh: Added test run for do_xfrm.
15944         * localedata/xfrm-test.c (main): Added command line option
15945         -nocache to run the test with strings that are too large for
15946         the STRXFRM cache.
15948 2015-01-13  Torvald Riegel  <triegel@redhat.com>
15950         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
15951         variable to lll_futex_wake call, not the value itself.
15953 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
15955         [BZ #17803]
15956         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
15957         twom64.  Adjust value to 0x1p-64L.
15958         (__scalblnl): Only return standard underflowing result for K <=
15959         -64 not K <= -63; adjust exponent for underflowing result by 64
15960         not 63.
15961         * math/libm-test.inc (scalbn_test_data): Add more tests.
15962         (scalbln_test_data): Likewise.
15964         [BZ #17834]
15965         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
15966         0x1p63L.
15967         (__scalblnl): Get new exponent of adjusted subnormal value from ES
15968         not HX.
15969         * math/libm-test.inc (scalbn_test_data): Add more tests.
15970         (scalbln_test_data): Likewise.
15972 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15973             Stefani Seibold  <stefani@seibold.net>
15975         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
15976         (sysdep_routines): Add dl-vdso here, ...
15977         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
15978         (sysdep_routines): ... not here.
15979         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
15980         fallback when vDSO is not presented.
15981         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
15982         Define with libc_hidden_proto/libc_hidden_data_def definitions.
15983         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
15984         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
15985         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
15986         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
15987         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
15988         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
15989         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
15990         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
15991         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
15992         fallback configurable symbol when vDSO is not available.
15993         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
15994         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
15995         be able to redefine fallback symbol when vDSO is not available.
15996         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
15997         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
15999 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16001         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
16002         (TLS_INIT_TP): Add tm_capable initialization.
16003         (TLS_DEFINE_INIT_TP): Likewise.
16004         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
16005         TCB.
16006         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
16007         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
16008         calculation.
16009         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
16010         transactoion is lock elision is built and TCB tm_capable is set.
16011         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
16012         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
16013         (INTERNAL_SYSCALL_NCS): Likewise.
16014         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
16015         (INTERNAL_SYSCALL_NCS): Likewise.
16016         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
16018         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
16019         for powerpc.
16020         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
16021         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
16022         and remove it for 32 bits case.
16023         [pthread_rwlock_t] (__rwelision): New field for lock elision.
16024         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
16025         initialization.
16026         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
16027         Disable lock elision with rdlocks if elision is not available.
16029         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
16030         (sysdep_routines): Add lock elision objects.
16031         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
16032         [pthread_mutex_t] (__spins): Rework to add lock elision field.
16033         [pthread_mutex_t] (__elision): Add field.
16034         [__PTHREAD_SPINS]: Adjust to init lock elision field.
16035         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
16036         elision definitions for powerpc.
16037         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
16038         implementation of lock elision for powerpc.
16039         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
16040         implementation of timed lock elision for powerpc.
16041         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
16042         implementation of trylock with lock elision for powerpc.
16043         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
16044         implementaion of unlock for lock elision for powerpc.
16045         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
16046         automatic enable lock elision for mutexes.
16047         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
16048         transaction execution definitions for powerpc.
16049         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
16050         definitions.
16051         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
16052         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
16053         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
16054         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
16055         * NEWS: Update.
16057 2015-01-09  Roland McGrath  <roland@hack.frob.com>
16059         * sysdeps/posix/shm-directory.c: Use <> rather than ""
16060         for #include of <shm-directory.h>.
16062 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
16064         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
16065         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
16067 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
16069         [BZ #17791]
16070         * NEWS: Mention bug fix.
16071         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
16072         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
16073         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
16075 2015-01-09  Torvald Riegel <triegel@redhat.com>
16077         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
16079 2015-01-09  Torvald Riegel <triegel@redhat.com>
16081         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
16083 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
16085         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
16086         pointer and cast to uintptr_t.
16088 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
16090         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
16091         removed.
16092         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
16094 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
16096         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
16097         of 0.
16099 2015-01-08  Roland McGrath  <roland@hack.frob.com>
16101         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
16102         <nptl/pthreadP.h> instead.
16103         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
16105         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
16106         already defined.
16107         [__SIGRTMIN] (init): Function removed.
16108         [__SIGRTMIN] (initialized): Variable removed.
16109         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
16110         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
16111         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
16112         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
16113         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
16114         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
16115         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
16116         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
16117         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
16118         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
16119         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
16120         * sysdeps/nptl/allocrtsig.c: New file.
16121         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
16122         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
16123         * sysdeps/generic/testrtsig.h: File removed.
16125         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
16126         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
16128         * nptl/nptl-init.c (pthread_functions): Conditionalize
16129         .ptr__nptl_setxid initialization on [SIGSETXID].
16131         * sysdeps/nptl/sys/procfs.h: New file.
16132         * nptl_db/Makefile (headers): Add it.
16133         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
16135         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
16136         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
16137         * nptl/pthread_attr_setaffinity.c: Include it.
16138         * nptl/pthread_setattr_default_np.c: Likewise.
16139         * nptl/check-cpuset.h: New file.
16141 2015-01-08  Richard Henderson  <rth@redhat.com>
16143         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
16144         (CFLAGS-tst-execstack-prog.c): Likewise.
16145         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
16147 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
16148             Sandra Loosemore  <sandra@codesourcery.com>
16149             Andrew Jenner  <andrew@codesourcery.com>
16150             Joseph Myers  <joseph@codesourcery.com>
16151             Nathan Sidwell  <nathan@codesourcery.com>
16153         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
16154         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
16155         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
16156         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
16157         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
16158         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
16159         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
16160         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
16161         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
16162         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
16163         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
16164         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
16165         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
16166         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
16167         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
16168         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
16169         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
16171 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16173         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
16174         timespec struct member in syscall macro.
16175         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
16176         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
16177         first timeval struct member in syscall macro.
16178         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
16180 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
16182         [BZ #17748]
16183         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
16184         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
16185         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
16186         __feupdateenv and define as weak alias of __feupdateenv.  Use
16187         libm_hidden_weak.
16188         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
16189         libm_hidden_def.
16190         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
16191         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
16192         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
16193         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
16194         libm_hidden_def.
16195         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
16196         __feupdateenv and define as weak alias of __feupdateenv.  Use
16197         libm_hidden_weak.
16198         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
16199         libm_hidden_def.
16200         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
16201         __feupdateenv and define as weak alias of __feupdateenv.  Use
16202         libm_hidden_weak.
16203         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
16204         libm_hidden_def.
16205         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
16206         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
16207         (__feupdateenv): Likewise.
16208         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
16209         __feupdateenv and define as weak alias of __feupdateenv.  Use
16210         libm_hidden_weak.
16211         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
16212         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
16213         libm_hidden_def.
16214         * sysdeps/tile/math_private.h (__feupdateenv): New inline
16215         function.
16216         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
16217         libm_hidden_def.
16218         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
16219         __feupdateenv instead of feupdateenv.
16220         (default_libc_feupdateenv_test): Likewise.
16221         (libc_feresetround_ctx): Likewise.
16223 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16225         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
16226         prototype.
16228 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
16230         * posix/regcomp.c (parse_bracket_exp): Initialize type to
16231         COLL_SYM in a couple of places to avoid uninitialized variable
16232         wanings on tilegx gcc 4.8.2.
16234 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
16236         * sysdeps/aarch64/strcpy.S: New file.
16237         * sysdeps/aarch64/stpcpy.S: New file.
16238         * NEWS: Updated.
16240 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
16242         * sysdeps/aarch64/strrchr.S: New file.
16243         * NEWS: Updated.
16245 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
16247         [BZ #17658]
16248         * stdlib/setenv.c: Fix memory leak when setting large,
16249         duplicate string.
16251 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
16253         [BZ #17273]
16254         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
16255         and tabs from buffer before parsing fstab entry.
16256         * misc/tst-mntent.c (main): Add test for mount entry with
16257         trailing spaces and tabs.
16259 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
16261         [BZ #17748]
16262         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
16263         * math/fesetround.c (fesetround): Rename to __fesetround and
16264         define as weak alias of __fesetround.  Use libm_hidden_weak.
16265         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
16266         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
16267         * sysdeps/arm/fesetround.c (fesetround): Likewise.
16268         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
16269         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
16270         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
16271         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
16272         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
16273         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
16274         __fesetround_inline.
16275         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
16276         __fesetround_inline instead of __fesetround.
16277         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
16278         __fesetround and define as weak alias of __fesetround.  Use
16279         libm_hidden_weak.  Call __fesetround_inline instead of
16280         __fesetround.
16281         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
16282         __fesetround and define as weak alias of __fesetround.  Use
16283         libm_hidden_weak.
16284         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
16285         Likewise.
16286         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
16287         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
16288         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
16289         * sysdeps/tile/math_private.h (__fesetround): New inline function.
16290         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
16291         __fesetround and define as weak alias of __fesetround.  Use
16292         libm_hidden_weak.
16293         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
16294         __fesetround instead of fesetround.
16295         (default_libc_feholdexcept_setround): Likewise.
16296         (libc_feholdsetround_ctx): Likewise.
16297         (libc_feholdsetround_noex_ctx): Likewise.
16299         [BZ #17748]
16300         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
16301         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
16302         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
16303         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
16304         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
16305         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
16306         define as weak alias of __fesetenv.  Use libm_hidden_weak.
16307         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
16308         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
16309         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
16310         define as weak alias of __fesetenv.  Use libm_hidden_weak.
16311         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
16312         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
16313         define as weak alias of __fesetenv.  Use libm_hidden_weak.
16314         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
16315         libm_hidden_def.
16316         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
16317         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
16318         Likewise.
16319         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
16320         define as weak alias of __fesetenv.  Use libm_hidden_weak.
16321         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
16322         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
16323         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
16324         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
16325         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
16326         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
16327         __fesetenv instead of fesetenv.
16328         (libc_feresetround_noex_ctx): Likewise.
16329         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
16330         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
16331         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
16332         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
16333         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
16334         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
16335         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
16336         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
16337         (__feupdateenv): Likewise.
16338         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
16339         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
16340         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
16341         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
16343 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
16345         [BZ #17806]
16346         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
16347         addresses have been freed.
16349 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
16351         * resolv/res_init.c (__res_vinit): Improve comments about nserv
16352         and nservall.
16354 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
16356         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
16357         Clean up check_pf allocation pattern. addresses
16359 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16361         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
16362         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
16363         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
16364         * nptl/pthread_exit.c (__pthread_exit): Likewise.
16365         * nptl/pthread_join.c (pthread_join): Likewise.
16366         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
16367         * sysdeps/posix/waitid.c (__waitid): Likewise.
16368         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
16369         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
16370         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
16371         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
16372         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
16373         Likewise.
16374         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
16375         (__libc_pread64): Likewise.
16376         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
16377         (__libc_pwrite): Likewise.
16378         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
16379         (__libc_pwrite64): Likewsie.
16380         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
16381         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
16382         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
16383         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
16384         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
16385         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
16386         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
16387         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
16388         Likewise.
16389         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
16390         (__libc_pread64): Likewise.
16391         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
16392         Likewise.
16393         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
16394         (__libc_pwrite64): Likewise.
16395         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
16396         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
16397         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
16398         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
16399         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
16400         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
16401         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
16402         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
16403         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
16404         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
16405         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
16406         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
16407         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
16408         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
16409         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
16410         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
16411         Likewise.
16413 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
16415         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
16416         (CFLAGS-test-double.c): Likewise.
16417         (CFLAGS-test-ldouble.c): Likewise.
16418         (CPPFLAGS-test-ifloat.c): Likewise.
16419         (CPPFLAGS-test-idouble.c): Likewise.
16420         (CPPFLAGS-test-ildoubl.c): Likewise.
16421         (CFLAGS-test-test-fenv.c): Remove variable.
16422         (CFLAGS-test-misc.c): Likewise.
16424 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
16426         [BZ #17797]
16427         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
16428         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
16429         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
16430         CLOCKS_PER_SEC == 1000000.
16431         * time/clocktest.c (main): Replace %ld with %jd and cast to
16432         intmax_t.
16434 2015-01-05  Roland McGrath  <roland@hack.frob.com>
16436         * sysdeps/generic/unwind-resume.h: New file.
16437         * sysdeps/gnu/unwind-resume.c: Include it.
16438         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
16439         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
16440         argument list.
16441         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
16442         global rather than static.
16443         (_Unwind_Resume): Update user.
16444         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
16445         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
16446         rather than static.  Add __attribute__ ((cold)).
16447         (_Unwind_Resume, __gcc_personality_v0): Update callers.
16448         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
16449         * sysdeps/arm/arm-unwind-resume.S: New file.
16450         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
16451         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
16452         * sysdeps/arm/Makefile [$(subdir) = csu]
16453         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
16454         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
16455         Add rt-arm-unwind-resume.
16456         [$(subdir) = nptl]
16457         (libpthread-sysdep_routines, libpthread-shared-only-routines):
16458         Add pt-arm-unwind-resume.
16459         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
16460         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
16462 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
16464         [BZ #17748]
16465         * include/fenv.h (__feholdexcept): Declare.  Use
16466         libm_hidden_proto.
16467         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
16468         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
16469         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
16470         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
16471         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
16472         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
16473         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
16474         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
16475         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
16476         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
16477         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
16478         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
16479         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
16480         (feholdexcept): Likewise.
16481         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
16482         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
16483         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
16484         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
16485         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
16486         __feholdexcept instead of feholdexcept.
16487         (default_libc_feholdexcept_setround): Likewise.
16489 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
16491         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
16492         to avoid using stl/str to align destination.
16494 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
16496         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
16498 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
16500         [BZ #17796]
16501         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
16502         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
16503         Define as weak alias not strong alias.
16505 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
16507         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
16508         bltzal with addiupc.
16509         (RTLD_START): Ditto.
16511 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
16513         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
16514         for __vdso_* functions in declarations.
16515         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
16516         definitions.
16517         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
16518         INTERNAL_VSYSCALL): Use struct return types to check for error.
16520         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
16521         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
16522         function with cast from llround().
16523         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
16524         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
16525         Define.
16527 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
16529         [BZ #17793]
16530         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
16531         Define as weak alias not strong alias.
16533         [BZ #17635]
16534         * ctype/ctype-c99.c: New file.  isblank implementation moved from
16535         ...
16536         * ctype/ctype-extn.c: ... here.
16537         (__isblank_l): Move to ...
16538         * ctype/ctype-c99_l.c: ... here.  New file.
16539         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
16540         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
16541         Remove variable.
16542         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
16543         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
16544         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
16545         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
16546         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
16548         [BZ #17777]
16549         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
16550         (posix_fadvise64): Define as weak alias not strong alias.
16551         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
16552         (posix_fallocate64): Likewise.
16553         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
16554         Remove variable.
16555         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
16556         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
16557         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
16558         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
16559         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
16561 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
16563         [BZ #16191]
16564         * NEWS: Mention bug fix.
16565         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
16566         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
16567         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
16568         (HOST_STACK_END_ADDR): Likewise.
16570 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
16572         [BZ #17748]
16573         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
16574         * math/fegetround.c (fegetround): Rename to __fegetround and
16575         define as weak alias of __fegetround.  Use libm_hidden_weak.
16576         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
16577         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
16578         * sysdeps/arm/fegetround.c (fegetround): Likewise.
16579         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
16580         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
16581         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
16582         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
16583         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
16584         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
16585         Undefine after rather than before function definition; use
16586         parentheses around function name in definition.
16587         (__fegetround): Also undefine macro after function definition.
16588         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
16589         __fegetround and define as weak alias of __fegetround.  Use
16590         libm_hidden_weak.  Do not undefine as macro.
16591         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
16592         Likewise.
16593         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
16594         __fegetround and define as weak alias of __fegetround.  Use
16595         libm_hidden_weak.
16596         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
16597         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
16598         * sysdeps/tile/math_private.h (__fegetround): New inline function.
16599         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
16600         __fegetround and define as weak alias of __fegetround.  Use
16601         libm_hidden_weak.
16602         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
16603         __fegetround instead of fegetround.
16605         [BZ #17782]
16606         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
16607         Condition macro definition on [__USE_MISC].
16609         [BZ #17781]
16610         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
16611         (struct sigaction): Change type of sa_flags field to int.
16613         [BZ #17780]
16614         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
16615         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
16616         __glibc_reserved0.
16618         * nptl/version.c (banner): Use single year in copyright notice.
16620         * NEWS: Update copyright dates.
16621         * catgets/gencat.c (print_version): Likewise.
16622         * csu/version.c (banner): Likewise.
16623         * debug/catchsegv.sh: Likewise.
16624         * debug/pcprofiledump.c (print_version): Likewise.
16625         * debug/xtrace.sh (do_version): Likewise.
16626         * elf/ldconfig.c (print_version): Likewise.
16627         * elf/ldd.bash.in: Likewise.
16628         * elf/pldd.c (print_version): Likewise.
16629         * elf/sotruss.sh: Likewise.
16630         * elf/sprof.c (print_version): Likewise.
16631         * iconv/iconv_prog.c (print_version): Likewise.
16632         * iconv/iconvconfig.c (print_version): Likewise.
16633         * locale/programs/locale.c (print_version): Likewise.
16634         * locale/programs/localedef.c (print_version): Likewise.
16635         * login/programs/pt_chown.c (print_version): Likewise.
16636         * malloc/memusage.sh (do_version): Likewise.
16637         * malloc/memusagestat.c (print_version): Likewise.
16638         * malloc/mtrace.pl: Likewise.
16639         * manual/libc.texinfo: Likewise.
16640         * nptl/version.c (banner): Likewise.
16641         * nscd/nscd.c (print_version): Likewise.
16642         * nss/getent.c (print_version): Likewise.
16643         * nss/makedb.c (print_version): Likewise.
16644         * posix/getconf.c (main): Likewise.
16645         * scripts/test-installation.pl: Likewise.
16646         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
16648 2015-01-02  Will Newton  <will.newton@linaro.org>
16650         * sysdeps/arm/armv7/configure: Removed.
16651         * sysdeps/arm/armv7/configure.ac: Likewise.
16653 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
16655         * All files with FSF copyright notices: Update copyright dates
16656         using scripts/update-copyrights.
16657         * intl/plural.c: Regenerated.
16658         * locale/programs/charmap-kw.h: Likewise.
16659         * locale/programs/locfile-kw.h: Likewise.
16661 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
16663         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
16665 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
16667         [BZ #17748]
16668         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
16669         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
16670         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
16671         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
16672         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
16673         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
16674         define as weak alias of __fegetenv.  Use libm_hidden_weak.
16675         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
16676         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
16677         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
16678         define as weak alias of __fegetenv.  Use libm_hidden_weak.
16679         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
16680         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
16681         define as weak alias of __fegetenv.  Use libm_hidden_weak.
16682         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
16683         libm_hidden_def.
16684         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
16685         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
16686         Likewise.
16687         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
16688         define as weak alias of __fegetenv.  Use libm_hidden_weak.
16689         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
16690         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
16691         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
16692         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
16693         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
16694         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
16695         __fegetenv instead of fegetenv.
16696         (libc_feholdsetround_noex_ctx): Likewise.
16698 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
16700         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
16701         (Elf_MIPS_ABIFlags_v0): New structure.
16702         (EF_MIPS_FP64): Define.
16703         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
16704         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
16705         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
16706         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
16707         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
16708         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
16709         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
16710         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
16711         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
16712         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
16713         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
16714         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
16715         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
16716         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
16717         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
16718         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
16719         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
16720         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
16721         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
16722         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
16723         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
16724         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
16725         field.
16726         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
16727         EF_MIPS_FP64.
16728         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
16729         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
16730         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
16731         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
16732         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
16733         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
16734         * sysdeps/mips/tst-abi-interlink.c: Likewise.
16735         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
16736         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
16737         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
16738         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
16739         record the current FP ABI extension.
16740         (mips-mode-switch): Define to show if kernel headers support mode
16741         switching.
16742         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
16743         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
16744         supported SYSV ABI version to 3.
16745         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
16746         feature.
16748 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
16749             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16751         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
16752         path.
16753         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
16755 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
16757         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
16758         __fegetround and redefine to call __fegetround.  Remove condition
16759         on [!__NO_MATH_INLINES].
16760         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
16761         function.
16762         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
16763         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
16764         Remove macro.
16765         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
16766         instead of <fenv_libc.h>.
16767         (__llrintl): Call fegetround instead of __fegetround.
16768         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
16769         instead of <fenv_libc.h>.
16770         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
16771         (__lrintl): Call fegetround instead of __fegetround.
16772         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
16773         instead of <fenv_libc.h>.
16774         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
16775         (__rintl): Call fegetround instead of __fegetround.
16777 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
16779         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
16780         arrays.
16782 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
16784         [BZ #17775]
16785         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
16786         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
16787         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
16789 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
16791         * sysdeps/i386/tls-macros.h: Include <features.h>.
16792         (TLS_LE): Use non-PIC version for GCC >= 5.0.
16793         (TLS_IE): Likewise.
16794         (TLS_LD): Likewise.
16795         (TLS_GD): Likewise.
16796         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
16797         define for GCC >= 5.0.
16799 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
16801         * math/test-fenv.c (test_single_exception, set_single_exc,
16802         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
16803         feexcp_mask_test, feenable_test, fe_single_test): Add
16804         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
16805         case where they are not used.
16806         * math/libm-test.inc: Likewise.
16807         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
16808         unused in the absence of FP rounding/exception support.
16809         * stdio-common/tst-printf-round.c: Likewise.
16810         * stdlib/tst-strtod-round.c: Likewise.
16811         * stdlib/tst-strtod-underflow.c: Likewise.
16813 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
16815         [BZ #17723]
16816         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
16817         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
16818         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
16819         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
16820         libm_hidden_weak.
16821         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
16822         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
16823         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
16824         libm_hidden_def.
16825         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
16826         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
16827         libm_hidden_weak.
16828         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
16829         Likewise.
16830         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
16831         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
16832         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
16833         libm_hidden_weak.
16834         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
16835         libm_hidden_def.
16836         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
16837         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
16838         (__feraiseexcept): Likewise.
16839         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
16840         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
16841         libm_hidden_weak.
16842         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
16843         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
16844         libm_hidden_def.
16845         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
16846         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
16847         Use libm_hidden_def.
16848         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
16849         libm_hidden_def.
16850         (feraiseexcept): Define as weak not strong alias.  Use
16851         libm_hidden_weak.
16852         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
16853         New inline function.  Factored out of ...
16854         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
16855         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
16856         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
16857         feraiseexcept.
16858         * math/w_acos.c (__acos): Likewise.
16859         * math/w_asin.c (__asin): Likewise.
16860         * math/w_ilogb.c (__ilogb): Likewise.
16861         * math/w_j0.c (y0): Likewise.
16862         * math/w_j1.c (y1): Likewise.
16863         * math/w_jn.c (yn): Likewise.
16864         * math/w_log.c (__log): Likewise.
16865         * math/w_log10.c (__log10): Likewise.
16866         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
16867         * sysdeps/aarch64/fpu/math_private.h
16868         (libc_feupdateenv_test_aarch64): Likewise.
16869         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
16870         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
16871         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
16872         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
16873         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
16874         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
16875         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
16876         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
16877         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
16878         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
16880 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
16882         [BZ #17732]
16883         * io/test-utime.c (main): Replace %ld with %jd and cast to
16884         intmax_t.
16885         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
16886         * nptl/tst-mutex5.c: Include <stdint.h>.
16887         (do_test): Replace %ld with %jd and cast to intmax_t.
16888         * posix/tst-regex.c (run_test): Likewise.
16889         (run_test_backwards): Likewise.
16890         * rt/tst-clock.c: Include <stdint.h>.
16891         (clock_test): Replace %ld with %jd and cast to intmax_t.
16892         * rt/tst-cpuclock1.c: Include <stdint.h>.
16893         (do_test): Replace %lu with %ju and cast to uintmax_t.
16894         * rt/tst-cpuclock2.c: Include <stdint.h>.
16895         (do_test): Replace %lu with %ju and cast to uintmax_t.
16896         * rt/tst-mqueue1.c: Include <stdint.h>.
16897         (check_attrs): Replace %ld with %jd and cast to intmax_t.
16898         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
16899         intmax_t.
16900         * rt/tst-mqueue4.c (do_test): Likewise.
16901         * rt/tst-timer4.c: Include <stdint.h>.
16902         (check_ts): Replace %ld with %jd and cast to intmax_t.
16903         (do_test): Likewise.
16904         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
16905         and cast to intmax_t.
16906         * sysdeps/pthread/tst-timer.c (main): Likewise.
16907         * time/clocktest.c (main): Likewise.
16908         * time/tst-posixtz.c (do_test): Likewise.
16909         * timezone/tst-timezone.c (main): Likewise.
16911 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
16912             H.J. Lu  <hongjiu.lu@intel.com>
16914         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
16915         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
16916         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
16917         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
16918         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
16919         version if bit_Fast_Unaligned_Load is set.
16920         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
16921         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
16922         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
16923         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
16924         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
16925         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
16926         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
16927         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
16928         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
16929         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
16930         to 4.
16931         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
16932         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
16933         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
16934         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
16936 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
16938         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
16939         instead of #if to avoid a Wundef warning.
16940         * stdlib/tst-limits.c (do_test): Likewise.
16942         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
16943         parallel other exception macros.
16944         (fegetenv): Convert from macro to extern inline so that it applies
16945         retroactively to inline functions already seen by the compiler.
16946         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
16948         * posix/Makefile (before-compile): Use $(objpfx) for
16949         posix-conf-vars-def.h.
16951 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
16953         * posix/getconf.c (main): Use size_t for type of I.
16954         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
16955         NSPEC.
16957         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
16958         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
16959         * posix/posix-envs.def: Likewise.
16960         * sysdeps/posix/sysconf.c: Likewise.
16961         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
16962         (specs): Remove array.
16963         * scripts/gen-posix-conf-vars.awk: Support generation of specs
16964         array.
16966         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
16967         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
16968         (__sysconf): Use CONF_IS_* macros.
16970         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
16971         ($(objpfx)posix-conf-vars-def.h): New target.
16972         * posix/posix-conf-vars.list: New file.
16973         * posix/posix-conf-vars.h: New file.
16974         * posix/confstr.c: Include posix-conf-vars.h.
16975         (confstr): Use CONF_IS_* macros.
16976         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
16977         CONF_IS_* macros.
16978         * scripts/gen-posix-conf-vars.awk: New file.
16980 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
16982         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
16983         fegetround): Add no-op macros to avoid linknamespace issues.
16985         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
16986         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
16988         * sysdeps/unix/sysv/linux/tile/sysdep.h
16989         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
16990         assembly-specific section to avoid a redefinition warning.
16992         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
16993         long before casting to pointer to avoid a cast warning.
16995 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
16997         * sysdeps/tile/tilegx/Implies: New file.
16999 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
17001         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
17003 2014-12-23  Florian Weimer  <fweimer@redhat.com>
17005         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
17007 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
17009         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
17010         not define.
17011         * sysdeps/unix/sysv/linux/utimes.c: Do not include
17012         <kernel-features.h>.
17013         (__utimes) [__NR_utimes]: Make code unconditional.
17014         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
17015         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
17016         (__ASSUME_UTIMES): Do not undefine.
17017         * sysdeps/unix/sysv/linux/tile/kernel-features.h
17018         (__ASSUME_UTIMES): Likewise.
17019         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
17020         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
17021         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
17022         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
17024 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
17026         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
17028 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
17030         [BZ #17747]
17031         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
17032         alias to weak alias for j0l, y0l.
17033         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
17034         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
17036         [BZ #17746]
17037         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
17038         conversion.
17040 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
17042         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
17043         to zero if not already defined.
17045 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
17047         [BZ #17724]
17048         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
17049         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
17050         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
17051         (char *) casts added.
17052         * sysdeps/ieee754/k_standardf.c: New file.
17053         * sysdeps/ieee754/k_standardl.c: Likewise.
17054         * math/Makefile (libm-support): Remove k_standard.
17055         (libm-calls): Add k_standard.
17057 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
17059         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
17060         Optimize to avoid an unnecessary FPCR read.
17062 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
17064         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
17065         Optimize to reduce FPCR/FPSR accesses.
17067 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
17069         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
17070         Call libc_fetestexcept_aarch64.
17072 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
17074         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
17075         Call libc_fesetround_aarch64.
17077 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
17079         [BZ #17733]
17080         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
17081         (__bind): Do not define as weak alias.
17082         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
17083         define.
17084         (__getsockname): Do not define as weak alias.
17086 2014-12-22  Will Newton  <will.newton@linaro.org>
17088         * manual/install.texi: Document that we require bison 2.7
17089         or above.
17090         * INSTALL: Regenerate.
17091         * configure.ac: Use AC_CHECK_PROG_VER instead of
17092         AC_PATH_PROG when checking for bison and check for
17093         version 2.7 or above.
17094         * configure: Regenerate.
17096 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
17098         [BZ #17745]
17099         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
17100         * sysdeps/tile/ffsll.c (ffsll): To here.
17102         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
17104 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
17106         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
17107         if not defined.
17108         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
17109         definition.
17110         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
17111         hidden ___tls_get_addr.
17112         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
17113         hidden __tls_get_addr.
17114         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
17115         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
17116         Likewise.
17118 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
17120         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
17121         _dl_init call.
17123 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
17125         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
17126         from "call _dl_init@PLT".
17127         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
17129 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
17131         * manual/search.texi: (Array Sort Function): Clarify stable sorting
17132         guarantees.
17134 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
17136         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
17138 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
17140         [BZ #17744]
17141         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
17142         strnlen.
17144 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
17146         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
17147         of multu on MIPSr6.
17148         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
17149         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
17150         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
17151         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
17152         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
17154 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
17156         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
17157         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
17158         (PTR_SUBU): Use subu for mips32r6/mips64r6.
17159         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
17160         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
17161         mips32r6/mips64r6.
17162         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
17164 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
17166         * string/strncat.c (STRNCAT): Simplify implementation.
17168 2014-12-19  David S. Miller  <davem@davemloft.net>
17170         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
17171         access the quad as both a long double and as a series of 4 words.
17173         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
17174         link_map->l_info array access.
17176 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
17178         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
17180         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
17181         * math/atest-exp2.c (TIMEOUT): Likewise.
17182         * math/atest-sincos.c (TIMEOUT): Likewise.
17184 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
17186         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
17187         -Wno-error with -fno-builtin-lround.
17189 2014-12-19  Torvald Riegel  <triegel@redhat.com>
17191         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
17192         Contains futex constants and functions moved over from ...
17193         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
17194         <lowlevellock-futex.h>.
17195         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
17196         (lll_timedwait_tid): Add comments and parentheses around macro
17197         arguments.
17199 2014-12-19  Torvald Riegel  <triegel@redhat.com>
17201         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
17202         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
17203         (__lll_private_flag): Remove.
17204         (lll_futex_wait): Likewise.
17205         (lll_futex_timed_wait): Likewise.
17206         (lll_futex_wake): Likewise.
17207         (lll_futex_requeue): Likewise.
17208         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
17209         (__lll_timedwait_tid): Spell out argument names.
17210         (lll_timedwait_tid): Add comments and parentheses around macro
17211         arguments.
17212         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
17213         LLL_SHARED and LLL_PRIVATE usable from assembly code.
17215 2014-12-19  Torvald Riegel  <triegel@redhat.com>
17217         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
17218         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
17219         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
17220         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
17221         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
17222         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
17223         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
17224         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
17225         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
17226         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
17227         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
17228         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
17229         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
17230         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
17231         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
17232         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
17233         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
17234         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
17235         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
17237 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
17239         * sysdeps/x86_64/x32/Makefile: New file.
17241 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
17243         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
17244         1L with (mp_limb_t) 1.
17246 2014-12-17  Roland McGrath  <roland@hack.frob.com>
17248         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
17249         * nptl/libc_pthread_init.c: ... here.
17250         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
17251         * nptl/register-atfork.c: ... here.
17253         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
17254         Use pthread_sigmask rather than INTERNAL_SYSCALL.
17255         Use assert_perror to check its return value.
17256         (__gai_create_helper_thread): Likewise.
17258         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
17260         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
17262 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
17264         [BZ #17725]
17265         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
17266         __profil_counter.
17267         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
17268         Likewise.
17269         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
17270         Likewise.
17271         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
17272         Likewise.
17273         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
17274         (profil_counter): Likewise.
17275         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
17276         (profil_counter): Likewise.
17277         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
17278         Likewise.
17279         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
17280         Likewise.
17281         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
17282         (profil_counter): Likewise.
17283         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
17284         Likewise.
17285         [!__profil_counter] (profil_counter): Define as weak alias of
17286         __profil_counter.
17287         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
17288         (profil_counter): Rename to __profil_counter.
17289         [!__profil_counter] (profil_counter): Define as weak alias of
17290         __profil_counter.
17291         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
17292         (profil_counter): Rename to __profil_counter.
17293         [!__profil_counter] (profil_counter): Define as weak alias of
17294         __profil_counter.
17295         * sysdeps/posix/profil.c: Update comment referring to
17296         profil_counter.
17297         (__profil): Use __profil_counter instead of profil_counter.
17298         * sysdeps/posix/sprofil.c (profil_counter): Rename to
17299         __profil_counter.  Use __profil_counter_ushort and
17300         __profil_counter_uint in definitions.
17301         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
17302         instead of profil_counter_uint and profil_counter_ushort.
17304         [BZ #17722]
17305         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
17306         define as weak alias of __inet_makeaddr.
17307         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
17308         as weak alias of __inet_addr.
17309         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
17310         as weak alias of __inet_pton.  Use libc_hidden_weak.
17311         * include/arpa/inet.h (__inet_pton): Declare.  Use
17312         libc_hidden_proto.
17313         (inet_makeaddr): Don't use libc_hidden_proto.
17314         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
17315         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
17316         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
17317         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
17318         Remove variable.
17319         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
17320         (test-xfail-POSIX/time.h/linknamespace): Likewise.
17322 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
17324         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
17326 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
17328         * stdio-common/bug-vfprintf-nargs.c (do_test):
17329         Cast value to intptr_t to avoid format warning
17330         for usage with PRIdPTR printing macro.
17332 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
17334         * libio/tst-widetext.c (do_test):
17335         Use format type %td instead of %Zd for ptrdiff_t
17336         in order to avoid format warning.
17338 2014-12-17  Andreas Schwab  <schwab@suse.de>
17340         * nscd/mem.c (gc): Add size_t cast to match printf format.
17342 2014-12-16  Roland McGrath  <roland@hack.frob.com>
17344         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
17345         (init): Apply PTR_MANGLE to pointers before storing them.
17346         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
17347         before using them.
17349 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
17351         [BZ #17719]
17352         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
17353         define as weak alias of __memrchr.
17354         (__memrchr): Do not define as strong alias of memrchr.
17355         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
17356         Remove variable.
17357         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
17358         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
17359         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
17361         [BZ #17717]
17362         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
17363         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
17364         (if_indextoname): Rename to __if_indextoname and define as weak
17365         alias of __if_indextoname.  Use libc_hidden_weak.
17366         (if_freenameindex): Rename to __if_freenameindex and define as
17367         weak alias of __if_freenameindex.
17368         (if_nameindex): Rename to __if_nameindex and define as weak alias
17369         of __if_nameindex.
17370         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
17371         __if_nametoindex and define as weak alias of __if_nametoindex.
17372         Use libc_hidden_weak.
17373         (if_freenameindex): Rename to __if_freenameindex and define as
17374         weak alias of __if_freenameindex.
17375         (if_nameindex): Rename to __if_nameindex and define as weak alias
17376         of __if_nameindex.
17377         (if_indextoname): Rename to __if_indextoname and define as weak
17378         alias of __if_indextoname.  Use libc_hidden_weak.
17379         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
17380         __if_nametoindex and define as weak alias of __if_nametoindex.
17381         Use libc_hidden_weak.
17382         (if_freenameindex): Rename to __if_freenameindex and define as
17383         weak alias of __if_freenameindex.  Use libc_hidden_weak.
17384         (if_nameindex_netlink): Use __if_freenameindex instead of
17385         if_freenameindex.
17386         (if_nameindex): Rename to __if_nameindex and define as weak alias
17387         of __if_nameindex.  Use libc_hidden_weak.
17388         (if_indextoname): Rename to __if_indextoname and define as weak
17389         alias of __if_indextoname.  Use libc_hidden_weak.
17390         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
17391         libc_hidden_proto.
17392         [!_ISOMAC] (__if_freenameindex): Likewise.
17393         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
17394         if_nametoindex.
17395         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
17396         variable.
17397         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
17398         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
17399         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
17400         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
17401         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
17402         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
17403         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
17405         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
17406         Remove variable.
17407         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
17408         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
17410 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
17412         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
17413         subscript above bounds'
17415         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
17416         bounds.
17418 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
17420         * libio/tst-fopenloc.c: Use test-skeleton.c.
17422         * stdlib/tst-bsearch.c: Use test-skeleton.c.
17423         (entry): Rename to ITEM.
17424         (do_test, comp): Adjust.
17426         * stdio-common/tst-fseek.c: Use test-skeleton.c.
17428 2014-12-16  Torvald Riegel  <triegel@redhat.com>
17430         * string/tester.c: Include <libc-internal.h>.
17431         (test_memset): Ignore -Wmemset-transposed-args.
17433 2014-12-16  Torvald Riegel  <triegel@redhat.com>
17435         * misc/tst-mntent2.c (do_test): Fix warning.
17437 2014-12-16  Torvald Riegel  <triegel@redhat.com>
17439         * elf/tst-unique4lib.cc(a): Mark as used.
17441 2014-12-16  Florian Weimer  <fweimer@redhat.com>
17443         [BZ #17630]
17444         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
17445         names.
17447 2014-12-16  Allan McRae  <allan@archlinux.org>
17449         * stdio-common/Makefile (tests): Re-add bug26.
17451 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
17453         [BZ #17657]
17454         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
17455         static array.
17457 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
17459         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
17460         (__lll_lock_wait): Likewise.
17461         (__lll_timedlock_wait): Likewise.
17462         (__lll_timedwait_tid): Likewise.
17463         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
17464         (__lll_robust_timedlock_wait): Likewise.
17465         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
17466         (lll_cond_trylock): Likewise.
17467         (__lll_lock): Likewise.
17468         (__lll_robust_lock): Likewise.
17469         (__lll_cond_lock): Likewise.
17470         (lll_robust_cond_lock): Likewise.
17471         (__lll_timedlock): Likewise.
17472         (__lll_robust_timedlock): Likewise.
17473         (__lll_unlock): Likewise.
17474         (__lll_robust_unlock): Likewise.
17475         (lll_wait_tid): Likewise.
17476         (lll_timedwait_tid): Likewise.
17478 2014-12-15  Torvald Riegel  <triegel@redhat.com>
17480         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
17482 2014-12-15  Torvald Riegel  <triegel@redhat.com>
17484         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
17486 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
17488         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
17489         * stdio-common/tst-sprintf.c: Likewise.
17491 2014-12-15  Torvald Riegel  <triegel@redhat.com>
17493         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
17495 2014-12-15  Jeff Law  <law@redhat.com>
17497         [BZ #16617]
17498         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
17499         on the heap.  (CVE-2012-3406)
17500         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
17501         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
17502         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
17504 2014-12-15  Will Newton  <will.newton@linaro.org>
17506         * manual/install.texi: Bump required version of texinfo
17507         to 4.7 from 4.5.
17508         * INSTALL: Regenerated.
17509         * configure.ac: Check for makeinfo version 4.7 and above.
17510         * configure: Regenerated.
17512 2014-12-12  Roland McGrath  <roland@hack.frob.com>
17514         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
17515         PREFIX, string constant to insert between directory and name.
17516         * sysdeps/posix/shm_open.c: Update caller.
17517         * sysdeps/posix/shm_unlink.c: Likewise.
17518         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
17519         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
17520         (SEM_SHM_PREFIX): New macro.
17521         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
17522         [$(have-thread-library) = no].
17523         * nptl/Makefile (libpthread-routines): Add shm-directory.
17524         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
17525         * sysdeps/nptl/shm-directory.h: New file.
17526         * sysdeps/posix/shm-directory.c
17527         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
17528         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
17529         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
17530         INTERNAL_SYSCALL.
17531         (__where_is_shmfs): Function removed.
17532         (mountpoint, defaultmount, defaultdir, __namedsem_once):
17533         Variables removed.
17534         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
17535         Use SHM_GET_NAME.
17536         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
17538         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
17539         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
17540         unconditional for use inside libpthread.
17541         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
17543 2014-12-12  Roland McGrath  <roland@hack.frob.com>
17545         * nptl/pthread_getaffinity.c: New file.
17546         * nptl/pthread_setaffinity.c: New file.
17547         * nptl/pthread_getname.c: New file.
17548         * nptl/pthread_setname.c: New file.
17550         * nptl/pthread_create.c (START_THREAD_DEFN)
17551         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
17553 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
17554             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17556         * resolv/res_send.c (send_vc): Disable warning resplen may
17557         be used uninitialized.
17559 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
17561         * nptl/tst-mutex6.c
17562         (ATTR_NULL): New define checks ATTR against NULL.
17563         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
17564         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
17566 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
17568         [BZ #17581]
17569         * malloc/hooks.c
17570         (mem2mem_check): Revert my previous change.
17571         (malloc_check_get_size): Revert my previous change.
17572         (mem2chunk_check): Revert my previous change.
17574 2014-12-11  Roland McGrath  <roland@hack.frob.com>
17576         * sysdeps/posix/shm-directory.c: New file.
17577         * sysdeps/posix/shm-directory.h: New file.
17578         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
17579         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
17580         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
17581         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
17582         Transmute EPERM to EACCES.
17583         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
17584         from ...
17585         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
17586         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
17588 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
17590         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
17591         pointer and cast to uintptr_t.
17592         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
17593         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
17594         Add cast to avoid warning.
17595         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
17597 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
17599         * nptl/semaphore.h: Move to ...
17600         * sysdeps/pthread/semaphore.h: ... here.
17601         * Makefile (installed-headers): Change nptl/semaphore.h to
17602         sysdeps/pthread/semaphore.h.
17604 2014-12-11  Roland McGrath  <roland@hack.frob.com>
17606         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
17607         generated error format strings.
17609         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
17610         -Wformat-extra-args warnings for scanf formats.
17611         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
17612         test of zero-length format (duh).
17613         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
17614         corner-case scanf format test.
17615         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
17616         generated fprintf format string.
17617         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
17618         corner-case sprintf format tests.
17619         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
17620         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
17621         -Wformat-extra-args warnings throughout.
17622         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
17623         (CFLAGS-scanf4.c): Likewise.
17624         (CFLAGS-scanf7.c): Likewise.
17625         (CFLAGS-tst-sprintf.c): Likewise.
17626         (CFLAGS-tst-printf.c): Likewise.
17627         (CFLAGS-tst-printfsz.c): Likewise.
17629 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
17631         * include/cpio.h: New file.
17632         * include/fmtmsg.h: Likewise.
17634         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
17635         corresponding format argument to size_t.
17636         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
17637         arguments.
17638         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
17639         corresponding format argument to size_t.
17640         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
17641         arguments.
17642         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
17643         corresponding format argument to size_t.
17644         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
17645         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
17646         (CFLAGS-tst-mbswcs2.c): Likewise.
17647         (CFLAGS-tst-mbswcs3.c): Likewise.
17648         (CFLAGS-tst-mbswcs4.c): Likewise.
17649         (CFLAGS-tst-mbswcs5.c): Likewise.
17650         (CFLAGS-tst-trans.c): Likewise
17652 2014-12-11  Roland McGrath  <roland@hack.frob.com>
17654         * posix/regexbug1.c (main): Use "%s" format with regerror results,
17655         rather than assuming they won't contain any '%'s.
17657 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
17659         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
17660         inhibit_loop_to_libcall to avoid recursive calls.
17661         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
17662         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
17664 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
17666         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
17667         prototype.
17669 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
17671         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
17672         integer value instead of boolean.
17674 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
17676         * malloc/malloc.c: Fix powerof2 check.
17678 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
17680         * locale/programs/locfile.h (maybe_swap_uint32):
17681         Remove inline and add unused attribute.
17683 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
17685         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
17686         Truncating assembler expression to a .long expression.
17688 2014-12-11  Andreas Schwab  <schwab@suse.de>
17690         * elf/rtld.c (struct map_args): Constify str member.
17691         (do_preload): Constify fname argument.
17693 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17695         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
17696         constants definition.
17698 2014-12-11  Andreas Schwab  <schwab@suse.de>
17700         [BZ #16657]
17701         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
17702         FORCE_ELISION instead of DO_ELISION.
17703         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
17704         Remove.
17705         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
17706         Likewise.
17708         * iconvdata/gconv-modules: Remove duplicate entry.
17710 2014-12-11  Will Newton  <will.newton@linaro.org>
17712         Merge gettext 0.19.3 into intl/.
17714         This involves a number of cosmetic changes to comments
17715         and ANSI function definitions and prototypes throughout
17716         all the files. The gettext copyright header is used but
17717         with the date ranges taken from the glibc copy.
17719         * NEWS: Add gettext merge to 2.21.
17720         * intl/bindtextdom.c: Switch to gettext copyright.
17721         Use ANSI definitions and prototypes.
17722         Use gl_* locking primitives rather than __libc_* ones.
17723         Use __builtin_expect rather than __glibc_likely/unlikely.
17724         * intl/dcgettext.c: Switch to gettext copyright.
17725         Use ANSI definitions and prototypes.
17726         * intl/dcigettext.c: Switch to gettext copyright.
17727         Use ANSI definitions and prototypes.
17728         (INTDIV0_RAISES_SIGFPE): New define.
17729         Use gl_* locking primitives rather than __libc_* ones.
17730         Include eval-plural.h instead of plural-eval.c.
17731         Use __builtin_expect rather than __glibc_likely/unlikely.
17732         * intl/dcngettext.c: Switch to gettext copyright.
17733         Use ANSI definitions and prototypes.
17734         * intl/dgettext.c: Likewise.
17735         * intl/dngettext.c: Likewise.
17736         * intl/plural-eval.c: Renamed to...
17737         * intl/eval-plural.h: ...this.
17738         * intl/explodename.c: Switch to gettext copyright.
17739         Use ANSI definitions and prototypes.
17740         (_nl_explode_name): Use strchr instead of __rawmemchr.
17741         * intl/finddomain.c: Switch to gettext copyright.
17742         Use ANSI definitions and prototypes.
17743         Use gl_* locking primitives rather than __libc_* ones.
17744         (_nl_find_domain): Use malloc rather than alloca for
17745         allocation of temporary locale name.
17746         * intl/gettext.c: Switch to gettext copyright.
17747         Use ANSI definitions and prototypes.
17748         * intl/gettextP.h: Switch to gettext copyright.
17749         Use ANSI definitions and prototypes.
17750         Use gl_* locking primitives rather than __libc_* ones.
17751         * intl/gmo.h: Switch to gettext copyright.
17752         (struct sysdep_string): Move struct segment_pair outside of
17753         struct definition.
17754         * intl/hash-string.c: Use ANSI definitions and prototypes.
17755         * intl/hash-string.h: Switch to gettext copyright.
17756         Use ANSI definitions and prototypes.
17757         * intl/l10nflist.c: Switch to gettext copyright.
17758         Use ANSI definitions and prototypes.
17759         (_nl_normalize_codeset): Avoid integer overflow.
17760         * intl/loadinfo.h: Switch to gettext copyright.
17761         Use ANSI definitions and prototypes.
17762         (LIBINTL_DLL_EXPORTED): New define.
17763         (PATH_SEPARATOR): New define.
17764         * intl/loadmsgcat.c: Switch to gettext copyright.
17765         * intl/localealias.c: Switch to gettext copyright.
17766         Use ANSI definitions and prototypes.
17767         (_nl_expand_alias): Use PATH_SEPARATOR.
17768         * intl/ngettext.c: Switch to gettext copyright.
17769         Use ANSI definitions and prototypes.
17770         * intl/plural-exp.c: Likewise.
17771         * intl/plural-exp.h: Switch to gettext copyright.
17772         Use ANSI definitions and prototypes.
17773         (struct expression): Move definition of enum operator outside
17774         of struct definition.
17775         * intl/plural.c: Regenerate.
17776         * intl/plural.y: Switch to gettext copyright.
17777         Use ANSI definitions and prototypes.
17778         Port to bison 3.0.
17779         * intl/textdomain.c: Switch to gettext copyright.
17780         Use ANSI definitions and prototypes.
17781         Use gl_* locking primitives rather than __libc_* ones.
17783 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
17785         * debug/warning-nop.c: Add used atrribute.
17787 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
17789         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
17791         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
17792         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
17793         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
17795 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
17796             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17798         [BZ #17634]
17799         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
17800         Undefine after defining function.  Define as weak alias of
17801         __wcschr.  Use libc_hidden_weak.
17802         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
17803         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
17804         (libc_hidden_def): Also define __GI___wcschr alias.
17805         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
17806         __wcschr and define as weak alias of __wcschr.
17807         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
17808         __wcschr.
17809         [!WCSCHR] (DEFAULT_WCSCHR): Define.
17810         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
17811         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
17812         libc_hidden_weak.  Do not use libc_hidden_def.
17813         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
17814         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
17815         __GI___wcschr alias.
17816         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
17817         [IS_IN (libc)] (wcschr): Define as macro expanding to
17818         __redirect_wcschr.
17819         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
17820         [IS_IN (libc)] (__wcschr_power6): Likewise.
17821         [IS_IN (libc)] (__wcschr_power7): Likewise.
17822         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
17823         instead of wcschr.
17824         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
17825         __libc_wcschr.
17826         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
17827         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
17828         __wcschr and define as weak alias of __wcschr.  Use
17829         libc_hidden_builtin_def.
17830         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
17831         as weak alias of __wcschr.  Use libc_hidden_weak.
17832         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
17833         wcschr.
17834         * time/era.c (_nl_init_era_entries): Likewise.
17835         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
17836         variable.
17837         (test-xfail-XPG3/time.h/linknamespace): Likewise.
17838         (test-xfail-XPG4/time.h/linknamespace): Likewise.
17840 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
17842         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
17843         format for long int variable.
17845 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
17847         [BZ #10672]
17848         * manual/search.texi: (Array Sort Function): Remove claim how to make
17849         qsort stable.
17851 2014-12-10  Andreas Schwab  <schwab@suse.de>
17853         [BZ #12847]
17854         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
17855         user-controlled locks.
17857 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
17859         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
17860         register.
17862 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
17864         * configure.ac (--disable-werror): New configure option.
17865         (enable_werror): New AC_SUBST.
17866         * configure: Regenerated.
17867         * config.make.in (enable-werror): New variable.
17868         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
17869         -Wno-error=undef.
17870         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
17871         * manual/install.texi (Configuring and compiling): Document
17872         --disable-werror.
17873         * INSTALL: Regenerated.
17874         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
17875         (CFLAGS-tst-chk2.c): Likewise.
17876         (CFLAGS-tst-chk3.c): Likewise.
17877         (CFLAGS-tst-chk4.cc): Likewise.
17878         (CFLAGS-tst-chk5.cc): Likewise.
17879         (CFLAGS-tst-chk6.cc): Likewise.
17880         (CFLAGS-tst-lfschk1.c): Likewise.
17881         (CFLAGS-tst-lfschk2.c): Likewise.
17882         (CFLAGS-tst-lfschk3.c): Likewise.
17883         (CFLAGS-tst-lfschk4.cc): Likewise.
17884         (CFLAGS-tst-lfschk5.cc): Likewise.
17885         (CFLAGS-tst-lfschk6.cc): Likewise.
17887         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
17888         (main): Disable -Wdeprecated-declarations around calls to
17889         register_printf_function.
17891         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
17892         (do_test): Disable -Wdiv-by-zero around some calls to
17893         fwrite_unlocked and fread_unlocked.
17895         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
17896         (DIAG_POP_NEEDS_COMMENT): Likewise.
17897         (_DIAG_STR1): Likewise.
17898         (_DIAG_STR): Likewise.
17899         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
17900         * stdio-common/bug21.c: Include <libc-internal.h>.
17901         (do_test): Disable -Wformat around call to sscanf.
17902         * stdio-common/scanf14.c: Include <libc-internal.h>.
17903         (main): Disable -Wformat around some calls to scanf functions.
17905 2014-12-09  Torvald Riegel  <triegel@redhat.com>
17907         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
17909 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17911         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
17912         stack variable alignment.
17914 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
17916         [BZ #17682]
17917         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
17918         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
17919         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
17920         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
17921         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
17922         __getrlimit instead of getrlimit.
17923         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
17924         __gettimeofday instead of gettimeofday.
17925         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
17926         Likewise.
17927         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
17928         Likewise.
17929         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
17930         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
17931         Remove variable.
17932         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
17933         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
17935 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17937         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
17938         for wide-character tests.
17940 2014-12-04  Roland McGrath  <roland@hack.frob.com>
17942         * io/openat64.c: #include <libc-internal.h>
17943         (__openat64): Prototypify.  Use ignore_value on MODE.
17944         * io/openat.c: Likewise.
17945         * misc/reboot.c: #include <libc-internal.h>
17946         (reboot): Prototypify.  Use ignore_value on HOWTO.
17947         * misc/ptrace.c: #include <libc-internal.h>
17948         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
17950 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
17952         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
17953         XPG4, UNIX98 and XOPEN2K.
17954         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
17955         Remove variable.
17956         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
17958 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
17960         * libio/fileops.c: Use ISO C style for function definitions.
17961         * libio/iofopen.c: Likewise.
17962         * libio/wfileops.c: Likewise.
17964         [BZ #17653]
17965         * libio/fileops.c (_IO_new_file_underflow): Unset cached
17966         offset on EOF.
17967         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
17968         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
17969         (fgets_func): Function pointer to fgets and fgetws.
17970         (do_ftell_test): Add test to verify ftell value after read
17971         EOF.
17972         (do_test): Set fgets_func.
17974         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
17975         O_TRUNC flag for w and w+ modes.
17976         (do_rewind_test): Likewise.
17977         (do_ftell_test): Likewise.
17978         (do_write_test): Likewise.
17980         [BZ #17647]
17981         * libio/fileops.c (do_ftell): Seek only when there are
17982         unflushed writes.
17983         * libio/wfileops.c (do_ftell_wide): Likewise.
17984         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
17985         test case.
17986         (do_one_test): Call it.
17988 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
17990         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
17991         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
17992         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
17993         Remove variable.
17994         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
17995         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
17996         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
17998 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
18000         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
18001         Remove variable.
18002         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
18004         [BZ #17668]
18005         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
18006         as weak alias of __getifaddrs.  Use libc_hidden_weak.
18007         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
18008         __freeifaddrs.  Use libc_hidden_weak.
18009         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
18010         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
18011         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
18012         __freeifaddrs.  Use libc_hidden_weak.
18013         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
18014         __getifaddrs and define as weak alias of __getifaddrs.  Use
18015         libc_hidden_weak.
18016         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
18017         __freeifaddrs.  Use libc_hidden_weak.
18018         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
18019         Remove variable.
18020         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
18021         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
18023 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
18025         [BZ #17601]
18026         * sysdeps/mips/start.S (__start): Use indirect jump to call
18027         __libc_start_main.
18029 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
18031         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
18033         * nptl/tst-mutex1.c: Include <stdbool.h>.
18034         [!ATTR] (ATTR_NULL): New macro.
18035         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
18036         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
18037         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
18039         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
18040         to char *.
18042         [BZ #17665]
18043         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
18044         Change conditional to [__USE_MISC].
18046         [BZ #17664]
18047         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
18048         fgets_unlocked.
18049         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
18050         __fgets_unlocked.
18051         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
18052         fgets_unlocked.
18053         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
18054         Remove variable.
18055         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
18056         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
18057         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
18058         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
18059         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
18060         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
18061         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
18062         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
18063         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
18065         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
18067 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18069         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
18070         Remove strpbrk objects.
18071         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18072         (__libc_ifunc_impl_list): Remove strpbrk implementation.
18073         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
18074         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
18075         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
18076         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
18078         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
18079         Remove strcspn objects.
18080         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18081         (__libc_ifunc_impl_list): Remove strcspn implementation.
18082         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
18083         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
18084         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
18085         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
18087         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
18088         Remove strspn objetcs.
18089         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18090         (__libc_ifunc_impl_list): Remove strspn implementation.
18091         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
18092         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
18093         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
18094         * sysdeps/powerpc/powerpc64/strspn.S: New file.
18096 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
18098         [BZ #17581]
18099         * malloc/hooks.c
18100         (mem2mem_check): Add a terminator to the chain of checking blocks.
18101         (malloc_check_get_size): Use it here.
18102         (mem2chunk_check): Ditto.
18104 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
18106         * sysdeps/powerpc/powerpc64/strtok.S: New file.
18107         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
18109 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
18111         * bits/ioctl-types.h: Indent preprocessor directives correctly.
18113         * nptl/nptl-init.c: Include libc-internal.h.
18114         (__pthread_initialize_minimal_internal): Use ROUND_UP.
18116         * elf/ldconfig.c (search_dir): Expand comment.
18118 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
18120         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
18121         variable.
18122         (linknamespace-symlist-stdlibs-tests): Likewise.
18123         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
18124         instead of $(objpfx)symlist-stdlibs.
18125         (linknamespace-libs-isoc): New variable.
18126         (linknamespace-libs): Use $(linknamespace-libs-isoc).
18127         (linknamespace-libs-ISO): New variable.
18128         (linknamespace-libs-ISO99): Likewise.
18129         (linknamespace-libs-ISO11): Likewise.
18130         (linknamespace-libs-XPG3): Likewise.
18131         (linknamespace-libs-XPG4): Likewise.
18132         (linknamespace-libs-POSIX): Likewise.
18133         (linknamespace-libs-UNIX98): Likewise.
18134         (linknamespace-libs-XOPEN2K): Likewise.
18135         (linknamespace-libs-POSIX2008): Likewise.
18136         (linknamespace-libs-XOPEN2K8): Likewise.
18137         ($(objpfx)symlist-stdlibs): Replace by
18138         $(linknamespace-symlist-stdlibs-tests).  Use
18139         $(linknamespace-libs-$*) as set of libraries.
18140         ($(linknamespace-header-tests)): Update dependencies.  Use
18141         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
18142         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
18143         * conform/linknamespace.pl: Remove comment about considering
18144         definitions of symbols from irrelevant libraries.
18146 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
18148         [BZ #13862]
18149         * elf/dl-tls.c: Include <atomic.h>.
18150         (oom): Remove #ifdef SHARED/#endif.
18151         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
18152         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
18153         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
18154         big enough.
18155         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
18156         * nptl/Makefile (tests): Add tst-stack4.
18157         (modules-names): Add tst-stack4mod.
18158         ($(objpfx)tst-stack4): New.
18159         (tst-stack4mod.sos): Likewise.
18160         ($(objpfx)tst-stack4.out): Likewise.
18161         ($(tst-stack4mod.sos)): Likewise.
18162         (clean): Likewise.
18163         * nptl/tst-stack4.c: New file.
18164         * nptl/tst-stack4mod.c: Likewise.
18166 2014-11-27  J. Brown  <jb999@gmx.de>
18168         * sysdeps/x86/bits/string.h: Add recent CPUs.
18170 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
18172         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
18173         sigblock.
18175         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
18176         feof.
18178         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
18179         variable.
18181 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
18183         * nscd/connections.c: Include libc-internal.h because of macro
18184         usage ignore_value.
18186 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
18188         * string/bits/string3.h (__warn_memset_zero_len): Don't
18189         declare for gcc newer than 5.0.
18190         (memset): Don't test for zero-length __LEN for gcc newer than
18191         5.0.
18193 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
18195         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
18196         size_t for %zu format.
18198         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
18199         difference, not %ju.
18201 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
18203         * include/libc-internal.h (ignore_value): New macro.
18204         * nscd/connections.c (restart): Wrap calls to setuid and setgid
18205         with ignore_value.
18207         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
18208         definition.
18210         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
18211         pthread_cleanup_push to void *.
18213         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
18214         Undefine.
18216         [BZ #16619]
18217         [BZ #16740]
18218         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
18219         instead of 1L << 52.
18221         * libio/bug-rewind.c (do_test): Check fwscanf return values.
18222         * libio/bug-rewind2.c (do_test): Likewise.
18224         * debug/test-stpcpy_chk-ifunc.c: Remove file.
18225         * debug/test-strcpy_chk-ifunc.c: Likewise.
18226         * wcsmbs/test-wcschr-ifunc.c: Likewise.
18227         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
18228         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
18229         * wcsmbs/test-wcslen-ifunc.c: Likewise.
18230         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
18231         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
18232         * Rules [$(multi-arch) = no] (tests): Do not filter out
18233         $(tests-ifunc).
18234         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
18235         * debug/Makefile (tests-ifunc): Remove variable.
18236         (tests): Do not add $(tests-ifunc).
18237         * wcsmbs/Makefile (tests-ifunc): Remove variable.
18238         (tests): Do not add $(tests-ifunc).
18239         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
18240         [TEST_IFUNC]: Remove conditionals.
18241         * string/test-string.h (TEST_IFUNC): Remove macro.
18242         [TEST_IFUNC]: Remove conditionals.
18244         * string/test-strchr.c [!WIDE] (L): New macro.
18245         [WIDE] (L): Likewise.
18246         (check1): Use CHAR instead of char.  Use L on string and character
18247         constants.
18249 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
18251         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
18252         tests.
18253         * sysdeps/powerpc/bits/atomic.h
18254         (__arch_atomic_exchange_and_add_32_acq): Add definition.
18255         (__arch_atomic_exchange_and_add_32_rel): Likewise.
18256         (atomic_exchange_and_add_acq): Likewise.
18257         (atomic_exchange_and_add_rel): Likewise.
18258         * sysdeps/powerpc/powerpc32/bits/atomic.h
18259         (__arch_atomic_exchange_and_add_64_acq): Add definition.
18260         (__arch_atomic_exchange_and_add_64_rel): Likewise.
18261         * sysdeps/powerpc/powerpc64/bits/atomic.h
18262         (__arch_atomic_exchange_and_add_64_acq): Add definition.
18263         (__arch_atomic_exchange_and_add_64_rel): Likewise.
18265 2014-11-26  Torvald Riegel  <triegel@redhat.com>
18267         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
18268         Change synchronization of __sched_fifo_min_prio and
18269         __sched_fifo_max_prio.
18270         * nptl/pthread_mutexattr_getprioceiling.c
18271         (pthread_mutexattr_getprioceiling): Likewise.
18272         * nptl/pthread_mutexattr_setprioceiling.c
18273         (pthread_mutexattr_setprioceiling): Likewise.
18274         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
18275         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
18276         Likewise.
18278 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
18280         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
18281         void.
18283 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
18285         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
18286         third argument const.
18288 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
18290         fnmatch: work around GCC compiler warning bug with uninit var
18291         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
18292         This works around a bug with x86-64 GCC 4.9.2 and earlier
18293         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
18294         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
18295         used uninitialized in this function [-Wmaybe-uninitialized]".
18297 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
18299         * posix/bug-regex31.c (main): Return RES not 0.
18301 2014-11-25  Anton Blanchard <anton@samba.org>
18303         * sysdeps/powerpc/bits/atomic.h
18304         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
18306 2014-11-24  Sterling Augustine  <saugustine@google.com>
18308         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
18310 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
18312         [BZ #17608]
18313         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
18315 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
18317         [BZ #17633]
18318         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
18319         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
18320         variable.
18321         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
18322         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
18324 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
18326         * string/strncpy.c (strncpy): Improve performance by using memset.
18328 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
18330         * string/strcpy.c (strcpy):
18331         Improve performance by using strlen and memcpy.
18333 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
18335         * string/strcoll_l.c (get_next_seq): __always_inline.
18336         * string/strcoll_l.c (do_compare): __always_inline.
18338 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
18340         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
18341         defined.
18342         * include/mqueue.h: Likewise.
18343         * include/stdlib.h: Likewise.
18345         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
18346         (get_null_defines): Adjust.
18347         * sunrpc/Makefile: Adjust comment.
18348         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
18349         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
18350         (CFLAGS-interp.c): Likewise.
18351         (CFLAGS-ldconfig.c): Likewise.
18352         (CPPFLAGS-.os): Likewise.
18353         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
18354         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
18355         * extra-modules.mk (extra-modules.mk): Likewise.
18356         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
18357         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
18358         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
18359         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
18360         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
18361         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
18362         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
18363         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
18364         * iconvdata/Makefile (CPPFLAGS): Likewise.
18365         (cpp-srcs-left): Add libof for all iconvdata routines.
18366         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
18367         * include/assert.h: Likewise.
18368         * include/ctype.h: Likewise.
18369         * include/errno.h: Likewise.
18370         * include/libc-symbols.h: Likewise.
18371         * include/math.h: Likewise.
18372         * include/netdb.h: Likewise.
18373         * include/resolv.h: Likewise.
18374         * include/stdio.h: Likewise.
18375         * include/stdlib.h: Likewise.
18376         * include/string.h: Likewise.
18377         * include/sys/stat.h: Likewise.
18378         * include/wctype.h: Likewise.
18379         * intl/l10nflist.c: Likewise.
18380         * libidn/idn-stub.c: Likewise.
18381         * libio/libioP.h: Likewise.
18382         * nptl/libc_multiple_threads.c: Likewise.
18383         * nptl/pthreadP.h: Likewise.
18384         * posix/regex_internal.h: Likewise.
18385         * resolv/res_hconf.c: Likewise.
18386         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
18387         * sysdeps/arm/memmove.S: Likewise.
18388         * sysdeps/arm/sysdep.h: Likewise.
18389         * sysdeps/generic/_itoa.h: Likewise.
18390         * sysdeps/generic/symbol-hacks.h: Likewise.
18391         * sysdeps/gnu/errlist.awk: Likewise.
18392         * sysdeps/gnu/errlist.c: Likewise.
18393         * sysdeps/i386/i586/memcpy.S: Likewise.
18394         * sysdeps/i386/i586/memset.S: Likewise.
18395         * sysdeps/i386/i686/memcpy.S: Likewise.
18396         * sysdeps/i386/i686/memmove.S: Likewise.
18397         * sysdeps/i386/i686/mempcpy.S: Likewise.
18398         * sysdeps/i386/i686/memset.S: Likewise.
18399         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
18400         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
18401         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
18402         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
18403         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
18404         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
18405         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
18406         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
18407         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
18408         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
18409         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
18410         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
18411         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
18412         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
18413         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
18414         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
18415         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
18416         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
18417         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
18418         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
18419         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
18420         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
18421         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
18422         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
18423         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
18424         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
18425         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
18426         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
18427         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
18428         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
18429         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
18430         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
18431         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
18432         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
18433         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
18434         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
18435         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
18436         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
18437         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
18438         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
18439         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
18440         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
18441         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
18442         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
18443         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
18444         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
18445         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
18446         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
18447         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
18448         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
18449         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
18450         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
18451         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
18452         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
18453         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
18454         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
18455         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
18456         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
18457         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
18458         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
18459         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
18460         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
18461         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
18462         * sysdeps/nptl/bits/libc-lock.h: Likewise.
18463         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
18464         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
18465         * sysdeps/posix/closedir.c: Likewise.
18466         * sysdeps/posix/opendir.c: Likewise.
18467         * sysdeps/posix/readdir.c: Likewise.
18468         * sysdeps/posix/rewinddir.c: Likewise.
18469         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
18470         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
18471         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
18472         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
18473         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
18474         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
18475         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
18476         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
18477         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
18478         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
18479         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
18480         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
18481         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
18482         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
18483         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
18484         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
18485         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
18486         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
18487         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
18488         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
18489         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
18490         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
18491         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
18492         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
18493         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
18494         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
18495         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
18496         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
18497         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
18498         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
18499         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
18500         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
18501         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
18502         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
18503         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
18504         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
18505         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
18506         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
18507         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
18508         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
18509         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
18510         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
18511         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
18512         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
18513         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
18514         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
18515         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
18516         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
18517         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
18518         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
18519         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
18520         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
18521         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
18522         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
18523         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
18524         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
18525         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
18526         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
18527         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
18528         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
18529         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
18530         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
18531         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
18532         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
18533         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
18534         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
18535         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
18536         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
18537         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
18538         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
18539         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
18540         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
18541         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
18542         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
18543         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
18544         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
18545         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
18546         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
18547         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
18548         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
18549         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
18550         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
18551         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
18552         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
18553         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
18554         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
18555         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
18556         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
18557         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
18558         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
18559         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
18560         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
18561         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
18562         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
18563         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
18564         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
18565         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
18566         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
18567         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
18568         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
18569         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
18570         * sysdeps/unix/alpha/sysdep.S: Likewise.
18571         * sysdeps/unix/alpha/sysdep.h: Likewise.
18572         * sysdeps/unix/make-syscalls.sh: Likewise.
18573         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
18574         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
18575         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
18576         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
18577         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
18578         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
18579         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
18580         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
18581         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
18582         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
18583         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
18584         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
18585         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
18586         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
18587         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
18588         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
18589         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
18590         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
18591         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
18592         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
18593         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
18594         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
18595         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
18596         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
18597         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
18598         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
18599         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
18600         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
18601         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
18602         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
18603         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
18604         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
18605         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
18606         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
18607         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
18608         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
18609         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
18610         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
18611         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
18612         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
18613         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
18614         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
18615         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
18616         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
18617         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
18618         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
18619         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
18620         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
18621         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
18622         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
18623         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
18624         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
18625         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
18626         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
18627         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
18628         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
18629         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
18630         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
18631         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
18632         * sysdeps/x86_64/memcpy.S: Likewise.
18633         * sysdeps/x86_64/memmove.c: Likewise.
18634         * sysdeps/x86_64/memset.S: Likewise.
18635         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
18636         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
18637         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
18638         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
18639         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
18640         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
18641         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
18642         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
18643         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
18644         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
18645         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
18646         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
18647         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
18648         * sysdeps/x86_64/multiarch/memset.S: Likewise.
18649         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
18650         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
18651         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
18652         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
18653         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
18654         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
18655         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
18656         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
18657         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
18658         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
18659         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
18660         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
18661         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
18662         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
18663         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
18664         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
18665         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
18666         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
18667         * sysdeps/x86_64/strcmp.S: Likewise.
18669         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
18671         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
18672         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
18673         * elf/rtld-Rules: Likewise.
18674         * elf/setup-vdso.h: Likewise.
18675         * include/assert.h: Likewise.
18676         * include/bits/stdlib-float.h: Likewise.
18677         * include/errno.h: Likewise.
18678         * include/sys/stat.h: Likewise.
18679         * include/unistd.h: Likewise.
18680         * sysdeps/aarch64/setjmp.S: Likewise.
18681         * sysdeps/alpha/setjmp.S: Likewise.
18682         * sysdeps/arm/__longjmp.S: Likewise.
18683         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
18684         * sysdeps/arm/setjmp.S: Likewise.
18685         * sysdeps/arm/sysdep.h: Likewise.
18686         * sysdeps/generic/_itoa.h: Likewise.
18687         * sysdeps/generic/dl-sysdep.h: Likewise.
18688         * sysdeps/generic/ldsodefs.h: Likewise.
18689         * sysdeps/i386/dl-tls.h: Likewise.
18690         * sysdeps/i386/setjmp.S: Likewise.
18691         * sysdeps/m68k/setjmp.c: Likewise.
18692         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
18693         * sysdeps/mach/hurd/opendir.c: Likewise.
18694         * sysdeps/posix/getcwd.c: Likewise.
18695         * sysdeps/posix/opendir.c: Likewise.
18696         * sysdeps/posix/profil.c: Likewise.
18697         * sysdeps/powerpc/dl-procinfo.h: Likewise.
18698         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
18699         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
18700         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
18701         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
18702         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
18703         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
18704         * sysdeps/s390/dl-tls.h: Likewise.
18705         * sysdeps/s390/s390-32/setjmp.S: Likewise.
18706         * sysdeps/s390/s390-64/setjmp.S: Likewise.
18707         * sysdeps/sh/sh3/setjmp.S: Likewise.
18708         * sysdeps/sh/sh4/setjmp.S: Likewise.
18709         * sysdeps/unix/alpha/sysdep.h: Likewise.
18710         * sysdeps/unix/arm/sysdep.S: Likewise.
18711         * sysdeps/unix/i386/sysdep.S: Likewise.
18712         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
18713         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
18714         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
18715         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
18716         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
18717         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
18718         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
18719         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
18720         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
18721         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
18722         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
18723         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
18724         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
18725         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
18726         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
18727         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
18728         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
18729         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
18730         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
18731         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
18732         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
18733         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
18734         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
18735         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
18736         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
18737         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
18738         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
18739         * sysdeps/unix/x86_64/sysdep.S: Likewise.
18740         * sysdeps/x86_64/setjmp.S: Likewise.
18742         * include/math.h: Use IS_IN instead of IS_IN_libm.
18743         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
18744         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
18745         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
18746         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
18747         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
18748         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
18749         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
18750         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
18751         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
18752         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
18753         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
18754         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
18755         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
18756         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
18757         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
18758         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
18759         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
18760         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
18761         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
18762         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
18763         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
18764         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
18765         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
18766         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
18767         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
18768         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
18769         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
18770         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
18771         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
18772         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
18773         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
18774         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
18775         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
18776         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
18777         Likewise.
18778         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
18779         Likewise.
18780         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
18781         Likewise.
18782         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
18783         Likewise.
18784         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
18785         Likewise.
18786         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
18787         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
18788         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
18789         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
18790         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
18791         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
18792         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
18793         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
18794         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
18795         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
18796         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
18797         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
18798         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
18799         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
18800         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
18801         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
18802         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
18803         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
18804         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
18805         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
18806         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
18807         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
18808         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
18809         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
18810         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
18811         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
18812         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
18814         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
18815         * nptl/pthreadP.h: Likewise.
18816         * nptl_db/structs.def: Likewise.
18817         * sysdeps/arm/sysdep.h: Likewise.
18818         * sysdeps/nptl/bits/libc-lock.h: Likewise.
18819         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
18820         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
18821         * sysdeps/unix/alpha/sysdep.h: Likewise.
18822         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
18823         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
18824         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
18825         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
18826         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
18827         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
18828         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
18829         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
18830         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
18831         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
18832         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
18833         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
18834         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
18835         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
18836         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
18837         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
18838         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
18839         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
18840         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
18841         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
18842         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
18843         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
18844         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
18845         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
18846         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
18847         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
18849         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
18850         * nptl/pthreadP.h: Likewise.
18851         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
18852         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
18853         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
18854         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
18855         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
18856         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
18857         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
18858         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
18859         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
18860         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
18861         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
18862         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
18863         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
18864         Likewise.
18865         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
18866         Likewise.
18867         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
18868         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
18869         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
18870         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
18871         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
18872         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
18873         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
18874         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
18876         * dlfcn/dladdr.c: Use IS_IN.
18877         * dlfcn/dladdr1.c: Likewise.
18878         * dlfcn/dlclose.c: Likewise.
18879         * dlfcn/dlerror.c: Likewise.
18880         * dlfcn/dlinfo.c: Likewise.
18881         * dlfcn/dlmopen.c: Likewise.
18882         * dlfcn/dlopen.c: Likewise.
18883         * dlfcn/dlsym.c: Likewise.
18884         * dlfcn/dlvsym.c: Likewise.
18886         * include/ifaddrs.h: Use IS_IN.
18887         * inet/check_pf.c: Likewise.
18888         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
18889         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
18891         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
18892         IS_IN_ldconfig.
18893         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
18894         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
18896         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
18897         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
18898         IS_IN (libc).
18900         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
18902         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
18903         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
18904         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
18905         * include/libc-symbols.h (IS_IN_LIB): New macro.
18906         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
18907         * include/netdb.h: Likewise.
18908         * include/stap-probe.h: Remove all uses of IN_LIB.
18910         * Makeconfig (module-cppflags-real): Define MODULE_NAME
18911         instead of IN_MODULE.
18912         * include/libc-symbols.h (IN_MODULE): Define using
18913         MODULE_NAME.
18914         (PASTE_NAME, PASTE_NAME1): New macros.
18915         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
18916         of IN_LIB.
18917         (STAP_PROBE_ASM): Likewise.
18919 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18921         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
18922         __mach_init in dlopened libc.
18924 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
18926         * sysdeps/arm/preconfigure.ac: Delete EABI check.
18927         * sysdeps/arm/preconfigure: Regenerate.
18929 2014-11-21  Roland McGrath  <roland@hack.frob.com>
18931         * nptl/pthread_create.c (__pthread_create_2_1): Set
18932         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
18933         when copying values from IATTR into PD.
18935 2014-11-21  Will Newton  <will.newton@linaro.org>
18936             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
18938         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
18939         Refactor inline-asm.  Also add comment.
18941         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
18942         ElfW macro instead of hardcoded Elf64 types.
18943         (la_aarch64_gnu_pltenter): Likewise.
18944         * sysdeps/aarch64/dl-machine.h
18945         (elf_machine_runtime_setup): Use ElfW(Addr).
18947         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
18948         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
18949         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
18950         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
18951         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
18952         (R_AARCH64_TLS_DTPMOD64): Rename to ..
18953         (R_AARCH64_TLS_DTPMOD): This.
18954         (R_AARCH64_TLS_DTPREL64): Rename to ...
18955         (R_AARCH64_TLS_DTPREL): This.
18956         (R_AARCH64_TLS_TPREL64): Rename to ...
18957         (R_AARCH64_TLS_TPREL): This.
18958         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
18959         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
18960         R_AARCH64_TLS_TPREL64.
18961         (elf_machine_rela): Likewise.
18963 2014-11-21  Torvald Riegel  <triegel@redhat.com>
18965         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
18966         by setting it to 0.  64b atomics are not supported currently.
18968 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
18970         [BZ #16469]
18971         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
18972         search domain names.
18974 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
18976         [BZ #16469]
18977         * NEWS: Update.
18978         * resolv/res_query.c (__libc_res_nquerydomain): Retain
18979         trailing dot.
18980         * posix/tst-getaddrinfo5.c: New.
18981         * posix/Makefile (tests): Add it.
18983 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
18985         [BZ #14498]
18986         * NEWS: Fixed.
18987         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
18988         after parsing line but before break_if_match.
18989         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
18990         if there is a protocol mismatch.
18992 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
18994         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
18995         because the potential race is on the user-supplied stream.
18997 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
18999         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
19000         string literal if not passed a buffer.
19001         * manual/job.texi (ctermid): Update reasoning, note deviation
19002         from posix, suggest mtasurace when not passed a buffer, for
19003         future non-preliminary safety notes.
19005 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
19007         * manual/users.texi (cuserid): Fix MT-Safety note for the case
19008         of not passing it a buffer.
19009         Reported by Peng Haitao.
19011 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
19013         * manual/Makefile ($(objpfx)stamp-summary): Require
19014         check-safety.sh to pass.
19015         * manual/check-safety.sh: Wish for verification that every
19016         @deftypefn and @deftypefun is followed by a @safety remark.
19018 2014-11-20  Roland McGrath  <roland@hack.frob.com>
19020         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
19022         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
19023         PTHREAD_CANCEL_ASYNCHRONOUS.
19024         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
19025         send SIGCANCEL.
19027         * nptl/default-sched.h: New file.
19028         * sysdeps/unix/sysv/linux/default-sched.h: New file.
19029         * nptl/pthread_create.c: Include it.
19030         (__pthread_create_2_1): Use collect_default_sched instead of making
19031         Linux syscalls here directly.
19033 2014-11-20  Torvald Riegel  <triegel@redhat.com>
19035         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
19036         __pthread_once): Use C11 atomics.
19038 2014-11-20  Torvald Riegel  <triegel@redhat.com>
19040         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
19042 2014-11-20  Torvald Riegel  <triegel@redhat.com>
19044         * include/atomic.h (__atomic_link_error, __atomic_check_size,
19045         atomic_thread_fence_acquire, atomic_thread_fence_release,
19046         atomic_thread_fence_seq_cst, atomic_load_relaxed,
19047         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
19048         atomic_compare_exchange_weak_relaxed,
19049         atomic_compare_exchange_weak_acquire,
19050         atomic_compare_exchange_weak_release,
19051         atomic_exchange_acquire, atomic_exchange_release,
19052         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
19053         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
19054         atomic_fetch_and_acquire,
19055         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
19057 2014-11-20  Torvald Riegel  <triegel@redhat.com>
19059         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
19060         USE_ATOMIC_COMPILER_BUILTINS): Define.
19061         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
19062         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
19063         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
19064         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
19065         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
19066         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
19067         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
19068         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
19069         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
19070         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
19071         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
19072         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
19073         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
19074         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
19075         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
19076         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
19077         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
19078         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
19079         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
19080         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
19081         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
19082         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
19083         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
19084         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
19085         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
19086         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
19087         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
19088         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
19089         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
19090         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
19091         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
19092         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
19093         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
19094         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
19095         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
19096         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
19097         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
19098         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
19099         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
19100         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
19102 2014-11-19  Roland McGrath  <roland@hack.frob.com>
19104         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
19105         the sched_priority value here.  It was already checked when the user
19106         called pthread_attr_setschedparam.
19108         * nptl/tst-bad-schedattr.c: New file.
19109         * nptl/Makefile (tests): Add it.
19111 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
19112             Florian Weimer  <fweimer@redhat.com>
19113             Joseph Myers  <joseph@codesourcery.com>
19114             Adam Conrad  <adconrad@0c3.net>
19115             Andreas Schwab  <schwab@suse.de>
19116             Brooks  <bmoses@google.com>
19118         [BZ #17625]
19119         * wordexp-test.c (__dso_handle): Add prototype.
19120         (__register_atfork): Likewise.
19121         (__app_register_atfork): New function.
19122         (registered_forks): New global.
19123         (register_fork): New function.
19124         (test_case): Add 3 new tests for WRDE_CMDSUB.
19125         (main): Call __app_register_atfork.
19126         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
19127         fork count is non-zero fail the test.
19128         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
19129         is set.
19130         (parse_dollars): Remove check for WRDE_NOCMD.
19131         (parse_dquote): Likewise.
19133 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
19135         * Makeconfig (built-modules): List non-library modules to be
19136         built.
19137         (module-cppflags): Include libc-modules.h for
19138         everything except shlib-versions.v.i.
19139         (CPPFLAGS): Use it.
19140         (before-compile): Add libc-modules.h.
19141         ($(common-objpfx)libc-modules.h,
19142         $(common-objpfx)libc-modules.stmp): New targets.
19143         (common-generated): Add libc-modules.h and libc-modules.stmp.
19144         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
19145         * include/libc-symbols.h: Don't include libc-modules.h.
19146         * include/libc-modules.h: Remove file.
19147         * scripts/gen-libc-modules.awk: New script to generate
19148         libc-modules.h.
19149         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
19150         Depend on libc-modules.stmp.
19152         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
19154         * Makeconfig (in-module): Get value of libof set for the
19155         translation unit.
19156         (CPPFLAGS): Use $(in-module).
19157         * Makerules: Don't suffix routine names for nonlib.
19158         * include/libc-modules.h: New file.
19159         * include/libc-symbols.h: Include libc-modules.h
19160         (IS_IN): New macro to replace IS_IN_* macros.
19161         * elf/Makefile: Set libof-* for each routine.
19162         * elf/rtld-Rules: Likewise.
19163         * extra-modules.mk: Likewise.
19164         * iconv/Makefile: Likewise.
19165         * iconvdata/Makefile: Likewise.
19166         * locale/Makefile: Likewise.
19167         * malloc/Makefile: Likewise.
19168         * nss/Makefile: Likewise.
19169         * sysdeps/gnu/Makefile: Likewise.
19170         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
19171         * sysdeps/unix/sysv/linux/Makefile: Likewise.
19172         * sysdeps/s390/s390-64/Makefile: Likewise.
19173         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
19174         CPPFLAGS for nscd instead of nonlib.
19176 2014-11-18  Roland McGrath  <roland@hack.frob.com>
19178         * nptl/createthread.c: New file.
19180         * nptl/createthread.c: Moved ...
19181         * sysdeps/unix/sysv/linux/createthread.c: ... here.
19183         * nptl/createthread.c: Add proper top-line comment.
19184         (do_clone): Folded into ...
19185         (create_thread): ... here.  Take new arguments STOPPED_START and
19186         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
19187         increment __nptl_threads, do event-reporting logic, do
19188         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
19189         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
19190         resource cleanup if sched_setaffinity or sched_setscheduler fails,
19191         just send SIGCANCEL.
19192         * nptl/pthread_create.c: Forward-declare create_thread before
19193         including createthread.c.
19194         (start_thread): Use new macro START_THREAD_DEFN to replace defining
19195         declaration, and new macro START_THREAD_SELF to replace argument.
19196         Remove return statement.
19197         (report_thread_creation): New function.
19198         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
19199         synchronization logic, and __nptl_nthreads increment here, around
19200         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
19201         PD->parent_cancelhandling here, before create_thread.  When
19202         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
19203         __deallocate_stack, and ENOMEM translation here.
19205 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
19207         [BZ #17616]
19208         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
19209         (mptwo): Rename to __mptwo.
19210         (__inv): Use __mptwo instead of mptwo.
19211         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
19212         (mptwo): Rename to __mptwo.
19213         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
19214         of mpone and __mptwo instead of mptwo.
19215         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
19216         instead of mpone.
19217         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
19218         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
19219         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
19220         of mpone and __mptwo instead of mptwo.
19221         (__mpranred): Use __mpone instead of mpone.
19222         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
19223         variable.
19224         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
19225         (test-xfail-ISO99/math.h/linknamespace): Likewise.
19226         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
19227         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
19228         (test-xfail-ISO11/math.h/linknamespace): Likewise.
19229         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
19230         (test-xfail-XPG3/math.h/linknamespace): Likewise.
19231         (test-xfail-XPG4/math.h/linknamespace): Likewise.
19232         (test-xfail-POSIX/math.h/linknamespace): Likewise.
19233         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
19234         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
19235         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
19236         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
19237         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
19238         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
19239         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
19240         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
19241         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
19242         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
19244 2014-11-18  Tom de Vries  <tom@codesoucery.com>
19246         * manual/signal.texi (Primitives Interrupted by Signals): In section,
19247         replace BSD Handler xref with BSD Signal Handling.
19249 2014-11-17  Richard Henderson  <rth@redhat.com>
19251         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
19252         (_FP_PACK_RAW_2): Remove.
19253         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
19254         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
19255         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
19256         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
19257         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
19258         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
19259         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
19260         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
19261         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
19262         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
19263         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
19264         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
19265         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
19266         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
19267         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
19268         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
19270 2014-11-14  Roland McGrath  <roland@hack.frob.com>
19272         * signal/signal.h [__USE_MISC]
19273         (struct sigvec): Remove type.
19274         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
19275         (sigvec): Remove declaration.
19276         * sysdeps/posix/sigvec.c: Moved ...
19277         * signal/sigvec.c: ... here, replacing old file.
19278         (struct sigvec): New type, copied from old signal.h definition.
19279         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
19280         (__sigvec): Convert definition to prototype.
19281         (sigvec): Replace weak_alias with compat_symbol.
19282         * signal/Versions (libc: GLIBC_2.21): New version set.
19283         * include/signal.h: Remove __sigvec declaration.
19284         * sysdeps/unix/bsd/sigvec.c: Remove file.
19285         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
19286         * manual/signal.texi (BSD Handler): Remove subsection.
19287         Move siginterrupt up to ...
19288         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
19289         (Blocking in BSD): Fold subsection into its parent.
19290         * NEWS: Mention sigvec removal.
19292 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
19294         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
19295         (DLA_FMS): Make definition conditional only on [__FMA4__].
19296         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
19297         definition.
19299         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
19300         Make definition conditional only on [PROF].
19301         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
19302         definition.
19303         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
19304         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
19306         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
19307         !__GNUC__].
19308         * include/signal.h (__sigpause): Move declaration above call to
19309         libc_hidden_proto.
19310         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
19311         variable.
19312         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
19313         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
19315 2014-11-14  David S. Miller  <davem@davemloft.net>
19317         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
19318         Define before including <string/memcpy.c> and <string/mempcpy.c>.
19320 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
19322         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
19323         * configure: Regenerated.
19324         * manual/install.texi (Tools for Compilation): Document a
19325         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
19326         compiler verified to work.
19327         * INSTALL: Regenerated.
19329         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
19330         redeclare with asm name.
19331         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
19332         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
19333         including <string.h>.
19334         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
19335         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
19336         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
19337         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
19338         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
19339         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
19340         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
19342 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
19344         * stdlib/strtol.c (__strtol): Use prototype definition.
19346         [BZ #17594]
19347         * stdlib/strtol.c (SYM__): New macro.
19348         (SYM__1): Likewise.
19349         (__strtol): Likewise.
19350         (strtol): Rename to __strtol and define as weak alias of
19351         __strtol.  Use libc_hidden_weak.
19353 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
19355         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
19356         Use numbered labels in inline assembly.
19358 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
19360         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
19361         Add setjmp LIBC_PROBE.
19362         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
19363         Likewise.
19364         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
19365         Add longjmp, longjmp_target LIBC_PROBE.
19366         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
19367         Likewise.
19369 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
19371         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
19372         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
19373         to get rid of unused variable warning.
19375 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
19377         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
19378         Check for unwind_backtrace ==  NULL only in SHARED case.
19379         (__backchain_backtrace): Compile only in SHARED case.
19380         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
19381         Likewise.
19382         (__backchain_backtrace): Declare as static.
19384 2014-11-12  Roland McGrath  <roland@hack.frob.com>
19386         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
19387         (__libc_multiple_threads_ptr): Variable moved ...
19388         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
19390 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
19392         * conform/GlibcConform.pm: New file.
19393         * conform/conformtest.pl: Use GlibcConform module.
19394         * conform/linknamespace.pl: New file.
19395         * conform/list-header-symbols.pl: Likewise.
19396         * conform/Makefile (linknamespace-symlists-base): New variable.
19397         (linknamespace-symlists-tests): Likewise.
19398         (linknamespace-header-base): Likewise.
19399         (linknamespace-header-tests): Likewise.
19400         (tests-special): Add new tests.
19401         ($(linknamespace-symlists-tests)): New rule.
19402         (linknamespace-libs): New variable.
19403         ($(objpfx)symlist-stdlibs): New rule.
19404         ($(linknamespace-header-tests)): Likewise.
19405         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
19406         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
19407         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
19408         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
19409         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
19410         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
19411         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
19412         (test-xfail-ISO/math.h/linknamespace): Likewise.
19413         (test-xfail-ISO/signal.h/linknamespace): Likewise.
19414         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
19415         (test-xfail-ISO/time.h/linknamespace): Likewise.
19416         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
19417         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
19418         (test-xfail-ISO99/math.h/linknamespace): Likewise.
19419         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
19420         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
19421         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
19422         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
19423         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
19424         (test-xfail-ISO11/math.h/linknamespace): Likewise.
19425         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
19426         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
19427         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
19428         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
19429         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
19430         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
19431         (test-xfail-XPG3/math.h/linknamespace): Likewise.
19432         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
19433         (test-xfail-XPG3/search.h/linknamespace): Likewise.
19434         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
19435         (test-xfail-XPG3/time.h/linknamespace): Likewise.
19436         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
19437         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
19438         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
19439         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
19440         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
19441         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
19442         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
19443         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
19444         (test-xfail-XPG4/math.h/linknamespace): Likewise.
19445         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
19446         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
19447         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
19448         (test-xfail-XPG4/search.h/linknamespace): Likewise.
19449         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
19450         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
19451         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
19452         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
19453         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
19454         (test-xfail-XPG4/time.h/linknamespace): Likewise.
19455         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
19456         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
19457         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
19458         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
19459         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
19460         (test-xfail-POSIX/math.h/linknamespace): Likewise.
19461         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
19462         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
19463         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
19464         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
19465         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
19466         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
19467         (test-xfail-POSIX/time.h/linknamespace): Likewise.
19468         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
19469         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
19470         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
19471         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
19472         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
19473         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
19474         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
19475         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
19476         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
19477         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
19478         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
19479         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
19480         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
19481         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
19482         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
19483         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
19484         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
19485         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
19486         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
19487         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
19488         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
19489         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
19490         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
19491         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
19492         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
19493         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
19494         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
19495         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
19496         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
19497         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
19498         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
19499         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
19500         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
19501         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
19502         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
19503         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
19504         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
19505         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
19506         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
19507         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
19508         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
19509         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
19510         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
19511         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
19512         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
19513         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
19514         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
19515         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
19516         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
19517         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
19518         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
19519         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
19520         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
19521         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
19522         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
19523         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
19524         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
19525         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
19526         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
19527         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
19528         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
19529         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
19530         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
19531         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
19532         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
19533         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
19534         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
19535         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
19536         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
19537         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
19538         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
19539         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
19540         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
19541         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
19542         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
19543         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
19544         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
19545         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
19546         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
19547         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
19548         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
19549         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
19550         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
19551         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
19552         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
19553         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
19554         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
19555         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
19556         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
19557         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
19558         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
19559         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
19560         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
19561         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
19562         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
19563         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
19564         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
19565         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
19567         [BZ #17589]
19568         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
19569         of fgets_unlocked.
19571         [BZ #17585]
19572         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
19573         (memmem): Rename to __memmem and define as weak alias of
19574         __memmem.  Use libc_hidden_weak.
19575         (__memmem): Use libc_hidden_def.
19576         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
19577         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
19578         memmem.
19580         [BZ #17582]
19581         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
19582         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
19583         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
19584         and define as weak alias of __fgets_unlocked.  Use
19585         libc_hidden_weak.
19586         (__fgets_unlocked): Use libc_hidden_def.
19587         * include/stdio.h (__fgets_unlocked): Declare.  Use
19588         libc_hidden_proto.
19589         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
19590         __fgets_unlocked instead of fgets_unlocked.
19591         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
19592         (GET_NPROCS_CONF_PARSER): Likewise.
19593         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
19594         (GET_NPROCS_CONF_PARSER): Likewise.
19596         [BZ #17574]
19597         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
19598         weak alias of __wmemset.  Use libc_hidden_weak.
19599         (__wmemset): Use libc_hidden_def.
19600         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
19601         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
19602         of wmemset.
19604         [BZ #17573]
19605         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
19606         with asm name __mempcpy.
19607         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
19609         [BZ #17572]
19610         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
19611         and define as weak alias of __rawmemchr.
19612         (__rawmemchr): Do not define as strong alias of rawmemchr.
19614         [BZ #17571]
19615         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
19616         alias of __qsort_r.
19617         (qsort): Call __qsort_r instead of qsort_r.
19618         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
19619         (__qsort_r): Declare.  Call libc_hidden_proto.
19620         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
19621         instead of qsort_r.
19622         * nscd/gai.c (__qsort_r): Define to qsort_r.
19623         * posix/tst-rfc3484.c (__qsort_r): Likewise.
19624         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
19625         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
19627         [BZ #17570]
19628         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
19629         define as weak alias of __malloc_info.
19631         [BZ #17584]
19632         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
19633         as weak alias of __rewinddir.  Don't use libc_hidden_def.
19634         (__rewinddir): Use libc_hidden_def.
19635         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
19636         as weak alias of __rewinddir.  Don't use libc_hidden_def.
19637         (__rewinddir): Use libc_hidden_def.
19638         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
19639         weak alias of __rewinddir.  Don't use libc_hidden_def.
19640         (__rewinddir): Use libc_hidden_def.
19641         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
19642         (__rewinddir): Use libc_hidden_proto.
19643         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
19644         rewinddir.
19645         (__getcwd): Use __rewinddir instead of rewinddir.
19647         [BZ #17583]
19648         * libio/fileno.c (fileno): Rename to __fileno and define as weak
19649         alias of __fileno.  Use libc_hidden_weak.
19650         (__fileno): Use libc_hidden_def.
19651         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
19652         * libio/ftello.c (ftello): Rename to __ftello and define as weak
19653         alias of __ftello.
19654         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
19655         __ftello.
19656         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
19657         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
19658         libc_hidden_def.
19659         (fread_unlocked): Don't use libc_hidden_ver.
19660         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
19661         and define as weak alias of __fread_unlocked.  Don't use
19662         libc_hidden_def.
19663         (__fread_unlocked): Use libc_hidden_def.
19664         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
19665         (ftello): Don't use libc_hidden_proto.
19666         (__ftello): Declare.  Use libc_hidden_proto.
19667         (fread_unlocked): Don't use libc_hidden_proto.
19668         (__fread_unlocked): Declare.  Use libc_hidden_proto.
19669         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
19670         and __ftello instead of fileno, fread_unlocked and ftello.
19672 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
19674         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
19675         GOT12.
19676         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
19677         Likewise.
19678         (_dl_start_user): Likewise.
19679         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
19681 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
19682             Siddhesh Poyarekar  <siddhesh@redhat.com>
19684         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
19685         Move argv and envp down instead of moving argc up.
19686         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
19688 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
19690         [BZ #17506]
19691         * test-skeleton.c (main): Return successful if one of
19692         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
19693         * string/tst-strcoll-overflow.c: Define expected status.
19695 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
19697         [BZ #17475]
19698         * locale/iso-639.def: Define Bhili and Tulu language codes.
19700 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
19702         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
19704 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
19706         [BZ #17555]
19707         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
19709 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
19711         * configure.ac: Updated check of minimal required version to
19712         2.22.
19713         * manual/install.texi (Tools for Compilation): Updated version
19714         number.
19715         * configure: Regenerated.
19716         * INSTALL: Likewise.
19718 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
19720         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
19721         __tls_get_addr.
19723 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
19725         * include/sys/wait.h (__libc_waitpid): Remove declaration.
19726         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
19727         (__waitpid): Don't define as alias.  Use libc_hidden_def not
19728         libc_hidden_weak.
19729         (waitpid): Define as alias of __waitpid.
19730         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
19731         __waitpid.
19732         (__waitpid): Don't define as alias.  Use libc_hidden_def not
19733         libc_hidden_weak.
19734         (waitpid): Define as alias of __waitpid.
19735         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
19736         __libc_waitpid alias.
19737         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
19738         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
19739         Likewise.
19740         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
19741         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
19742         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
19743         alias.
19744         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
19745         __waitpid.
19746         (__waitpid): Don't define as alias.  Use libc_hidden_def not
19747         libc_hidden_weak.
19748         (waitpid): Define as alias of __waitpid.
19750 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
19752         * manual/llio.texi: Add comment that write safety has been
19753         fixed in Linux.
19755         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
19756         (localplt-build-dso): Add elf/ld.so.
19757         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
19758         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
19759         and free for ld.so.
19760         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
19761         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
19762         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
19763         Likewise.
19764         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
19765         Likewise.
19766         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
19767         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
19768         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
19769         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
19770         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
19771         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
19772         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
19773         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
19774         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
19775         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
19776         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
19778 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
19780         [BZ #14132]
19781         * include/libc-symbols.h (INTUSE): Remove macro.
19782         (INTDEF): Likewise.
19783         (INTVARDEF): Likewise.
19784         (_INTVARDEF): Likewise.
19785         (INTDEF2): Likewise.
19786         (INTVARDEF2): Likewise.
19787         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
19788         rtld_hidden_def instead of INTVARDEF.
19789         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
19790         (_dl_starting_up_internal): Remove declaration.
19791         (_dl_starting_up): Use rtld_hidden_proto.
19792         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
19793         declaration.
19794         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
19795         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
19796         _dl_starting_up.
19797         * elf/dl-writev.h (_dl_writev): Likewise.
19798         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
19799         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
19800         _dl_starting_up_internal.
19802 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19804         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
19805         test-skeleton.c.
19807 2014-11-05  Will Newton  <will.newton@linaro.org>
19809         * benchtests/Makefile: (bench-malloc): Add malloc thread
19810         scalability benchmark.
19811         * benchtests/bench-malloc-threads.c: New file.
19813 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
19815         * sysdeps/aarch64/strchrnul.S: New file.
19817 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19819         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
19820         definition.
19821         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
19822         Likwise.
19823         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
19824         Likewise.
19825         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
19826         Likewise.
19827         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
19828         Likewise.
19829         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
19830         Likewise.
19832 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
19834         * catgets/test-gencat.c: Use test-skeleton.c.
19835         * catgets/tst-catgets.c: Likewise.
19836         * csu/tst-empty.c: Likewise.
19837         * elf/tst-audit2.c: Likewise.
19838         * elf/tst-global1.c: Likewise.
19839         * elf/tst-pathopt.c: Likewise.
19840         * elf/tst-piemod1.c: Likewise.
19841         * elf/tst-tls10.c: Likewise.
19842         * elf/tst-tls11.c: Likewise.
19843         * elf/tst-tls12.c: Likewise.
19844         * gnulib/tst-gcc.c: Likewise.
19845         * iconvdata/tst-e2big.c: Likewise.
19846         * iconvdata/tst-loading.c: Likewise.
19847         * iconv/tst-iconv1.c: Likewise.
19848         * iconv/tst-iconv2.c: Likewise.
19849         * inet/test-inet6_opt.c: Likewise.
19850         * inet/tst-gethnm.c: Likewise.
19851         * inet/tst-network.c: Likewise.
19852         * inet/tst-ntoa.c: Likewise.
19853         * intl/tst-codeset.c: Likewise.
19854         * intl/tst-gettext2.c: Likewise.
19855         * intl/tst-gettext3.c: Likewise.
19856         * intl/tst-ngettext.c: Likewise.
19857         * intl/tst-translit.c: Likewise.
19858         * io/test-stat.c: Likewise.
19859         * libio/test-fmemopen.c: Likewise.
19860         * libio/tst-freopen.c: Likewise.
19861         * libio/tst-sscanf.c: Likewise.
19862         * libio/tst-ungetwc1.c: Likewise.
19863         * libio/tst-ungetwc2.c: Likewise.
19864         * libio/tst-widetext.c: Likewise.
19865         * localedata/tst-ctype.c: Likewise.
19866         * localedata/tst-digits.c: Likewise.
19867         * localedata/tst-leaks.c: Likewise.
19868         * localedata/tst-mbswcs1.c: Likewise.
19869         * localedata/tst-mbswcs2.c: Likewise.
19870         * localedata/tst-mbswcs3.c: Likewise.
19871         * localedata/tst-mbswcs4.c: Likewise.
19872         * localedata/tst-mbswcs5.c: Likewise.
19873         * localedata/tst-setlocale.c: Likewise.
19874         * localedata/tst-trans.c: Likewise.
19875         * localedata/tst-wctype.c: Likewise.
19876         * localedata/tst-xlocale1.c: Likewise.
19877         * login/tst-grantpt.c: Likewise.
19878         * malloc/tst-calloc.c: Likewise.
19879         * malloc/tst-malloc.c: Likewise.
19880         * malloc/tst-mallocstate.c: Likewise.
19881         * malloc/tst-mcheck.c: Likewise.
19882         * malloc/tst-mtrace.c: Likewise.
19883         * malloc/tst-obstack.c: Likewise.
19884         * math/atest-exp2.c: Likewise.
19885         * math/atest-exp.c: Likewise.
19886         * math/atest-sincos.c: Likewise.
19887         * math/test-matherr.c: Likewise.
19888         * math/test-misc.c: Likewise.
19889         * math/test-powl.c: Likewise.
19890         * math/tst-definitions.c: Likewise.
19891         * misc/tst-dirname.c: Likewise.
19892         * misc/tst-efgcvt.c: Likewise.
19893         * misc/tst-fdset.c: Likewise.
19894         * misc/tst-hsearch.c: Likewise.
19895         * misc/tst-mntent2.c: Likewise.
19896         * nptl/tst-sem7.c: Likewise.
19897         * nptl/tst-sem8.c: Likewise.
19898         * nptl/tst-sem9.c: Likewise.
19899         * nss/test-netdb.c: Likewise.
19900         * posix/tst-fnmatch.c: Likewise.
19901         * posix/tst-getlogin.c: Likewise.
19902         * posix/tst-gnuglob.c: Likewise.
19903         * posix/tst-mmap.c: Likewise.
19904         * pwd/tst-getpw.c: Likewise.
19905         * resolv/tst-inet_ntop.c: Likewise.
19906         * rt/tst-timer.c: Likewise.
19907         * stdio-common/test-fseek.c: Likewise.
19908         * stdio-common/test-popen.c: Likewise.
19909         * stdio-common/test-vfprintf.c: Likewise.
19910         * stdio-common/tst-cookie.c: Likewise.
19911         * stdio-common/tst-fileno.c: Likewise.
19912         * stdio-common/tst-gets.c: Likewise.
19913         * stdio-common/tst-obprintf.c: Likewise.
19914         * stdio-common/tst-perror.c: Likewise.
19915         * stdio-common/tst-sprintf2.c: Likewise.
19916         * stdio-common/tst-sprintf3.c: Likewise.
19917         * stdio-common/tst-sprintf.c: Likewise.
19918         * stdio-common/tst-swprintf.c: Likewise.
19919         * stdio-common/tst-tmpnam.c: Likewise.
19920         * stdio-common/tst-unbputc.c: Likewise.
19921         * stdio-common/tst-wc-printf.c: Likewise.
19922         * stdlib/tst-environ.c: Likewise.
19923         * stdlib/tst-fmtmsg.c: Likewise.
19924         * stdlib/tst-limits.c: Likewise.
19925         * stdlib/tst-rand48-2.c: Likewise.
19926         * stdlib/tst-rand48.c: Likewise.
19927         * stdlib/tst-random2.c: Likewise.
19928         * stdlib/tst-random.c: Likewise.
19929         * stdlib/tst-strtol.c: Likewise.
19930         * stdlib/tst-strtoll.c: Likewise.
19931         * stdlib/tst-tls-atexit.c: Likewise.
19932         * stdlib/tst-xpg-basename.c: Likewise.
19933         * string/test-ffs.c: Likewise.
19934         * string/tst-bswap.c: Likewise.
19935         * string/tst-inlcall.c: Likewise.
19936         * string/tst-strtok.c: Likewise.
19937         * string/tst-strxfrm.c: Likewise.
19938         * sysdeps/x86_64/tst-audit10.c: Likewise.
19939         * sysdeps/x86_64/tst-audit3.c: Likewise.
19940         * sysdeps/x86_64/tst-audit4.c: Likewise.
19941         * sysdeps/x86_64/tst-audit5.c: Likewise.
19942         * time/tst-ftime_l.c: Likewise.
19943         * time/tst-getdate.c: Likewise.
19944         * time/tst-mktime3.c: Likewise.
19945         * time/tst-mktime.c: Likewise.
19946         * time/tst-posixtz.c: Likewise.
19947         * time/tst-strptime2.c: Likewise.
19948         * time/tst-strptime3.c: Likewise.
19949         * wcsmbs/tst-btowc.c: Likewise.
19950         * wcsmbs/tst-mbrtowc.c: Likewise.
19951         * wcsmbs/tst-mbsrtowcs.c: Likewise.
19952         * wcsmbs/tst-wchar-h.c: Likewise.
19953         * wcsmbs/tst-wcpncpy.c: Likewise.
19954         * wcsmbs/tst-wcrtomb.c: Likewise.
19955         * wcsmbs/tst-wcsnlen.c: Likewise.
19956         * wcsmbs/tst-wcstof.c: Likewise.
19958 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
19960         [BZ #14132]
19961         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
19962         INTDEF.
19963         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
19964         declaration.
19965         (_dl_mcount): Use rtld_hidden_proto.
19966         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
19967         _dl_mcount.
19968         * elf/rtld.c (_rtld_global_ro): Likewise.
19970         [BZ #14132]
19971         * elf/dl-init.c (_dl_init): Don't use INTDEF.
19972         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
19973         of _dl_init_internal.
19974         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
19975         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
19976         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
19977         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
19978         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
19979         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
19980         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
19981         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
19982         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
19983         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
19984         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
19985         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
19986         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
19987         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
19988         * sysdeps/tile/dl-start.S (_start): Likewise.
19989         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
19990         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
19992         [BZ #14132]
19993         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
19994         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
19995         (rtld_progname): Make macro definition unconditional.
19996         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
19997         INTDEF.
19998         (dlmopen_doit): Do not use INTUSE with _dl_argv.
19999         (dl_main): Likewise.
20000         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
20001         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
20002         instead of _dl_argv_internal.
20003         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
20004         __GI__dl_argv instead of INTUSE(_dl_argv).
20005         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
20006         __GI__dl_argv instead of _dl_argv_internal.
20008         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
20009         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
20010         macro.
20011         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
20012         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
20013         New macro.
20014         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
20015         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
20016         macro.
20017         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
20018         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
20020 2014-11-04  Andreas Schwab  <schwab@suse.de>
20022         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
20024 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20026         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
20027         mtvsrd instruction in binary form.
20029 2014-11-03  Andreas Schwab  <schwab@suse.de>
20031         [BZ #17522]
20032         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
20033         for less than MB_LEN_MAX use a local buffer of that size.
20034         * libio/tst-fputws.c: New file.
20035         * libio/Makefile (tests): Add tst-fputws.
20037 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
20039         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
20040         the size of the fpu_fr.fpu_dregs[] array.
20042 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
20044         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
20045         (__nanosleep): Do not define as alias.
20046         (nanosleep): Define as alias of __nanosleep.
20047         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
20048         __libc_nanosleep name.
20050 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
20052         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
20053         install.texi in comment.
20055 2014-10-31  Torvald Riegel  <triegel@redhat.com>
20057         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
20058         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
20059         ... add here and use lwsync or sync ...
20060         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
20061         ... and add here using lwsync.
20063 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
20065         * elf/dl-machine-reject-phdr.h: New file.
20066         * elf/dl-load.c: #include that.
20067         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
20068         if that returned true.
20070 2014-10-31  Roland McGrath  <roland@hack.frob.com>
20072         [BZ #17496]
20073         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
20074         gen-as-const-headers chunk.  Add a big scare comment after the last
20075         safe place to touch before-compile.
20077 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
20079         * manual/install.texi (Tools for Compilation): Update autoconf
20080         version requirements.
20081         * INSTALL: Regenerated.
20083         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
20084         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
20085         (__libc_pselect): Likewise.
20087         [BZ #14138]
20088         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
20089         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
20090         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
20091         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
20093 2014-10-31  Torvald Riegel  <triegel@redhat.com>
20095         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
20096         correct barrier instruction.
20097         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
20098         Likewise.
20099         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
20100         Likewise.
20102 2014-10-30  Roland McGrath  <roland@hack.frob.com>
20104         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
20105         after defining inlines.  Instead, just use parens to defeat macro
20106         expansion of __isctype in its declaration.
20108 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
20110         * include/sys/uio.h (__libc_readv): Remove declaration.
20111         (__libc_writev): Likewise.
20112         * misc/readv.c (__libc_readv): Rename to __readv.
20113         (__readv): Do not define as alias.
20114         (readv): Define as alias of __readv.
20115         * misc/writev.c (__libc_writev): Rename to __writev.
20116         (__writev): Do not define as alias.
20117         (writev): Define as alias of __writev.
20118         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
20119         (__readv): Do not define as alias.
20120         (readv): Define unconditionally as alias of __readv.
20121         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
20122         (__writev): Do not define as alias.
20123         (writev): Define unconditionally as alias of __writev.
20124         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
20125         name.
20126         (writev): Do not define __libc_writev name.
20128 2014-10-30  Roland McGrath  <roland@hack.frob.com>
20130         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
20131         (convert_charseq): New function, broken out of ...
20132         (use_from_charmap): ... here.  Call it.
20133         (use_to_charmap): Use convert_charseq and free instead of duplicating
20134         its code with a variable-length stack struct.
20136 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
20138         * include/fcntl.h (__libc_creat): Remove declaration.
20139         * io/creat.c (__libc_creat): Rename to creat.
20140         (creat): Do not define as alias.
20141         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
20142         of creat instead of __libc_creat.
20143         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
20144         to creat.
20145         (creat): Do not define as alias.
20146         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
20147         __libc_creat.
20148         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
20149         __libc_creat name.
20150         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
20151         Likewise.
20153 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
20155         * manual/llio.texi: Add comments discussing why write() may be
20156         considered MT-unsafe on Linux.
20158 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
20160         * dl-load.c (local_strdup): Remove.
20161         (expand_dynamic_string_token): Use __strdup.
20162         (decompose_rpath): Likewise.
20163         (_dl_map_object): Likewise.
20165 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
20167         [BZ #14132]
20168         * sysdeps/generic/unwind-dw2-fde.c
20169         (__register_frame_info_bases_internal): Do not declare.
20170         (__register_frame_info_table_bases_internal): Likewise.
20171         (__deregister_frame_info_bases_internal): Likewise.
20172         (__register_frame_info_bases): Declare and use hidden_proto before
20173         definition.  Use hidden_def instead of INTDEF.
20174         (__register_frame_info_table_bases): Likewise.
20175         (__deregister_frame_info_bases): Likewise.
20176         (__register_frame_info): Do not use INTUSE.
20177         (__register_frame): Likewise.
20178         (__register_frame_info_table): Likewise.
20179         (__register_frame_table): Likewise.
20180         (__deregister_frame_info): Likewise.
20181         (__deregister_frame): Likewise.
20183 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
20185         * sysdeps/unix/sysv/linux/arm/kernel-features.h
20186         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
20187         not undefine.
20188         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
20189         Likewise.
20190         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
20191         Likewise.
20193 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
20195         [BZ #14138]
20196         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
20197         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
20198         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
20199         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
20200         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
20201         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
20202         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
20203         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
20204         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
20205         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
20206         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
20207         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
20208         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
20209         syscall.
20210         (setfsuid): Likewise.
20211         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
20212         (setfsuid): Likewise.
20213         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
20214         (setfsuid): Likewise.
20215         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
20216         Likewise.
20217         (setfsuid): Likewise.
20218         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
20219         (setfsuid): Likewise.
20220         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
20221         Likewise.
20222         (setfsuid): Likewise.
20224 2014-10-27  Andreas Schwab  <schwab@suse.de>
20226         [BZ #17501]
20227         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
20228         check for Slow_SSE4_2 feature bit.
20229         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
20230         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
20231         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
20232         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
20234 2014-10-24  Roland McGrath  <roland@hack.frob.com>
20236         * configure.ac: Validate compiler version with a empirical test of
20237         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
20238         $CC -v output.
20239         * configure: Regenerated.
20241         * inet/htons.c (htons): Prototypify.
20242         * inet/htonl.c (htonl): Likewise.
20244 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
20246         * string/strncat.c (strncat): Improve performance by using strlen.
20248 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
20250         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
20252 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
20254         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
20255         Call libc_fetestexcept_aarch64.
20257 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
20259         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
20260         Call libc_feholdexcept_aarch64.
20262 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
20264         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
20265         Call get_rounding_mode.
20267 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
20269         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
20270         Simplify logic.
20272 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
20274         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
20275         Simplify logic.
20277 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
20279         [BZ #14138]
20280         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
20281         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
20282         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
20283         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
20284         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
20285         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
20286         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
20287         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
20288         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
20289         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
20290         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
20291         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
20292         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
20293         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
20294         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
20295         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
20296         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
20297         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
20298         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
20299         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
20300         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
20301         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
20302         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
20303         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
20304         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
20305         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
20306         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
20307         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
20308         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
20309         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
20310         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
20311         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
20312         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
20313         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
20314         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
20315         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
20316         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
20317         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
20318         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
20319         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
20320         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
20321         syscall.
20322         (geteuid): Likewise.
20323         (getgid): Likewise.
20324         (getuid): Likewise.
20325         (getresgid): Likewise.
20326         (getresuid): Likewise.
20327         (getgroups): Likewise.
20328         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
20329         (geteuid): Likewise.
20330         (getgid): Likewise.
20331         (getuid): Likewise.
20332         (getresgid): Likewise.
20333         (getresuid): Likewise.
20334         (getgroups): Likewise.
20335         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
20336         (geteuid): Likewise.
20337         (getgid): Likewise.
20338         (getuid): Likewise.
20339         (getresgid): Likewise.
20340         (getresuid): Likewise.
20341         (getgroups): Likewise.
20342         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
20343         Likewise.
20344         (geteuid): Likewise.
20345         (getgid): Likewise.
20346         (getuid): Likewise.
20347         (getresgid): Likewise.
20348         (getresuid): Likewise.
20349         (getgroups): Likewise.
20350         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
20351         (geteuid): Likewise.
20352         (getgid): Likewise.
20353         (getuid): Likewise.
20354         (getresgid): Likewise.
20355         (getresuid): Likewise.
20356         (getgroups): Likewise.
20357         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
20358         Likewise.
20359         (geteuid): Likewise.
20360         (getgid): Likewise.
20361         (getuid): Likewise.
20362         (getgroups): Likewise.
20364         [BZ #14138]
20365         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
20366         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
20367         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
20368         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
20369         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
20370         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
20371         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
20372         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
20373         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
20374         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
20375         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
20376         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
20377         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
20378         __chown.
20379         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
20380         (lchown): Likewise.
20381         (fchown): Likewise.
20382         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
20383         Likewise.
20384         (lchown): Likewise.
20385         (fchown): Likewise.
20386         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
20387         (lchown): Likewise.
20388         (fchown): Likewise.
20389         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
20390         Likewise.
20391         (lchown): Likewise.
20392         (fchown): Likewise.
20394 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
20396         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
20397         Simplify logic.
20399 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
20401         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
20402         Cleanup logic.
20404 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
20406         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
20407         Remove unused include.
20409 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
20411         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
20412         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
20413         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
20414         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
20416 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
20417             Helge Deller <deller@gmx.de>
20419         [BZ #17508]
20420         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
20421         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
20422         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
20424 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
20426         [BZ #14132]
20427         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
20428         Remove macro definition.
20429         (__ashrdi3_v_glibc20): Likewise.
20430         (__lshrdi3_v_glibc20): Likewise.
20431         (__cmpdi2_v_glibc20): Likewise.
20432         (__ucmpdi2_v_glibc20): Likewise.
20433         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
20434         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
20435         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
20436         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
20437         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
20438         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
20440 2014-10-22  Roland McGrath  <roland@hack.frob.com>
20442         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
20443         old GNU extension [0] syntax.
20444         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
20445         alloca rather than an array member with variable length.
20446         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
20447         * nscd/nscd.c (invalidate_db): New function, broken out of ...
20448         (parse_opt): ... here.  Likewise use alloca there.
20449         Validate the -i argument before checking for rootness.
20450         (send_shutdown): New function, broken out of ...
20451         (parse_opt): ... here.
20453 2014-10-22  Roland McGrath  <roland@hack.frob.com>
20455         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
20456         macro to get at the _rt_local_ro field.
20457         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
20458         ([PIC] case) or _dl_hwcap ([!PIC] case).
20459         * sysdeps/arm/setjmp.S: Likewise.
20461         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
20462         * sysdeps/arm/configure.ac: New check to define it.
20463         * sysdeps/arm/configure: Regenerated.
20464         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
20465         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
20466         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
20467         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
20468         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
20469         Use move/movt pair instead of a load.
20470         (LDST_GLOBAL): Macro removed.
20471         (LDR_GLOBAL): New macro replaces it.
20472         (LDR_HIDDEN): New macro.
20473         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
20474         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
20476         * setjmp/tst-setjmp-static.c: New file.
20477         * setjmp/Makefile (tests): Add it.
20478         (tests-static): New variable.
20480 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
20482         [BZ #17485]
20483         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
20485 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
20487         [BZ #14132]
20488         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
20490 2014-10-21  Roland McGrath  <roland@hack.frob.com>
20492         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
20494 2014-10-20  Roland McGrath  <roland@hack.frob.com>
20496         * io/fts.c (dirent_not_directory): New function.
20497         (fts_build): Call it.
20499 2014-10-20  Roland McGrath  <roland@hack.frob.com>
20501         * nptl/version.c (__nptl_main): Use normal __write rather than
20502         INTERNAL_SYSCALL.
20503         (banner): Update copyright years.
20505         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
20506         gettimeofday.
20507         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
20508         * nptl/pthread_cond_timedwait.c: Likewise.
20509         * nptl/pthread_mutex_timedlock.c: Likewise.
20510         * nptl/sem_timedwait.c: Likewise.
20512         * sysdeps/nptl/bits/libc-lock.h
20513         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
20514         (__libc_lock_init_recursive): Return void, not 0.
20515         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
20516         (__libc_rwlock_init): Likewise.
20517         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
20519 2014-10-20  Torvald Riegel  <triegel@redhat.com>
20521         [BZ #15215]
20522         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
20523         (__pthread_once_slow): ... here.
20524         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
20525         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
20527 2014-10-20  Torvald Riegel  <triegel@redhat.com>
20529         [BZ #15215]
20530         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
20531         __PTHREAD_ONCE_FORK_GEN_INCR): New.
20532         * sysdeps/nptl/fork.c (__libc_fork): Use them.
20533         * nptl/pthread_once.c (__pthread_once): Likewise.
20534         Update comments.
20536 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
20538         [BZ #14138]
20539         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
20540         name.
20541         (writev): Use __libc_writev as strong name.
20542         * sysdeps/unix/sysv/linux/readv.c: Remove file.
20543         * sysdeps/unix/sysv/linux/writev.c: Likewise.
20545 2014-10-17  Roland McGrath  <roland@hack.frob.com>
20547         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
20549         * sysdeps/i386/nptl/tls.h
20550         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
20551         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
20552         New macros.
20553         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
20554         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
20555         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
20556         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
20557         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
20558         Call CHECK_THREAD_SYSINFO instead of doing an assert.
20560         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
20561         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
20562         on [__NR_futex].
20563         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
20564         broken out of ...
20565         (__pthread_mutex_init): ... here.  Call it.
20566         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
20567         Conditionalize PI cases on [__NR_futex].
20568         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
20569         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
20570         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
20572         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
20573         conditional on [SIGSETXID].
20574         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
20575         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
20576         is defined.  Likewise for SIGSETXID.
20577         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
20578         Conditionalize definitions on [SIGSETXID].
20579         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
20580         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
20581         unblocking on [SIGCANCEL].
20583         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
20584         [__NR_set_robust_list].
20586 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
20588         * string/strcoll_l.c (get_next_seq): Fix up formatting.
20589         (do_compare): Likewise.
20591 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
20593         [BZ #15884]
20594         * string/strcoll_l.c: Don't include stdio.h.
20595         (coll_seq): Remove members idxarr and rulearr.
20596         (get_next_seq_cached): Remove function.
20597         (get_next_seq): Likewise.
20598         (get_next_seq_nocache): Rename to get_next_seq.
20599         (do_compare): Remove function.
20600         (do_compare_nocache): Rename to do_compare.
20601         (STRCOLL): Remove weight and rules cache.
20603 2014-10-16  Roland McGrath  <roland@hack.frob.com>
20605         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
20606         * sysdeps/arm/sfp-machine.h: ... to here.
20607         * sysdeps/arm/Implies: Remove arm/soft-fp.
20609 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
20611         * conform/data/sys/utsname.h-data (*_t): Allow.
20612         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
20613         [POSIX] (WEXITED): Do not expect constant.
20614         [POSIX] (WSTOPPED): Likewise.
20615         [POSIX] (WNOHANG): Likewise.
20616         [POSIX] (WNOWAIT): Likewise.
20617         [POSIX] (siginfo_t): Do not expect type or elements.
20618         [POSIX] (pid_t): Do not expect type.
20619         [POSIX] (signal.h): Do not allow header.
20620         [POSIX] (sys/resource.h): Likewise.
20621         [POSIX] (si_*): Do not allow pattern.
20622         [POSIX] (W*): Likewise.
20623         [POSIX] (P_*): Likewise.
20624         [POSIX] (BUS_*): Likewise.
20625         [POSIX] (CLD_*): Likewise.
20626         [POSIX] (FPE_*): Likewise.
20627         [POSIX] (ILL_*): Likewise.
20628         [POSIX] (POLL_*): Likewise.
20629         [POSIX] (SEGV_*): Likewise.
20630         [POSIX] (SI_*): Likewise.
20631         [POSIX] (TRAP_*): Likewise.
20632         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
20633         variable.
20635 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
20637         [BZ #12926]
20638         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
20639         infinite loop when __recvmsg returns 0.
20641 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
20643         * CANCEL-FCT-WAIVE: Remove file.
20644         * CANCEL-FILE-WAIVE: Likewise.
20646         [BZ #14132]
20647         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
20648         instead of INTVARDEF.
20649         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
20650         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
20651         rtld_hidden_data_def instead of INTVARDEF.
20652         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
20653         * elf/dl-deps.c (expand_dst): Likewise.
20654         * elf/dl-load.c (_dl_dst_count): Likewise.
20655         (_dl_dst_substitute): Likewise.
20656         (decompose_rpath): Likewise.
20657         (_dl_init_paths): Likewise.
20658         (open_path): Likewise.
20659         (_dl_map_object): Likewise.
20660         * elf/rtld.c (dl_main): Likewise.
20661         (process_dl_audit): Likewise.
20662         (process_envvars): Likewise.
20663         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
20664         Remove declaration.
20665         (__libc_enable_secure): Use rtld_hidden_proto.
20667 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
20669         * elf/dl-load.c
20670         (add_path): New function broken out of _dl_rtld_di_serinfo.
20671         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
20673 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
20675         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
20676         parentheses around macro arguments.
20677         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
20678         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
20679         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
20680         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
20681         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
20682         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
20683         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
20684         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
20685         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
20686         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
20687         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
20688         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
20689         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
20690         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
20691         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
20692         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
20693         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
20694         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
20695         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
20696         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
20697         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
20698         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
20699         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
20700         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
20701         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
20702         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
20703         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
20704         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
20705         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
20706         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
20707         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
20708         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
20709         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
20710         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
20711         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
20712         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
20713         Likewise.
20714         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
20715         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
20716         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
20717         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
20718         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
20719         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
20720         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
20721         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
20722         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
20723         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
20724         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
20725         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
20726         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
20727         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
20728         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
20729         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
20730         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
20731         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
20732         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
20733         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
20734         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
20735         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
20736         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
20737         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
20738         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
20739         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
20740         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
20741         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
20742         (_FP_FRAC_SRS_1): Likewise.
20743         (_FP_FRAC_CLZ_1): Likewise.
20744         (_FP_MUL_MEAT_1_imm): Likewise.
20745         (_FP_MUL_MEAT_1_wide): Likewise.
20746         (_FP_MUL_MEAT_1_hard): Likewise.
20747         (_FP_SQRT_MEAT_1): Likewise.
20748         (_FP_FRAC_ASSEMBLE_1): Likewise.
20749         (_FP_FRAC_DISASSEMBLE_1): Likewise.
20750         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
20751         (__FP_CLZ_2): Likewise.
20752         (_FP_MUL_MEAT_2_wide): Likewise.
20753         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
20754         (_FP_MUL_MEAT_2_gmp): Likewise.
20755         (_FP_MUL_MEAT_2_120_240_double): Likewise.
20756         (_FP_SQRT_MEAT_2): Likewise.
20757         (_FP_FRAC_ASSEMBLE_2): Likewise.
20758         (_FP_FRAC_DISASSEMBLE_2): Likewise.
20759         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
20760         (_FP_FRAC_CLZ_4): Likewise.
20761         (_FP_MUL_MEAT_4_wide): Likewise.
20762         (_FP_MUL_MEAT_4_gmp): Likewise.
20763         (_FP_SQRT_MEAT_4): Likewise.
20764         (_FP_FRAC_ASSEMBLE_4): Likewise.
20765         (_FP_FRAC_DISASSEMBLE_4): Likewise.
20766         * soft-fp/op-common.h (_FP_CMP): Likewise.
20767         (_FP_CMP_EQ): Likewise.
20768         (_FP_CMP_UNORD): Likewise.
20769         (_FP_TO_INT): Likewise.
20770         (_FP_FROM_INT): Likewise.
20771         [!__FP_CLZ] (__FP_CLZ): Likewise.
20772         (_FP_DIV_HELP_imm): Likewise.
20773         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
20774         Likewise.
20775         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
20776         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
20777         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
20778         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
20779         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
20780         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
20781         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
20782         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
20783         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
20784         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
20785         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
20786         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
20787         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
20788         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
20789         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
20790         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
20791         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
20792         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
20793         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
20794         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
20795         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
20796         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
20797         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
20798         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
20799         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
20800         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
20801         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
20802         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
20803         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
20804         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
20805         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
20806         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
20807         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
20808         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
20809         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
20810         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
20811         (FP_UNPACK_RAW_SP): Likewise.
20812         (FP_PACK_RAW_S): Likewise.
20813         (FP_PACK_RAW_SP): Likewise.
20814         (FP_UNPACK_S): Likewise.
20815         (FP_UNPACK_SP): Likewise.
20816         (FP_UNPACK_SEMIRAW_S): Likewise.
20817         (FP_UNPACK_SEMIRAW_SP): Likewise.
20818         (FP_PACK_S): Likewise.
20819         (FP_PACK_SP): Likewise.
20820         (FP_PACK_SEMIRAW_S): Likewise.
20821         (FP_PACK_SEMIRAW_SP): Likewise.
20822         (_FP_SQRT_MEAT_S): Likewise.
20823         (FP_CMP_S): Likewise.
20824         (FP_CMP_EQ_S): Likewise.
20825         (FP_CMP_UNORD_S): Likewise.
20826         (FP_TO_INT_S): Likewise.
20827         (FP_FROM_INT_S): Likewise.
20829         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
20831         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
20832         (FP_EX_INVALID_IMZ): Likewise.
20833         (FP_EX_INVALID_IMZ_FMA): Likewise.
20834         (FP_EX_INVALID_ISI): Likewise.
20835         (FP_EX_INVALID_ZDZ): Likewise.
20836         (FP_EX_INVALID_IDI): Likewise.
20837         (FP_EX_INVALID_SQRT): Likewise.
20838         (FP_EX_INVALID_CVI): Likewise.
20839         (FP_EX_INVALID_VC): Likewise.
20840         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
20841         "invalid" exceptions.
20842         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
20843         (_FP_ADD_INTERNAL): Likewise.
20844         (_FP_MUL): Likewise.
20845         (_FP_FMA): Likewise.
20846         (_FP_DIV): Likewise.
20847         (_FP_CMP_CHECK_NAN): Likewise.
20848         (_FP_SQRT): Likewise.
20849         (_FP_TO_INT): Likewise.
20850         (FP_EXTEND): Likewise.
20852 2014-10-09  Allan McRae  <allan@archlinux.org>
20854         * po/fr.po: Update French translation from translation project.
20856 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
20858         [BZ #14132]
20859         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
20860         of INTDEF.
20861         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
20862         (__cxa_atexit): Use libc_hidden_proto.
20863         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
20865         [BZ #14132]
20866         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
20867         declaration.
20868         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
20869         [!_ISOMAC] (__iswspace_l_internal): Likewise.
20870         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
20871         [!_ISOMAC] (__iswctype_internal): Likewise.
20872         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
20873         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
20874         alias.
20875         (fcntl): Remove __fcntl_internal alias.
20876         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
20877         __connect_internal alias.
20878         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
20879         Likewise.
20881         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
20882         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
20883         FP_DENORM_ZERO.
20884         (_FP_CHECK_FLUSH_ZERO): New macro.
20885         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
20886         (_FP_CMP): Likewise.
20887         (_FP_CMP_EQ): Likewise.
20888         (_FP_TO_INT): Do not set inexact for subnormal arguments if
20889         FP_DENORM_ZERO.
20890         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
20891         (FP_TRUNC): Likewise.
20893         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
20894         treated as invalid conversion, not as normal exponent.
20896         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
20897         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
20898         (_FP_CMP_EQ): Likewise.
20899         (_FP_CMP_UNORD): Likewise.
20900         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
20901         (FP_CMP_EQ_D): Likewise.
20902         (FP_CMP_UNORD_D): Likewise.
20903         * soft-fp/extended.h (FP_CMP_E): Likewise.
20904         (FP_CMP_EQ_E): Likewise.
20905         (FP_CMP_UNORD_E): Likewise.
20906         * soft-fp/quad.h (FP_CMP_Q): Likewise.
20907         (FP_CMP_EQ_Q): Likewise.
20908         (FP_CMP_UNORD_Q): Likewise.
20909         * soft-fp/single.h (FP_CMP_S): Likewise.
20910         (FP_CMP_EQ_S): Likewise.
20911         (FP_CMP_UNORD_S): Likewise.
20912         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
20913         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
20914         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
20915         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
20916         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
20917         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
20918         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
20919         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
20920         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
20921         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
20922         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
20923         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
20924         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
20925         to FP_CMP_Q.
20926         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
20927         FP_CMP_Q.
20928         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
20929         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
20930         FP_CMP_EQ_Q.
20931         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
20932         FP_CMP_Q.
20933         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
20934         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
20935         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
20936         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
20937         FP_CMP_EQ_Q.
20938         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
20939         FP_CMP_Q.
20940         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
20941         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
20942         FP_CMP_EQ_Q.
20943         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
20944         FP_CMP_Q.
20945         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
20946         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
20947         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
20948         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
20949         FP_CMP_EQ_Q.
20951         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
20952         a subnormal result, set the underflow exception if trapping on
20953         underflow is enabled.
20954         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
20955         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
20956         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
20957         redefine to 0.
20958         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
20959         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
20960         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
20961         * soft-fp/extendxftf2.c (__extendxftf2): Use
20962         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
20964         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
20965         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
20966         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
20967         FP_HANDLE_EXCEPTIONS.
20968         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
20969         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
20970         FP_HANDLE_EXCEPTIONS.
20971         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
20972         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
20973         FP_HANDLE_EXCEPTIONS.
20974         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
20975         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
20976         FP_HANDLE_EXCEPTIONS.
20978 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
20980         [BZ #14132]
20981         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
20982         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
20983         use INTUSE.
20984         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
20985         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
20986         Remove alias.
20987         (__adjtimex): Define using libc_hidden_ver.
20988         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
20989         Remove declaration.
20990         (ntp_gettime): Call __adjtimex directly.
20991         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
20992         Remove declaration.
20993         (ntp_gettimex): Call __adjtimex directly.
20994         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
20995         __adjtimex_internal alias.
20997 2014-10-08  Roland McGrath  <roland@hack.frob.com>
20999         [BZ #17460]
21000         * nscd/nscd.c (more_help): Rewrite list of tables collection
21001         using xstrdup and asprintf.
21003         * nscd/nscd_conf.c: Remove local xstrdup declaration.
21005 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
21006             Roland McGrath  <roland@hack.frob.com>
21008         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
21009         (do_lookup_unique): ... local function 'enter' here; update callers.
21011 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
21013         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
21014         compat_symbol calls on [SHARED].
21015         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
21016         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
21017         Remove.
21018         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
21019         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
21020         (oldsetrlimit): Remove.
21021         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
21022         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
21023         (lchown): New syscall entry.
21024         (oldsetrlimit): Remove.
21025         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
21026         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
21027         (oldsetrlimit): Remove.
21028         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
21030         [BZ #14138]
21031         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
21032         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
21033         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
21034         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
21035         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
21036         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
21037         (fchown): Likewise.
21038         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
21039         (fchown): Likewise.
21040         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
21041         Likewise.
21043 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21045         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
21046         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
21047         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
21048         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
21049         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
21050         Likewise.
21051         (__old_sem_post): Likewise.
21053 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
21055         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
21056         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
21057         HAVE_CLOCK_GETTIME_VSYSCALL macros.
21058         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
21059         Use INLINE_VSYSCALL macro.
21060         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
21061         __vdso_clock_gettime.
21062         * sysdeps/unix/sysv/linux/tile/init-first.c
21063         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
21064         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
21065         __vdso_clock_gettime.
21067         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
21068         to set up frame more cleanly.
21070         * sysdeps/tile/memcmp.c: New file.
21072         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
21074         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
21075         * sysdeps/tile/tilegx/strcasestr.c: New file.
21076         * sysdeps/tile/tilegx/strnlen.c: New file.
21077         * sysdeps/tile/tilegx/strstr.c: New file.
21079         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
21081 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
21083         * nptl/tst-setuid3.c: Write errors to stdout.
21085 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
21087         * elf/dl-deps.c
21088         (preload): New functions broken out of _dl_map_object_deps.
21089         (_dl_map_object_deps):  Remove a nested function. Update call sites.
21091 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
21093         [BZ #14138]
21094         * sysdeps/unix/sysv/linux/execve.c: Remove file.
21095         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
21097 2014-10-01  Steve Ellcey  <sellcey@mips.com>
21099         * sysdeps/mips/strcmp.S: New.
21101 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
21103         [BZ #14138]
21104         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
21105         (linkat): Likewise.
21106         (mkdirat): Likewise.
21107         (readlinkat): Likewise.
21108         (renameat): Likewise.
21109         (symlinkat): Likewise.
21110         (unlinkat): Likewise.
21111         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
21112         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
21113         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
21114         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
21115         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
21116         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
21117         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
21119 2014-09-30  Will Newton  <will.newton@linaro.org>
21121         * math/math.h: Define long double math functions if
21122         _LIBC_TEST is defined.
21123         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
21125         * localedata/Makefile: Move assignment to tests-special
21126         into an ifdef testing run-built-tests.
21127         * timezone/Makefile: Likewise.
21129 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
21131         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
21132         with $(BASH) not $(SHELL).
21134 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
21135             Matthew LeGendre  <legendre1@llnl.gov>
21137         [BZ #17411]
21138         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
21139         l_reloc_result.
21141 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
21143         * stdio-common/printf_fp.c
21144         (hack_digit): New function, broken out of ...
21145         (__printf_fp): ... local function here.  Update call sites.
21146         hack_digit now takes an additional parameter that is a pointer
21147         to a struct of the referenced locals.  Those locals moved inside
21148         the struct and references updated.
21150 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
21152         * aclocal.m4: Require autoconf 2.69.
21153         * configure: Regenerated.
21154         * sysdeps/aarch64/configure: Likewise.
21155         * sysdeps/alpha/configure: Likewise.
21156         * sysdeps/arm/armv7/configure: Likewise.
21157         * sysdeps/arm/configure: Likewise.
21158         * sysdeps/ia64/configure: Likewise.
21159         * sysdeps/mach/configure: Likewise.
21160         * sysdeps/mips/configure: Likewise.
21161         * sysdeps/s390/configure: Likewise.
21162         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
21163         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
21165         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
21166         file.
21167         * sysdeps/ia64/configure.ac: Likewise.
21169 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
21171         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
21172         specify symbol version for ld.so.  Do not include entry for
21173         libpthread.
21174         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
21175         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
21176         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
21178         [BZ #14171]
21179         * Makeconfig [$(build-shared) = yes]
21180         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
21181         makefiles.
21182         [$(build-shared) = yes && $(soversions.mk-done) = t]
21183         ($(common-objpfx)gnu/lib-names.h): Remove rule.
21184         [$(build-shared) = yes && $(soversions.mk-done) = t]
21185         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
21186         to Makerules.
21187         [$(build-shared) = yes && $(soversions.mk-done) = t]
21188         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
21189         here.
21190         [$(build-shared) = yes && $(soversions.mk-done) = t]
21191         (common-generated): Don't append gnu/lib-names.h and
21192         gnu/lib-names.stmp here.
21193         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
21194         (lib-names-h-abi): New variable.
21195         [$(build-shared) = yes && $(soversions.mk-done) = t]
21196         (lib-names-stmp-abi): Likewise.
21197         [$(build-shared) = yes && $(soversions.mk-done) = t &&
21198         abi-variants] (before-compile): Append
21199         $(common-objpfx)$(lib-names-h-abi).
21200         [$(build-shared) = yes && $(soversions.mk-done) = t &&
21201         abi-variants] (common-generated): Append gnu/lib-names.h.
21202         [$(build-shared) = yes && $(soversions.mk-done) = t &&
21203         abi-variants] (install-others-nosubdir): Depend on
21204         $(inst_includedir)/$(lib-names-h-abi).
21205         [$(build-shared) = yes && $(soversions.mk-done) = t &&
21206         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
21207         [$(build-shared) = yes && $(soversions.mk-done) = t]
21208         ($(common-objpfx)$(lib-names-h-abi)): New rule.
21209         [$(build-shared) = yes && $(soversions.mk-done) = t]
21210         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
21211         [$(build-shared) = yes && $(soversions.mk-done) = t]
21212         (common-generated): Append $(lib-names-h-abi) and
21213         $(lib-names-stmp-abi).
21214         * scripts/lib-names.awk: Do not handle multi being set.
21215         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
21216         Remove variable.
21217         (abi-lp64_be-ld-soname): Likewise.
21218         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
21219         Likewise.
21220         (abi-hard-ld-soname): Likewise.
21221         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
21222         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
21223         Remove variable.
21224         (abi-o32_hard-ld-soname): Likewise.
21225         (abi-o32_soft_2008-ld-soname): Likewise.
21226         (abi-o32_hard_2008-ld-soname): Likewise.
21227         (abi-n32_soft-ld-soname): Likewise.
21228         (abi-n32_hard-ld-soname): Likewise.
21229         (abi-n32_soft_2008-ld-soname): Likewise.
21230         (abi-n32_hard_2008-ld-soname): Likewise.
21231         (abi-n64_soft-ld-soname): Likewise.
21232         (abi-n64_hard-ld-soname): Likewise.
21233         (abi-n64_soft_2008-ld-soname): Likewise.
21234         (abi-n64_hard_2008-ld-soname): Likewise.
21235         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
21236         Likewise.
21237         (abi-64-v2-ld-soname): Likewise.
21238         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
21239         ld.so entries.
21240         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
21241         variable.
21242         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
21243         entry.
21244         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
21245         variable.
21246         (abi-64-ld-soname): Likewise.
21247         (abi-x32-ld-soname): Likewise.
21248         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
21249         entry.
21250         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
21252 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
21254         [BZ #14138]
21255         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
21256         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
21257         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
21258         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
21259         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
21260         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
21261         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
21262         syscall entry for GLIBC_2.2 symbol version.
21263         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
21264         Likewise.
21265         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
21266         (setrlimit): Likewise.
21267         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
21268         Likewise.
21270 2014-09-23  Will Newton  <will.newton@linaro.org>
21272         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
21273         _LINUX_ARM_SYSDEP_H include guard too.
21274         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
21275         define.
21277 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
21279         * sysdeps/unix/sysv/linux/eventfd.c:
21280         Make first argument unsigned.
21281         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
21282         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
21284 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
21286         * socket/recvmmsg.c (recvmmsg): Drop const argument.
21287         * socket/sys/socket.h: Likewise
21288         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
21290 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
21292         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
21294 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
21296         * time/tst-ftime.c: New test.
21297         * time/Makefile (tests): Add tst-ftime.
21299 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
21301         * soft-fp/extended.h: Fix comment formatting.
21302         * soft-fp/op-1.h: Likewise.
21303         * soft-fp/op-2.h: Likewise.
21304         * soft-fp/op-4.h: Likewise.
21305         * soft-fp/op-8.h: Likewise.
21306         * soft-fp/op-common.h: Likewise.
21307         * soft-fp/soft-fp.h: Likewise.
21309         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
21311 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
21313         [BZ #6652]
21314         * Makeconfig (soversions-default-setname): Remove variable.
21315         ($(common-objpfx)soversions.i): Don't pass default_setname to
21316         soversions.awk.
21317         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
21318         oldest_abi to abi-versions.awk.
21319         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
21320         * config.make.in (oldest-abi): Remove variable.
21321         * configure.ac (--enable-oldest-abi): Remove configure option.
21322         * configure: Regenerated.
21323         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
21324         text.
21325         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
21326         * scripts/soversions.awk: Do not handle default_setname variable.
21327         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
21328         variable.
21329         * sysdeps/mach/hurd/configure: Regenerated.
21330         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
21331         variable.
21332         * sysdeps/unix/sysv/linux/configure: Regenerated.
21334 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
21336         * elf/Makefile (CFLAGS-interp.c): Remove.
21337         ($(elf-objpfx)runtime-linker.h): Generate header with linker
21338         path string.
21339         * elf/interp.c: Include generated runtime-linker.h
21341         * Makerules (lib%.so): Don't include $(+interp) in
21342         prerequisites.
21343         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
21344         * dlfcn/eval.c: Remove file.
21346         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
21347         macros.
21349         [BZ #17266]
21350         * misc/sys/cdefs.h: Define __extern_always_inline for clang
21351         4.2 and newer.
21353         [BZ #17370]
21354         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
21356 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
21357             Jakub Jelinek  <jakub@redhat.com>
21359         [BZ #17266]
21360         * libio/stdio.h: Check definition of __fortify_function
21361         instead of __extern_always_inline to include bits/stdio2.h.
21362         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
21363         check if __extern_always_inline is defined.
21364         [__USE_MISC || __USE_XOPEN]: Likewise.
21365         [__USE_ISOC99] Likewise.
21366         * misc/sys/cdefs.h (__fortify_function): Define only if
21367         __extern_always_inline is defined.
21368         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
21369         __extern_always_inline and __extern_inline only for g++-4.3
21370         and newer or a compatible gcc.
21372 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
21374         [BZ #17371]
21375         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
21376         last change to handle zero prefix length.
21378 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
21380         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
21381         _SC_REGEX_VERSION.
21383         * posix/getconf.c (vars): Add _POSIX_IPV6 and
21384         _POSIX_RAW_SOCKETS.
21386 2014-09-13  Allan McRae  <allan@archlinux.org>
21388         * po/ru.po: Update Russian translation from translation project.
21390 2014-09-12  Roland McGrath  <roland@hack.frob.com>
21392         * locale/programs/locale.c (show_locale_vars): Inline local function
21393         into its sole call site.  Clean up some style nits.
21394         (print_item): New function, broken out of ...
21395         (show_info): ... local function here.  Clean up style nits.
21397         * locale/programs/ld-ctype.c (set_one_default): New function, broken
21398         out of ...
21399         (set_class_defaults): ... local function set_default here.
21400         Define set_default as a macro locally to pass constant parameters.
21401         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
21402         rather than a shared local.
21404         * stdlib/rpmatch.c (try): New function, broken out of ...
21405         (rpmatch): ... local function here.  Also, prototypify definition.
21407 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
21409         * scripts/soversions.awk: Do not handle configuration names.
21410         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
21411         vendor and os variables to soversions.awk.
21412         * configure.ac: Do not modify gnu-* host_os.
21413         * configure: Regenerated
21414         * shlib-versions: Remove first column with configuration names.
21415         * nptl/shlib-versions: Likewise.
21416         * nptl_db/shlib-versions: Likewise.
21417         * sysdeps/hppa/shlib-versions: Likewise.
21418         * sysdeps/m68k/shlib-versions: Likewise.
21419         * sysdeps/mach/hurd/shlib-versions: Likewise.
21420         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
21421         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
21422         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
21423         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
21424         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
21425         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
21426         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
21427         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
21428         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
21429         Likewise.
21430         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
21431         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
21432         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
21433         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
21434         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
21435         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
21436         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
21437         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
21439         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
21440         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
21441         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
21442         Regenerated.
21443         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
21444         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
21445         Condition symbol version definitions on [HAVE_ELFV2_ABI].
21447         * shlib-versions: Remove OS-specific entries.  Moved to files in
21448         sysdeps.
21449         * sysdeps/mach/hurd/shlib-versions: New file.
21450         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
21452         * nptl/shlib-versions: Remove architecture-specific entries.
21453         Moved to files in sysdeps.
21454         * shlib-versions: Likewise.
21455         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
21456         file.
21457         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
21458         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
21459         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
21460         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
21462         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
21463         (UDP_NO_CHECK6_RX): Likewise.
21465 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
21467         * sysdeps/posix/sysconf.c (__sysconf): Spell
21468         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
21470 2014-08-12  Florian Weimer  <fweimer@redhat.com>
21472         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
21473         loading.
21474         * iconv/Versions (__gconv_transliterate): Export for use from
21475         gconv modules.
21476         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
21477         (struct __gconv_trans_data, __gconv_trans_fct,
21478         __gconv_trans_context_fct, __gconv_trans_query_fct,
21479         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
21480         definitions.
21481         (struct __gconv_step_data): Remove __trans member.
21482         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
21483         longer hidden.  Remove unused trans_data argument.
21484         * iconv/gconv_int.h (struct trans_struct): Remove definition.
21485         (__gconv_translit_find): Remove declaration.
21486         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
21487         prototype.
21488         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
21489         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
21490         trans_data argument.  Add hidden definition.
21491         (__gconv_translit_find): Remove.
21492         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
21493         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
21494         * iconv/skeleton.c: Remove transliteration initialization.
21495         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
21496         __gconv_step_data initialization.
21497         * libio/iofwide.c (__libio_translit_): Remove.
21498         (_IO_fwide): Adjust struct __gconv_step_data initialization.
21499         * wcsmbs/btowc.c (__btowc): Likewise.
21500         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
21501         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
21502         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
21503         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
21504         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
21505         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
21506         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
21507         * wcsmbs/wctob.c (wctob): Likewise.
21509 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
21511         [BZ #16194]
21512         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
21513         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
21514         register usage.
21515         * sysdeps/x86/Makefile: Adjust.
21517 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
21518             Roland McGrath  <roland@hack.frob.com>
21520         * locale/weight.h: Add include guard.
21521         (findidx): Make static rather than auto; take new parameters
21522         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
21523         * locale/weightwc.h: Likewise.
21524         * posix/fnmatch_loop.c
21525         (FCT): Change type of EXTRA from int32_t to wint_t.
21526         Don't include either header inside the function.
21527         Call FINDIDX rather than findidx, and pass new arguments.
21528         #undef FINDIDX at the end of the file.
21529         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
21530         FINDIDX before including fnmatch_loop.c for the non-wide version.
21531         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
21532         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
21533         for the wide version.
21534         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
21535         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
21536         Pass new arguments to findidx.
21537         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
21538         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
21539         Don't #include it inside the function.  Pass new arguments to findidx.
21540         * posix/regex_internal.h
21541         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
21542         (re_string_elem_size_at): Don't #include it inside the function.
21543         Pass new arguments to findidx.
21544         * string/strcoll_l.c: #include WEIGHT_H at top level.
21545         (get_next_seq): Don't #include it inside the function.
21546         Pass new arguments to findidx.
21547         (get_next_seq_nocache): Likewise.
21548         * string/strxfrm_l.c: #include WEIGHT_H at top level.
21549         (STRXFRM): Don't #include it inside the function.
21550         Pass new arguments to findidx.
21552 2014-09-11  Florian Weimer  <fweimer@redhat.com>
21554         [BZ #17344]
21555         * malloc/malloc.c (unlink): Turn asserts into a call to
21556         malloc_printerr.
21558 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
21560         [BZ #17370]
21561         * libio/wfileops (do_ftell_wide): Free OUT.
21563 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
21565         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
21567 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
21569         [BZ #17363]
21570         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
21571         group if the current group is empty.
21573 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21575         * benchtests/bench-memset.c (test_main): Add more test from size
21576         from 32 to 512 bytes.
21577         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
21578         Add POWER8 memset object.
21579         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21580         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
21581         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
21582         implementation.
21583         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
21584         Likewise.
21585         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
21586         multiarch POWER8 memset optimization.
21587         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
21588         POWER8 memset optimization.
21590         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
21591         Remove bzero multiarch objects.
21592         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
21593         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
21594         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
21595         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
21596         Remove define.
21597         [__bzero]: Redefine to specific name.
21598         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
21599         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
21600         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
21601         define.
21602         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
21603         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
21605 2014-09-10  Florian Weimer  <fweimer@redhat.com>
21607         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
21608         warnings into errors.
21610         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
21611         __cxa_thread_atexit_impl prototype.
21613 2014-09-09  Steve Ellcey  <sellcey@mips.com>
21615         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
21616         Fix capitalization of error message.
21618 2014-09-09  Steve Ellcey  <sellcey@mips.com>
21620         * sysdeps/mips/preconfigure: Modify ABI tests.
21622 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
21624         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
21626 2014-09-07  Roland McGrath  <roland@hack.frob.com>
21627             Carlos O'Donell  <carlos@systemhalted.org>
21629         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
21630         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
21631         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
21632         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
21633         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
21634         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
21635         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
21636         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
21637         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
21638         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
21639         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
21640         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
21641         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
21642         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
21643         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
21644         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
21645         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
21646         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
21647         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
21648         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
21649         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
21650         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
21651         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
21652         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
21653         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
21654         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
21655         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
21656         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
21657         Deconditionalize the code that was previously under [RESET_PID].
21658         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
21659         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
21660         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
21661         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
21662         include sysdep.h.
21664 2014-09-08  Allan McRae  <allan@archlinux.org>
21666         * version.h (RELEASE): Set to "development".
21667         (VERSION): Set to "2.20.90"
21669 2014-09-07  Allan McRae  <allan@archlinux.org
21671         * version.h (RELEASE): Set to "stable".
21672         (VERSION): Set to "2.20"
21673         * include/features.h (__GLIBC_MINOR__): Set to 20.
21675         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
21676         Liebler.
21678         * po/ko.po: Update Korean translation from translation project.
21680 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
21682         [BZ #17354]
21683         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
21684         macro for handling signed relocations.
21686 2014-09-03  Florian Weimer  <fweimer@redhat.com>
21688         [BZ #17325]
21689         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
21690         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
21691         assert.
21692         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
21693         * iconvdata/ibm935.c (BODY): Likewise.
21694         * iconvdata/ibm937.c (BODY): Likewise.
21695         * iconvdata/ibm939.c (BODY): Likewise.
21696         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
21697         assert.
21698         * iconvdata/Makefile (iconv-test.out): Pass module list to test
21699         script.
21700         * iconvdata/run-iconv-test.sh: New test loop for checking for
21701         decoder crashers.
21703 2014-09-02  Khem Raj  <raj.khem@gmail.com>
21705         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
21706         libm_hidden_ver.
21708 2014-09-01  Allan McRae  <allan@archlinux.org>
21710         * po/eo.po: Update Esperanto translation from translation project.
21712         * po/ca.po: Update Catalan translation from translation project.
21714 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21716         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
21717         __proc_dostop call.
21719 2014-08-27  Mark Wielaard  <mjw@redhat.com>
21721         [BZ #17319]
21722         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
21723         to call set_thread_area instead of hand written asm.
21724         (__NR_set_thread_area): Removed define.
21725         (TLS_FLAG_WRITABLE): Likewise.
21726         (__ASSUME_SET_THREAD_AREA): Remove check.
21727         (TLS_EBX_ARG): Remove define.
21728         (TLS_LOAD_EBX): Likewise.
21730 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21732         Simplify atomicity of socket creation in bind.
21734         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
21735         looking up the name after linking the file.
21737 2014-08-27  Allan McRae  <allan@archlinux.org>
21739         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
21741 2014-08-26  Florian Weimer  <fweimer@redhat.com>
21743         [BZ #17187]
21744         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
21745         trans_compare, open_translit, __gconv_translit_find):
21746         Remove module loading code.
21748 2014-08-26  Allan McRae  <allan@archlinux.org>
21750         * po/vi.po: Update Vietnamese translation from translation project.
21752         * po/uk.po: Update Ukrainian translation from translation project.
21754         * po/fr.po: Update French translation from translation project.
21756         * po/ru.po: Update Russian translation from translation project.
21758         * po/pl.po: Update Polish translation from translation project.
21760         * po/cs.po: Update Czech translation from translation project.
21762         * po/de.po: Update German translation from translation project.
21764         * po/bg.po: Update Bulgarian translation from translation project.
21766         * po/sv.po: Update Sweedish translation from translation project.
21768         * po/nl.po: Update Dutch translation from translation project.
21770         * po/es.po: Update Spanish translation from translation project.
21772 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
21774         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
21776         * catgets/Makefile (CPPFLAGS-gencat): Remove.
21777         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
21778         (CPPFLAGS-iconvconfig): Likewise.
21779         * timezone/Makefile (CPPFLAGS-zic): Likewise.
21781         * include/libc-symbols.h: Remove unnecessary check for
21782         NOT_IN_libc.
21783         * nptl/pthreadP.h: Likewise.
21784         * sysdeps/aarch64/setjmp.S: Likewise.
21785         * sysdeps/alpha/setjmp.S: Likewise.
21786         * sysdeps/arm/sysdep.h: Likewise.
21787         * sysdeps/i386/setjmp.S: Likewise.
21788         * sysdeps/m68k/setjmp.c: Likewise.
21789         * sysdeps/posix/getcwd.c: Likewise.
21790         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
21791         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
21792         * sysdeps/s390/s390-32/setjmp.S: Likewise.
21793         * sysdeps/s390/s390-64/setjmp.S: Likewise.
21794         * sysdeps/sh/sh3/setjmp.S: Likewise.
21795         * sysdeps/sh/sh4/setjmp.S: Likewise.
21796         * sysdeps/unix/alpha/sysdep.h: Likewise.
21797         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
21798         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
21799         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
21800         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
21801         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
21802         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
21803         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
21804         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
21805         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
21806         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
21807         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
21808         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
21809         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
21810         * sysdeps/x86_64/setjmp.S: Likewise.
21812 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
21814         [BZ #17263]
21815         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
21816         <stdint.h>.
21817         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
21818         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
21820 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
21822         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
21824         [BZ #17262]
21825         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
21826         and __x86_64__ when disabling x87 inline functions.
21828 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
21830         [BZ #17259]
21831         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
21832         asm statement with __cpuid_count.
21834 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
21836         * configure.ac: Change __ehdr_start code to dereference the struct.
21837         Run readelf on the output to look for relocations.
21838         * configure: Regenerated.
21840 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
21842         [BZ #17261]
21843         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
21844         value to 0.
21845         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
21847 2014-08-12  Roland McGrath  <roland@hack.frob.com>
21849         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
21851 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
21853         [BZ #16892]
21854         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
21855         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
21857 2014-08-12  Sean Anderson  <seanga2@gmail.com>
21859         * malloc/malloc.c: Fix typo in comment.
21861 2014-08-09  Allan McRae  <allan@archlinux.org>
21863         * Regenerate libc.po.
21865 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
21867         * intl/tst-gettext2.sh: Check every lang file for creation.
21869 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
21871         * sysdeps/aarch64/fpu/math_private.h
21872         (libc_feholdsetround_noex_aarch64_ctx): New function.
21874 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
21876         * sysdeps/arm/armv6/strcpy.S (strcpy):
21877         Fix performance issue in misaligned cases.
21879 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21881         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
21882         Move definition from termios.h.
21883         (struct termio): Likewise.
21884         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
21885         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
21886         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
21887         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
21888         Likewise.
21889         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
21890         Move definition to ioctl-types.h
21891         (struct termio): Likewise.
21892         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
21893         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
21894         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
21895         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
21896         Likewise.
21898 2014-08-05  Richard Henderson  <rth@redhat.com>
21900         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
21901         exceptions.
21902         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
21903         Add fraiseexcpt.
21904         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
21905         Use __feraiseexcept.
21906         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
21907         Protect libm symbols with IS_IN_libm.
21909         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
21911 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
21913         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
21915 2014-08-04  Will Newton  <will.newton@linaro.org>
21917         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
21918         file.
21920 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
21922         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
21923         variants for each function.
21925 2014-08-04  Roland McGrath  <roland@hack.frob.com>
21927         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
21928         appended ...
21929         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
21930         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
21931         appended ...
21932         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
21933         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
21934         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
21935         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
21936         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
21937         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
21938         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
21939         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
21940         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
21941         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
21942         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
21943         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
21944         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
21945         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
21946         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
21947         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
21948         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
21949         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
21950         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
21951         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
21952         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
21953         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
21954         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
21955         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
21956         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
21957         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
21958         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
21959         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
21960         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
21961         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
21962         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
21963         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
21964         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
21965         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
21966         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
21967         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
21968         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
21969         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
21970         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
21971         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
21972         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
21973         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
21974         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
21975         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
21976         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
21977         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
21978         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
21979         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
21980         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
21981         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
21982         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
21983         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
21984         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
21985         Update #include.
21986         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
21987         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
21989 2014-08-04  Roland McGrath  <roland@hack.frob.com>
21991         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
21992         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
21993         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
21994         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
21995         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
21996         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
21998 2014-08-04  Roland McGrath  <roland@hack.frob.com>
22000         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
22001         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
22002         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
22003         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
22005 2014-08-04  Roland McGrath  <roland@hack.frob.com>
22007         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
22008         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
22009         (__libc_vfork): Define function under this name.
22010         (__vfork): Define as an alias.
22011         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
22012         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
22014 2014-08-04  Roland McGrath  <roland@hack.frob.com>
22016         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
22017         that was previously under [RESET_PID].
22018         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
22020 2014-08-04  Andreas Schwab  <schwab@suse.de>
22022         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
22024 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
22026         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
22027         (main): Likewise.
22029 2014-08-01  Roland McGrath  <roland@hack.frob.com>
22031         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
22033 2014-08-01  Richard Henderon  <rth@redhat.com>
22035         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
22036         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
22037         typo in exact zero test.
22038         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22039         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
22040         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22042 2014-08-01  Roland McGrath  <roland@hack.frob.com>
22044         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
22045         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
22046         * sysdeps/arm/sysdep.h: ... here.
22047         [!__ASSEMBLER__]: Include <stdint.h>.
22049 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
22051         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
22052         (HAVE_WCTYPE_H): Likewise.
22053         (HAVE_ISWCTYPE): Likewise.
22054         (ENABLE_NLS): Likewise.
22055         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
22056         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
22058         * posix/regex_internal.c: Check if DEBUG is defined and is
22059         set.
22061         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
22062         (HAVE_MBSRTOWCS): Likewise.
22063         * posix/fnmatch.c: Include string.h unconditionally.
22065 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
22067         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
22068         reversal.
22070 2014-07-31  Roland McGrath  <roland@hack.frob.com>
22072         * sysdeps/generic/safe-fatal.h: New file.
22073         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
22074         * nptl/forward.c: Include it.
22075         (__pthread_unwind): Use __safe_fatal as default action, rather
22076         than a bogus use of INTERNAL_SYSCALL that could never work.
22078         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
22079         * configure.ac (libc_cv_builtin_trap): New test.
22080         * configure: Regenerated.
22081         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
22082         (ABORT_INSTRUCTION): Define using __builtin_trap.
22084         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
22085         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
22086         * sysdeps/nptl/nptl-signals.h: New file.
22087         * nptl/pthreadP.h: Include <nptl-signals.h>.
22089 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
22091         * sysdeps/s390/s390-64/utf16-utf32-z9.c
22092         (ONE_DIRECTION): Define.
22093         * sysdeps/s390/s390-64/utf8-utf16-z9.c
22094         (ONE_DIRECTION): Define.
22095         * sysdeps/s390/s390-64/utf8-utf32-z9.c
22096         (ONE_DIRECTION): Define.
22098 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
22100         * sysdeps/s390/Makefile: Delete file.
22101         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
22102         * sysdeps/s390/__longjmp.c: Delete file.
22103         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
22104         Remove fields __flags and __reserved.
22105         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
22106         and add versioning.
22107         * sysdeps/s390/rtld-__longjmp.c: Delete file.
22108         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
22109         * sysdeps/s390/rtld-setjmp.S: Likewise.
22110         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
22111         * sysdeps/s390/s390-32/__longjmp.c: ... here.
22112         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
22113         * sysdeps/s390/s390-32/setjmp.S: ... here.
22114         Add versioning.
22115         (__sigsetjmp): Remove setting __flags field.
22116         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
22117         * sysdeps/s390/s390-64/__longjmp.c: ... here.
22118         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
22119         * sysdeps/s390/s390-64/setjmp.S: ... here.
22120         Add versioning.
22121         (__sigsetjmp): Remove setting __flags field.
22122         * sysdeps/s390/setjmp.S: Delete file.
22123         * sysdeps/s390/sigjmp.c: Likewise.
22124         * sysdeps/s390/v1-longjmp.c: Likewise.
22125         * sysdeps/s390/v1-setjmp.h: Likewise.
22126         * sysdeps/s390/v1-sigjmp.c: Likewise.
22127         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
22128         Remove v1-longjmp_chk.
22129         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
22130         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
22131         Include debug/longjmp_chk.c and add versioning.
22132         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
22133         Include nptl/pt-longjmp.c and add versioning.
22134         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
22135         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
22136         Include __longjmp.c.
22137         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
22138         Move to ...
22139         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
22140         (__getcontext): Remove setting __flags field.
22141         Add versioning.
22142         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
22143         Don't restore upper high grps.
22144         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
22145         Likewise.
22146         (__swapcontext): Remove setting uc_flags field.
22147         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
22148         Delete file.
22149         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
22150         Include __longjmp.c.
22151         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
22152         Move to ...
22153         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
22154         (__getcontext): Remove setting __flags field.
22155         Add versioning.
22156         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
22157         (__swapcontext): Remove setting uc_flags field.
22158         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
22159         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
22160         Remove fields uc_high_gprs and __reserved.
22161         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
22162         New file with reverted content.
22163         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
22164         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
22165         Regenerated.
22166         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
22167         Regenerated.
22169 2014-07-31  Andreas Schwab  <schwab@suse.de>
22171         * config.h.in (HAVE_IFUNC): Define to 0.
22172         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
22173         definedness.
22175 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
22177         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22178         memmove-avx-unaligned, memcpy-avx-unaligned and
22179         mempcpy-avx-unaligned.
22180         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
22181         Add tests for AVX memcpy functions.
22182         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
22183         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
22184         memcpy_chk.
22185         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
22186         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
22187         memmove_chk.
22188         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
22189         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
22190         mempcpy_chk.
22191         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
22192         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
22193         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
22195 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22197         [BZ #17213]
22198         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
22199         powerpc64le.
22201 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
22203         [BZ #16839]
22204         * manual/llio.texi: Add section about open file description locks.
22205         * manual/examples/ofdlocks.c: Example of open file description
22206         lock usage.
22207         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
22208         F_OFD_SETLK, and F_OFD_SETLKW.
22210 2014-07-23  Allan McRae  <allan@archlinux.org>
22212         * po/es.po: Update Spanish translation from translation project.
22214 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
22216         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
22218 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
22220         [BZ #17078]
22221         * sysdeps/arm/dl-machine.h (elf_machine_rela)
22222         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
22223         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
22225 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
22227         [BZ #17088]
22228         * math/fesetenv.c (__fesetenv)
22229         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
22230         * math/feupdateenv.c (__feupdateenv)
22231         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
22233         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
22234         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
22235         (__ASSUME_SOCKETCALL): Do not define.
22237         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
22238         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
22239         (__ASSUME_SOCKETCALL): Do not define.
22240         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
22241         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
22242         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
22243         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
22244         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
22245         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
22246         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
22247         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
22249         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
22250         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
22251         (__ASSUME_SOCKETCALL): Do not define.
22252         (__ASSUME_IPC64): Define unconditionally.
22253         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
22254         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
22255         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
22256         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
22257         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
22258         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
22259         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
22260         Likewise.
22262         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
22263         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
22264         (__ASSUME_SOCKETCALL): Do not define.
22265         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
22266         (__ASSUME_FUTEX_LOCK_PI): Likewise.
22267         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
22268         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
22269         (__ASSUME_REQUEUE_PI): Define unconditionally.
22270         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
22271         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
22272         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
22273         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
22274         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
22275         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
22277         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
22278         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
22279         (__ASSUME_SOCKETCALL): Do not define.
22280         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
22281         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
22282         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
22283         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
22284         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
22285         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
22287         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
22288         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
22289         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
22290         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
22291         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
22292         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
22293         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
22294         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
22295         (__ASSUME_GETCPU_SYSCALL): Likewise.
22297         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
22298         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
22299         cases for individual architectures.
22300         * sysdeps/gnu/configure: Regenerated.
22301         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
22302         LIBC_SLIBDIR_RTLDDIR.
22303         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
22304         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
22305         LIBC_SLIBDIR_RTLDDIR.
22306         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
22307         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
22308         LIBC_SLIBDIR_RTLDDIR.
22309         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
22310         Regenerated.
22311         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
22312         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
22313         file.
22314         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
22315         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
22316         file.
22317         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
22318         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
22319         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
22320         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
22322         * sysdeps/aarch64/shlib-versions: Move to ...
22323         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
22324         * sysdeps/alpha/shlib-versions: Move to ...
22325         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
22326         * sysdeps/arm/shlib-versions: Move to ...
22327         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
22328         * sysdeps/hppa/shlib-versions: Move all contents except for
22329         libgcc_s entry to ...
22330         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
22331         entry from ...
22332         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
22333         * sysdeps/ia64/shlib-versions: Move to ...
22334         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
22335         entry from ...
22336         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
22337         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
22338         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
22339         * sysdeps/microblaze/shlib-versions: Move to ...
22340         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
22341         * sysdeps/mips/shlib-versions: Move to ...
22342         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
22343         entry from ...
22344         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
22345         * sysdeps/tile/shlib-versions: Move to ...
22346         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
22347         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
22348         from ...
22349         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
22350         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
22351         entry from ...
22352         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
22354 2014-07-17  Will Newton  <will.newton@linaro.org>
22356         * sysdeps/arm/bits/atomic.h
22357         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
22358         (__arch_compare_and_exchange_bool_16_int): Likewise.
22359         (__arch_compare_and_exchange_bool_64_int): Likewise.
22361         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
22362         into an #else block.
22364 2014-07-16  Roland McGrath  <roland@hack.frob.com>
22366         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
22367         just Linux configurations.  Test empirically that the compiler sets
22368         __ARM_EABI__, rather than using the tuple to decide.
22369         * sysdeps/arm/preconfigure: Regenerated.
22370         * sysdeps/unix/sysv/linux/arm/configure: File removed.
22371         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
22372         contents appended ...
22373         * sysdeps/arm/configure.ac: ... here.
22374         * sysdeps/arm/configure: Regenerated.
22376 2014-07-15  Roland McGrath  <roland@hack.frob.com>
22378         * nptl/pthread_kill.c: New file.
22379         * nptl/pthread_sigmask.c: New file.
22380         * nptl/pthread_sigqueue.c: New file.
22382         * sysdeps/nptl/lowlevellock.h: New file.
22383         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
22384         * sysdeps/nptl/lowlevellock-futex.h: New file.
22386         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
22387         Remove dead declarations.
22389 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
22391         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
22392         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
22393         config-cflags-avx2.
22394         * sysdeps/x86_64/configure.ac: Likewise.
22395         * sysdeps/i386/configure: Regenerated.
22396         * sysdeps/x86_64/configure: Likewise.
22397         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22398         memset-avx2 only if config-cflags-avx2 is yes.
22399         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
22400         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
22401         defined.
22402         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
22403         only if HAVE_AVX2_SUPPORT is defined.
22404         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
22406 2014-07-14  Alan Modra  <amodra@gmail.com>
22408         [BZ #17153]
22409         * elf/elf.h (DT_PPC64_NUM): Correct value.
22410         * NEWS: Add to fixed bug list.
22412 2014-07-13  Jim Meyering  <meyering@fb.com>
22414         [BZ 17150]
22415         regex: don't deref NULL upon heap allocation failure
22416         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
22417         failure in one more place.
22418         To trigger the segfault, configure grep -with-included-regex,
22419         build it, and run these commands:
22420         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
22422 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
22424         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
22426 2014-07-11  Richard Henderson  <rth@redhat.com>
22428         * sysdeps/aarch64/libm-test-ulps: Update.
22430 2014-07-10  Florian Weimer  <fweimer@redhat.com>
22432         [BZ #17135]
22433         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
22434         * nptl/allocatestack.c (__nptl_setxid_error): New function.
22435         (__nptl_setxid): Initialize error member.  Call
22436         __nptl_setxid_error.
22437         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
22438         * nptl/descr.h (struct xid_command): Add error member.
22439         * nptl/tst-setuid3.c: New file.
22440         * nptl/Makefile (tests): Add it.
22442 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22444         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
22445         New define.
22446         (__lll_trylock): Use __lll_base_trylock.
22447         (__lll_cond_trylock): Likewise.
22449 2014-07-10  Roland McGrath  <roland@hack.frob.com>
22451         * nptl/pthread_create.c (start_thread): Use atomic_or and
22452         lll_futex_wake directly rather than lll_robust_dead.
22453         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
22454         (lll_robust_dead): Macro removed.
22455         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
22456         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
22457         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
22458         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
22459         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
22460         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
22461         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
22462         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
22463         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
22464         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
22465         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
22466         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
22467         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
22468         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
22469         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
22471         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
22472         Use atomic_compare_and_exchange_val_acq directly rather than
22473         lll_robust_trylock.
22474         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
22475         (__lll_robust_trylock, lll_robust_trylock): Removed.
22476         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
22477         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
22478         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
22479         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
22480         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
22481         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
22482         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
22483         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
22484         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
22485         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
22486         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
22487         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
22488         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
22489         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
22491 2014-07-02  Florian Weimer  <fweimer@redhat.com>
22493         * manual/locale.texi (Locale Names): New section documenting
22494         locale name syntax.  Adjust menu and node chaining accordingly.
22495         (Choosing Locale): Reference Locale Names, Locale Categories.
22496         Mention setting LC_ALL=C.  Reflect that name syntax is now
22497         documented.
22498         (Locale Categories): New section title.  Reference Locale Names.
22499         LC_ALL is an environment variable, but not a category.
22500         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
22501         description, now in Locale Name.  Reference that section.  Locale
22502         name syntax is now documented.
22504 2014-07-02  Florian Weimer  <fweimer@redhat.com>
22506         [BZ #17137]
22507         * locale/findlocale.c (name_present, valid_locale_name): New
22508         functions.
22509         (_nl_find_locale): Use the loc_name variable to store name
22510         candidates.  Call name_present and valid_locale_name to check and
22511         validate locale names.  Return an error if the locale is invalid.
22513 2014-07-02  Florian Weimer  <fweimer@redhat.com>
22515         * locale/setlocale.c (setlocale): Use strdup for allocating
22516         composite name copy.
22518 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
22520         Sync up with gnulib.
22521         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
22522         [!_LIBC && ENABLE_NLS]: Include gettext.h.
22523         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
22524         and _GL_ARG_NONNULL.
22525         [USE_UNLOCKED_IO]: Include unlocked-io.h.
22526         [!_LIBC]: Include code for Windows and Cygwin.
22527         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
22528         Include prototype for int strerror_r.
22529         [!_LIBC] (is_open): New function.
22530         (flush_stdout): New function.
22531         (print_errno_message): Use it.
22532         (error): Likewise.
22533         (error_at_line): Likewise.
22534         (error_tail) Add function attribute macros.  Use
22535         __builtin_expect.
22537         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
22539         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
22541         * io/ftw.c: Include sys/param.h unconditionally.
22543         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
22545         [BZ #17125]
22546         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
22547         libc_freeres_ptr.
22548         (freecache): New function to free CACHE on exit.
22550         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
22551         initialization.
22553 2014-07-09  David S. Miller  <davem@davemloft.net>
22555         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22557         * sysdeps/sparc/nptl/internaltypes.h: Delete.
22558         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
22559         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
22560         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
22561         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
22562         * sysdeps/sparc/nptl/sem_init.c: Likewise.
22563         * sysdeps/sparc/nptl/sem_post.c: Likewise.
22564         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
22565         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
22566         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
22567         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
22568         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
22569         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
22571 2014-07-09  Andreas Schwab  <schwab@suse.de>
22573         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
22574         output.
22575         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
22576         (do_test): Likewise.
22578         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
22580 2014-07-09  Will Newton  <will.newton@linaro.org>
22582         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
22583         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
22584         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
22585         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
22586         * sysdeps/hppa/start.S (_start): Likewise.
22588 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
22590         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
22592         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
22593         defined.
22595 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
22597         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
22598         after checking that it is non-NULL.
22600         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
22602 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22604         * sysdeps/powerpc/memmove.c: Remove file.
22605         * sysdeps/powerpc/powerpc32/power4/memcopy.h
22606         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
22607         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
22608         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
22609         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
22610         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
22611         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
22612         string memmove instead of removed powerpc one.
22614         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
22615         [weak_alias]: Fix compiler warning due trailing data.
22616         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
22617         [weak_alias]: Likewise.
22618         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
22619         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
22621         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
22622         (__libc_ifunc_impl_list): Add memmove functions.
22624 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
22626         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
22627         Remove code.
22628         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
22629         Likewise
22630         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
22631         Likewise
22632         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
22633         Likewise
22634         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
22635         Likewise
22636         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
22637         Likewise
22638         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
22639         Likewise
22640         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
22641         Likewise
22642         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
22643         Likewise
22644         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
22645         Likewise
22646         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
22647         Likewise
22648         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
22649         Likewise
22650         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
22651         Likewise
22652         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
22653         Likewise
22654         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
22655         Likewise
22656         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
22657         Likewise
22658         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
22659         Likewise
22661 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22663         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
22664         to avoid alignment traps in non-cacheable memory.
22665         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
22667         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
22668         multiarch objects.
22669         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
22670         file: multiarch power7 memmove.
22671         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
22672         multiarch default memmove.
22673         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
22674         multiarch memove for powerpc32/power4.
22676         * string/bcopy.c: Use full path to include memmove.c.
22677         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
22678         multiarch objects.
22679         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
22680         bcopy for powerpc64.
22681         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
22682         bcopy for powerpc64.
22683         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
22684         and memmove implementations.
22685         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
22686         optimized multiarch memmove for POWER7/powerpc64.
22687         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
22688         default multiarch memmove for powerpc64.
22689         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
22690         multiarch for powerpc64.
22691         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
22692         for POWER7/powerpc64.
22693         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
22694         memmove for POWER7/powerpc64.
22696         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
22697         glibc default one.
22699         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
22700         __ELF_NATIVE_CLASS equal to 64.
22702 2014-07-07  Roland McGrath  <roland@hack.frob.com>
22704         * sysdeps/nptl/lowlevellock.h: File removed.
22706         * NEWS: NPTL is no longer an add-on!
22707         * nptl/internaltypes.h: Moved ...
22708         * sysdeps/nptl/internaltypes.h: ... here.
22709         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
22710         * sysdeps/nptl/fork.c: Likewise.
22711         * sysdeps/nptl/gai_misc.h: Likewise.
22712         * sysdeps/nptl/librt-cancellation.c: Likewise.
22713         * sysdeps/nptl/jmp-unwind.c: Likewise.
22714         * sysdeps/nptl/setxid.h: Likewise.
22715         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
22716         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
22717         * sysdeps/unix/sysv/linux/arm/Implies: New file.
22718         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
22719         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
22720         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
22721         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
22722         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
22723         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
22724         * sysdeps/unix/sysv/linux/mips/Implies: New file.
22725         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
22726         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
22727         * sysdeps/unix/sysv/linux/sh/Implies: New file.
22728         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
22729         * sysdeps/unix/sysv/linux/tile/Implies: New file.
22730         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
22731         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
22732         * nptl/Makeconfig: Moved ...
22733         * sysdeps/nptl/Makeconfig: ... here.
22734         * nptl/configure: File removed.
22735         * nptl/ANNOUNCE: File removed.
22736         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
22737         * sysdeps/unix/sysv/linux/configure: Regenerated.
22739         * nptl/Makefile (routines): Add libc_pthread_init,
22740         libc_multiple_threads, register-atfork and unregister-atfork.
22741         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
22742         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
22743         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
22744         pthread-pi-defines.sym, structsem.sym.
22745         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
22746         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
22747         [$(subdir) = nptl] (tests): Add tst-setgetname.
22748         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
22749         * sysdeps/unix/sysv/linux/sigaction.c: Just include
22750         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
22751         [!LIBC_SIGACTION]: Remove aliases.
22752         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
22753         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
22754         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
22755         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
22756         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
22757         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
22758         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
22759         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
22760         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
22761         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
22762         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
22763         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
22764         __libc_allocate_rtsig_private.
22765         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
22766         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
22767         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
22768         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
22769         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
22770         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
22771         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
22772         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
22773         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
22774         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
22775         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
22776         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
22777         * nptl/internaltypes.h: ... here.
22778         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
22779         * sysdeps/nptl/jmp-unwind.c: ... here.
22780         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
22781         * nptl/libc-lowlevellock.c: ... here.
22782         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
22783         * nptl/libc_multiple_threads.c: ... here.
22784         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
22785         * nptl/libc_pthread_init.c: ... here.
22786         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
22787         * nptl/lowlevelbarrier.sym: ... here.
22788         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
22789         * nptl/lowlevelcond.sym: ... here.
22790         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
22791         * nptl/lowlevellock.c: ... here.
22792         * nptl/lowlevellock.h: Moved ...
22793         * sysdeps/nptl/lowlevellock.h: ... here.
22794         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
22795         * nptl/lowlevelrobustlock.c: ... here.
22796         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
22797         * nptl/lowlevelrobustlock.sym: ... here.
22798         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
22799         * nptl/lowlevelrwlock.sym: ... here.
22800         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
22801         * nptl/pt-fork.c: ... here.
22802         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
22803         * nptl/pthread-pi-defines.sym: ... here.
22804         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
22805         * nptl/pthread_attr_getaffinity.c: ... here.
22806         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
22807         * nptl/pthread_attr_setaffinity.c: ... here.
22808         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
22809         * nptl/pthread_mutex_cond_lock.c: ... here.
22810         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
22811         Update #include.
22812         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
22813         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
22814         * nptl/pthread_once.c: ... here, replacing old file.
22815         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
22816         * nptl/pthread_yield.c: ... here.
22817         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
22818         * nptl/register-atfork.c: ... here.
22819         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
22820         * nptl/sem_post.c: ... here.
22821         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
22822         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
22823         * nptl/sem_timedwait.c: ... here.
22824         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
22825         * nptl/sem_trywait.c: ... here.
22826         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
22827         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
22828         * nptl/sem_wait.c: ... here.
22829         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
22830         * nptl/structsem.sym: ... here.
22831         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
22832         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
22833         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
22834         * nptl/unregister-atfork.c: ... here.
22835         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
22836         * nptl/unwindbuf.sym: ... here.
22837         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
22838         * sysdeps/nptl/fork.c: ... here.
22839         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
22840         * sysdeps/nptl/fork.h: ... here.
22841         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
22842         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
22843         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
22844         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
22845         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
22846         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
22847         * sysdeps/unix/sysv/linux/getpid.c: ... here.
22848         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
22849         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
22850         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
22851         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
22852         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
22853         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
22854         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
22855         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
22856         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
22857         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
22858         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
22859         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
22860         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
22861         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
22862         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
22863         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
22864         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
22865         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
22866         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
22867         * sysdeps/unix/sysv/linux/raise.c: ... here.
22868         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
22869         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
22870         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
22871         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
22872         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
22873         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
22874         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
22875         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
22876         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
22877         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
22878         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
22879         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
22880         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
22881         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
22882         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
22884 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
22886         * sysdeps/generic/memcopy.h: Add comment for
22887         MEMCPY_OK_FOR_FWD_MEMMOVE.
22889 2014-07-04  Will Newton  <will.newton@linaro.org>
22891         * string/memchr.c: Merge from gnulib.
22892         [_LIBC]: Remove conditionals.
22893         (__ptr_t): Remove define.
22894         (LONG_MAX_32_BITS): Likewise.
22895         (LONG_MAX): Likewise.
22896         (MEMCHR): Use ANSI prototype and optimize algorithm.
22898         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
22900 2014-07-03  Roland McGrath  <roland@hack.frob.com>
22902         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
22903         (lll_futex_timed_wait_bitset): Fix syscall argument count.
22905         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
22906         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
22907         in a bare environment with no <stdlib.h> installed.
22908         * sysdeps/nptl/configure: Regenerated.
22910         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
22912         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
22913         AC_EGREP_CPP for kernel header checks, so they only succeed if
22914         including <linux/version.h> actually works right.
22915         * sysdeps/unix/sysv/linux/configure: Regenerated.
22917         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
22918         value so it's not diagnosed as unused.
22920         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
22921         thing) with "ifeq ($(subdir),rt)".
22923 2014-07-03  Richard Henderson  <rth@redhat.com>
22925         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
22926         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
22927         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
22929         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
22930         (math_force_eval): New.
22932         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
22933         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
22935         * sysdeps/alpha/fpu/s_round.c: Remove file.
22936         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
22938         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
22939         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
22940         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
22941         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
22942         (_dl_start, print_statistics): Likewise.
22943         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
22944         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
22946         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
22947         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
22948         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
22949         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
22950         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
22951         (HP_SMALL_TIMING_AVAIL): Define.
22952         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
22953         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
22954         (HP_SMALL_TIMING_AVAIL): Define.
22955         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
22956         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
22958         * sysdeps/aarch64/hp-timing.h: New file.
22960         * sysdeps/generic/hp-timing.h: Remove dead comment.
22961         * sysdeps/generic/hp-timing-common.h: New file.
22962         * sysdeps/alpha/hp-timing.h: Include it.
22963         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
22964         * sysdeps/i386/i686/hp-timing.h: Likewise.
22965         * sysdeps/ia64/hp-timing.h: Likewise.
22966         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
22967         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
22968         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
22969         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
22970         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
22971         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
22972         (hp_timing_t): New.
22974         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
22975         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
22976         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
22977         * elf/rtld.c (_dl_start_final): Likewise.
22978         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
22979         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
22980         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
22981         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
22982         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
22983         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
22984         (HP_TIMING_DIFF_INIT): Remove.
22985         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
22986         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
22987         (HP_TIMING_DIFF_INIT): Remove.
22988         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
22989         * sysdeps/i386/i686/hp-timing.c: Remove file.
22990         * sysdeps/x86_64/hp-timing.c: Remove file.
22991         * sysdeps/ia64/hp-timing.c: Remove file.
22992         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
22993         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
22994         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
22995         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
22997         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
22998         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
22999         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
23000         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
23001         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
23002         (HP_TIMING_ACCUM): Remove.
23003         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
23004         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
23005         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
23007         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
23008         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
23009         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
23010         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
23011         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
23012         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
23013         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
23014         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
23016         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
23018 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
23020         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
23022 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
23024         Sync up with gettext.
23025         * intl/loadmsgcat.c: Define O_BINARY if not defined.
23026         [_MSC_VER]: Include malloc.h
23027         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
23028         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
23029         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
23030         TEMP_FAILURE_RETRY.  Cast return of alloca.
23031         [!_LIBC] Call gl_rwlock_init.
23032         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
23034 2014-07-02  Roland McGrath  <roland@hack.frob.com>
23036         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
23037         before checking its value.
23039 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
23041         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
23043         * debug/memcpy_chk.c: Don't include pagecopy.h.
23044         * debug/mempcpy_chk.c: Likewise.
23045         * string/memcpy.c: Likewise.
23046         * string/memmove.c: Likewise.
23047         * sysdeps/powerpc/memmove.c: Likewise.
23048         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
23049         definition of PAGE_COPY_FWD_MAYBE here...
23050         * sysdeps/generic/pagecopy.h: ... from here.
23051         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
23053 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
23054             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23056         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
23057         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
23058         optimizations.
23059         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
23060         (__libc_ifunc_impl_list): Likewise.
23061         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
23062         multiarch strcat for PPC64.
23063         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
23064         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
23066 2014-07-02  Roland McGrath  <roland@hack.frob.com>
23068         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
23070 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
23072         * intl/loadmsgcat.c: Remove declaration of
23073         get_sysdep_segment_value.
23074         (get_sysdep_segment_value): Use ISO C style.
23075         (_nl_load_domain): Use ISO C style.  Get rid of redundant
23076         semicolon.  Fix typo and formatting in comment.
23077         (_nl_unload_domain): Use ISO C style.
23079         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
23081 2014-07-02  Will Newton  <will.newton@linaro.org>
23083         * malloc/obstack.c: Merge from gnulib master.
23084         [HAVE_CONFIG_H]: Remove conditional code.
23085         [!_LIBC]: Include config.h.
23086         [!ELIDE_CODE]: Don't include inttypes.h, include
23087         stdint.h unconditionally.
23088         (print_and_abort): Mark as _Noreturn.
23089         (_obstack_allocated_p): Mark as __attribute_pure__.
23090         (obstack_free): Rename to __obstack_free.
23091         [!__attribute__]: Remove conditional code.
23092         * malloc/obstack.h: Merge from gnulib master.
23093         [__cplusplus]: Move conditional down.
23094         [!__attribute_pure__]: Define __attribute_pure__ here
23095         if it is not already defined.
23096         (_obstack_memory_used): Mark as __attribute_pure__.
23097         [!__obstack_free]: Define as obstack_free.
23098         [__GNUC__]: Remove check for ancient NeXT gcc.
23100 2014-07-02  Will Newton  <will.newton@linaro.org>
23101             Paul Eggert  <eggert@cs.ucla.edu>
23103         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
23105 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
23107         * resolv/gethnamaddr.c: Add comment warning that the file is
23108         not maintained.
23110 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
23112         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
23113         entries.
23115         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
23116         entry for aio_cancel and aio_cancel64.
23117         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
23118         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
23119         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
23120         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
23121         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
23122         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
23123         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
23124         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
23125         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
23126         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
23127         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
23128         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
23129         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
23131 2014-07-01  Roland McGrath  <roland@hack.frob.com>
23133         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
23134         * nptl/pthread_mutex_lock.c: Likewise.
23135         * nptl/pthread_mutex_timedlock.c: Likewise.
23136         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
23138 2014-07-01  Richard henderson  <rth@redhat.com>
23140         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
23141         (__isnan, __isnanl): Remove.
23142         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
23144         * sysdeps/alpha/fpu/libm-test-ulps: Update.
23146 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
23148         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
23150 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
23152         * resolv/nss_dns/dns-host.c (getanswer_r)
23153         [MULTI_PTRS_ARE_ALIASES]: Remove code.
23155 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
23157         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
23158         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
23159         undefine.
23160         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
23161         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
23163 2014-07-01  Roland McGrath <roland@hack.frob.com>
23165         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
23166         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
23168         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
23169         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
23171         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
23172         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
23173         ... here.
23174         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
23175         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
23177         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
23178         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
23179         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
23180         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
23182         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
23183         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
23184         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
23185         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
23186         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
23187         Moved ...
23188         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
23189         ... here.
23190         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
23191         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
23192         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
23193         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
23194         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
23195         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
23196         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
23197         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
23198         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
23199         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
23200         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
23201         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
23202         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
23203         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
23204         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
23205         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
23206         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
23207         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
23208         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
23209         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
23210         ... here.
23211         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
23212         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
23213         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
23214         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
23215         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
23216         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
23217         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
23218         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
23220 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
23222         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
23223         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
23224         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
23225         Add sysdep.
23227 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23229         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23231 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
23233         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
23234         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
23236         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
23238         * sysdeps/arm/libm-test-ulps: Regenerated.
23240 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
23241             Roland McGrath <roland@hack.frob.com>
23243         * test-skeleton.c (signal_handler): Kill the whole process group
23244         before killing the child individually.
23245         (main): Report any failure on `setpgid'.
23247 2014-06-30  Roland McGrath  <roland@hack.frob.com>
23249         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
23250         from _TLS_H to _ARM_NPTL_TLS_H.
23251         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
23252         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
23254 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
23256         [BZ #16539]
23257         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
23258         (__expm1l): Return argument unchanged when small but not
23259         subnormal.
23261         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
23262         include macro name.
23263         (_FP_UNPACK_RAW_1_P): Likewise.
23264         (_FP_PACK_RAW_1): Likewise.
23265         (_FP_PACK_RAW_1_P): Likewise.
23266         (_FP_MUL_MEAT_1_wide): Likewise.
23267         (_FP_MUL_MEAT_DW_1_hard): Likewise.
23268         (_FP_MUL_MEAT_1_hard): Likewise.
23269         (_FP_DIV_MEAT_1_imm): Likewise.
23270         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
23271         (_FP_DIV_MEAT_1_udiv): Likewise.
23272         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
23273         (_FP_UNPACK_RAW_2): Likewise.
23274         (_FP_UNPACK_RAW_2_P): Likewise.
23275         (_FP_PACK_RAW_2): Likewise.
23276         (_FP_PACK_RAW_2_P): Likewise.
23277         (_FP_MUL_MEAT_DW_2_wide): Likewise.
23278         (_FP_MUL_MEAT_2_wide): Likewise.
23279         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
23280         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
23281         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
23282         (_FP_MUL_MEAT_2_gmp): Likewise.
23283         (_FP_DIV_MEAT_2_udiv): Likewise.
23284         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
23285         (_FP_FRAC_SRL_4): Likewise.
23286         (_FP_FRAC_SRST_4): Likewise.
23287         (_FP_FRAC_SRS_4): Likewise.
23288         (_FP_UNPACK_RAW_4): Likewise.
23289         (_FP_UNPACK_RAW_4_P): Likewise.
23290         (_FP_PACK_RAW_4): Likewise.
23291         (_FP_PACK_RAW_4_P): Likewise.
23292         (_FP_MUL_MEAT_DW_4_wide): Likewise.
23293         (_FP_MUL_MEAT_4_wide): Likewise.
23294         (_FP_MUL_MEAT_4_gmp): Likewise.
23295         (umul_ppppmnnn): Likewise.
23296         (_FP_DIV_MEAT_4_udiv): Likewise.
23297         (__FP_FRAC_ADD_4): Likewise.
23298         (__FP_FRAC_SUB_3): Likewise.
23299         (__FP_FRAC_SUB_4): Likewise.
23300         (__FP_FRAC_DEC_3): Likewise.
23301         (__FP_FRAC_DEC_4): Likewise.
23302         (__FP_FRAC_ADDI_4): Likewise.
23303         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
23304         (_FP_FRAC_SRL_8): Likewise.
23305         (_FP_FRAC_SRS_8): Likewise.
23307         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
23308         include macro name.
23309         (FP_UNPACK_RAW_EP): Likewise.
23310         (FP_PACK_RAW_E): Likewise.
23311         (FP_PACK_RAW_EP): Likewise.
23312         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
23313         (_FP_ISSIGNAN): Likewise.
23314         (_FP_ADD_INTERNAL): Likewise.
23315         (_FP_FMA): Likewise.
23316         (_FP_CMP): Likewise.
23317         (_FP_SQRT): Likewise.
23318         (_FP_TO_INT): Likewise.
23319         (_FP_FROM_INT): Likewise.
23320         (FP_EXTEND): Likewise.
23321         (_FP_DIV_MEAT_N_loop): Likewise.
23323 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
23325         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
23326         throughout.
23328 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
23330         [BZ #17097]
23331         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
23332         result with correct sign in case of exponents that produce
23333         overflow except for X very close to 1.
23335 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
23337         mktime: merge #if/#ifdef usage from glibc
23338         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
23339         as that works with both Glibc's and Gnulib's style.
23340         See thread starting at Siddhesh Poyarekar's bug report at:
23341         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
23343 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
23345         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
23346         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
23347         * sysdeps/tile/tilegx/memmove.c: Remove file.
23349 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
23351         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
23352         abi-name definition.
23353         * scripts/soversions.awk: Do not handle or generate ABI lines.
23354         * shlib-versions: Remove ABI entries.
23355         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
23356         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
23358 2014-06-27  Roland McGrath  <roland@hack.frob.com>
23360         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
23361         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
23362         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
23363         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
23364         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
23365         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
23366         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
23367         Moved ...
23368         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
23369         ... here.
23370         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
23371         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
23372         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
23373         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
23374         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
23375         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
23376         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
23377         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
23378         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
23379         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
23380         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
23381         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
23382         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
23383         Moved ...
23384         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
23385         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
23386         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
23387         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
23388         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
23389         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
23390         Moved ...
23391         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
23392         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
23393         Moved ...
23394         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
23395         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
23396         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
23397         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
23398         Moved ...
23399         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
23400         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
23401         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
23402         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
23403         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
23404         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
23405         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
23406         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
23407         Moved ...
23408         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
23409         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
23410         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
23411         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
23412         Moved ...
23413         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
23414         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
23415         Moved ...
23416         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
23417         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
23418         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
23419         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
23420         Moved ...
23421         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
23422         ... here.
23423         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
23424         Identical file removed.
23425         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
23426         Moved ...
23427         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
23428         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
23429         Identical file removed.
23430         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
23431         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
23432         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
23433         Moved ...
23434         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
23435         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
23436         Identical file removed.
23437         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
23438         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
23439         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
23440         Identical file removed.
23441         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
23442         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
23443         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
23444         Identical file removed.
23445         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
23446         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
23447         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
23448         Identical file removed.
23449         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
23450         Moved ...
23451         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
23452         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
23453         Identical file removed.
23454         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
23455         Moved ...
23456         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
23457         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
23458         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
23459         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
23460         Identical file removed.
23461         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
23462         Moved ...
23463         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
23464         ... here.
23465         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
23466         Identical file removed.
23467         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
23468         Moved ...
23469         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
23470         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
23471         Identical file removed.
23472         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
23473         Moved ...
23474         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
23475         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
23476         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
23477         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
23478         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
23479         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
23480         Moved ...
23481         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
23482         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
23483         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
23485         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
23486         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
23487         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
23488         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
23489         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
23491 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
23493         [BZ #17092]
23494         * nscd/nscd.c (monitor_child): Return exit status of child
23495         instead of return value from wait syscall.
23497 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
23499         * configure.ac (libc_commonpagesize): Remove variable.
23500         (libc_relro_required): Likewise.
23501         (libc_cv_z_relro): Remove configure test.
23502         * configure: Regenerated.
23503         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
23504         variable.
23505         (libc_relro_required): Likewise.
23506         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
23507         (libc_relro_required): Likewise.
23508         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
23509         (libc_relro_required): Likewise.
23510         * sysdeps/arm/preconfigure: Regenerated.
23511         * sysdeps/ia64/preconfigure: Remove file.
23512         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
23513         variable.
23514         (libc_relro_required): Likewise.
23516         [BZ #16561]
23517         [BZ #16562]
23518         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
23519         (__ieee754_yn): Set FE_TONEAREST mode internally and then
23520         recompute overflowing results in original rounding mode.
23521         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
23522         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
23523         recompute overflowing results in original rounding mode.
23524         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
23525         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
23526         recompute overflowing results in original rounding mode.
23527         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
23528         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
23529         recompute overflowing results in original rounding mode.
23530         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
23531         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
23532         recompute overflowing results in original rounding mode.
23533         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
23534         (libc_feholdsetround_ctx): New macro.
23535         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
23536         * sysdeps/i386/fpu/libm-test-ulps: Update.
23537         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
23539 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
23541         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
23542         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
23543         corresponding .cpsetup call.
23545 2014-06-26  Roland McGrath  <roland@hack.frob.com>
23547         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
23548         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
23549         * sysdeps/arm/Makefile [$(subdir) = csu]
23550         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
23551         (static-only-routines): Add aeabi_read_tp here.
23552         (shared-only-routines): Add libc-aeabi_read_tp here.
23553         (CFLAGS-libc-start.c): Add -fexceptions here.
23554         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
23555         (sysdep_routines, static-only-routines, shared-only-routines):
23556         Don't add to these here.
23557         (CFLAGS-libc-start.c): Likewise.
23559         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
23560         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
23561         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
23562         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
23563         * sysdeps/arm/Makefile [$(subdir) = rt]
23564         (librt-sysdep_routines, librt-shared-only-routines):
23565         Append rt-aeabi_unwind_cpp_pr1 here.
23566         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
23567         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
23568         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
23569         (libpthread-sysdep_routines, libpthread-shared-only-routines):
23570         Append nptl-aeabi_unwind_cpp_pr1 here.
23571         (tests): Filter out tst-cleanupx4 here.
23572         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
23573         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
23574         Don't do those here.
23576 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
23578         * scripts/list-sources.sh: Do not handle ports specially.
23580 2014-06-26  Roland McGrath  <roland@hack.frob.com>
23582         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
23583         * sysdeps/arm/feupdateenv.c: Likewise.
23585         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
23587 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
23589         * manual/texinfo.tex: Update to version 2014-05-05.10 with
23590         trailing whitespace removed.
23591         * scripts/config.guess: Update to version 2014-03-23.
23592         * scripts/config.sub: Update to version 2014-05-01
23593         * scripts/install-sh: Update to version 2013-12-25.23.
23594         * scripts/move-if-change: Update from gnulib.
23596 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
23598         * debug/memmove_chk.c: Remove pagecopy.h include.
23600 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
23602         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
23603         identical to gnulib mktime.
23605 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
23607         * configure.ac: Do not test for machine being rs6000.  Do not test
23608         for powerpc*-*soft.
23609         * configure: Regenerated.
23611         [BZ #11505]
23612         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
23613         test.
23614         * configure: Regenerated.
23615         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
23616         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
23617         Remove configure test.
23618         * sysdeps/arm/configure: Regenerated.
23619         * sysdeps/nptl/configure.ac: Do not check
23620         libc_cv_asm_cfi_directives.
23621         * sysdeps/nptl/configure: Regenerated.
23622         * sysdeps/x86_64/nptl/configure.ac: Remove file.
23623         * sysdeps/x86_64/nptl/configure: Remove generated file.
23624         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
23625         unconditional.
23626         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
23628 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
23630         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
23631         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
23632         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
23633         it is defined.
23635         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
23636         instead of whether it is defined.
23637         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
23638         * sysdeps/hppa/dl-machine.h: Likewise.
23639         * sysdeps/ia64/dl-machine.h: Likewise.
23640         * sysdeps/m68k/dl-machine.h: Likewise.
23641         * sysdeps/microblaze/dl-machine.h: Likewise.
23642         * sysdeps/mips/dl-machine.: Likewise.
23643         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
23644         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
23645         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
23646         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
23647         * sysdeps/sh/dl-machine.h: Likewise.
23648         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
23649         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
23650         * sysdeps/tile/dl-machine.h: Likewise.
23651         * sysdeps/x86_64/dl-machine.h: Likewise.
23653         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
23654         code.
23655         (verify_persistent_db): Likewise.
23657 2014-06-26  Roland McGrath  <roland@hack.frob.com>
23659         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
23660         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
23661         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
23662         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
23663         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
23664         Moved ...
23665         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
23666         ... here.
23667         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
23668         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
23669         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
23670         Identical file removed.
23671         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
23672         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
23673         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
23674         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
23675         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
23676         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
23677         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
23678         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
23679         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
23680         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
23681         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
23682         Moved ...
23683         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
23684         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
23685         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
23686         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
23687         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
23688         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
23689         Moved ...
23690         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
23691         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
23692         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
23693         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
23694         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
23695         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
23696         Identical file removed.
23697         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
23698         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
23699         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
23700         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
23701         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
23702         Moved ...
23703         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
23704         ... here.
23705         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
23706         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
23707         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
23708         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
23709         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
23710         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
23711         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
23712         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
23713         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
23714         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
23715         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
23716         Moved ...
23717         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
23718         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
23719         Moved ...
23720         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
23721         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
23722         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
23723         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
23724         Moved ...
23725         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
23726         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
23727         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
23729         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
23730         folded into ...
23731         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
23732         * sysdeps/unix/sysv/linux/s390/Versions
23733         (libpthread: GLIBC_2.19): New version set.
23734         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
23735         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
23736         (librt: GLIBC_2.3.3): New version set.
23737         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
23738         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
23739         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
23740         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
23741         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
23742         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
23743         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
23744         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
23745         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
23746         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
23747         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
23748         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
23749         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
23750         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
23751         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
23752         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
23753         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
23754         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
23755         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
23756         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
23757         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
23758         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
23759         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
23760         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
23761         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
23762         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
23763         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
23764         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
23765         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
23766         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
23767         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
23768         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
23769         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
23770         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
23771         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
23772         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
23773         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
23774         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
23775         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
23776         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
23777         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
23778         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
23779         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
23780         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
23781         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
23783         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
23784         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
23785         (__libc_vfork): Define the function under this name.
23786         [!NOT_IN_libc] (__vfork): Make this an alias.
23787         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
23788         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
23789         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
23790         (__libc_vfork): Define the function under this name.
23791         [!NOT_IN_libc] (__vfork): Make this an alias.
23792         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
23793         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
23794         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
23795         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
23796         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
23797         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
23799         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
23800         code that was previously under [RESET_PID].
23801         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
23802         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
23803         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
23805         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
23806         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
23807         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
23808         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
23809         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
23810         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
23811         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
23812         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
23813         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
23814         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
23815         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
23816         Moved ...
23817         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
23818         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
23819         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
23820         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
23821         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
23822         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
23823         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
23824         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
23825         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
23826         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
23827         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
23828         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
23829         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
23830         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
23831         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
23832         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
23833         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
23834         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
23835         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
23836         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
23837         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
23838         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
23839         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
23840         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
23841         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
23842         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
23843         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
23844         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
23845         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
23847 2014-06-25  Roland McGrath  <roland@hack.frob.com>
23849         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
23850         that was previously under [RESET_PID].
23851         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
23853 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
23855         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
23856         not undefine and redefine.
23857         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
23858         [O_CLOEXEC]: Make code unconditional.
23859         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
23860         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
23861         <kernel-features.h>.
23862         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
23863         conditional variable definition.
23864         (shm_open) [O_CLOEXEC]: Make code unconditional.
23865         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
23866         code.
23868         * configure.ac (USE_REGPARMS): Don't define here.
23869         * configure: Regenerated.
23870         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
23871         * sysdeps/i386/configure: Regenerated.
23873         * nptl/createthread.c: Don't include kernel-features.h.
23874         * nptl/pthread_cancel.c: Likewise.
23875         * nptl/pthread_condattr_setclock.c: Likewise.
23876         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
23877         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
23878         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
23879         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
23880         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
23881         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
23882         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
23883         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
23884         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
23885         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
23886         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
23887         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
23888         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
23889         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
23890         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
23891         * nscd/gai.c: Likewise.
23892         * nss/nss_db/db-open.c: Likewise.
23893         * sysdeps/generic/ldsodefs.h: Likewise.
23894         * sysdeps/sh/nptl/tls.h: Likewise.
23895         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
23896         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
23897         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
23898         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
23899         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
23900         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
23901         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
23902         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
23903         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
23904         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
23905         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
23906         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
23907         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
23908         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
23909         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
23910         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
23911         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
23912         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
23913         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
23914         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
23915         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
23916         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
23917         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
23918         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
23919         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
23920         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
23921         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
23922         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
23923         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
23924         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
23925         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
23926         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
23927         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
23928         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
23929         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
23930         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
23931         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
23932         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
23933         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
23934         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
23935         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
23936         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
23937         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
23938         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
23939         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
23940         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
23941         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
23942         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
23943         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
23944         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
23945         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
23946         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
23947         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
23948         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
23949         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
23950         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
23951         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
23952         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
23953         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
23954         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
23955         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
23956         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
23957         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
23958         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
23959         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
23960         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
23961         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
23962         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
23963         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
23964         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
23965         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
23966         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
23967         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
23968         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
23969         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
23970         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
23971         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
23972         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
23973         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
23974         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
23975         * sysdeps/unix/sysv/linux/pread.c: Likewise.
23976         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
23977         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
23978         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
23979         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
23980         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
23981         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
23982         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
23983         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
23984         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
23985         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
23986         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
23987         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
23988         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
23989         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
23990         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
23991         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
23992         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
23993         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
23994         * sysdeps/unix/sysv/linux/system.c: Likewise.
23995         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
23996         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
23997         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
23998         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
23999         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
24000         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
24001         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
24003         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
24004         * configure: Regenerated.
24005         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
24007         * configure.ac (base_machine): Do not set specially for particular
24008         machines here.
24009         * configure: Regenerated.
24010         * sysdeps/powerpc/preconfigure: Move machine and base_machine
24011         settings from configure.ac.
24012         * sysdeps/i386/preconfigure: New file.
24013         * sysdeps/s390/preconfigure: Likewise.
24014         * sysdeps/sh/preconfigure: Likewise.
24015         * sysdeps/sparc/preconfigure: Likewise.
24017 2014-06-25  Roland McGrath  <roland@hack.frob.com>
24019         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
24020         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
24021         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
24022         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
24023         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
24024         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
24025         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
24026         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
24027         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
24028         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
24029         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
24030         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
24031         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
24032         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
24033         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
24034         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
24035         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
24036         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
24037         * sysdeps/sparc/sparc64/Makefile: ... appended here.
24039         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
24040         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
24041         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
24042         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
24043         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
24044         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
24045         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
24046         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
24047         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
24048         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
24049         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
24050         * sysdeps/sparc/sparc32/sem_post.c: ... here.
24051         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
24052         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
24053         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
24054         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
24055         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
24056         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
24057         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
24058         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
24059         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
24060         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
24061         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
24062         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
24063         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
24064         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
24065         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
24066         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
24067         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
24068         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
24069         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
24070         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
24071         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
24072         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
24073         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
24074         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
24075         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
24076         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
24078         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
24079         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
24080         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
24081         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
24082         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
24083         Moved ...
24084         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
24085         ... here.
24086         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
24087         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
24088         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
24089         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
24090         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
24091         Moved ...
24092         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
24093         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
24094         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
24095         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
24096         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
24097         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
24098         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
24099         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
24100         Moved ...
24101         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
24102         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
24103         Moved ...
24104         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
24105         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
24106         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
24107         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
24108         Moved ...
24109         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
24110         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
24111         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
24112         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
24113         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
24114         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
24115         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
24116         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
24117         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
24118         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
24119         Moved ...
24120         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
24121         ... here.
24122         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
24123         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
24124         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
24125         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
24126         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
24127         Moved ...
24128         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
24129         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
24130         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
24131         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
24132         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
24133         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
24134         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
24135         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
24136         Moved ...
24137         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
24138         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
24139         Moved ...
24140         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
24141         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
24142         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
24143         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
24144         Moved ...
24145         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
24146         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
24147         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
24148         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
24149         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
24151 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
24153         * timezone/checktab.awk: Update from tzcode 2014e.
24154         * timezone/private.h: Likewise.
24155         * timezone/tzfile.h: Likewise.
24156         * timezone/zdump.c: Likewise.
24157         * timezone/zic.c: Likewise.
24159         * sysdeps/unix/sysv/linux/kernel-features.h
24160         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
24161         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
24162         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
24163         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
24164         Remove conditional code.
24166 2014-06-25  Will Newton  <will.newton@linaro.org>
24168         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
24169         (_dl_arm_cap_flags): Add HWCAP2 values.
24170         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
24171         (_DL_HWCAP_COUNT): Increase to 37.
24172         (_DL_HWCAP_LAST): New define.
24173         (_DL_HWCAP2_LAST): New define.
24174         (_dl_procinfo): Add support for printing
24175         AT_HWCAP2 entries.
24176         (_dl_string_hwcap): Use _dl_hwcap_string.
24178 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24180         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24182 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
24184         * README: Do not mention ports directory.
24186         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
24187         Remove macro.
24188         * sysdeps/unix/sysv/linux/futimes.c: Do not include
24189         <kernel-features.h>.
24190         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
24191         conditional variable definition.
24192         (__futimes): Update comment.
24193         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
24194         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
24196         [BZ #16560]
24197         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
24198         arguments close to 0.
24199         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
24200         Likewise.
24201         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
24202         Likewise.
24203         * math/auto-libm-test-in: Add more tests of exp10.
24204         * math/auto-libm-test-out: Regenerated.
24205         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24207         * sysdeps/unix/sysv/linux/kernel-features.h
24208         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
24209         * sysdeps/unix/sysv/linux/readv.c: Do not include
24210         <kernel-features.h>.
24211         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
24212         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
24213         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
24214         unconditional.
24215         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
24216         conditional code.
24217         * sysdeps/unix/sysv/linux/writev.c: Do not include
24218         <kernel-features.h>.
24219         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
24220         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
24221         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
24222         unconditional.
24223         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
24224         conditional code.
24226 2014-06-25  Will Newton  <will.newton@linaro.org>
24228         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
24229         comment changes throughout the file.  Remove checks
24230         for HAVE_*_H definitions that are not required.
24231         (__gen_tempname): Call abort if an unknown kind value is
24232         passed.
24234 2014-06-25  Andreas Schwab  <schwab@suse.de>
24236         [BZ #17086]
24237         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
24238         scalbln, scalblnf, scalblnl in libc.
24240 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
24242         [BZ #17086]
24243         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
24244         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
24245         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
24247 2014-06-24  Roland McGrath  <roland@hack.frob.com>
24249         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
24250         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
24251         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
24252         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
24253         Update #include.
24254         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
24255         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
24256         Update #include.
24257         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
24258         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
24259         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
24260         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
24261         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
24262         * sysdeps/x86/bits/pthreadtypes.h: ... here.
24263         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
24264         * sysdeps/x86/bits/semaphore.h: ... here.
24265         * sysdeps/x86/nptl/elide.h: Moved ...
24266         * sysdeps/x86/elide.h: ... here.
24267         * sysdeps/x86_64/nptl/Implies: File removed.
24268         * sysdeps/i386/nptl/Implies: File removed.
24270 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
24272         [BZ #16539]
24273         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
24274         return the argument for normal arguments with exponent below -64.
24275         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
24276         Likewise.
24277         * math/auto-libm-test-in: Add another test of expm1.
24278         * math/auto-libm-test-out: Regenerated.
24280         [BZ #16287]
24281         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
24282         calling __erfcl for arguments at least 16.
24283         * math/auto-libm-test-in: Add more tests of erf.
24284         * math/auto-libm-test-out: Regenerated.
24286         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
24287         individual architectures.
24288         * sysdeps/unix/sysv/linux/configure: Regenerated.
24289         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
24290         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
24291         * sysdeps/unix/sysv/linux/powerpc/configure.ac
24292         (ldd_rewrite_script): Define variable.
24293         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
24294         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
24295         file.
24296         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
24297         generated file.
24298         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
24299         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
24300         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
24301         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
24302         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
24303         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
24304         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
24305         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
24307 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
24309         [BZ #17084]
24310         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
24311         Rename member __data.d to __data.__elision_data.
24313 2014-06-24  Wilco  <wdijkstr@arm.com>
24315         * NEWS: Add 16918 to fixed bug list.
24317 2014-06-24  Wilco  <wdijkstr@arm.com>
24319         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
24321 2014-06-24  Wilco  <wdijkstr@arm.com>
24323         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
24324         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
24325         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
24326         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
24327         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
24328         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
24329         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
24330         Use _FPU_MASK_RM.
24332 2014-06-24  Wilco  <wdijkstr@arm.com>
24334         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
24336 2014-06-24  Wilco  <wdijkstr@arm.com>
24338         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
24339         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
24340         * sysdeps/arm/fesetround.c (fesetround): Remove space.
24341         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
24343 2014-06-24  Wilco  <wdijkstr@arm.com>
24345         [BZ #16918]
24346         * sysdeps/arm/feupdateenv.c (feupdateenv):
24347         Rewrite to reduce FPSCR accesses and fix return value.
24349 2014-06-24  Wilco  <wdijkstr@arm.com>
24351         * sysdeps/arm/fclrexcpt.c (feclearexcept):
24352         Optimize to avoid unnecessary FPSCR writes.
24353         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
24354         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
24355         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
24356         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
24358 2014-06-24  Wilco  <wdijkstr@arm.com>
24360         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
24361         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
24362         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
24363         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
24364         Call libc_fetestexcept_vfp.
24365         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
24366         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
24367         __SOFTFP__ ifdef so that they can be built for softfp.
24369 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
24371         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
24372         argument type signed char.
24374         * Makerules (check-abi): Dump diff of symlist if the test
24375         fails.
24377 2014-06-23  Roland McGrath  <roland@hack.frob.com>
24379         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
24380         using abort.
24382         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
24383         Remove unused variable ST.
24385 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
24387         [BZ #16354]
24388         [BZ #17061]
24389         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
24390         small arguments before calling __expm1.
24391         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
24392         small arguments before calling __expm1f.
24393         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
24394         small arguments before calling __expm1l.
24395         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
24396         Likewise.
24397         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
24398         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
24399         spurious underflow for some cosh tests.
24400         * math/auto-libm-test-out: Regenerated.
24401         * sysdeps/i386/fpu/libm-test-ulps: Update.
24403         [BZ #17050]
24404         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
24405         (__ieee754_y1): Set errno if return value overflows.
24406         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
24407         (__ieee754_y1f): Set errno if return value overflows.
24408         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
24409         (__ieee754_y1l): Set errno if return value overflows.
24410         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
24411         (__ieee754_y1l): Set errno if return value overflows.
24412         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
24413         * math/auto-libm-test-out: Regenerated.
24415         * math/gen-auto-libm-tests.c: Document use of
24416         ignore-zero-inf-sign.
24417         (input_flag_type): Add value flag_ignore_zero_inf_sign.
24418         (input_flags): Add ignore-zero-inf-sign.
24419         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
24420         * math/gen-libm-test.pl (generate_testfile): Handle
24421         ignore-zero-inf-sign.
24422         * math/auto-libm-test-in: Mark some cpow tests with
24423         ignore-zero-inf-sign and some with xfail-rounding.
24424         * math/auto-libm-test-out: Regenerated.
24425         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
24426         * sysdeps/i386/fpu/libm-test-ulps: Update.
24427         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24429         [BZ #16315]
24430         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
24431         overflowing or underflowing operations take place with sign of
24432         result.
24433         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
24434         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
24435         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
24436         (__ieee754_pow): Recompute overflowing and underflowing results in
24437         original rounding mode.
24438         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
24439         (__powl_helper): Allow negative argument X and scale negated value
24440         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
24441         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
24442         overflowing or underflowing operations take place with sign of
24443         result.
24444         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
24445         Include <math.h>.
24446         * math/auto-libm-test-in: Add more tests of pow.
24447         * math/auto-libm-test-out: Regenerated.
24448         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
24449         (pow_tonearest_test_data): Remove.
24450         (pow_test_tonearest): Likewise.
24451         (pow_towardzero_test_data): Likewise.
24452         (pow_test_towardzero): Likewise.
24453         (pow_downward_test_data): Likewise.
24454         (pow_test_downward): Likewise.
24455         (pow_upward_test_data): Likewise.
24456         (pow_test_upward): Likewise.
24457         (main): Don't call removed functions.
24458         * sysdeps/i386/fpu/libm-test-ulps: Update.
24459         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24461 2014-06-23  Roland McGrath  <roland@hack.frob.com>
24463         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
24464         Moved ...
24465         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
24466         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
24467         Moved ...
24468         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
24469         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
24470         Moved ...
24471         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
24472         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
24473         Moved ...
24474         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
24475         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
24476         File removed.
24477         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
24478         File removed.
24479         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
24480         File removed.
24481         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
24482         File removed.
24483         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
24484         File removed.
24485         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
24486         File removed.
24487         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
24488         File removed.
24489         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
24490         File removed.
24491         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
24492         File removed.
24493         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
24494         File removed.
24495         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
24496         File removed.
24497         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
24498         File removed.
24499         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
24500         Moved ...
24501         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
24502         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
24503         Moved ...
24504         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
24505         ... here.
24506         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
24507         Moved ...
24508         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
24509         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
24510         Moved ...
24511         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
24512         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
24513         Moved ...
24514         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
24515         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
24516         Moved ...
24517         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
24518         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
24519         Moved ...
24520         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
24521         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
24522         Moved ...
24523         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
24524         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
24525         Moved ...
24526         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
24527         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
24528         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
24529         ... here.
24530         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
24531         Moved ...
24532         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
24533         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
24534         Moved ...
24535         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
24536         ... here.
24537         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
24538         Moved ...
24539         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
24540         ... here.
24541         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
24542         Moved ...
24543         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
24544         ... here.
24545         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
24546         Moved ...
24547         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
24548         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
24549         Moved ...
24550         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
24551         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
24552         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
24553         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
24554         Moved ...
24555         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
24556         ... here.
24557         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
24558         Moved ...
24559         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
24560         ... here.
24561         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
24562         Moved ...
24563         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
24564         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
24565         Moved ...
24566         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
24567         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
24568         Moved ...
24569         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
24570         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
24571         Moved ...
24572         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
24573         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
24574         Moved ...
24575         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
24576         ... here.
24577         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
24578         Moved ...
24579         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
24580         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
24581         Moved ...
24582         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
24583         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
24584         Moved ...
24585         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
24586         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
24587         Moved ...
24588         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
24589         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
24590         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
24591         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
24592         Moved ...
24593         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
24594         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
24595         Moved ...
24596         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
24597         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
24598         Moved ...
24599         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
24600         ... here.
24601         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
24602         Moved ...
24603         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
24604         ... here.
24605         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
24606         Moved ...
24607         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
24608         ... here.
24609         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
24610         Moved ...
24611         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
24612         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
24613         Moved ...
24614         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
24615         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
24616         Moved ...
24617         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
24618         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
24619         Moved ...
24620         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
24621         ... here.
24622         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
24623         Moved ...
24624         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
24625         ... here.
24626         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
24627         Moved ...
24628         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
24629         ... here.
24630         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
24631         Moved ...
24632         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
24633         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
24634         Moved ...
24635         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
24637 2014-06-23  Will Newton  <will.newton@linaro.org>
24638             Wilco  <wdijkstr@arm.com>
24640         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
24641         implementation.  Include get-rounding-mode.h.
24642         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
24643         [!libc_feholdsetround_noex_ctx]: Define
24644         libc_feholdsetround_noex_ctx.
24645         [!libc_feholdsetround_noexf_ctx]: Define
24646         libc_feholdsetround_noexf_ctx.
24647         [!libc_feholdsetround_noexl_ctx]: Define
24648         libc_feholdsetround_noexl_ctx.
24649         (libc_feholdsetround_ctx): New function.
24650         (libc_feresetround_ctx): New function.
24651         (libc_feholdsetround_noex_ctx): New function.
24652         (libc_feresetround_noex_ctx): New function.
24654 2014-06-23  Roland McGrath  <roland@hack.frob.com>
24656         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
24657         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
24658         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
24659         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
24660         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
24661         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
24663         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
24664         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
24665         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
24666         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
24667         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
24668         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
24669         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
24670         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
24671         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
24672         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
24673         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
24674         Moved ...
24675         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
24676         ... here.
24677         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
24678         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
24679         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
24680         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
24681         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
24682         Moved ...
24683         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
24684         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
24685         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
24686         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
24687         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
24688         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
24689         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
24690         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
24691         Moved ...
24692         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
24693         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
24694         Moved ...
24695         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
24696         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
24697         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
24698         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
24699         Moved ...
24700         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
24701         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
24702         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
24703         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
24704         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
24705         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
24706         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
24707         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
24708         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
24709         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
24710         Moved ...
24711         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
24712         ... here.
24713         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
24714         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
24715         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
24716         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
24717         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
24718         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
24719         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
24720         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
24721         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
24722         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
24723         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
24724         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
24725         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
24726         Moved ...
24727         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
24728         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
24729         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
24730         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
24731         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
24732         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
24733         Moved ...
24734         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
24735         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
24736         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
24737         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
24738         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
24740         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
24741         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
24742         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
24743         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
24744         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
24745         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
24746         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
24747         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
24748         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
24749         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
24750         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
24751         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
24752         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
24753         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
24754         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
24755         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
24756         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
24757         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
24758         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
24759         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
24760         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
24761         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
24762         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
24763         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
24764         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
24765         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
24766         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
24767         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
24769 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
24771         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
24772         (FALLOC_FL_COLLAPSE_RANGE): New macro.
24773         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
24774         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
24775         (IPV6_PMTUDISC_INTERFACE): Likewise.
24776         (IPV6_PMTUDISC_OMIT): Likewise.
24778 2014-06-23  Andreas Schwab  <schwab@suse.de>
24780         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
24781         Remove unused errout label.
24783 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24785         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
24786         macro: hardware supports Vector Crypto instructions.
24788 2014-06-23  Will Newton  <will.newton@linaro.org>
24790         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
24791         rather than __builtin_expect.
24793         * elf/dl-lookup.c (undefined_msg): Remove variable.
24794         (_dl_lookup_symbol_x): Replace undefined_msg with string
24795         literal.
24797         * elf/dl-lookup.c (do_lookup_unique): New function.
24798         (do_lookup_x): Move STB_GNU_UNIQUE handling code
24799         to a separate function.
24801 2014-06-23  Andreas Schwab  <schwab@suse.de>
24803         [BZ #17079]
24804         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
24805         before reading the next line.
24807 2014-06-23  Will Newton  <will.newton@linaro.org>
24809         * test-skeleton.c (signal_handler): Use printf and %m
24810         rather than perror.  Use printf rather than fprintf to
24811         stderr.  Use puts rather than fputs to stderr.
24812         (main): Likewise.
24814 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
24816         * nscd/nscd.c (thread_info_t): Remove typedef.
24817         (thread_info): Remove variable.
24819 2014-06-21  Allan McRae  <allan@archlinux.org>
24821         * NEWS: Mention CVE-2014-4043.
24823 2014-06-20  Roland McGrath  <roland@hack.frob.com>
24825         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
24826         * nptl/smp.h: ... here.
24828         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
24830         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
24831         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
24832         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
24833         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
24835         * nptl/allocatestack.c: Include <stack-aliasing.h>.
24836         * nptl/stack-aliasing.h: New file.
24837         * sysdeps/i386/i686/stack-aliasing.h: New file.
24838         * sysdeps/i386/i686/nptl/Makefile: File removed.
24839         * sysdeps/x86_64/stack-aliasing.h: New file.
24840         * sysdeps/x86_64/nptl/Makefile
24841         (CFLAGS-pthread_create.c): Variable removed.
24843         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
24844         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
24845         old file.
24846         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
24847         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
24848         old file.
24850 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
24852         * sysdeps/unix/sysv/linux/arm/kernel-features.h
24853         (__ASSUME_SIGFRAME_V2): Remove macro.
24854         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
24855         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
24856         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
24857         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
24858         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
24859         Declare as function.  Remove conditional macro definitions.
24860         (__default_rt_sa_restorer): Likewise.
24861         (__default_sa_restorer_v1): Remove declaration.
24862         (__default_sa_restorer_v2): Likewise.
24863         (__default_rt_sa_restorer_v1): Likewise.
24864         (__default_rt_sa_restorer_v2): Likewise.
24865         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
24866         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
24867         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
24869 2014-06-20  Roland McGrath  <roland@hack.frob.com>
24871         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
24872         (libpthread-routines): Add sysdep.
24873         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
24874         * sysdeps/unix/sysv/linux/sparc/Versions
24875         (libpthread: GLIBC_2.3.3): New version set.
24876         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
24877         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
24878         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
24879         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
24880         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
24881         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
24882         Moved ...
24883         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
24884         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
24885         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
24886         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
24887         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
24888         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
24889         * sysdeps/sparc/nptl/sem_init.c: ... here.
24890         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
24891         * sysdeps/sparc/nptl/sem_post.c: ... here.
24892         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
24893         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
24894         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
24895         * sysdeps/sparc/nptl/sem_wait.c: ... here.
24896         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
24897         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
24898         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
24899         (libpthread-routines): Add cpu_relax.
24900         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
24901         File removed.
24902         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
24903         (librt: GLIBC_2.3.3): New version set.
24904         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
24905         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
24906         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
24907         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
24908         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
24909         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
24910         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
24911         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
24912         Moved ...
24913         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
24914         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
24915         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
24916         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
24917         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
24918         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
24919         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
24920         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
24921         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
24922         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
24923         Moved ...
24924         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
24925         Update #include.
24926         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
24927         Moved ...
24928         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
24929         Update #include.
24930         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
24931         Moved ...
24932         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
24933         Update #include.
24934         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
24935         Moved ...
24936         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
24937         Update #include.
24938         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
24939         Moved ...
24940         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
24941         Update #include.
24942         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
24943         Moved ...
24944         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
24945         Update #include.
24946         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
24947         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
24948         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
24949         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
24950         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
24951         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
24952         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
24953         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
24954         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
24955         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
24956         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
24957         Moved ...
24958         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
24959         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
24960         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
24961         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
24962         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
24964 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
24966         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
24967         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
24968         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
24969         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
24970         * nscd/nscd.c: Likewise.
24971         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
24972         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
24973         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
24974         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
24976         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
24977         <kernel-features.h>.
24978         (init_mq_netlink): Remove conditional have_sock_cloexec
24979         definitions.  Remove code conditional on have_sock_cloexec < 0.
24980         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
24981         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
24982         * sysdeps/unix/sysv/linux/opensock.c: Do not include
24983         <kernel-features.h>.
24984         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
24985         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
24987 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
24989         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
24990         Add tests for memset_chk and memset.
24992         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
24993         with AVX2_Usable.
24995 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
24997         [BZ #16046]
24998         * elf/tst-dl-iter-static.c: New file.
24999         * elf/Makefile (tests-static): Add tst-dl-iter-static.
25001         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
25002         error.
25004 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
25006         * sysdeps/unix/sysv/linux/kernel-features.h
25007         (__ASSUME_F_GETOWN_EX): Remove macro.
25008         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
25009         <kernel-features.h>.
25010         (miss_F_GETOWN_EX): Remove variable or macro.
25011         (do_fcntl): Do not check miss_F_GETOWN_EX.
25012         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
25014         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
25015         Remove macro.
25016         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
25017         [!__ASSUME_AT_RANDOM]: Remove conditional code.
25018         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
25020         * sysdeps/unix/sysv/linux/kernel-features.h
25021         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
25022         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
25023         [ADJ_OFFSET_SS_READ]: Make code unconditional.
25024         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
25026 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
25028         [BZ #17075]
25029         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
25030         Fix calculation of the symbol's value.
25031         * sysdeps/arm/tst-armtlsdescloc.c: New file.
25032         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
25033         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
25034         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
25035         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
25036         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
25037         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
25038         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
25039         (modules-names): Add `tst-armtlsdescmod',
25040         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
25041         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
25042         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
25043         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
25044         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
25045         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
25046         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
25047         ($(objpfx)tst-armtlsdescloc): New dependency.
25048         ($(objpfx)tst-armtlsdescextnow): Likewise.
25049         ($(objpfx)tst-armtlsdescextlazy): Likewise.
25050         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
25051         TLS scheme support.
25052         * sysdeps/arm/configure: Regenerate.
25054 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
25056         * include/fcntl.h (__atfct_seterrno): Remove prototype.
25057         (__atfct_seterrno_2): Likewise.
25058         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
25059         <kernel-features.h>.
25060         (__ASSUME_ATFCTS): Do not undefine and redefine.
25061         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
25062         (__have_atfcts): Remove conditional definition.
25063         (__fxstatat([__NR_fstatat64]: Make code unconditional.
25064         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
25065         unreachable if [__ASSUME_ATFCTS].
25066         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
25067         not undefine and redefine.
25068         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
25069         <kernel-features.h>.
25070         (faccessat) [__NR_faccessat]: Make code unconditional.
25071         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
25072         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
25073         <kernel-features.h>.
25074         (fchmodat) [__NR_fchmodat]: Make code unconditional.
25075         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
25076         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
25077         <kernel-features.h>.
25078         (fchownat) [__NR_fchownat]: Make code unconditional.
25079         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
25080         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
25081         <kernel-features.h>.
25082         (futimesat) [__NR_futimesat]: Make code unconditional.
25083         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
25084         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
25085         <kernel-features.h>.
25086         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
25087         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
25088         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
25089         <kernel-features.h>.
25090         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
25091         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
25092         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
25093         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
25094         <kernel-features.h>.
25095         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
25096         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
25097         * sysdeps/unix/sysv/linux/linkat.c: Do not include
25098         <kernel-features.h>.
25099         (linkat) [__NR_linkat]: Make code unconditional.
25100         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
25101         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
25102         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
25103         <kernel-features.h>.
25104         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
25105         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
25106         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
25107         <kernel-features.h>.
25108         (mkdirat) [__NR_mkdirat]: Make code unconditional.
25109         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
25110         * sysdeps/unix/sysv/linux/openat.c: Do not include
25111         <kernel-features.h>.
25112         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
25113         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
25114         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
25115         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
25116         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
25117         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
25118         <kernel-features.h>.
25119         (readlinkat) [__NR_readlinkat]: Make code unconditional.
25120         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
25121         result of INLINE_SYSCALL directly, not via int variable.
25122         * sysdeps/unix/sysv/linux/renameat.c: Do not include
25123         <kernel-features.h>.
25124         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
25125         (renameat) [__NR_renameat]: Make code unconditional.
25126         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
25127         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
25128         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
25129         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
25130         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
25131         (__ASSUME_ATFCTS): Do not undefine and redefine.
25132         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
25133         <kernel-features.h>.
25134         (symlinkat) [__NR_symlinkat]: Make code unconditional.
25135         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
25136         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
25137         <kernel-features.h>.
25138         (unlinkat) [__NR_unlinkat]: Make code unconditional.
25139         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
25140         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
25141         (__ASSUME_ATFCTS): Do not undefine and redefine.
25142         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
25143         <kernel-features.h>.
25144         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
25145         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
25146         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
25147         <kernel-features.h>.
25148         (__xmknodat) [__NR_mknodat]: Make code unconditional.
25149         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
25151 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
25153         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
25155 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
25157         [BZ #17069]
25158         * posix/regcomp.c (parse_reg_exp): Deallocate partially
25159         constructed tree before returning error.
25160         * posix/bug-regexp36.c: Expand test case.
25162 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
25164         [BZ #6803]
25165         * math/libm-test.inc (scalbln_test_date):
25166         Add errno expectations.
25167         * math/w_scalblnf.c: New File.
25168         Add wrapper which checks for setting errno to ERANGE.
25169         Add weak_alias for corresponding scalbln function.
25170         * math/w_scalbln.c: Likewise.
25171         * math/w_scalblnl.c: Likewise.
25172         * math/Makefile (libm-calls): Add w_scalbln.
25173         * sysdeps/ieee754/flt-32/s_scalblnf.c:
25174         Remove weak_alias for corresponding scalbln function.
25175         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
25176         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
25177         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
25178         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
25179         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
25180         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
25181         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
25182         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
25183         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
25184         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
25185         Remove long_double_symbol for scalblnl function in libm, libc.
25186         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
25187         Add wrapper which checks for setting errno to ERANGE.
25188         Add long_double_symbol for scalblnl function in libm, libc.
25189         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
25190         Remove long_double_symbol for scalblnl in libm.
25191         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
25192         Add wrapper which checks for setting errno to ERANGE.
25193         Add long_double_symbol for scalblnl function in libm.
25194         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
25195         Do not use wrapper because of own implementation.
25197 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
25199         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
25200         3 bytes for __pad1 for x32.
25201         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
25203 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
25204             H.J. Lu  <hongjiu.lu@intel.com>
25206         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
25207         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
25208         * sysdeps/x86_64/multiarch/memset.S: Likewise.
25209         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
25210         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
25212 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
25214         [BZ #17069]
25215         * posix/regcomp.c (parse_expression): Deallocate partially
25216         constructed tree before returning error.
25217         * posix/Makefile.c (tests): Add bug-regex36.
25218         (generated): Add bug-regex36.mtrace.
25219         (tests-special): Add $(objpfx)bug-regex36-mem.out
25220         (bug-regex36-ENV): New variable.
25221         ($(objpfx)bug-regex36-mem.out): New rule.
25222         * posix/bug-regex36.c: New file.
25224 2014-06-19  Will Newton  <will.newton@linaro.org>
25226         * malloc/malloc.c (systrim): If extra is zero then return
25227         early.
25229 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
25231         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
25233 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
25235         * sysdeps/aarch64/strchr.S: New file.
25237 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
25239         [BZ #17022]
25240         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
25241         from arguments -2 or below.
25242         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
25243         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
25245 2014-06-18  Andreas Schwab  <schwab@suse.de>
25247         [BZ #17062]
25248         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
25249         of a bracket expr not to run off the end of the string.
25250         * posix/Makefile (tests): Add tst-fnmatch3.
25251         * posix/tst-fnmatch3.c: New file.
25253 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
25255         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
25256         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
25257         [$(cross-compiling) = no]: Likewise.
25258         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
25259         [$(cross-compiling) = no]: Likewise.
25261 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
25263         [BZ #17031]
25264         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
25265         double, adjusted for any remainder from the high double.
25266         * math/libm-test.inc (nearbyint): Add tests.
25267         (rint): Likewise.
25269 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25271         * nptl/sysdeps/powerpc/Makefile: Moved ...
25272         * sysdeps/powerpc/nptl/Makefile: ... here.
25273         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
25274         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
25275         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
25276         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
25277         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
25278         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
25279         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
25280         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
25281         * nptl/sysdeps/powerpc/tls.h: Moved ...
25282         * sysdeps/powerpc/nptl/tls.h: ... here.
25284 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
25286         [BZ #16681]
25287         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
25288         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
25289         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
25290         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
25291         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
25292         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
25293         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
25294         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
25295         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
25297 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
25299         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
25301 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
25303         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
25304         defined operator.
25306         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
25307         $TIMEOUTFACTOR.
25309 2014-06-16  Florian Weimer  <fweimer@redhat.com>
25311         [BZ #17058]
25312         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
25313         non-executed part of the test.
25315 2014-06-16  Andreas Schwab  <schwab@suse.de>
25317         * string/bits/string2.h (strdup, strndup): Update feature guard.
25319 2014-06-14  David S. Miller  <davem@davemloft.net>
25321         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25323 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
25325         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
25326         that was previously under [RESET_PID].
25327         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
25329         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
25330         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
25331         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
25332         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
25333         (__libc_vfork): New strong alias.
25334         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
25336 2014-06-14 Andi Kleen  <ak@linux.intel.com>
25338         * sysdeps/generic/elide.h: New file.
25340 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
25342         * Makefile (installed-headers): Adjust path of pthread.h header.
25344 2014-06-13  Roland McGrath  <roland@hack.frob.com>
25346         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
25347         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
25348         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
25349         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
25351         * nptl/sysdeps/s390/Makefile: Moved ...
25352         * sysdeps/s390/nptl/Makefile: ... here.
25353         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
25354         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
25355         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
25356         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
25357         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
25358         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
25359         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
25360         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
25361         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
25362         * sysdeps/s390/nptl/pthreaddef.h: ... here.
25363         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
25364         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
25365         * nptl/sysdeps/s390/tls.h: Moved ...
25366         * sysdeps/s390/nptl/tls.h: ... here.
25368         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
25369         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
25371 2014-06-13  David S. Miller  <davem@davemloft.net>
25373         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
25374         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
25375         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
25376         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
25377         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
25378         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
25379         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
25380         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
25381         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
25382         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
25383         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
25384         Remove RESET_PID cpp guards.
25385         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
25386         Remove RESET_PID cpp guards.
25387         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
25389 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
25391         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
25392         __sp to uintptr_t.
25394 2014-06-13  Andi Kleen  <ak@linux.intel.com>
25396         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
25397         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
25398         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
25399         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
25400         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
25401         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
25402         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
25403         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
25404         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
25405         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
25406         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
25407         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
25408         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
25409         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
25410         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
25411         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
25412         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
25413         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
25414         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
25415         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
25417         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
25418         (pthread_rwlock_rdlock): Add elision.
25419         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
25420         (pthread_rwlock_wrlock): Add elision.
25421         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
25422         (pthread_rwlock_trywrlock): Add elision.
25423         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
25424         (pthread_rwlock_tryrdlock): Add elision.
25425         * nptl/pthread_rwlock_unlock.c: Include elide.h.
25426         (pthread_rwlock_tryrdlock): Add elision unlock.
25427         * nptl/sysdeps/pthread/pthread.h:
25428         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
25429         (PTHREAD_RWLOCK_INITIALIZER,
25430         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
25431         Handle new elision field.
25432         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
25433         * sysdeps/arm/nptl/bits/pthreadtypes.h
25434         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
25435         * sysdeps/sh/nptl/bits/pthreadtypes.h
25436         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
25437         * sysdeps/tile/nptl/bits/pthreadtypes.h
25438         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
25439         * sysdeps/a/nptl/bits/pthreadtypes.h
25440         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
25441         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
25442         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
25443         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
25444         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
25445         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
25446         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
25447         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
25448         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
25449         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
25450         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
25451         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
25452         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
25453         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
25454         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
25455         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
25456         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
25457         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
25458         (elision_init): Set try_xbegin to zero when no RTM.
25459         * sysdeps/x86/nptl/bits/pthreadtypes.h
25460         (pthread_rwlock_t): Change __pad1 to __rwelision.
25461         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
25463 2014-06-13  Andi Kleen  <ak@linux.intel.com>
25465         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
25466         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
25467         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
25468         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
25470 2014-06-13  Meador Inge  <meadori@codesourcery.com>
25472         [BZ #16996]
25473         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
25474         that the cached result has been set before returning it.
25476 2014-06-12  Roland McGrath  <roland@hack.frob.com>
25478         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
25479         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
25480         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
25481         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
25482         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
25483         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
25485         * nptl/sysdeps/sparc/Makefile: Moved ...
25486         * sysdeps/sparc/nptl/Makefile: ... here.
25487         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
25488         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
25489         * nptl/sysdeps/sparc/tls.h: Moved ...
25490         * sysdeps/sparc/nptl/tls.h: ... here.
25491         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
25492         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
25493         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
25494         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
25495         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
25496         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
25497         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
25498         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
25499         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
25500         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
25501         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
25502         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
25503         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
25504         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
25505         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
25506         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
25507         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
25508         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
25509         Update #include.
25510         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
25511         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
25512         Update #include.
25513         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
25514         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
25515         Update #include.
25516         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
25517         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
25518         Update #include.
25520         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
25522         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
25523         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
25525         * sysdeps/pthread/posix-timer.h: Include <list.h>.
25526         (struct list_links): Type removed.
25527         (struct thread_node, struct timer_node): Replace struct list_links
25528         with struct list_head.
25529         (list_unlink_ip): Likewise.
25530         * sysdeps/pthread/timer_routines.c
25531         (timer_free_list, thread_free_list, thread_active_list): Likewise.
25532         (list_append, list_insbefore): Likewise.
25533         (list_init): Function removed.
25534         (thread_init, init_module): Use INIT_LIST_HEAD instead.
25535         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
25536         * sysdeps/pthread/Makefile: ... here, new file.
25538         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
25539         * sysdeps/nptl/Implies: ... here.
25540         * sysdeps/unix/sysv/linux/Implies: Add nptl.
25541         * nptl/sysdeps/pthread/list.h: Moved ...
25542         * include/list.h: ... here.
25543         * nptl/sysdeps/pthread/createthread.c: Moved ...
25544         * nptl/createthread.c: ... here.
25545         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
25546         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
25547         * nptl/pt-longjmp.c: ... here.
25548         * nptl/sysdeps/pthread/Makefile: Moved ...
25549         * sysdeps/nptl/Makefile: ... here.
25550         * nptl/sysdeps/pthread/Subdirs: Moved ...
25551         * sysdeps/nptl/Subdirs: ... here.
25552         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
25553         * sysdeps/nptl/aio_misc.h: ... here.
25554         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
25555         * sysdeps/nptl/bits/libc-lock.h: ... here.
25556         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
25557         * sysdeps/nptl/bits/libc-lockP.h: ... here.
25558         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
25559         * sysdeps/nptl/bits/stdio-lock.h: ... here.
25560         * nptl/sysdeps/pthread/configure: Moved ...
25561         * sysdeps/nptl/configure: ... here.
25562         * nptl/sysdeps/pthread/configure.ac: Moved ...
25563         * sysdeps/nptl/configure.ac: ... here.
25564         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
25565         * sysdeps/nptl/gai_misc.h: ... here.
25566         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
25567         * sysdeps/nptl/librt-cancellation.c: ... here.
25568         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
25569         * sysdeps/nptl/malloc-machine.h: ... here.
25570         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
25571         * sysdeps/nptl/pthread-functions.h: ... here.
25572         * nptl/sysdeps/pthread/pthread.h: Moved ...
25573         * sysdeps/nptl/pthread.h: ... here.
25574         * nptl/sysdeps/pthread/setxid.h: Moved ...
25575         * sysdeps/nptl/setxid.h: ... here.
25576         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
25577         * sysdeps/nptl/sigfillset.c: ... here.
25578         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
25579         * sysdeps/nptl/tcb-offsets.h: ... here.
25580         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
25581         * sysdeps/nptl/tst-mqueue8x.c: ... here.
25582         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
25583         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
25584         * nptl/sysdeps/pthread/allocalim.h: Moved ...
25585         * sysdeps/pthread/allocalim.h: ... here.
25586         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
25587         * sysdeps/pthread/bits/sigthread.h: ... here.
25588         * nptl/sysdeps/pthread/flockfile.c: Moved ...
25589         * sysdeps/pthread/flockfile.c: ... here.
25590         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
25591         * sysdeps/pthread/ftrylockfile.c: ... here.
25592         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
25593         * sysdeps/pthread/funlockfile.c: ... here.
25594         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
25595         * sysdeps/pthread/posix-timer.h: ... here.
25596         * nptl/sysdeps/pthread/timer_create.c: Moved ...
25597         * sysdeps/pthread/timer_create.c: ... here.
25598         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
25599         * sysdeps/pthread/timer_delete.c: ... here.
25600         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
25601         * sysdeps/pthread/timer_getoverr.c: ... here.
25602         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
25603         * sysdeps/pthread/timer_gettime.c: ... here.
25604         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
25605         * sysdeps/pthread/timer_routines.c: ... here.
25606         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
25607         * sysdeps/pthread/timer_settime.c: ... here.
25608         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
25609         * sysdeps/pthread/tst-timer.c: ... here.
25610         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
25611         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
25613         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
25614         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
25616         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
25617         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
25618         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
25619         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
25620         Update #include target.
25621         * nptl/sysdeps/i386/i686/Makefile: Moved ...
25622         * sysdeps/i386/i686/nptl/Makefile: ... here.
25623         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
25624         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
25625         Update #include target.
25626         * nptl/sysdeps/i386/i686/tls.h: Moved ...
25627         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
25628         * nptl/sysdeps/i386/Makefile: Moved ...
25629         * sysdeps/i386/nptl/Makefile: ... here.
25630         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
25631         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
25632         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
25633         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
25634         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
25635         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
25636         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
25637         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
25638         * sysdeps/i386/nptl/pthreaddef.h: ... here.
25639         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
25640         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
25641         * nptl/sysdeps/i386/tls.h: Moved ...
25642         * sysdeps/i386/nptl/tls.h: ... here.
25644         * sysdeps/sh/Makefile [$(subdir) = csu]
25645         (gen-as-const-headers): Add tcb-offsets.sym.
25646         * nptl/sysdeps/sh/Makefile: File removed.
25647         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
25648         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
25649         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
25650         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
25651         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
25652         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
25653         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
25654         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
25655         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
25656         * sysdeps/sh/nptl/pthreaddef.h: ... here.
25657         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
25658         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
25659         * nptl/sysdeps/sh/tls.h: Moved ...
25660         * sysdeps/sh/nptl/tls.h: ... here.
25661         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
25662         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
25663         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
25664         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
25665         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
25666         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
25667         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
25668         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
25669         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
25670         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
25671         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
25672         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
25673         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
25674         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
25675         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
25676         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
25677         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
25678         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
25679         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
25680         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
25681         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
25682         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
25683         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
25684         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
25685         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
25686         Moved ...
25687         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
25688         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
25689         Moved ...
25690         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
25691         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
25692         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
25693         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
25694         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
25695         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
25696         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
25697         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
25698         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
25699         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
25700         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
25701         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
25702         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
25703         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
25704         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
25705         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
25706         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
25707         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
25708         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
25710 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
25712         * posix/spawn_faction_addopen.c: Include string.h.
25714 2014-06-11  Roland McGrath  <roland@hack.frob.com>
25716         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
25717         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
25718         * nptl/sysdeps/x86_64/Makefile: Moved ...
25719         * sysdeps/x86_64/nptl/Makefile: ... here.
25720         * nptl/sysdeps/x86_64/configure: Moved ...
25721         * sysdeps/x86_64/nptl/configure: ... here.
25722         * nptl/sysdeps/x86_64/configure.ac: Moved ...
25723         * sysdeps/x86_64/nptl/configure.ac: ... here.
25724         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
25725         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
25726         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
25727         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
25728         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
25729         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
25730         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
25731         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
25732         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
25733         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
25734         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
25735         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
25736         * nptl/sysdeps/x86_64/tls.h: Moved ...
25737         * sysdeps/x86_64/nptl/tls.h: ... here.
25738         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
25739         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
25740         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
25741         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
25743         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
25745 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25747         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25749 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
25751         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
25752         type.
25753         [POSIX] (off_t): Likewise.
25754         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
25755         [POSIX] (S_ISBLK): Require macro.
25756         [POSIX] (S_ISCHR): Likewise.
25757         [POSIX] (S_ISDIR): Likewise.
25758         [POSIX] (S_ISFIFO): Likewise.
25759         [POSIX] (S_ISREG): Likewise.
25760         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
25761         optional-macro.
25762         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
25763         type.
25764         [POSIX] (time_t): Likewise.
25765         [POSIX] (timer_t): Likewise.
25767 2014-06-11  Florian Weimer  <fweimer@redhat.com>
25769         [BZ #17048]
25770         * posix/spawn_int.h (struct __spawn_action): Make the path string
25771         non-const to support deallocation.
25772         * posix/spawn_faction_addopen.c
25773         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
25774         * posix/spawn_faction_destroy.c
25775         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
25776         path in all spawn_do_open actions.
25777         * posix/tst-spawn.c (do_test): Exercise the copy operation in
25778         posix_spawn_file_actions_addopen.
25780 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
25782         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
25783         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
25784         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
25785         conditional code always true.
25786         (__libc_vfork): New alias.
25788 2014-06-11  Roland McGrath  <roland@hack.frob.com>
25790         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
25791         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
25793         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
25795         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
25796         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
25798         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
25799         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
25801         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
25802         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
25804 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
25806         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
25807         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
25808         multiarch strcmp for PPC64.
25809         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
25810         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
25811         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
25812         multiarch optimizations.
25813         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
25814         (__libc_ifunc_impl_list): Likewise.
25816 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
25818         * benchtests/scripts/validate_benchout.py: New script.
25819         * benchtests/Makefile (bench-func): Call it.
25820         * benchtests/scripts/benchout.schema.json: New file.
25822 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
25824         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
25825         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
25826         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
25827         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
25828         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
25829         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
25830         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
25831         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
25832         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
25833         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
25834         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
25835         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
25836         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
25837         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
25838         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
25839         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
25840         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
25841         Moved ...
25842         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
25843         ... here.
25844         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
25845         Moved ...
25846         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
25847         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
25848         Moved ...
25849         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
25850         ... here.
25851         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
25852         Moved ...
25853         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
25854         ... here.
25855         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
25856         Moved ...
25857         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
25858         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
25859         Moved ...
25860         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
25861         ... here.
25862         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
25863         Moved ...
25864         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
25865         ... here.
25866         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
25867         Moved ...
25868         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
25869         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
25870         Moved ...
25871         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
25872         ... here.
25873         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
25874         Moved ...
25875         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
25876         ... here.
25877         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
25878         Moved ...
25879         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
25880         ... here.
25881         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
25882         Moved ...
25883         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
25884         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
25885         Moved ...
25886         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
25887         ... here.
25888         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
25889         Moved ...
25890         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
25891         ... here.
25892         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
25893         Moved ...
25894         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
25895         ... here.
25896         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
25897         Moved ...
25898         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
25899         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
25900         Moved ...
25901         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
25902         ... here.
25903         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
25904         Moved ...
25905         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
25906         ... here.
25907         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
25908         Moved ...
25909         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
25910         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
25911         Moved ...
25912         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
25913         ... here.
25914         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
25915         Moved ...
25916         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
25917         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
25918         Moved ...
25919         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
25920         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
25921         Moved ...
25922         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
25923         ... here.
25924         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
25925         Moved ...
25926         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
25927         ... here.
25928         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
25929         Moved ...
25930         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
25931         ... here.
25932         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
25933         Moved ...
25934         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
25935         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
25936         Moved ...
25937         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
25938         ... here.
25939         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
25940         Moved ...
25941         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
25942         ... here.
25943         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
25944         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
25945         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
25946         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
25947         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
25948         Moved ...
25949         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
25950         ... here.
25951         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
25952         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
25953         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
25954         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
25955         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
25956         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
25957         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
25958         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
25959         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
25960         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
25961         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
25962         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
25963         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
25964         Moved ...
25965         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
25966         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
25967         Moved ...
25968         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
25969         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
25970         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
25971         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
25972         Moved ...
25973         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
25974         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
25975         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
25976         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
25977         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
25978         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
25979         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
25981 2014-06-10  Wilco  <wdijkstr@arm.com>
25983         * math/test-fenv-return.c: New file.
25984         * math/Makefile: Add new test test-fenv-return.
25986 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
25988         [BZ #17042]
25989         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
25990         when x - 1 is zero.
25991         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
25992         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
25993         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
25994         0.0L for an argument of 1.0L.
25995         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
25996         Likewise.
25997         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
25998         value when x - 1 is zero.
25999         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
26000         * sysdeps/i386/fpu/libm-test-ulps: Update.
26001         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26003 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
26005         [BZ #15119]
26006         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
26008 2014-06-09  Roland McGrath  <roland@hack.frob.com>
26010         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
26011         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
26013 2014-06-09  Roland McGrath  <roland@hack.frob.com>
26015         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
26016         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
26018         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
26019         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
26021         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
26022         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
26024         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
26025         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
26027         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
26028         if not already defined.
26029         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
26030         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
26031         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
26032         (TLS_INIT_TP): Use it.
26033         (TLS_DEFINE_INIT_TP): New macro.
26034         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
26036 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
26038         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
26039         constant.
26040         [POSIX] (IXANY): Likewise.
26041         [POSIX] (OLCUC): Likewise.
26042         [POSIX || POSIX2008] (CBAUD): Do not allow.
26043         [POSIX || POSIX2008] (DEFECHO): Likewise.
26044         [POSIX || POSIX2008] (ECHOCTL): Likewise.
26045         [POSIX || POSIX2008] (ECHOKE): Likewise.
26046         [POSIX || POSIX2008] (ECHOPRT): Likewise.
26047         [POSIX || POSIX2008] (EXTA): Likewise.
26048         [POSIX || POSIX2008] (EXTB): Likewise.
26049         [POSIX || POSIX2008] (FLUSHO): Likewise.
26050         [POSIX || POSIX2008] (LOBLK): Likewise.
26051         [POSIX || POSIX2008] (PENDIN): Likewise.
26052         [POSIX || POSIX2008] (SWTCH): Likewise.
26053         [POSIX || POSIX2008] (VDISCARD): Likewise.
26054         [POSIX || POSIX2008] (VDSUSP): Likewise.
26055         [POSIX || POSIX2008] (VLNEXT): Likewise.
26056         [POSIX || POSIX2008] (VREPRINT): Likewise.
26057         [POSIX || POSIX2008] (VSTATUS): Likewise.
26058         [POSIX || POSIX2008] (VWERASE): Likewise.
26059         (B*): Change to B[0123456789]*.
26060         * conform/data/time.h-data [POSIX || UNIX98]
26061         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
26062         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
26063         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
26064         [POSIX] (tm_*): Do not allow.
26066 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
26068         * Makefile (install): Don't set LANGUAGE.
26069         * Makefile.in (install): Likewise.
26070         * assert/Makefile (test-assert-ENV): Remove variable.
26071         (test-assert-perr-ENV): Likewise.
26072         * elf/Makefile (neededtest4-ENV): Likewise.
26073         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
26074         [$(cross-compiling) = no]: Don't set LANGUAGE.
26075         * io/ftwtest-sh (LANG): Remove variable.
26076         * libio/Makefile (tst-widetext-ENV): Likewise.
26077         * manual/install.texi (Running make install): Don't refer to
26078         environment settings for make install.
26079         * INSTALL: Regenerated.
26080         * nptl/tst-tls6.sh: Don't set LANG.
26081         * posix/globtest.sh (LANG): Remove variable.
26082         * string/Makefile (tester-ENV): Likewise.
26083         (inl-tester-ENV): Likewise.
26084         (noinl-tester-ENV): Likewise.
26085         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
26086         [$(cross-compiling) = no]: Don't set LANGUAGE.
26087         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
26088         without explicit environment settings.
26090 2014-06-06  Roland McGrath  <roland@hack.frob.com>
26092         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
26093         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
26094         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
26095         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
26097 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
26099         * crypt/crypt-private.h [DOS]: Add some includes taken from the
26100         other files in the crypt directory.
26101         * crypt/crypt.c: Remove duplicate includes.
26102         * crypt/crypt-entry.c: Likewise.
26103         * crypt/crypt_util.c: Likewise.
26105 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
26107         * Makeconfig (run-program-env): New variable.
26108         (run-program-prefix-before-env): Likewise.
26109         (run-program-prefix-after-env): Likewise.
26110         (run-program-prefix): Define in terms of new variables.
26111         (built-program-cmd-before-env): New variable.
26112         (built-program-cmd-after-env): Likewise.
26113         (built-program-cmd): Define in terms of new variables.
26114         (test-program-prefix-before-env): New variable.
26115         (test-program-prefix-after-env): Likewise.
26116         (test-program-prefix): Define in terms of new variables.
26117         (test-program-cmd-before-env): New variable.
26118         (test-program-cmd-after-env): Likewise.
26119         (test-program-cmd): Define in terms of new variables.
26120         * Rules (make-test-out): Use $(run-program-env).
26121         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
26122         (help): Do not mention environment variables.  Mention
26123         --timeoutfactor option.
26124         (timeoutfactor): New variable.
26125         (blacklist_exports): Remove function.
26126         (exports): Remove variable.
26127         (command): Do not include ${exports}.
26128         * manual/install.texi (Configuring and compiling): Do not mention
26129         test wrappers preserving environment variables.  Mention that last
26130         assignment to a variable must take precedence.
26131         * INSTALL: Regenerated.
26132         * benchtests/Makefile (run-bench): Use $(run-program-env).
26133         * catgets/Makefile ($(objpfx)test1.cat): Use
26134         $(built-program-cmd-before-env), $(run-program-env) and
26135         $(built-program-cmd-after-env).
26136         ($(objpfx)test2.cat): Do not specify environment variables
26137         explicitly.
26138         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
26139         $(run-program-env) and $(built-program-cmd-after-env).
26140         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
26141         $(run-program-env) and $(test-program-cmd-after-env).
26142         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
26143         explicitly.
26144         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
26145         run_program_env and test_program_cmd_after_env arguments.
26146         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
26147         * elf/tst-pathopt.sh: Use run_program_env argument.
26148         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
26149         $(test-wrapper-env) and $(run-program-env).
26150         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
26151         run_program_env arguments.
26152         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
26153         * intl/Makefile ($(objpfx)tst-gettext.out): Use
26154         $(test-program-prefix-before-env), $(run-program-env) and
26155         $(test-program-prefix-after-env).
26156         ($(objpfx)tst-gettext2.out): Likewise.
26157         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
26158         run_program_env and test_program_prefix_after_env arguments.
26159         * intl/tst-gettext2.sh: Likewise.
26160         * intl/tst-gettext4.sh: Do not set environment variables
26161         explicitly.
26162         * intl/tst-gettext6.sh: Likewise.
26163         * intl/tst-translit.sh: Likewise.
26164         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
26165         $(test-program-prefix-before-env), $(run-program-env) and
26166         $(test-program-prefix-after-env).
26167         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
26168         run_program_env and test_program_prefix_after_env arguments.
26169         * math/Makefile (run-regen-ulps): Use $(run-program-env).
26170         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
26171         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
26172         explicitly with each use of ${test_wrapper_env}.
26173         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
26174         $(test-program-prefix-before-env), $(run-program-env) and
26175         $(test-program-prefix-after-env).
26176         * posix/tst-getconf.sh: Do not set environment variables
26177         explicitly.
26178         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
26179         run_program_env and test_program_prefix_after_env arguments.
26180         * stdio-common/tst-printf.sh: Do not set environment variables
26181         explicitly.
26182         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
26183         $(test-program-prefix-before-env), $(run-program-env) and
26184         $(test-program-prefix-after-env).
26185         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
26186         run_program_env and test_program_prefix_after_env arguments.
26187         Split $test calls into $test_pre and $test.
26188         * timezone/Makefile (build-testdata): Use
26189         $(built-program-cmd-before-env), $(run-program-env) and
26190         $(built-program-cmd-after-env).
26192 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26194         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
26195         strlen for non SHARED builds.
26197 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
26199         * nptl/allocatestack.c (check_list): Inlined function...
26200         (__reclaim_stacks): ... here.
26202 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
26204         [BZ #15698]
26205         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
26206         memory overrun.
26208 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
26210         * Rules (make-test-out): Include
26211         LOCPATH=$(common-objpfx)localedata in default environment.
26212         * debug/Makefile (tst-chk1-ENV): Remove variable.
26213         (tst-chk2-ENV): Likewise.
26214         (tst-chk3-ENV): Likewise.
26215         (tst-chk4-ENV): Likewise.
26216         (tst-chk5-ENV): Likewise.
26217         (tst-chk6-ENV): Likewise.
26218         (tst-lfschk1-ENV): Likewise.
26219         (tst-lfschk2-ENV): Likewise.
26220         (tst-lfschk3-ENV): Likewise.
26221         (tst-lfschk4-ENV): Likewise.
26222         (tst-lfschk5-ENV): Likewise.
26223         (tst-lfschk6-ENV): Likewise.
26224         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
26225         (tst-iconv7-ENV): Likewise.
26226         * intl/Makefile (LOCPATH-ENV): Likewise.
26227         (tst-codeset-ENV): Likewise.
26228         (tst-gettext3-ENV): Likewise.
26229         (tst-gettext5-ENV): Likewise.
26230         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
26231         (tst-fopenloc-ENV): Likewise.
26232         (tst-fgetws-ENV): Remove variable.
26233         (tst-ungetwc1-ENV): Likewise.
26234         (tst-ungetwc2-ENV): Likewise.
26235         (bug-ungetwc2-ENV): Likewise.
26236         (tst-swscanf-ENV): Likewise.
26237         (bug-ftell-ENV): Likewise.
26238         (tst-fgetwc-ENV): Likewise.
26239         (tst-fseek-ENV): Likewise.
26240         (tst-ftell-partial-wide-ENV): Likewise.
26241         (tst-ftell-active-handler-ENV): Likewise.
26242         (tst-ftell-append-ENV): Likewise.
26243         * posix/Makefile (tst-fnmatch-ENV): Likewise.
26244         (tst-regexloc-ENV): Likewise.
26245         (bug-regex1-ENV): Likewise.
26246         (tst-regex-ENV): Likewise.
26247         (tst-regex2-ENV): Likewise.
26248         (bug-regex5-ENV): Likewise.
26249         (bug-regex6-ENV): Likewise.
26250         (bug-regex17-ENV): Likewise.
26251         (bug-regex18-ENV): Likewise.
26252         (bug-regex19-ENV): Likewise.
26253         (bug-regex20-ENV): Likewise.
26254         (bug-regex22-ENV): Likewise.
26255         (bug-regex23-ENV): Likewise.
26256         (bug-regex25-ENV): Likewise.
26257         (bug-regex26-ENV): Likewise.
26258         (bug-regex30-ENV): Likewise.
26259         (bug-regex32-ENV): Likewise.
26260         (bug-regex33-ENV): Likewise.
26261         (bug-regex34-ENV): Likewise.
26262         (bug-regex35-ENV): Likewise.
26263         (tst-rxspencer-ENV): Likewise.
26264         (tst-rxspencer-no-utf8-ENV): Likewise.
26265         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
26266         (tst-sscanf-ENV): Likewise.
26267         (tst-swprintf-ENV): Likewise.
26268         (tst-swscanf-ENV): Likewise.
26269         (test-vfprintf-ENV): Likewise.
26270         (scanf13-ENV): Likewise.
26271         (bug14-ENV): Likewise.
26272         (tst-grouping-ENV): Likewise.
26273         * stdlib/Makefile (tst-strtod-ENV): Likewise.
26274         (tst-strtod3-ENV): Likewise.
26275         (tst-strtod4-ENV): Likewise.
26276         (tst-strtod5-ENV): Likewise.
26277         (testmb2-ENV): Likewise./
26278         * string/Makefile (tst-strxfrm-ENV): Likewise.
26279         (tst-strxfrm2-ENV): Likewise.
26280         (bug-strcoll1-ENV): Likewise.
26281         (test-strcasecmp-ENV): Likewise.
26282         (test-strncasecmp-ENV): Likewise.
26283         * time/Makefile (tst-strptime-ENV): Likewise.
26284         (tst-ftime_l-ENV): Likewise.
26285         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
26286         (tst-mbrtowc-ENV): Likewise.
26287         (tst-wcrtomb-ENV): Likewise.
26288         (tst-mbrtowc2-ENV): Likewise.
26289         (tst-c16c32-1-ENV): Likewise.
26290         (tst-mbsnrtowcs-ENV): Likewise.
26292 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
26294         * manual/resource.texi (How to get information about the memory
26295         subsystem?): Fix typo.
26296         Reported by Peon de la Parra Ivan <peon@keba.com>
26298 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
26300         [BZ #16882]
26301         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
26302         (pthread_spin_lock): Branch out of spin loop to proper location.
26303         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
26304         (pthread_spin_lock): Likewise.
26306         * nptl/tst-spin4.c: New test.
26307         * nptl/Makefile (tests): Add tst-spin4.
26309 2014-06-03  Andreas Schwab  <schwab@suse.de>
26311         [BZ #15946]
26312         * resolv/res_send.c (send_dg): Reload file descriptor after
26313         calling reopen.
26315 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
26317         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
26319 2014-06-03  Richard Henderson  <rth@redhat.com>
26321         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
26322         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
26323         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
26324         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
26325         in the SAVE_PID block.
26326         (__libc_vfork): New alias.
26327         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
26329         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
26330         child in registers, not on the stack.  Remove RESET_PID conditionals.
26331         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
26333 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
26335         * sysdeps/aarch64/libm-test-ulps: Regenerate.
26337 2014-06-03  Wilco  <wdijkstr@arm.com>
26339         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
26340         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
26341         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
26342         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
26343         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
26344         Likewise.
26346 2014-06-03  Wilco  <wdijkstr@arm.com>
26348         * sysdeps/aarch64/fpu/math_private.h
26349         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
26350         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
26351         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
26352         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
26353         Fix declarations.
26355 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
26357         * crypt/crypt-private.h: Include ufc-crypt.h.
26358         (__b64_from_24bit): Declare extern.
26359         * crypt/crypt_util.c(__b64_from_24bit): New function.
26360         (b64t): New static const variable.
26361         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
26362         (b64t): Remove variable.
26363         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
26364         * crypt/sha256-crypt.c: Include crypt-private.h.
26365         (b64t): Remove variable.
26366         (__sha256_crypt_r): Remove b64_from_24bit and replace
26367         with __b64_from_24bit.
26368         * crypt/sha512-crypt.c: Likewise.
26370 2014-06-02  Roland McGrath  <roland@hack.frob.com>
26372         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
26373         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
26374         Label the code __libc_vfork rather than __vfork.
26375         [!NOT_IN_libc] (vfork): Define as weak alias.
26376         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
26377         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
26378         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
26380 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
26382         * malloc/malloc.c (malloc_info): Fix format specifier for
26383         n_mmaps.
26385 2014-06-02  Wilco  <wdijkstr@arm.com>
26387         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
26388         FPCR write.
26390 2014-06-02  Wilco  <wdijkstr@arm.com>
26392         [BZ #17009]
26393         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
26394         Rewrite to reduce FPCR/FPSR accesses.
26396 2014-06-01  David S. Miller  <davem@davemloft.net>
26398         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26400 2014-05-31  David S. Miller  <davem@davemloft.net>
26402         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
26403         to occur in round to nearest mode when |x| >= 2.0
26405 2014-05-30  Richard Henderson  <rth@twiddle.net>
26407         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
26408         (PSEUDO_RET_NOERRNO): Remove.
26409         (ret): Don't redefine.
26410         (ret_NOERRNO): Define in terms of ret.
26411         (ret_ERRVAL): Likewise.
26413         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
26414         use of PSEUDO_RET; perform the error check directly.
26416 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
26418         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
26419         with __int128_t.
26421 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
26423         * malloc/malloc (malloc_info): Fix formatting.
26425 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
26426             Roland McGrath  <roland@hack.frob.com>
26428         * malloc/malloc (malloc_info): Also print mmapped statistics.
26430 2014-05-30  Roland McGrath  <roland@hack.frob.com>
26432         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
26433         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
26435 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
26437         * malloc/malloc.c (malloc_info): Inline mi_arena.
26439 2014-05-29  Richard Henderson  <rth@twiddle.net>
26441         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
26442         Remove comma before expanding ASM_ARGS_##nr.
26443         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
26444         Make _x0 a strict output; make _x8 a strict input; adjust expansion
26445         of ASM_ARGS_##nr.
26446         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
26447         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
26448         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
26449         (ASM_ARGS_1): Add leading comma.
26451         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
26452         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
26453         to __errno_location.
26454         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
26455         Remove the expected plt for __errno_location.
26457         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
26458         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
26459         call to __read_tp.
26461         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
26462         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
26463         it and break it down.
26464         (DOCARGS_0, DOCARGS_1): Do nothing.
26465         (DOCARGS_2): Update to store into the new stack frame.
26466         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
26467         (UNDOCARGS_1): Update to restore from the new stack frame.
26468         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
26469         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
26471         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
26472         (SINGLE_THREAD_P): New parameter for result regno.
26473         (PSEUDO): Update to match; use cbz instead of beq.
26475         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
26476         Use ENTRY to define the _nocancel entry point.  Share the syscall
26477         and syscall error check paths with the cancel path.
26478         (PSEUDO_END): New.
26480         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
26481         whitespace; tabs before and after asm mnemonics.
26483 2014-05-29  Eric Wong  <normalperson@yhbt.net>
26485         [BZ #15132]
26486         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
26487         Call fstat64 or stat64 internally, depending on arguments passed.
26488         Replace stat buffer argument with file descriptor argument.
26489         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
26490         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
26491         Pass fd to __internal_statvfs instead of calling fstat64.
26492         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
26493         Pass fd to __internal_statvfs64 instead of calling fstat64.
26494         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
26495         Pass -1 to __internal_statvfs instead of calling stat64.
26496         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
26497         Pass -1 to __internal_statvfs64 instead of calling stat64.
26499 2014-05-28  Roland McGrath  <roland@hack.frob.com>
26501         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
26502         that was previously under [RESET_PID].
26503         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
26505         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
26506         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
26508 2014-05-27  Roland McGrath  <roland@hack.frob.com>
26510         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
26512         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
26513         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
26515 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
26517         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
26519 2014-05-27  Andreas Schwab  <schwab@suse.de>
26521         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
26522         TLS_INIT_TP macro.
26523         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
26524         * elf/rtld.c (init_tls, dl_main): Likewise.
26525         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
26526         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
26527         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
26528         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
26529         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
26530         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
26531         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
26532         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
26533         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
26534         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
26535         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
26536         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
26537         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
26538         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
26539         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
26540         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
26541         * sysdeps/generic/tls.h: Update description.
26543 2014-05-27  Will Newton  <will.newton@linaro.org>
26545         [BZ #16990]
26546         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
26547         and restore r2 rather than just restoring.
26549 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
26551         [BZ #16724]
26552         * libio/tst-ftell-append.c: New test case.
26553         * libio/Makefile (tests): Add test case.
26554         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
26555         append mode.
26556         * libio/wfileops.c (do_ftell_wide): Likewise.
26558 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26560         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26562         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
26563         ...
26564         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
26565         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
26566         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
26567         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
26568         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
26569         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
26570         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
26571         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
26572         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
26573         Moved ...
26574         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
26575         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
26576         Moved ...
26577         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
26578         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
26579         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
26580         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
26581         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
26582         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
26583         ...
26584         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
26585         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
26586         Moved ...
26587         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
26588         here.
26589         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
26590         ...
26591         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
26592         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
26593         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
26595         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
26596         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
26597         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
26598         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
26600         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
26601         merge into ...
26602         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
26603         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
26604         ...
26605         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
26606         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
26607         ...
26608         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
26609         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
26610         Moved ...
26611         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
26612         here.
26613         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
26614         Moved ...
26615         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
26616         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
26617         Moved ...
26618         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
26620         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
26621         conditional [RESET_PID].
26622         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
26623         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
26624         removed.
26625         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
26626         removed.
26628         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
26629         <tcb-offsets.h>.
26630         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
26631         (__libc_vfork): New strong alias.
26632         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
26633         removed.
26634         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
26635         Removed.
26637         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
26638         <tcb-offsets.h>.
26639         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
26640         (__libc_vfork): New strong alias.
26641         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
26642         removed.
26643         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
26644         removed.
26646 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
26648         * malloc/malloc.c (mi_arena): New function.
26649         (malloc_info): Remove nested function mi_arena. Call non-nosted
26650         function mi_arena.
26652 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26654         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
26655         by insrwi.
26656         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
26657         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
26658         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
26659         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
26660         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
26661         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
26662         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
26664 2014-05-26  Andreas Schwab  <schwab@suse.de>
26666         [BZ #16984]
26667         * locale/programs/repertoire.c (repertoire_read): Add slash
26668         between I18NPATH element and file name.
26669         * locale/programs/locfile.c (locfile_read): Likewise.
26671 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
26673         * nptl/pthread_mutexattr_settype.c
26674         (__pthread_mutexattr_settype):
26675         Disable lock elision for PTHREAD_MUTEX_NORMAL.
26677 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
26679         * nptl/tst-mutex5 (do_test):
26680         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
26682 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
26684         * benchtests/README: Document 'init' directive.
26685         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
26686         BENCH_INIT.
26687         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
26688         (parse_file): Recognize 'init' directive.
26690 2014-05-26  Kyle McMartin  <kyle@redhat.com>
26692         [BZ #16796]
26693         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
26694         alignment of struct pthread.
26696 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
26698         [BZ #16878]
26699         * nscd/netgroupcache.c (addgetnetgrentX): Look for
26700         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
26701         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
26702         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
26704 2014-05-25  Richard Henderson  <rth@twiddle.net>
26706         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
26707         (SINGLE_THREAD_P_PIC): Remove.
26708         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
26709         (SINGLE_THREAD_P_PIC): Remove.
26711         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
26712         branch to syscall error ...
26713         (PSEUDO): ... here.
26714         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
26715         from __local_syscall_error to .Lsyscall_error.
26716         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
26717         (SYSCALL_ERROR): Update label name.
26719         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
26720         Do not use DOARGS/UNDOARGS.
26721         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
26722         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
26723         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
26724         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
26725         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
26727         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
26728         block comment.
26730         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
26731         define if !NOT_IN_libc.
26732         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
26733         define with non-default symbol versions.
26735 2014-05-23  Richard Henderson  <rth@twiddle.net>
26737         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
26738         (vfork, __vfork): Define via compat_symbol.
26740         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
26741         [!HAVE_IFUNC] (vfork_compat): Remove.
26742         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
26744 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
26746         [BZ #16978]
26747         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
26748         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
26749         variable.
26751 2014-05-23  Richard Henderson  <rth@twiddle.net>
26753         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
26754         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
26755         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
26756         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
26758         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
26759         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
26760         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
26761         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
26762         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
26763         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
26764         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
26765         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
26766         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
26767         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
26768         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
26769         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
26770         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
26771         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
26772         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
26773         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
26774         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
26775         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
26776         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
26777         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
26778         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
26779         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
26780         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
26781         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
26782         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
26783         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
26784         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
26785         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
26786         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
26787         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
26788         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
26789         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
26790         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
26791         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
26792         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
26793         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
26794         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
26795         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
26796         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
26797         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
26798         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
26799         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
26800         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
26801         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
26802         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
26803         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
26804         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
26805         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
26806         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
26807         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
26808         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
26809         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
26810         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
26811         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
26812         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
26813         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
26815         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
26816         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
26817         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
26818         before exiting on error.
26819         (__libc_vfork): New strong alias.
26820         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
26821         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
26823         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
26824         that was previously under [RESET_PID].
26825         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
26827         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
26829 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
26831         [BZ #16977]
26832         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
26833         value when x - 1 is zero.
26834         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
26835         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
26836         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
26837         0.0L for an argument of 1.0L.
26838         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
26839         Likewise.
26840         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
26841         value when x - 1 is zero.
26842         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
26843         * sysdeps/i386/fpu/libm-test-ulps: Update.
26844         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26846 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
26848         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
26849         alphasort and versionsort.
26851 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26853         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
26854         macro.
26855         [copysignf]: Likewise.
26857 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
26859         * crypt/md5-crypt.c: Fix formatting.
26861 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
26863         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
26864         (b64_from_24bit): New function.
26866 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26868         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
26869         libc_hidden_builtin_def to ifunc.
26870         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
26871         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
26873 2014-05-21  Roland McGrath  <roland@hack.frob.com>
26875         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
26876         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
26878 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
26880         * nscd/Depend (linuxthreads): Remove.
26881         (nptl): Add.
26882         * resolv/Depend (linuxthreads): Remove.
26883         * rt/Depend (linuxthreads): Remove.
26885         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
26886         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
26887         $(common-objpfx)elf/.
26888         (link-libc-before-gnulib): Likewise.
26889         (elfobjdir): Remove variable.
26890         * Makefile (install): Use $(elf-objpfx) instead of
26891         $(common-objpfx)elf/.
26892         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
26893         $(elfobjdir)/.
26894         (link-libc-deps): Likewise.
26895         ($(common-objpfx)libc.so): Likewise.
26896         ($(common-objpfx)linkobj/libc.so): Likewise.
26897         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
26898         instead of $(common-objpfx)elf/.
26899         (symbolic-link-list): Likewise.
26900         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
26901         [$(cross-compiling) = no]: Likewise.
26902         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
26903         $(elfobjdir)/.
26904         (static-gnulib-arch): Likewise.
26905         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
26906         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
26907         $(common-objpfx)elf/.
26909 2014-05-21  Richard Henderson  <rth@redhat.com>
26911         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
26912         (SINGLE_THREAD_P): Use the correct width load.  Fold
26913         into the ldr offset.
26915         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
26916         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
26918 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
26920         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
26921         (libgcc_s_resume): Use __attribute_used__.
26922         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
26923         Likewise.
26925 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26927         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
26928         optimization when used with float constants.
26930         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26932 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
26934         [BZ #16915]
26935         * locale/nl_langinfo_l.c: Make direct reference to every
26936         _nl_current_CATEGORY symbol.
26937         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
26938         (tests-static): Add tst-langinfo-static.
26939         (tests-special): Add tst-langinfo-static.out.
26940         ($(objpfx)tst-langinfo.out): Redirect output.
26941         ($(objpfx)tst-langinfo-static.out): New.
26942         * localedata/tst-langinfo.sh: Send output to stdout.
26943         * localedata/tst-langinfo-static.c: New file.
26945         [BZ #16965]
26946         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
26947         when the shift amount is modulo the limb size.
26949 2014-05-20  Richard Henderson  <rth@redhat.com>
26951         [BZ #16967]
26952         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
26953         Change type of sa_flags from unsigned int to int.
26955         [BZ #16966]
26956         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
26958         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
26960 2014-05-20  Will Newton  <will.newton@linaro.org>
26962         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
26963         Test the return value of the system call in the nocancel case.
26965 2014-05-20  Will Newton  <will.newton@linaro.org>
26966             Yvan Roux  <yvan.roux@linaro.org>
26968         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
26969         #include of asm/ptrace.h.
26970         (PTRACE_GET_THREAD_AREA): Remove #undef.
26971         (PTRACE_GETHBPREGS): Likewise.
26972         (PTRACE_SETHBPREGS): Likewise.
26973         (struct user_regs_struct): New structure.
26974         (struct user_fpsimd_struct): New structure.
26975         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
26976         #include of asm/ptrace.h and second #include of sys/user.h.
26977         (PTRACE_GET_THREAD_AREA): Remove #undef.
26978         (PTRACE_GETHBPREGS): Likewise.
26979         (PTRACE_SETHBPREGS): Likewise.
26980         (ELF_NGREG): Use new struct user_regs_struct.
26981         (elf_fpregset_t): Use new struct user_fpsimd_struct.
26983 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26985         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
26986         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
26988 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
26990         [BZ #16958]
26991         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
26992         membar to avoid block loads/stores to overlap previous stores.
26994 2014-05-17  Richard Henderson  <rth@redhat.com>
26996         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
26997         Create the __##syscall_name##_nocancel entry point.
26998         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
26999         Remove; let the sysdep-cancel.h code create it.
27001 2014-05-17  David S. Miller  <davem@davemloft.net>
27003         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
27004         Protect with __USE_GNU.
27005         (TIOCSET_TEMPT): Likewise.
27006         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
27007         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
27008         these are already provided in bits/ioctl-types.h
27010 2014-05-16  Roland McGrath  <roland@hack.frob.com>
27012         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
27013         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
27015         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
27016         Use wait4 regardless of [__NR_waitpid].
27018 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
27020         PR libgcc/60166
27021         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
27022         (_FP_NANSIGN_Q): Set the quiet bit.
27024 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
27026         * benchtests/Makefile
27027         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
27028         not $(common-objpfx)math/libm.so.
27029         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
27030         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
27031         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
27032         $(common-objpfx)dlfcn/libdl.so.
27033         ($(objpfx)tst-audit8): Depend on $(libm), not
27034         $(common-objpfx)math/libm.so.
27035         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
27036         not $(common-objpfx)dlfcn/libdl.so.
27037         * math/Makefile
27038         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
27039         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
27040         [$(build-shared) = yes].
27041         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
27042         $(common-objpfx)nptl/libpthread.so.
27043         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
27044         $(common-objpfx)math/libm.so$(libm.so-version) or
27045         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
27046         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
27047         $(common-objpfx)dlfcn/libdl.so.
27048         * setjmp/Makefile (link-libm): Remove variable.
27049         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
27050         * stdio-common/Makefile (link-libm): Remove variable.
27051         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
27052         * stdlib/Makefile (link-libm): Remove variable.
27053         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
27054         ($(objpfx)tst-strtod-round): Likewise.
27055         ($(objpfx)tst-tininess): Likewise.
27056         ($(objpfx)tst-strtod-underflow): Likewise.
27057         ($(objpfx)tst-strtod6): Likewise.
27058         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
27059         $(libdl), not $(common-objpfx)nptl/libpthread.so and
27060         $(common-objpfx)dlfcn/libdl.so.
27062 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27064         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
27065         BSD terminal modes definitions.
27067 2014-05-16  Roland McGrath  <roland@hack.frob.com>
27069         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
27070         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
27072         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
27073         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
27074         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
27075         Don't do #include_next.
27076         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
27077         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
27078         Don't do #include_next.
27079         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
27080         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
27081         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
27082         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
27084 2014-05-16  Allan McRae  <allan@archlinux.org>
27086         * po/sv.po: Update Swedish translation from translation project.
27088         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
27089         in sed expression.
27091 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
27093         [BZ #16917]
27094         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
27095         errno if the TIOCGPTN ioctl fails with an error different than
27096         EINVAL.
27097         * login/tst-ptsname.c: New file.
27098         * login/Makefile (tests): Add tst-ptsname.
27100         [BZ #16943]
27101         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
27102         and prlimit64.
27104 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
27106         [BZ #16849]
27107         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
27108         herrno to return EAI_AGAIN.
27110 2014-05-14  Roland McGrath  <roland@hack.frob.com>
27112         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
27113         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
27114         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
27115         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
27116         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
27117         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
27118         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
27119         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
27120         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
27121         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
27122         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
27123         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
27124         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
27125         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
27126         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
27127         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
27128         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
27129         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
27130         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
27131         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
27132         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
27133         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
27134         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
27135         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
27136         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
27137         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
27138         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
27139         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
27140         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
27141         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
27142         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
27143         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
27144         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
27145         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
27146         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
27147         Moved ...
27148         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
27149         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
27150         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
27151         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
27152         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
27153         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
27154         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
27155         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
27156         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
27157         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
27158         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
27159         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
27160         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
27161         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
27162         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
27163         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
27164         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
27165         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
27166         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
27167         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
27168         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
27169         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
27170         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
27171         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
27172         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
27173         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
27174         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
27175         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
27176         Moved ...
27177         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
27178         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
27179         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
27180         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
27181         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
27182         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
27183         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
27184         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
27185         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
27186         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
27187         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
27188         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
27189         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
27190         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
27191         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
27192         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
27193         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
27194         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
27195         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
27196         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
27197         Moved ...
27198         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
27199         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
27200         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
27202         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
27203         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
27204         (libpthread-sysdep_routines): Add elision-related stuff here instead.
27205         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
27206         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
27207         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
27208         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
27209         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
27210         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
27211         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
27212         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
27213         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
27214         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
27215         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
27216         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
27217         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
27218         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
27219         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
27220         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
27221         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
27222         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
27223         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
27224         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
27225         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
27226         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
27227         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
27228         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
27229         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
27230         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
27231         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
27232         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
27234         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
27235         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
27237         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
27238         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
27239         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
27240         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
27241         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
27242         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
27243         Moved ...
27244         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
27245         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
27246         Moved ...
27247         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
27248         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
27249         Moved ...
27250         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
27251         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
27252         Moved ...
27253         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
27254         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
27255         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
27256         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
27257         Moved ...
27258         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
27259         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
27260         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
27261         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
27262         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
27263         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
27264         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
27265         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
27266         Moved ...
27267         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
27268         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
27269         Moved ...
27270         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
27271         ... here.
27272         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
27273         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
27274         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
27275         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
27276         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
27277         Moved ...
27278         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
27279         ... here.
27280         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
27281         Moved ...
27282         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
27283         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
27284         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
27285         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
27286         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
27287         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
27288         Moved ...
27289         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
27290         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
27291         Moved ...
27292         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
27293         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
27294         Moved ...
27295         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
27296         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
27297         Moved ...
27298         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
27299         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
27300         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
27301         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
27302         Moved ...
27303         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
27304         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
27305         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
27306         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
27307         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
27308         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
27309         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
27310         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
27311         Moved ...
27312         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
27313         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
27314         Moved ...
27315         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
27316         ... here.
27317         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
27318         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
27319         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
27320         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
27321         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
27322         Moved ...
27323         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
27324         ... here.
27325         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
27326         Moved ...
27327         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
27328         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
27329         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
27330         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
27331         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
27332         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
27333         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
27334         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
27335         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
27336         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
27337         Moved ...
27338         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
27339         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
27340         Moved ...
27341         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
27342         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
27343         Moved ...
27344         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
27345         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
27346         Moved ...
27347         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
27348         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
27349         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
27350         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
27351         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
27352         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
27353         Moved ...
27354         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
27355         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
27356         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
27357         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
27358         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
27359         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
27360         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
27361         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
27362         Moved ...
27363         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
27364         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
27365         Moved ...
27366         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
27367         ... here.
27368         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
27369         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
27370         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
27371         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
27372         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
27373         Moved ...
27374         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
27375         ... here.
27376         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
27377         Moved ...
27378         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
27379         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
27380         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
27381         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
27382         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
27383         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
27384         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
27385         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
27386         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
27387         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
27388         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
27390         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
27391         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
27393         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
27394         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
27396         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
27397         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
27398         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
27399         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
27400         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
27401         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
27402         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
27403         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
27404         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
27405         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
27406         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
27407         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
27408         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
27409         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
27410         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
27411         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
27412         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
27413         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
27414         Moved ...
27415         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
27416         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
27417         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
27418         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
27419         Moved ...
27420         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
27421         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
27422         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
27423         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
27424         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
27425         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
27426         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
27427         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
27428         Moved ...
27429         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
27430         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
27431         Moved ...
27432         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
27433         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
27434         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
27435         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
27436         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
27437         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
27438         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
27439         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
27440         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
27441         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
27442         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
27443         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
27444         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
27445         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
27446         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
27447         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
27448         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
27450         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
27451         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
27452         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
27453         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
27454         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
27456         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
27457         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
27458         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
27459         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
27460         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
27461         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
27462         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
27463         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
27464         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
27465         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
27467         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
27468         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
27470         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
27471         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
27472         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
27473         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
27474         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
27475         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
27476         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
27477         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
27478         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
27479         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
27480         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
27481         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
27482         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
27483         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
27484         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
27485         Update #include.
27486         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
27487         Likewise.
27488         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
27489         Likewise.
27490         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
27491         Likewise.
27492         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
27493         Likewise.
27494         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
27495         Likewise.
27496         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
27497         Likewise.
27498         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
27499         Likewise.
27500         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
27501         Likewise.
27502         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
27503         Likewise.
27504         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
27505         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
27506         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
27507         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
27508         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
27509         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
27510         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
27511         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
27512         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
27513         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
27514         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
27515         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
27516         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
27517         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
27518         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
27520         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
27521         that was previously under [RESET_PID].
27522         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
27523         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
27524         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
27526         * sysdeps/i386/nptl/Implies: New file.
27527         * sysdeps/x86_64/nptl/Implies: New file.
27528         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
27529         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
27530         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
27531         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
27533         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
27534         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
27535         (__libc_vfork): New strong alias.
27536         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
27537         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
27539         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
27540         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
27541         (__libc_vfork): New strong alias.
27542         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
27543         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
27545         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
27546         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
27547         (__libc_vfork): New strong alias.
27548         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
27549         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
27550         * nptl/pt-vfork.c: New file.
27551         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
27552         (libpthread: GLIBC_2.20): New version set (empty).
27554 2014-05-14  Will Newton  <will.newton@linaro.org>
27556         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
27557         rather than #if.
27559 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
27561         [BZ #16564]
27562         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
27563         arguments with exponent 65 or above.
27564         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
27565         arguments 0x1p113L or above.
27566         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
27567         to arguments 0x1p107L or above.
27568         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
27569         positive arguments with exponent 65 or above.
27570         * math/auto-libm-test-in: Add more tests of log1p.
27571         * math/auto-libm-test-out: Regenerated.
27573         [BZ #16928]
27574         * math/s_cacos.c (__cacos): Ensure zero real part of result from
27575         non-finite arguments is +0.
27576         * math/s_cacosf.c (__cacosf): Likewise.
27577         * math/s_cacosl.c (__cacosl): Likewise.
27578         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
27579         * sysdeps/i386/fpu/libm-test-ulps: Update.
27580         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27582         [BZ #16927]
27583         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
27584         value.
27585         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
27586         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
27587         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
27588         for explicit high bit of mantissa when testing for argument equal
27589         to 1.
27590         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
27591         * sysdeps/i386/fpu/libm-test-ulps: Update.
27592         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27594         [BZ #16516]
27595         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
27596         (__erf): Scale by 16 instead of 8 in potentially underflowing
27597         case.  Ensure exception if result actually underflows.
27598         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
27599         (__erff): Scale by 16 instead of 8 in potentially underflowing
27600         case.  Ensure exception if result actually underflows.
27601         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
27602         (efx8): Remove variable.
27603         (__erfl): Scale by 16 instead of 8 in potentially underflowing
27604         case.  Ensure exception if result actually underflows.
27605         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
27606         (efx8): Remove variable.
27607         (__erfl): Scale by 16 instead of 8 in potentially underflowing
27608         case.  Ensure exception if result actually underflows.
27609         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
27610         (efx8): Remove variable.
27611         (__erfl): Scale by 16 instead of 8 in potentially underflowing
27612         case.  Ensure exception if result actually underflows.
27613         * math/auto-libm-test-in: Add more tests of erf.
27614         * math/auto-libm-test-out: Regenerated.
27616 2014-05-14  Andreas Schwab  <schwab@suse.de>
27618         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
27619         Remove code conditionalized on USE___THREAD.
27621         * config.h.in (HAVE_PT_CHOWN): Define as 0.
27622         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
27623         not definedness.
27625 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
27627         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
27628         Define unconditionally.
27629         (__ASSUME_O_CLOEXEC): Likewise.
27630         (__ASSUME_SOCK_CLOEXEC): Likewise.
27631         (__ASSUME_IN_NONBLOCK): Likewise.
27632         (__ASSUME_PIPE2): Likewise.
27633         (__ASSUME_EVENTFD2): Likewise.
27634         (__ASSUME_SIGNALFD4): Likewise.
27635         (__ASSUME_DUP3): Likewise.
27636         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
27637         (__ASSUME_DUP3): Do not define.
27638         (__ASSUME_EVENTFD2): Likewise.
27639         (__ASSUME_IN_NONBLOCK): Likewise.
27640         (__ASSUME_O_CLOEXEC): Likewise.
27641         (__ASSUME_PIPE2): Likewise.
27642         (__ASSUME_SIGNALFD4): Likewise.
27643         (__ASSUME_SOCK_CLOEXEC): Likewise.
27644         (__ASSUME_UTIMES): Undefine.
27645         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
27646         (__ASSUME_UTIMES): Do not define.
27647         (__ASSUME_O_CLOEXEC): Likewise.
27648         (__ASSUME_SOCK_CLOEXEC): Likewise.
27649         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
27650         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
27651         0x020621].
27652         (__ASSUME_PIPE2): Likewise.
27653         (__ASSUME_EVENTFD2): Likewise.
27654         (__ASSUME_SIGNALFD4): Likewise.
27655         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
27656         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
27657         Do not define.
27658         (__ASSUME_EVENTFD2): Likewise.
27659         (__ASSUME_SIGNALFD4): Likewise.
27660         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
27661         (__ASSUME_32BITUIDS): Likewise.
27662         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
27663         (__ASSUME_IPC64): Likewise.
27664         (__ASSUME_ST_INO_64_BIT): Likewise.
27665         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
27666         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
27667         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
27668         (__ASSUME_UTIMES): Do not define.
27669         (__ASSUME_PSELECT): Likewise.
27670         (__ASSUME_PPOLL): Likewise.
27671         (__ASSUME_O_CLOEXEC): Likewise.
27672         (__ASSUME_SOCK_CLOEXEC): Likewise.
27673         (__ASSUME_IN_NONBLOCK): Likewise.
27674         (__ASSUME_PIPE2): Likewise.
27675         (__ASSUME_EVENTFD2): Likewise.
27676         (__ASSUME_SIGNALFD4): Likewise.
27677         (__ASSUME_DUP3): Likewise.
27678         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
27679         (__ASSUME_UTIMES): Likewise.
27680         (__ASSUME_O_CLOEXEC): Likewise.
27681         (__ASSUME_SOCK_CLOEXEC): Likewise.
27682         (__ASSUME_IN_NONBLOCK): Likewise.
27683         (__ASSUME_PIPE2): Likewise.
27684         (__ASSUME_EVENTFD2): Likewise.
27685         (__ASSUME_SIGNALFD4): Likewise.
27686         (__ASSUME_DUP3): Likewise.
27687         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
27688         (__ASSUME_UTIMES): Likewise.
27689         (__ASSUME_O_CLOEXEC): Likewise.
27690         (__ASSUME_SOCK_CLOEXEC): Likewise.
27691         (__ASSUME_IN_NONBLOCK): Likewise.
27692         (__ASSUME_PIPE2): Likewise.
27693         (__ASSUME_EVENTFD2): Likewise.
27694         (__ASSUME_SIGNALFD4): Likewise.
27695         (__ASSUME_DUP3): Likewise.
27696         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
27697         Likewise.
27698         (__ASSUME_UTIMES): Likewise.
27699         (__ASSUME_EVENTFD2): Likewise.
27700         (__ASSUME_SIGNALFD4): Likewise.
27701         * sysdeps/unix/sysv/linux/tile/kernel-features.h
27702         (__ASSUME_O_CLOEXEC): Likewise.
27703         (__ASSUME_SOCK_CLOEXEC): Likewise.
27704         (__ASSUME_IN_NONBLOCK): Likewise.
27705         (__ASSUME_PIPE2): Likewise.
27706         (__ASSUME_EVENTFD2): Likewise.
27707         (__ASSUME_SIGNALFD4): Likewise.
27708         (__ASSUME_DUP3): Likewise.
27709         (__ASSUME_UTIMES): Undefine.
27711         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
27712         feclearexcept.  Remove symbol versioning code.
27713         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
27714         symbol versioning code.
27715         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
27716         symbol versioning code.
27717         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
27718         feupdateenv.  Remove symbol versioning code.
27719         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
27720         fegetexceptflag.  Remove symbol versioning code.
27721         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
27722         fesetexceptflag.  Remove symbol versioning code.
27723         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
27724         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
27725         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
27726         (__posix_fadvise64_l32): Remove prototype.
27727         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
27728         code.
27730 2014-05-13  Roland McGrath  <roland@hack.frob.com>
27732         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
27733         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
27734         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
27735         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
27737 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
27739         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
27740         current working directory
27742 2014-05-13  Roland McGrath  <roland@hack.frob.com>
27744         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
27745         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
27746         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
27747         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
27748         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
27749         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
27750         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
27751         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
27752         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
27753         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
27754         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
27755         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
27756         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
27757         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
27758         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
27759         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
27760         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
27761         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
27762         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
27763         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
27764         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
27765         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
27766         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
27767         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
27768         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
27769         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
27770         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
27771         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
27772         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
27773         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
27774         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
27775         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
27776         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
27777         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
27778         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
27779         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
27780         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
27781         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
27782         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
27783         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
27784         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
27785         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
27787         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
27788         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
27790         * sysdeps/unix/sysv/linux/arm/Makefile
27791         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
27792         Add rt-aeabi_unwind_cpp_pr1.
27793         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
27794         Add nptl-aeabi_unwind_cpp_pr1.
27795         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
27796         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
27797         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
27798         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
27799         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
27800         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
27802         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
27803         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
27804         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
27805         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
27807         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
27808         Deconditionalize the code that was previously under [RESET_PID].
27809         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
27811         * sysdeps/generic/exit-thread.h: New file.
27812         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
27813         * include/unistd.h (__exit_thread): Remove declaration.
27814         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
27815         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
27816         * csu/libc-start.c: Include <exit-thread.h>.
27817         (LIBC_START_MAIN): Pass no argument to __exit_thread.
27818         * nptl/pthread_create.c: Include <exit-thread.h>.
27819         (start_thread): Call __exit_thread in place of __exit_thread_inline.
27820         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
27821         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
27822         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
27823         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
27824         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
27825         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
27826         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
27827         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
27828         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
27829         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
27830         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
27831         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
27832         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
27833         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
27834         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
27835         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
27837 2014-05-13  Andreas Schwab  <schwab@suse.de>
27839         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
27841 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
27843         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
27844         (__ASSUME_UTIMES): Do not condition on kernel version.
27845         (__ASSUME_PSELECT): Define unconditionally.
27846         (__ASSUME_PPOLL): Likewise.
27847         (__ASSUME_ATFCTS): Likewise.
27848         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
27849         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
27850         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
27851         (__ASSUME_UTIMENSAT): Define unconditionally.
27852         (__ASSUME_PRIVATE_FUTEX): Likewise.
27853         (__ASSUME_FALLOCATE): Likewise.
27854         (__ASSUME_O_CLOEXEC): Likewise.
27855         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
27856         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
27857         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
27858         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
27859         (__ASSUME_IN_NONBLOCK): Likewise.
27860         (__ASSUME_PIPE2): Likewise.
27861         (__ASSUME_EVENTFD2): Likewise.
27862         (__ASSUME_SIGNALFD4): Likewise.
27863         (__ASSUME_DUP3): Likewise.
27864         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
27865         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
27866         (__ASSUME_AT_RANDOM): Likewise.
27867         (__ASSUME_PREADV): Likewise.
27868         (__ASSUME_PWRITEV): Likewise.
27869         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
27870         (__ASSUME_F_GETOWN_EX): Define unconditionally.
27871         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
27872         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
27873         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
27874         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
27875         (__ASSUME_O_CLOEXEC): Define unconditionally.
27876         (__ASSUME_PSELECT): Do not undefine conditionally.
27877         (__ASSUME_PPOLL): Likewise.
27878         (__ASSUME_ATFCTS): Likewise.
27879         (__ASSUME_SET_ROBUST_LIST): Likewise.
27880         (__ASSUME_UTIMENSAT): Likewise.
27881         (__ASSUME_FDATASYNC): Define unconditionally.
27882         * sysdeps/unix/sysv/linux/arm/kernel-features.h
27883         (__ASSUME_SIGFRAME_V2): Likewise.
27884         )__ASSUME_EVENTFD2): Likewise.
27885         (__ASSUME_SIGNALFD4): Likewise.
27886         (__ASSUME_PSELECT): Do not undefine conditionally.
27887         (__ASSUME_PPOLL): Likewise.
27888         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
27889         (__ASSUME_PSELECT): Define unconditionally.
27890         (__ASSUME_PPOLL): Likewise.
27891         (__ASSUME_O_CLOEXEC): Likewise.
27892         (__ASSUME_SOCK_CLOEXEC): Likewise.
27893         (__ASSUME_IN_NONBLOCK): Likewise.
27894         (__ASSUME_PIPE2): Likewise.
27895         (__ASSUME_EVENTFD2): Likewise.
27896         (__ASSUME_SIGNALFD4): Likewise.
27897         (__ASSUME_DUP3): Likewise.
27898         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
27899         (__ASSUME_O_CLOEXEC): Likewise.
27900         (__ASSUME_SOCK_CLOEXEC): Likewise.
27901         (__ASSUME_IN_NONBLOCK): Likewise.
27902         (__ASSUME_PIPE2): Likewise.
27903         (__ASSUME_EVENTFD2): Likewise.
27904         (__ASSUME_SIGNALFD4): Likewise.
27905         (__ASSUME_DUP3): Likewise.
27906         * sysdeps/unix/sysv/linux/mips/kernel-features.h
27907         (__ASSUME_EVENTFD2): Likewise.
27908         (__ASSUME_SIGNALFD4): Likewise.
27909         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
27911 2014-05-12  Andreas Schwab  <schwab@suse.de>
27913         [BZ #16932]
27914         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
27915         (_nss_nis_gethostbyname4_r): Return error if item length is larger
27916         than maximum RPC packet size.
27917         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
27918         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
27919         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
27920         (_nss_nis_getservbyport_r): Likewise.
27922 2014-05-12  Will Newton  <will.newton@linaro.org>
27924         * malloc/Makefile (tests): Add tst-mallopt.
27925         * malloc/tst-mallopt.c: New file.
27927 2014-05-09  Roland McGrath  <roland@hack.frob.com>
27929         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
27930         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
27932 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27934         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
27935         (tst-tlsmod6.so): Likewise.
27937 2014-05-09  Roland McGrath  <roland@hack.frob.com>
27939         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
27941 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
27943         [BZ #16064]
27944         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
27945         and <dl-procinfo.h>.
27946         (__fegetenv): Save SSE state in envp->__eip if supported.
27947         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
27948         envp->__eip if supported.
27949         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
27950         and <dl-procinfo.h>.
27951         (__fesetenv): Always set __eip, __cs_selector, __opcode,
27952         __data_offset and __data_selector in environment to 0.  Set SSE
27953         state if supported.
27954         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
27955         test-fenv-sse.
27956         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
27957         -mfpmath=sse.
27958         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
27960 2014-05-09  Will Newton  <will.newton@linaro.org>
27962         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
27963         and libc_relro_required for ARM.
27964         * sysdeps/arm/preconfigure: Regenerate.
27966 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
27967             Stefan Liebler  <stli@linux.vnet.ibm.com>
27969         * config.make.in (enable-lock-elision): New Makefile variable.
27970         * configure.ac: Likewise.
27971         * configure: Regenerate.
27972         * sysdeps/s390/configure.ac:
27973         Add check for gcc transactions support.
27974         * sysdeps/s390/configure: Regenerate.
27975         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
27976         Build elision files if enabled.
27977         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
27978         Add lock elision support for s390.
27979         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
27980         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
27981         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
27982         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
27983         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
27984         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
27985         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
27986         Likewise.
27987         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
27988         Likewise.
27989         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
27990         Likewise.
27991         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
27992         Likewise.
27993         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
27994         (__lll_timedlock_elision, __lll_lock_elision)
27995         (__lll_unlock_elision, __lll_trylock_elision)
27996         (lll_timedlock_elision, lll_lock_elision)
27997         (lll_unlock_elision, lll_trylock_elision): Add.
27998         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
27999         (pthread_mutex_t): Add lock elision support for s390.
28001 2014-05-14  Wilco  <wdijkstr@arm.com>
28003         * sysdeps/arm/fclrexcpt.c: Cleanup.
28004         * sysdeps/arm/fedisblxcpt.c: Cleanup.
28005         * sysdeps/arm/feenablxcpt.c: Cleanup.
28006         * sysdeps/arm/fegetenv.c: Cleanup.
28007         * sysdeps/arm/fegetexcept.c: Cleanup.
28008         * sysdeps/arm/fegetround.c: Cleanup.
28009         * sysdeps/arm/feholdexcpt.c: Cleanup.
28010         * sysdeps/arm/fesetenv.c: Cleanup.
28011         * sysdeps/arm/fesetround.c: Cleanup.
28012         * sysdeps/arm/feupdateenv.c: Cleanup.
28013         * sysdeps/arm/fgetexcptflg.c: Cleanup.
28014         * sysdeps/arm/fraiseexcpt.c: Cleanup.
28015         * sysdeps/arm/fsetexcptflg.c: Cleanup.
28016         * sysdeps/arm/ftestexcept.c: Cleanup.
28017         * sysdeps/arm/get-rounding-mode.h: Cleanup.
28018         * sysdeps/arm/setfpucw.c: Cleanup.
28020 2014-05-09  Will Newton  <will.newton@linaro.org>
28022         * sysdeps/arm/armv7/strcmp.S: New file.
28023         * NEWS: Mention addition of ARMv7 optimized strcmp.
28025 2014-05-08  Roland McGrath  <roland@hack.frob.com>
28027         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
28028         look for %.ac rather than %.in.
28030         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
28031         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
28032         * sysdeps/mach/hurd/configure: Regenerated.
28033         * sysdeps/unix/sysv/linux/configure: Regenerated.
28035         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
28037 2014-05-07  Steve Ellcey  <sellcey@mips.com>
28039         [BZ# 16922]
28040         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
28041         (LONG_SUB): Ditto.
28042         (PTR_SUB): Ditto.
28044 2014-05-07  Andreas Schwab  <schwab@suse.de>
28046         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
28047         when skipping over non-matching result from nscd.
28049 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
28051         [BZ #16876]
28052         * nptl/sockperf.c (client): Check socket return value.
28054         [BZ #16877]
28055         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
28056         nscd security class.
28058 2014-05-06  Roland McGrath  <roland@hack.frob.com>
28060         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
28061         * sysdeps/arm/unwind.h: ... here.
28063 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
28065         [BZ# 16916]
28066         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
28067         Define.
28069 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
28071         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
28072         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
28073         multiarch strncpy for PPC64.
28074         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
28075         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
28076         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
28077         multiarch optimizations.
28078         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
28079         (__libc_ifunc_impl_list): Likewise.
28080         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
28081         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
28082         multiarch stpncpy for PPC64.
28083         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
28084         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
28086 2014-05-06  Andreas Schwab  <schwab@suse.de>
28088         [BZ #16912]
28089         * gmon/mcount.c (_MCOUNT_DECL): Use
28090         atomic_compare_and_exchange_bool_acq instead of
28091         catomic_compare_and_exchange_bool_acq.
28093 2014-05-05  Roland McGrath  <roland@hack.frob.com>
28095         * elf/Makefile (others, install-bin): Remove pldd.
28096         (pldd-modules): Variable removed.
28097         ($(objpfx)pldd): Target removed.
28098         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
28099         (others, install-bin): Append pldd here.
28100         ($(objpfx)pldd): New target.
28102         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
28103         to 0, so the first #if test emitted later doesn't see it undefined.
28104         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
28105         * sysdeps/gnu/errlist.c: Regenerated.
28107 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28109         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
28110         [libc_hidden_builtin_def]: Define to empty value.
28111         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
28112         [libc_hidden_builtin_def]: Likewise.
28113         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
28114         [libc_hidden_builtin_def]: Likewise.
28115         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
28116         [libc_hidden_builtin_def]: Likewise.
28117         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
28118         __redirect_memcpy and define ifunc as default hidden symbol.
28119         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
28120         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
28122 2014-05-04  Adam Conrad  <adconrad@0c3.net>
28124         * locale/iso-4217.def: Reintroduce XDR currency.
28126 2014-05-04  Allan McRae  <allan@archlinux.org>
28128         * po/eo.po: Update Esperanto translation from translation project.
28130 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
28132         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
28133         and FEATURE_INDEX_MAX to 1.
28134         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
28136 2014-05-01  Steve Ellcey  <sellcey@mips.com>
28138         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
28139         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
28140         * iconvdata/big5.c (ONE_DIRECTION): Define.
28141         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
28142         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
28143         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
28144         * iconvdata/cp932.c (ONE_DIRECTION): Define.
28145         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
28146         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
28147         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
28148         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
28149         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
28150         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
28151         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
28152         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
28153         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
28154         * iconvdata/gbk.c (ONE_DIRECTION): Define.
28155         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
28156         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
28157         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
28158         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
28159         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
28160         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
28161         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
28162         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
28163         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
28164         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
28165         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
28166         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
28167         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
28168         * iconvdata/iso646.c (ONE_DIRECTION): Define.
28169         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
28170         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
28171         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
28172         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
28173         * iconvdata/johab.c (ONE_DIRECTION): Define.
28174         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
28175         * iconvdata/sjis.c (ONE_DIRECTION): Define.
28176         * iconvdata/t.61.c (ONE_DIRECTION): Define.
28177         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
28178         * iconvdata/tscii.c (ONE_DIRECTION): Define.
28179         * iconvdata/uhc.c (ONE_DIRECTION): Define.
28180         * iconvdata/unicode.c (ONE_DIRECTION): Define.
28181         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
28182         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
28183         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
28185 2014-05-01  Roland McGrath  <roland@hack.frob.com>
28187         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
28188         (_IO_JUMPS_OFFSET): Define to 0.
28190         * nptl/sysdeps/pthread/bits/libc-lock.h
28191         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
28192         (__libc_lock_define_initialized_recursive): Always define using
28193         initializer.  Modern compilers treat uninitialized (implicit zero) and
28194         explicit zero initializers the same (i.e. put the datum in bss).
28196 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
28198         * nscd/nscd-client.h: Include <string.h>.
28200 2014-05-01  David S. Miller  <davem@davemloft.net>
28202         [BZ #16885]
28203         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
28204         multiple zero bytes exist at the end of a string.
28205         Reported by Aurelien Jarno <aurelien@aurel32.net>
28207         * string/test-strcmp.c (check): Add explicit test for situations where
28208         there are multiple zero bytes after the first.
28210 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
28212         [BZ #16890]
28213         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
28214         when compiling wprintf.
28215         * stdio-common/tstdiomisc.c (t3): New function.
28216         (main): Call it.
28218 2014-05-01  Steve Ellcey  <sellcey@mips.com>
28220         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
28221         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
28222         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
28223         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
28225 2014-05-01  Steve Ellcey  <sellcey@mips.com>
28227         * stdlib/longlong.h: Updated from GCC.
28229 2014-05-01  Will Newton  <will.newton@linaro.org>
28230             Bernard Ogden  <bernie.ogden@linaro.org>
28232         * NEWS: Update fixed bug list.
28234         [BZ #15119]
28235         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
28237 2014-04-30  David S. Miller  <davem@davemloft.net>
28239         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
28240         (libc_feholdexcept_setround_sparc_ctx): New function.
28241         (libc_fesetenv_sparc_ctx): Likewise.
28242         (libc_feupdateenv_sparc_ctx): Likewise.
28243         (libc_feholdsetround_sparc_ctx): Likewise.
28244         (libc_feholdexcept_setround_ctx): Define.
28245         (libc_feholdexcept_setroundf_ctx): Likewise.
28246         (libc_feholdexcept_setroundl_ctx): Likewise.
28247         (libc_fesetenv_ctx): Likewise.
28248         (libc_fesetenvf_ctx): Likewise.
28249         (libc_fesetenvl_ctx): Likewise.
28250         (libc_feupdateenv_ctx): Likewise.
28251         (libc_feupdateenvf_ctx): Likewise.
28252         (libc_feupdateenvl_ctx): Likewise.
28253         (libc_feresetround_ctx): Likewise.
28254         (libc_feresetroundf_ctx): Likewise.
28255         (libc_feresetroundl_ctx): Likewise.
28256         (libc_feholdsetround_ctx): Likewise.
28257         (libc_feholdsetroundf_ctx): Likewise.
28258         (libc_feholdsetroundl_ctx): Likewise.
28260         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
28261         with __USE_GNU instead of XOPEN cpp guards.
28263         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
28264         0.
28266         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
28267         with XOPEN cpp guards.
28269 2014-04-30  Julian Brown  <julian@codesourcery.com>
28271         [BZ #16888]
28272         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
28273         handling.
28275 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
28277         [BZ #9894]
28278         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
28279         Change to 2.6.32.
28280         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
28281         * sysdeps/unix/sysv/linux/configure: Regenerated.
28282         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
28283         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
28284         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
28285         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
28286         * README: Update reference to required Linux kernel version.
28287         * manual/install.texi (Linux): Update reference to required Linux
28288         kernel headers version.
28289         * INSTALL: Regenerated.
28291         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
28292         header inclusion.
28293         [POSIX] (limits.h): Likewise.
28294         [POSIX] (math.h): Likewise.
28295         [POSIX] (sys/wait.h): Likewise.
28296         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
28297         function.
28298         [POSIX] (stddef.h): Do not allow header inclusion.
28300 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28302         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
28304 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
28306         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
28307         Return immediately after lll_futex_wake.
28309 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
28311         [BZ #16791]
28312         * nscd/nscd-client.h (datahead_init_common): Initialize entire
28313         structure.
28314         (datahead_init_pos): Call datahead_init_common early.
28315         (datahead_init_neg): Likewise.
28317         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
28318         datahead_init_neg): New functions.
28319         * nscd/aicache.c (addhstaiX): Use them.
28320         * nscd/grpcache.c (cache_addgr): Likewise.
28321         * nscd/hstcache.c (cache_addhst): Likewise.
28322         * nscd/initgrcache.c (addinitgroupsX): Likewise.
28323         * nscd/netgroupcache.c (do_notfound): Likewise.
28324         (addgetnetgrentX): Likewise.
28325         (addinnetgrX): Likewise.
28326         * nscd/pwdcache.c (cache_addpw): Likewise.
28327         * nscd/servicescache.c (cache_addserv): Likewise.
28329 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
28330             Atsushi Onoe  <atsushi@onoe.org>
28332         [BZ #14308]
28333         [BZ #12994]
28334         [BZ #13651]
28335         * resolv/res_query.c (__libc_res_nsearch): Return if at least
28336         one response is valid.
28337         * resolv/res_send.c (send_dg): Check for validity of other
28338         response if the current response is a referral.
28340 2014-04-29  Steve Ellcey  <sellcey@mips.com>
28342         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
28344 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
28346         [BZ #16823]
28347         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
28348         Always divide by positive zero when computing -Inf result.
28349         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
28350         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
28352 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28354         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
28355         FPSCR if value do not change.
28356         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
28357         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
28358         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
28359         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
28360         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
28361         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
28362         function.
28364 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
28366         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
28367         * sysdeps/unix/sysv/linux/hppa: Move directory from
28368         ports/systeps/unix/sysv/linux/hppa.
28369         * README: Update listing for hppa-*-linux-gnu.
28371 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
28373         [BZ #16754]
28374         * manual/stdio.texi (Hook functions): Fix types of stream hook
28375         functions.
28376         [BZ #16854]
28377         * socket/sys/socket.h: Fix typo in comment.
28379 2014-04-28  Wilco  <wdijkstr@arm.com>
28381         * sysdeps/arm/fenv_private.h: New file.
28382         * sysdeps/arm/math_private.h: New file.
28383         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
28385 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
28387         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
28388         with __int128_t.
28389         (La_x86_64_retval): Likewise.
28391 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
28393         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
28394         fpsr if value didn't change.
28395         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
28396         to fpcr if value didn't change.
28397         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
28398         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
28399         fpsr or fpcr if value didn't change.
28400         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
28401         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
28402         fpcr if value didn't change.
28403         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
28404         to fpsr if value didn't change.
28406 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
28408         * nptl/tst-sem3.c: Use test-skeleton.c
28409         (main): Rename to do_test.  Use return instead of
28410         exit.
28411         * nptl/tst-sem4.c: Use test-skeleton.c
28412         (main): Rename to do_test.
28414 2014-04-22  David S. Miller  <davem@davemloft.net>
28416         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
28417         (struct sigaction): New struct member __glibc_reserved0, change
28418         type of sa_flags to int.
28420 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
28422         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
28423         (COUNT_LEADING_ZEROS_0): Define for AArch64.
28425 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
28427         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
28428         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
28430 2014-04-22  Will Newton  <will.newton@linaro.org>
28431             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
28433         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
28434         (__longjmp): Add longjmp and longjmp_target SystemTap
28435         probes.
28436         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
28437         (__sigsetjmp): Add setjmp SystemTap probe.
28439 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
28441         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
28442         match manual order.
28444 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28446         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
28448         * sysdeps/powerpc/fpu/fenv_private.h
28449         (libc_feholdexcept_setroundl_ctx): Define to
28450         libc_feholdexcept_setround_ppc_ctx.
28451         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
28452         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
28453         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
28454         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
28456 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
28458         * sysdeps/aarch64/math-tests.h: New file.
28460 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
28462         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
28463         New.
28464         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28465         Check and set bit_AVX2_Usable.
28466         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
28467         macro.
28468         (bit_AVX2): Likewise.
28469         (index_AVX2_Usable): Likewise.
28470         (CPUID_AVX2): Likewise.
28471         (HAS_AVX2): Likewise.
28473 2014-04-17  Will Newton  <will.newton@linaro.org>
28475         * manual/setjmp.texi (System V contexts): Add note that
28476         calling setcontext on a context created by a call to a
28477         signal handler is undefined.  Update text to note that
28478         setcontext from a signal handler is possible but not
28479         recommended.
28481         [BZ #16629]
28482         * stdlib/tst-setcontext.c: Include signal.h.
28483         (main): Check that the signal stack before and
28484         after swapcontext is the same.
28486         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
28487         Re-implement to restore registers in user code and avoid
28488         rt_sigreturn system call.
28490 2014-04-17  Wilco  <wdijkstr@arm.com>
28492         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
28493         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
28494         * math/test-fenv.c: Skip exception trap tests on targets which only
28495         support non-stop mode.
28497 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
28498             Wilco Dijkstra  <wilco.dijkstra@arm.com>
28500         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
28501         (libc_feholdsetround_aarch64_ctx)
28502         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
28503         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
28504         (libc_feresetround_ctx, libc_feresetroundf_ctx)
28505         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
28506         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
28507         (libc_feresetround_noexl_ctx): Define.
28509 2014-04-16  Richard Henderson  <rth@redhat.com>
28511         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
28513         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
28514         unwind tables.
28516         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
28517         const from the non-libc, non-ldso copy.
28519         * sysdeps/alpha/libm-test-ulps: Regenerate.
28521 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
28522             Wilco Dijkstra  <wilco.dijkstra@arm.com>
28524         * sysdeps/aarch64/fpu/math_private.h: New file.
28526 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
28528         * sysdeps/aarch64/libm-test-ulps: Regenerate.
28530 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
28532         [BZ #16275]
28533         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
28534         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
28535         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
28536         Intel MPX bound registers before _dl_profile_fixup.
28537         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
28538         registers after _dl_profile_fixup.  Save and restore bound
28539         registers bnd0/bnd1 when calling _dl_call_pltexit.
28540         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
28541         (LR_BND_OFFSET): Likewise.
28542         (LRV_BND0_OFFSET): Likewise.
28543         (LRV_BND1_OFFSET): Likewise.
28545 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28547         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
28548         to...
28549         * sysdeps/mach/hurd/i386/tls.h: ... here.
28550         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
28551         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
28552         fields.
28554 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28556         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
28558 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
28560         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
28562 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
28564         [BZ #14770]
28565         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
28566         * sysdeps/s390/configure: Regenerate.
28568         [BZ #16824]
28569         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
28570         Set round-to-nearest internally to reduce error accumulation.
28572 2014-04-16  Alan Modra  <amodra@gmail.com>
28574         [BZ #16740]
28575         [BZ #16619]
28576         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
28577         * math/libm-test.inc (frexp_test_data): Add tests.
28578         * NEWS: Update fixed bug list.
28580 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
28582         * benchtests/Makefile: Depend on libraries in build directory.
28583         (bench-math): Separate out math tests.
28584         (bench-pthread): Separate out pthread tests.
28585         (bench): Include math and pthread tests.
28587 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
28589         [BZ #16831]
28590         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
28591         _dl_debug_initialize.
28593         * configure.ac: Remove SELinux header check.
28594         * configure: Regenerate.
28595         * nscd/selinux.c (perms): Array of const char* to permission names.
28596         (nscd_request_avc_has_perm): Call security_deny_unknown to find
28597         default policy. Call string_to_security_class and string_to_av_perm to
28598         translate strings. Enforce default policy and call avs_has_perm with
28599         results of translated strings.
28601 2014-04-13  David S. Miller  <davem@davemloft.net>
28603         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28605 2014-04-12  Allan McRae  <allan@archlinux.org>
28607         [BZ #16838]
28608         * manual/string.texi (Collation Functions): Fix qsort argument
28609         order in example.
28610         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
28612 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
28614         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
28615         Make the test a no-op if there are no exceptions defined.
28617 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
28619         * elf/Makefile (tests): make tst-dlopen-aout conditional on
28620         enable-hardcoded-path-in-tests
28622 2014-04-11  Will Newton  <will.newton@linaro.org>
28624         * benchtests/Makefile (extra-objs): Add json-lib.o.
28625         (bench-func): Tidy up JSON output.
28626         * benchtests/bench-skeleton.c: Include json-lib.h.
28627         (main): Use JSON library functions to do output of
28628         benchmark results.
28629         * benchtests/bench-timing-type.c (main): Output the
28630         timing type simply, leaving formatting to the user.
28631         * benchtests/json-lib.c: New file.
28632         * benchtests/json-lib.h: Likewise.
28634 2014-04-11  Torvald Riegel  <triegel@redhat.com>
28636         [BZ #15215]
28637         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
28638         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
28639         memory barriers.  Add comments.
28640         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
28641         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
28642         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
28643         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
28644         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
28645         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
28647 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
28649         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
28650         * sysdeps/s390/s390-64/configure.ac: ... this ...
28651         * sysdeps/s390/configure.ac: ... to here.
28652         * sysdeps/s390/s390-32/configure: Delete file.
28653         * sysdeps/s390/s390-64/configure: Delete file.
28654         * sysdeps/s390/configure: Regenerate.
28656 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
28658         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
28660 2014-04-11  Will Newton  <will.newton@linaro.org>
28662         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
28663         to zero if it is not defined elsewhere.  (mtrim): Test
28664         the value of MALLOC_DEBUG with #if rather than #ifdef.
28666 2014-04-10 Torvald Riegel  <triegel@redhat.com>
28668         * benchtests/pthread_once-inputs: New file.
28669         * benchtests/pthread_once-source.c: New file.
28670         * benchtests/README: Update documentation.
28672 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
28673             H.J. Lu  <hongjiu.lu@intel.com>
28675         [BZ #16275]
28676         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
28677         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
28678         * sysdeps/x86_64/configure: Regenerated.
28679         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
28680         macro.
28681         (REGISTER_SAVE_RAX): Likewise.
28682         (REGISTER_SAVE_RCX): Likewise.
28683         (REGISTER_SAVE_RDX): Likewise.
28684         (REGISTER_SAVE_RSI): Likewise.
28685         (REGISTER_SAVE_RDI): Likewise.
28686         (REGISTER_SAVE_R8): Likewise.
28687         (REGISTER_SAVE_R9): Likewise.
28688         (REGISTER_SAVE_BND0): Likewise.
28689         (REGISTER_SAVE_BND1): Likewise.
28690         (REGISTER_SAVE_BND2): Likewise.
28691         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
28692         bound registers when calling _dl_fixup.
28694 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28696         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
28697         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
28698         of its definition.
28699         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
28700         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
28701         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
28702         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
28703         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
28704         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
28705         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
28707 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
28709         [BZ #15514]
28710         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
28711         pathconf(_PC_NAME_MAX).
28713 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28715         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
28716         Remove macro usage.
28717         (__PTHREAD_SPINS): Move definition to ...
28718         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
28719         (__PTHREAD_SPINS): ... here.
28720         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
28721         (__PTHREAD_SPIN): Likewise.
28722         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
28723         (__PTHREAD_SPIN): Likewise.
28724         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
28725         (__PTHREAD_SPIN): Likewise.
28726         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
28727         (__PTHREAD_SPIN): Likewise.
28728         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
28729         (__PTHREAD_SPIN): Likewise.
28730         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
28731         (__PTHREAD_SPIN): Likewise.
28732         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
28733         (__PTHREAD_SPIN): Likewise.
28734         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
28735         (__PTHREAD_SPIN): Likewise.
28736         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
28737         (__PTHREAD_SPIN): Likewise.
28738         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
28739         (__PTHREAD_SPIN): Likewise.
28740         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
28741         (__PTHREAD_SPIN): Likewise.
28742         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
28743         (__PTHREAD_SPIN): Likewise.
28745         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
28746         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
28747         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
28748         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
28749         imply folder.
28750         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
28751         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
28752         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
28753         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
28754         correct imply path.
28755         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
28756         strlen symbol for non multi-arch builds.
28757         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
28758         missing hidden_def and weak_alias.
28760 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
28762         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
28764 2014-04-07  Will Newton  <will.newton@linaro.org>
28766         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
28767         and contents.  [!_LIBC] Remove #ifndef and contents.
28768         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
28769         * string/memccpy.c (__memccpy): Use ANSI prototype.
28770         * string/memfrob.c (memfrob): Likewise.
28771         * string/strcoll.c (STRCOLL): Likewise.
28772         * string/strlen.c (strlen): Likewise.
28773         * string/strtok.c (STRTOK): Likewise.
28774         * string/strcat.c: Remove unused #include of memcopy.h.
28775         (strcat): Use ANSI prototype.
28776         * string/strchr.c: Remove unused #include of memcopy.h.
28777         (strchr): Use ANSI prototype.
28778         * string/strcmp.c: Remove unused #include of memcopy.h.
28779         (strcmp): Use ANSI prototype.
28780         * string/strcpy.c: Remove unused #include of memcopy.h.
28781         (strcpy): Use ANSI prototype.
28783 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28785         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
28786         * config.make.in (config-extra-cppflags): Set it from
28787         libc_extra_cppflags.
28788         * configure.ac (libc_extra_cflags): Make it accumulate over
28789         configure fragments.
28790         (libc_extra_cppflags): New flag.
28791         * configure. Regenerate.
28792         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
28793         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
28794         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
28795         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
28797         [BZ #16815]
28798         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
28799         result for FE_DOWNWARD rounding mode.
28800         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
28801         Likewise.
28802         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28804 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
28806         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
28807         in function argument name.
28809 2014-04-03  David Svoboda  <svoboda@cert.org>
28811         [BZ #5666]
28812         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
28813         explicitly.
28815 2014-04-03  Roland McGrath  <roland@hack.frob.com>
28817         * elf/dl-unmap-segments.h: New file.
28818         * sysdeps/generic/ldsodefs.h
28819         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
28820         * elf/dl-close.c: Include <dl-unmap-segments.h>.
28821         * elf/dl-fptr.c: Likewise.
28822         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
28823         * sysdeps/aarch64/tlsdesc.c: Likewise.
28824         * sysdeps/arm/tlsdesc.c: Likewise.
28825         * sysdeps/i386/tlsdesc.c: Likewise.
28826         * sysdeps/tile/dl-runtime.c: Likewise.
28827         * sysdeps/x86_64/tlsdesc.c: Likewise.
28828         * elf/dl-load.h: New file.
28829         * elf/dl-load.c: Include it.
28830         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
28831         Macros moved to dl-load.h.
28832         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
28833         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
28834         Use _dl_unmap_segments in place of __munmap.
28835         Break out segment-mapping loop into ...
28836         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
28838 2014-04-03  Will Newton  <will.newton@linaro.org>
28840         * elf/dl-lookup.c (do_lookup_x): Remove comment
28841         referring to nested function and move variable
28842         declarations down to before first use.
28844 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
28846         [BZ #16799]
28847         [BZ #16800]
28848         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
28849         with 0 numerator.
28850         * math/s_catanf.c (__catanf): Likewise.
28851         * math/s_catanh.c (__catanh): Likewise.
28852         * math/s_catanhf.c (__catanhf): Likewise.
28853         * math/s_catanhl.c (__catanhl): Likewise.
28854         * math/s_catanl.c (__catanl): Likewise.
28855         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
28856         by positive zero when computing -Inf result.
28857         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
28858         (catanh_test): Likewise.
28859         * sysdeps/i386/fpu/libm-test-ulps: Update.
28860         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28862         [BZ #16789]
28863         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
28864         instead of using underflowing value in computing result.
28865         * math/s_clog10.c (__clog10): Likewise.
28866         * math/s_clog10f.c (__clog10f): Likewise.
28867         * math/s_clog10l.c (__clog10l): Likewise.
28868         * math/s_clogf.c (__clogf): Likewise.
28869         * math/s_clogl.c (__clogl): Likewise.
28870         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
28871         (clog10_test): Likewise.
28872         * sysdeps/i386/fpu/libm-test-ulps: Update.
28873         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28875 2014-04-02  Alan Modra  <amodra@gmail.com>
28877         [BZ #16739]
28878         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
28879         output when value is near a power of two.  Use int64_t for lx and
28880         remove casts.  Use decimal rather than hex exponent constants.
28881         Don't use long double multiplication when double will suffice.
28882         * math/libm-test.inc (nextafter_test_data): Add tests.
28883         * NEWS: Add 16739 and 16786 to bug list.
28885         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
28887         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
28889 2014-04-01  Will Newton  <will.newton@linaro.org>
28891         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
28892         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
28894 2014-04-01  Florian Weimer  <fweimer@redhat.com>
28896         [BZ #13347]
28897         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
28898         * nptl/tst-setuid2.c: New file.
28899         * nptl/Makefile (xtests): Add tst-setuid2.
28901 2014-04-01  Alan Modra  <amodra@gmail.com>
28903         [BZ #16786]
28904         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
28906 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
28908         [BZ #6803]
28909         [BZ #6804]
28910         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
28911         set errno as appropriate.
28912         * math/w_scalbf.c (__scalbf): Likewise.
28913         * math/w_scalbl.c (__scalbl): Likewise.
28914         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
28915         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
28916         * math/libm-test.inc (scalb_test_data): Add errno expectations.
28917         Add more NaN tests.
28919         [BZ #16349]
28920         * math/w_atan2.c: Include <errno.h>.
28921         (__atan2): Set errno for result underflowing to zero.
28922         * math/w_atan2f.c: Include <errno.h>.
28923         (__atan2f): Set errno for result underflowing to zero.
28924         * math/w_atan2l.c: Include <errno.h>.
28925         (__atan2l): Set errno for result underflowing to zero.
28926         * math/auto-libm-test-in: Don't allow missing errno for some atan2
28927         tests.
28928         * math/auto-libm-test-out: Regenerated.
28930 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28932         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
28933         Encode instruction correctly in little endian.
28934         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
28935         Likewise.
28936         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
28937         Likewise.
28938         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
28939         Likewise.
28940         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
28941         Likewise.
28943 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
28945         [BZ #9894]
28946         * sysdeps/unix/sysv/linux/kernel-features.h
28947         [__sparc__ && !__arch64__ && !__sparc_v9__]
28948         (__ASSUME_SET_ROBUST_LIST): Do not define.
28949         [__sparc__ && !__arch64__ && !__sparc_v9__]
28950         (__ASSUME_FUTEX_LOCK_PI): Likewise.
28951         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
28952         Likewise.
28953         * sysdeps/unix/sysv/linux/arm/kernel-features.h
28954         (__ASSUME_FUTEX_LOCK_PI): Undefine.
28955         (__ASSUME_REQUEUE_PI): Likewise.
28956         (__ASSUME_SET_ROBUST_LIST): Likewise.
28957         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
28958         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
28959         Undefine.
28960         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
28961         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
28962         Likewise.
28963         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
28964         Likewise.
28965         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
28966         Likewise.
28967         * sysdeps/unix/sysv/linux/mips/kernel-features.h
28968         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
28969         Undefine.
28970         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
28971         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
28972         Likewise.
28974         [BZ #16648]
28975         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
28976         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
28977         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
28979 2014-03-31  Will Newton  <will.newton@linaro.org>
28981         * benchtests/Makefile (bench): Add ffs and ffsll to list
28982         of tests.
28983         * benchtests/ffs-inputs: New file.
28984         * benchtests/ffsll-inputs: Likewise.
28986 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
28988         [BZ #16770]
28989         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
28990         too large before casting to int.
28991         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
28992         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
28993         * math/libm-test.inc (scalb_test_data): Add more tests.
28995 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
28997         * benchtests/Makefile (DETAILED_OPT): New make option.
28998         (bench-func): Run benchmark program with -d if DETAILED_OPT is
28999         set.
29000         * benchtests/bench-skeleton.c: Include stdbool.h.
29001         (main): Store and print timings per input.
29002         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
29003         member to each argument value.
29004         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
29005         (_print_arg_data): Initialize per-input timing to 0.
29007         * benchtests/Makefile (timing-type): New binary.
29008         (bench-clean): Also remove bench-timing-type.
29009         (bench): New target for timing-type.
29010         (bench-func): Print output in JSON format.
29011         * benchtests/bench-skeleton.c (main): Print output in JSON
29012         format.
29013         * benchtests/bench-timing-type.c: New file.
29014         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
29015         (TIMING_PRINT_STATS): Remove.
29016         * benchtests/scripts/bench.py (_print_arg_data): Store variant
29017         name separately.
29019         * benchtests/bench-modf.c: Remove.
29020         * benchtests/modf-inputs: New inputs file.
29022 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
29024         [BZ #16362]
29025         * math/s_clog10.c (M_PI_LOG10E): New macro.
29026         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
29027         imaginary parts are 0.
29028         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
29029         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
29030         imaginary parts are 0.
29031         * math/s_clog10l.c (M_PI_LOG10El): New macro.
29032         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
29033         imaginary parts are 0.
29034         * math/libm-test.inc (clog10_test_data): Update expected results
29035         for when real and imaginary parts are 0.
29037 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
29039         * elf/dl-load.c: Finish conversion of __builtin_expect into
29040         __glibc_{un}likely.
29042 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
29044         [BZ #16348]
29045         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
29046         1+x for argument with exponent below -67.
29047         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
29048         Likewise.
29049         * math/auto-libm-test-in: Add more tests of exp.
29050         * math/auto-libm-test-out: Regenerated.
29052 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
29054         [BZ #16759]
29055         * inet/getnetgrent_r.c (get_nonempty_val): New function.
29056         (nscd_getnetgrent): Use it.
29058         [BZ #16760]
29059         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
29060         of stpcpy.
29062 2014-03-27  Andi Kleen  <ak@linux.intel.com>
29064         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
29065         (lll_robust_lock, lll_cond_lock, lll_timedlock)
29066         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
29067         (lll_robust_unlock): Remove out of line section. Use cfi
29068         intrinsics.
29069         (LLL_STUB_UNWIND_INFO*): Remove.
29070         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
29071         (lll_robust_lock, lll_cond_lock, lll_timedlock)
29072         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
29073         (lll_robust_unlock): Remove out of line section. Use cfi
29074         intrinsics.
29075         (LLL_STUB_UNWIND_INFO*): Remove.
29077 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
29079         [BZ #16758]
29080         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
29081         blank values.
29083 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
29085         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
29087 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
29089         [BZ #16198]
29090         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
29091         fnstenv.
29092         * math/test-fenv-preserve.c: New file.
29093         * math/Makefile (tests): Add test-fenv-preserve.
29095 2014-03-26  Will Newton <will.newton@linaro.org>
29097         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
29099 2014-03-25  Roland McGrath  <roland@hack.frob.com>
29101         * scripts/versionlist.awk: Partition the version sets and emit all
29102         GLIBC_* (sorted) before all others (sorted).
29104 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
29106         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
29107         GLIBC_2.2.5 version.
29109 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29111         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
29112         calls.
29114         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
29115         previous change.
29117         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29119 2014-03-25  Andreas Schwab  <schwab@suse.de>
29121         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
29122         label to be used after in6ailist is initialized.
29124 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29126         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
29127         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
29129 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
29131         [BZ #16357]
29132         [BZ #16599]
29133         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
29134         min_plus_half.
29135         (fp_formats): Update initializers.
29136         (init_fp_formats): Initialize new field.
29137         (output_for_one_input_case): Allow underflow for results up to
29138         min_plus_half.
29139         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
29140         * math/auto-libm-test-in: Don't mark some underflows from asin and
29141         atanh as spurious.
29142         * math/auto-libm-test-out: Regenerated.
29143         * sysdeps/i386/fpu/libm-test-ulps: Update.
29144         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29146 2014-03-25  Andreas Schwab  <schwab@suse.de>
29148         * libio/Makefile (tst-ftell-partial-wide-ENV)
29149         (tst-ftell-active-handler-ENV): Define.
29151 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
29153         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
29155 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
29157         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
29159 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
29161         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
29162         * sysdeps/x86_64/fpu/multiarch/e_exp.c
29163         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
29165 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
29167         [BZ #16634]
29168         * elf/dl-load.c (open_verify): Add mode parameter.
29169         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
29170         (open_path): Change from boolean 'secure' to complete flag 'mode'
29171         (_dl_map_object): Adjust.
29172         * elf/Makefile (tests): Add tst-dlopen-aout.
29173         * elf/tst-dlopen-aout.c: New test.
29175 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
29177         [BZ #16714]
29178         * sysdeps/unix/sysv/linux/s390/bits/stat.h
29179         (struct stat): Rename member pad0 to __glibc_reserved0.
29181         [BZ #16712]
29182         * sysdeps/s390/s390-32/bits/wordsize.h
29183         (__WORDSIZE32_SIZE_ULONG): New define.
29184         * sysdeps/s390/s390-64/bits/wordsize.h
29185         (__WORDSIZE32_SIZE_ULONG): Likewise.
29186         * sysdeps/generic/stdint.h (SIZE_MAX):
29187         Define as UL if __WORDSIZE32_SIZE_ULONG.
29189         [BZ #16713]
29190         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
29191         (__glibc_reserved0): New variable.
29192         (sa_flags): Change type to int.
29194         * posix/Makefile (before-compile): Use += before-compile instead
29195         of a :=.
29197         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
29198         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
29200 2014-03-20  Andreas Schwab  <schwab@suse.de>
29202         [BZ #16743]
29203         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
29204         non-matching result from nscd.
29206 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
29208         * scripts/bench.py: Moved to ...
29209         * benchtests/scripts/bench.py: ... here.
29210         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
29212 2014-03-24  Andreas Schwab  <schwab@suse.de>
29214         [BZ #16002]
29215         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
29216         alloca_account and account alloca use for struct in6ailist.
29218 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
29220         [BZ #16284]
29221         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
29222         rounding mode to recompute results that overflow to infinity or
29223         underflow to zero.
29224         * math/auto-libm-test-in: Don't mark tests as expected to fail for
29225         bug 16284.
29226         * math/auto-libm-test-out: Regenerated.
29227         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
29228         (ccosh_test): Likewise.
29229         (csin_test_data): Use plus_oflow.
29230         (csin_test): Use ALL_RM_TEST.
29231         (csinh_test_data): Use plus_oflow.
29232         (csinh_test): Use ALL_RM_TEST.
29233         * sysdeps/i386/fpu/libm-test-ulps: Update.
29234         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29236 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
29238         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
29239         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
29240         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
29242         [BZ #16731]
29243         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
29244         when x - 1 is zero.
29245         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
29246         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
29247         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
29248         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
29249         argument is 1.
29250         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
29251         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
29252         zero.
29253         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
29254         * sysdeps/i386/fpu/libm-test-ulps: Update.
29255         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29257 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
29259         * scripts/bench.pl: Remove file.
29260         * scripts/bench.py: New benchmark script.
29261         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
29262         * benchtests/README: Mention python dependency.
29263         * scripts/pylintrc: New file.
29264         * scripts/pylint: New file.
29266         * bits/mathdef.h: Use #ifdef instead of #if.
29267         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
29268         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
29269         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
29270         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
29271         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
29272         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
29274 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29275             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
29277         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
29278         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
29279         and strpbrk-ppc64 objects.
29280         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29281         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
29282         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
29283         multiarch strpbrk for POWER7.
29284         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
29285         multiarch strpbrk for PPC64.
29286         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
29287         ifunc selector.
29288         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
29289         strpbrk for POWER7.
29291 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
29293         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
29294         (atan_test): Likewise.
29295         (atanh_test_data): Use NO_TEST_INLINE for two tests.
29296         (atanh_test): Use ALL_RM_TEST.
29297         (atan2_test_data): Likewise.
29298         (cabs_test): Likewise.
29299         (cacosh_test): Likewise.
29300         (carg_test): Likewise.
29301         (casin_test): Likewise.
29302         (casinh_test): Likewise.
29303         (cbrt_test): Likewise.
29304         (csqrt_test): Likewise.
29305         (erf_test): Likewise.
29306         (erfc_test): Likewise.
29307         (pow10_test): Likewise.
29308         (exp2_test): Likewise.
29309         (hypot_test): Likewise.
29310         (j0_test): Likewise.
29311         (j1_test): Likewise.
29312         (lgamma_test): Likewise.
29313         (gamma_test): Likewise.
29314         (sincos_test): Likewise.
29315         (tanh_test): Likewise.
29316         (y0_test): Likewise.
29317         (y1_test): Likewise.
29318         * sysdeps/i386/fpu/libm-test-ulps: Update.
29319         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29321 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29323         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
29324         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
29325         and strcspn-ppc64 objects.
29326         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29327         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
29328         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
29329         multiarch strcspn for POWER7.
29330         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
29331         multiarch strcspn for PPC64.
29332         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
29333         ifunc selector.
29334         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
29335         strcspn for POWER7.
29337 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
29339         * math/gen-libm-test.pl (generate_testfile): Expect only function
29340         name as argument to AUTO_TESTS_* and pass results for all rounding
29341         modes to parse_args.
29342         (parse_auto_input): Separate inputs of automatic tests from
29343         outputs before storing in %auto_tests.
29344         * math/libm-test.inc (acos_test_data): Update call to
29345         AUTO_TESTS_f_f.
29346         (acos_test): Use ALL_RM_TEST.
29347         (acos_tonearest_test_data): Remove.
29348         (acos_test_tonearest): Likewise.
29349         (acos_towardzero_test_data): Likewise.
29350         (acos_test_towardzero): Likewise.
29351         (acos_downward_test_data): Likewise.
29352         (acos_test_downward): Likewise.
29353         (acos_upward_test_data): Likewise.
29354         (acos_test_upward): Likewise.
29355         (acosh_test_data): Update call to AUTO_TESTS_f_f.
29356         (asin_test_data): Likewise.
29357         (asin_test): Use ALL_RM_TEST.
29358         (asin_tonearest_test_data): Remove.
29359         (asin_test_tonearest): Likewise.
29360         (asin_towardzero_test_data): Likewise.
29361         (asin_test_towardzero): Likewise.
29362         (asin_downward_test_data): Likewise.
29363         (asin_test_downward): Likewise.
29364         (asin_upward_test_data): Likewise.
29365         (asin_test_upward): Likewise.
29366         (asinh_test_data): Update call to AUTO_TESTS_f_f.
29367         (atan_test_data): Likewise.
29368         (atanh_test_data): Likewise.
29369         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
29370         (cabs_test_data): Update call to AUTO_TESTS_c_f.
29371         (carg_test_data): Likewise.
29372         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
29373         (ccos_test_data): Update call to AUTO_TESTS_c_c.
29374         (ccosh_test_data): Likewise.
29375         (cexp_test_data): Likewise.
29376         (clog_test_data): Likewise.
29377         (clog10_test_data): Likewise.
29378         (cos_test_data): Update call to AUTO_TESTS_f_f.
29379         (cos_test): Use ALL_RM_TEST.
29380         (cos_tonearest_test_data): Remove.
29381         (cos_test_tonearest): Likewise.
29382         (cos_towardzero_test_data): Likewise.
29383         (cos_test_towardzero): Likewise.
29384         (cos_downward_test_data): Likewise.
29385         (cos_test_downward): Likewise.
29386         (cos_upward_test_data): Likewise.
29387         (cos_test_upward): Likewise.
29388         (cosh_test_data): Update call to AUTO_TESTS_f_f.
29389         (cosh_test): Use ALL_RM_TEST.
29390         (cosh_tonearest_test_data): Remove.
29391         (cosh_test_tonearest): Likewise.
29392         (cosh_towardzero_test_data): Likewise.
29393         (cosh_test_towardzero): Likewise.
29394         (cosh_downward_test_data): Likewise.
29395         (cosh_test_downward): Likewise.
29396         (cosh_upward_test_data): Likewise.
29397         (cosh_test_upward): Likewise.
29398         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
29399         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
29400         (ctan_test_data): Likewise.
29401         (ctan_test): Use ALL_RM_TEST.
29402         (ctan_tonearest_test_data): Remove.
29403         (ctan_test_tonearest): Likewise.
29404         (ctan_towardzero_test_data): Likewise.
29405         (ctan_test_towardzero): Likewise.
29406         (ctan_downward_test_data): Likewise.
29407         (ctan_test_downward): Likewise.
29408         (ctan_upward_test_data): Likewise.
29409         (ctan_test_upward): Likewise.
29410         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
29411         (ctanh_test): Use ALL_RM_TEST.
29412         (ctanh_tonearest_test_data): Remove.
29413         (ctanh_test_tonearest): Likewise.
29414         (ctanh_towardzero_test_data): Likewise.
29415         (ctanh_test_towardzero): Likewise.
29416         (ctanh_downward_test_data): Likewise.
29417         (ctanh_test_downward): Likewise.
29418         (ctanh_upward_test_data): Likewise.
29419         (ctanh_test_upward): Likewise.
29420         (erf_test_data): Update call to AUTO_TESTS_f_f.
29421         (erfc_test_data): Likewise.
29422         (exp_test_data): Likewise.
29423         (exp_test): Use ALL_RM_TEST.
29424         (exp_tonearest_test_data): Remove.
29425         (exp_test_tonearest): Likewise.
29426         (exp_towardzero_test_data): Likewise.
29427         (exp_test_towardzero): Likewise.
29428         (exp_downward_test_data): Likewise.
29429         (exp_test_downward): Likewise.
29430         (exp_upward_test_data): Likewise.
29431         (exp_test_upward): Likewise.
29432         (exp10_test_data): Update call to AUTO_TESTS_f_f.
29433         (exp10_test): Use ALL_RM_TEST.
29434         (exp10_tonearest_test_data): Remove.
29435         (exp10_test_tonearest): Likewise.
29436         (exp10_towardzero_test_data): Likewise.
29437         (exp10_test_towardzero): Likewise.
29438         (exp10_downward_test_data): Likewise.
29439         (exp10_test_downward): Likewise.
29440         (exp10_upward_test_data): Likewise.
29441         (exp10_test_upward): Likewise.
29442         (exp2_test_data): Update call to AUTO_TESTS_f_f.
29443         (expm1_test_data): Likewise.
29444         (expm1_test): Use ALL_RM_TEST.
29445         (expm1_tonearest_test_data): Remove.
29446         (expm1_test_tonearest): Likewise.
29447         (expm1_towardzero_test_data): Likewise.
29448         (expm1_test_towardzero): Likewise.
29449         (expm1_downward_test_data): Likewise.
29450         (expm1_test_downward): Likewise.
29451         (expm1_upward_test_data): Likewise.
29452         (expm1_test_upward): Likewise.
29453         (fma_test_data): Update call to AUTO_TESTS_fff_f.
29454         (fma_test): Use ALL_RM_TEST.
29455         (fma_towardzero_test_data): Remove.
29456         (fma_test_towardzero): Likewise.
29457         (fma_downward_test_data): Likewise.
29458         (fma_test_downward): Likewise.
29459         (fma_upward_test_data): Likewise.
29460         (fma_test_upward): Likewise.
29461         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
29462         (j0_test_data): Update call to AUTO_TESTS_f_f.
29463         (j1_test_data): Likewise.
29464         (jn_test_data): Update call to AUTO_TESTS_if_f.
29465         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
29466         (log_test_data): Update call to AUTO_TESTS_f_f.
29467         (log10_test_data): Likewise.
29468         (log1p_test_data): Likewise.
29469         (log2_test_data): Likewise.
29470         (pow_test_data): Update call to AUTO_TESTS_ff_f.
29471         (pow_tonearest_test_data): Likewise.
29472         (sin_test_data): Update call to AUTO_TESTS_f_f.
29473         (sin_test): Use ALL_RM_TEST.
29474         (sin_tonearest_test_data): Remove.
29475         (sin_test_tonearest): Likewise.
29476         (sin_towardzero_test_data): Likewise.
29477         (sin_test_towardzero): Likewise.
29478         (sin_downward_test_data): Likewise.
29479         (sin_test_downward): Likewise.
29480         (sin_upward_test_data): Likewise.
29481         (sin_test_upward): Likewise.
29482         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
29483         (sinh_test_data): Update call to AUTO_TESTS_f_f.
29484         (sinh_test): Use ALL_RM_TEST.
29485         (sinh_tonearest_test_data): Remove.
29486         (sinh_test_tonearest): Likewise.
29487         (sinh_towardzero_test_data): Likewise.
29488         (sinh_test_towardzero): Likewise.
29489         (sinh_downward_test_data): Likewise.
29490         (sinh_test_downward): Likewise.
29491         (sinh_upward_test_data): Likewise.
29492         (sinh_test_upward): Likewise.
29493         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
29494         (sqrt_test): Use ALL_RM_TEST.
29495         (sqrt_tonearest_test_data): Remove.
29496         (sqrt_test_tonearest): Likewise.
29497         (sqrt_towardzero_test_data): Likewise.
29498         (sqrt_test_towardzero): Likewise.
29499         (sqrt_downward_test_data): Likewise.
29500         (sqrt_test_downward): Likewise.
29501         (sqrt_upward_test_data): Likewise.
29502         (sqrt_test_upward): Likewise.
29503         (tan_test_data): Update call to AUTO_TESTS_f_f.
29504         (tan_test): Use ALL_RM_TEST.
29505         (tan_tonearest_test_data): Remove.
29506         (tan_test_tonearest): Likewise.
29507         (tan_towardzero_test_data): Likewise.
29508         (tan_test_towardzero): Likewise.
29509         (tan_downward_test_data): Likewise.
29510         (tan_test_downward): Likewise.
29511         (tan_upward_test_data): Likewise.
29512         (tan_test_upward): Likewise.
29513         (tanh_test_data): Update call to AUTO_TESTS_f_f.
29514         (tgamma_test_data): Likewise.
29515         (y0_test_data): Likewise.
29516         (y1_test_data): Likewise.
29517         (yn_test_data): Update call to AUTO_TESTS_if_f.
29518         (main): Do not call removed functions.
29520 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
29522         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
29523         (ldexp_test_data): Remove.
29524         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
29525         scalbn_test_data.
29526         (scalb_test): Use ALL_RM_TEST.
29528 2014-03-19  Andreas Schwab  <schwab@suse.de>
29530         * nscd/nscd.service: Also invalidate netgroup cache on reload.
29532 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
29534         [BZ #16649]
29535         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
29536         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
29537         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
29538         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
29539         (__ASSUME_PREADV): Undefine.
29540         (__ASSUME_PWRITEV): Likewise.
29542 2014-03-18  Roland McGrath  <roland@hack.frob.com>
29544         * bits/mman-linux.h: Add comment about non-Linux use.
29545         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
29546         bits/mman-linux.h resting place.
29548         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
29549         * bits/mman-linux.h: ... here.
29551 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29553         * conform/conformtest.pl: Add standard definition when calling C
29554         preprocessor on data files.
29555         (checknamespace): Remove unused variable.
29557 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
29559         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
29560         minus_oflow, plus_uflow and minus_uflow in expected results.
29561         * math/libm-test.inc (scalbn_test_data): Add more tests of
29562         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
29563         minus_uflow.
29564         (scalbn_test): Use ALL_RM_TEST.
29565         (scalbln_test_data): Add more tests of negative arguments.  Use
29566         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
29567         (scalbln_test): Use ALL_RM_TEST.
29569 2014-03-18  Roland McGrath  <roland@hack.frob.com>
29571         * scripts/abilist.awk: Ignore symbols marked with .hidden.
29573 2014-03-18  Will Newton  <will.newton@linaro.org>
29575         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
29576         inaccurate comment.
29578 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
29580         * Makerules [!subdir] (check-abi): Exit with error status if a
29581         test failed.
29583 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
29585         * math/libm-test.inc (nearbyint_test_data): Include all tests used
29586         for rint.  Include results for all rounding modes.
29587         (nearbyint_test): Use ALL_RM_TEST.
29588         (rint_test_data): Include all tests used for nearbyint.
29590 2014-03-17  Will Newton  <will.newton@linaro.org>
29592         * nptl/sysdeps/pthread/pthread.h: Revert previous
29593         change.
29595         * sysdeps/generic/ldsodefs.h: Revert previous
29596         change.
29598         * libio/genops.c: Revert previous change.
29599         * libio/libioP.h: Likewise.
29600         * stdio-common/vfprintf.c: Likewise.
29602         * sysdeps/generic/math_private.h: Revert previous
29603         change.
29605         * sysdeps/generic/math_private.h: Check whether
29606         HAVE_RM_CTX is defined with #ifdef rather
29607         than #if.
29609         * argp/argp-fmtstream.h: Check whether
29610         __STRICT_ANSI__ is defined with #ifdef rather
29611         than #if.
29612         * argp/argp.h: Likewise.
29614         * libio/genops.c: Check whether
29615         _IO_JUMPS_OFFSET is defined with #ifdef rather
29616         than #if.
29617         * libio/libioP.h: Likewise.
29618         * stdio-common/vfprintf.c: Likewise.
29620         * sysdeps/generic/ldsodefs.h: Check whether
29621         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
29622         than #if.
29624         * nptl/sysdeps/pthread/pthread.h: Check
29625         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
29626         its value.
29628 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
29630         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
29631         setting O_APPEND.
29632         * libio/tst-ftell-active-handler.c (do_append_test): Add a
29633         test case.
29635         [BZ #16680]
29636         * libio/fileops.c (_IO_file_open): Seek to end of file but
29637         don't cache the offset.
29638         (get_file_offset): Remove function.
29639         (do_ftell): Use cached offset when available.
29640         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
29641         don't cache the offset.
29642         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
29643         case.
29644         (do_one_test): Call it.
29645         (do_ftell_test): Fix up expected old offset for a+ mode.
29646         * libio/wfileops.c (do_ftell_wide): Used cached offset when
29647         available.
29649         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
29650         up test status with function return status.
29651         (do_write_test): Likewise.
29652         (do_append_test): Likewise.
29654         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
29655         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
29656         Remove.
29658 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
29660         * math/gen-libm-test.pl (parse_args): Handle results specified for
29661         each rounding mode separately.
29662         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
29663         tests and results from lrint_tonearest_test_data,
29664         lrint_towardzero_test_data, lrint_downward_test_data and
29665         lrint_upward_test_data.
29666         (lrint_test): Use ALL_RM_TEST.
29667         (lrint_tonearest_test_data): Remove.
29668         (lrint_test_tonearest): Likewise.
29669         (lrint_towardzero_test_data): Likewise.
29670         (lrint_test_towardzero): Likewise.
29671         (lrint_downward_test_data): Likewise.
29672         (lrint_test_downward): Likewise.
29673         (lrint_upward_test_data): Likewise.
29674         (lrint_test_upward): Likewise.
29675         (llrint_test_data): Merge in per-rounding-mode tests and results
29676         from llrint_tonearest_test_data, llrint_towardzero_test_data,
29677         llrint_downward_test_data and llrint_upward_test_data.
29678         (llrint_test): Use ALL_RM_TEST.
29679         (llrint_tonearest_test_data): Remove.
29680         (llrint_test_tonearest): Likewise.
29681         (llrint_towardzero_test_data): Likewise.
29682         (llrint_test_towardzero): Likewise.
29683         (llrint_downward_test_data): Likewise.
29684         (llrint_test_downward): Likewise.
29685         (llrint_upward_test_data): Likewise.
29686         (llrint_test_upward): Likewise.
29687         (rint_test_data): Merge in per-rounding-mode tests and results
29688         from rint_tonearest_test_data, rint_towardzero_test_data,
29689         rint_downward_test_data and rint_upward_test_data.  Add
29690         per-rounding-mode results for tests not in those arrays.
29691         (rint_test): Use ALL_RM_TEST.
29692         (rint_tonearest_test_data): Remove.
29693         (rint_test_tonearest): Likewise.
29694         (rint_towardzero_test_data): Likewise.
29695         (rint_test_towardzero): Likewise.
29696         (rint_downward_test_data): Likewise.
29697         (rint_test_downward): Likewise.
29698         (rint_upward_test_data): Likewise.
29699         (rint_test_upward): Likewise.
29700         (main): Don't call removed functions.
29702 2014-03-14  Roland McGrath  <roland@hack.frob.com>
29704         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
29705         "Compiled on ..." crapola.  It is anti-useful.
29707 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
29709         * scripts/evaluate-test.sh: Handle fourth argument to determine
29710         whether test run should stop on failure.
29711         * Makeconfig (stop-on-test-failure): New variable.
29712         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
29713         $(stop-on-test-failure).
29714         * Makefile (tests): Give a summary of results from testing and
29715         exit with failure status if they include an ERROR or FAIL.
29716         (xtests): Likewise.
29717         * manual/install.texi (Configuring and compiling): Mention
29718         stop-on-test-failure=y.
29719         * INSTALL: Regenerated.
29721 2014-03-14  Roland McGrath  <roland@hack.frob.com>
29723         * scripts/versionlist.awk: New file.
29724         * Makerules [$(build-shared) = yes]
29725         (postclean-generated): Add Versions.def, not Versions.def.v and
29726         Versions.def.v.i.
29727         ($(common-objpfx)Versions.def.v.i): Target removed.
29728         ($(common-objpfx)Versions.def): New target.
29729         ($(common-objpfx)Versions.all): Depend on that rather that
29730         $(common-objpfx)Versions.def.v.
29731         * Versions.def: File removed.
29733         * Makeconfig (+gccwarn): Add -Wundef.
29734         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
29735         a dl-sysdep.h breaking its contract.
29736         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
29737         * include/stackinfo.h: New file.
29738         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
29739         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
29740         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
29741         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
29742         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
29743         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
29744         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
29745         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
29746         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
29747         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
29748         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
29749         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
29750         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
29751         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
29752         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
29754 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29756         [BZ #16707]
29757         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
29758         implementation.
29759         * math/libm-test.inc (round_test_data): Add more tests.
29761         [BZ #16706]
29762         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
29763         implementation.
29764         * math/libm-test.inc (nearbyint_test_data): Add more tests.
29766         [BZ #16701]
29767         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
29768         implementation.
29769         * math/libm-test.inc (ceil_test_data): Add more tests.
29771         * math/libm-test.inc (trunc_test_data): Add more tests related to
29772         BZ#16414.
29774 2014-03-14  Roland McGrath  <roland@hack.frob.com>
29776         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
29777         with #if rather than #ifdef.
29778         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
29780 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
29782         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
29783         first.  Disable AVX-512 GCC support if assembler doesn't support
29784         it.
29785         * sysdeps/x86_64/configure: Regenerated.
29787 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
29789         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
29790         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
29791         (__old_pthread_attr_setstack): Likewise.
29792         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
29793         [!_STACK_GROWS_DOWN]: Likewise.
29795 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
29797         * config.make.in (have-bash2): Delete.
29798         * configure.ac (libc_cv_have_bash2): Delete.
29799         * configure: Regenerate.
29800         * elf/Makefile (common-ldd-rewrite): Rename to ...
29801         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
29802         (sh-ldd-rewrite): Delete.
29803         (bash-ldd-rewrite): Delete.
29804         (have-bash2): Delete checks.
29805         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
29806         ldd-rewrite.
29808         * config.make.in (have-ksh): Delete.
29809         (KSH): Delete.
29810         * configure.ac (libc_cv_have_ksh): Delete.
29811         * configure: Regenerate.
29813         * elf/Makefile: Delete $(have-ksh) check.
29814         ($(objpfx)sotruss): Change KSH to BASH.
29815         * elf/sotruss.ksh: Rename to ...
29816         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
29817         function style to match POSIX.  Drop ksh vim mode setting.
29819         * manual/time.texi (Specifying the Time Zone with TZ): Change
29820         Tuesday to Thursday.
29822         * debug/tst-longjmp_chk2.c: Update header comment.
29823         (stackoverflow_handler): Add comment.  Call assert on pass value.
29825 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
29827         [BZ #16194]
29828         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
29829         (HAVE_AVX512_ASM_SUPPORT): Likewise.
29830         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
29831         (La_x86_64_vector): Add zmm.
29832         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
29833         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
29834         ($(objpfx)tst-audit10): New target.
29835         ($(objpfx)tst-audit10.out): Likewise.
29836         (tst-audit10-ENV): New.
29837         (AVX512-CFLAGS): Likewise.
29838         (CFLAGS-tst-audit10.c): Likewise.
29839         (CFLAGS-tst-auditmod10a.c): Likewise.
29840         (CFLAGS-tst-auditmod10b.c): Likewise.
29841         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
29842         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
29843         * sysdeps/x86_64/configure: Regenerated.
29844         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
29845         AVX-512 zmm register support.
29846         (_dl_x86_64_save_sse): Likewise.
29847         (_dl_x86_64_restore_sse): Likewise.
29848         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
29849         size vector registers.
29850         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
29851         (ZMM_SIZE): Likewise.
29852         * sysdeps/x86_64/tst-audit10.c: New file.
29853         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
29854         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
29856 2014-03-13  Roland McGrath  <roland@hack.frob.com>
29858         * configure.ac (HAVE_EHDR_START): New check.
29859         * configure: Regenerated.
29860         * config.h.in (HAVE_EHDR_START): New #undef.
29861         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
29862         assuming the lowest-addressed segment maps the start of the file.
29864 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
29866         * INSTALL: Regenerated.
29868 2014-03-13  Will Newton  <will.newton@linaro.org>
29870         * manual/setjmp.texi (System V contexts): Improve
29871         clarity and grammar of documentation.
29873 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
29875         [BZ #16381]
29876         * elf/Makefile (tests): Add tst-pie2.
29877         (tests-pie): Add tst-pie2.
29878         * elf/tst-pie2.c: New file.
29879         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
29880         for ET_EXEC.
29881         * elf/rtld.c (map_doit): Load executable as lt_executable.
29882         (dl_main): Likewise.
29884 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
29886         [BZ #16642]
29887         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
29888         (__ASSUME_PSELECT): Undefine.
29890 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29892         [BZ #16689]
29893         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
29894         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
29895         static build.
29896         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
29897         selector for static builds.
29899 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
29901         [BZ #16695]
29902         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
29903         key in the buffer.
29905 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29907         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
29908         IFUNC selector for static builds.
29910 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
29912         * sysdeps/mips/math_private.h [__mips_hard_float]
29913         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
29914         libc_feresetround_mips_ctx.
29915         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
29916         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
29917         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
29919         [BZ #16677]
29920         * math/s_nextafter.c (__nextafter): Do not return value from
29921         overflowing computation.
29922         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
29923         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
29924         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
29925         Likewise.
29926         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
29927         Likewise.
29928         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
29929         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
29931 2014-03-11  Roland McGrath  <roland@hack.frob.com>
29933         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
29934         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
29935         Move sfi_sp use from the load-multiple (that no longer sets sp) to
29936         the new mov targetting sp.
29938 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29940         [BZ #16683]
29941         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
29942         Define it for static builds as well.
29943         (NO_BZERO_IMPL): Likewise.
29945 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
29947         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
29948         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
29949         multiarch strspn for PPC64.
29950         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
29951         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
29952         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
29953         (__libc_ifunc_impl_list): Likewise.
29954         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
29955         multiarch optimizations
29956         * string/strspn.c (strspn): Using macro to redefine symbol name.
29958 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
29959             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29961         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
29962         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
29963         multiarch strncat for PPC64.
29964         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
29965         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
29966         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
29967         (__libc_ifunc_impl_list): Likewise.
29968         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
29969         multiarch optimizations
29971 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
29973         [BZ #16639]
29974         * nscd/nscd.service: Make service type forking.
29976 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29978         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
29979         sign in non default rounding modes.
29980         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
29982 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
29984         * math/libm-test.inc (ALL_RM_TEST): New macro.
29985         (ceil_test): Use ALL_RM_TEST.
29986         (cimag_test): Likewise.
29987         (conj_test): Likewise.
29988         (copysign_test): Likewise.
29989         (cproj_test): Likewise.
29990         (creal_test): Likewise.
29991         (fabs_test): Likewise.
29992         (floor_test): Likewise.
29993         (fmax_test): Likewise.
29994         (fmin_test): Likewise.
29995         (fmod_test): Likewise.
29996         (fpclassify_test): Likewise.
29997         (frexp_test): Likewise.
29998         (ilogb_test): Likewise.
29999         (isfinite_test): Likewise.
30000         (finite_test): Likewise.
30001         (isgreater_test): Likewise.
30002         (isgreaterequal_test): Likewise.
30003         (isinf_test): Likewise.
30004         (isless_test): Likewise.
30005         (islessequal_test): Likewise.
30006         (islessgreater_test): Likewise.
30007         (isnan_test): Likewise.
30008         (isnormal_test): Likewise.
30009         (issignaling_test): Likewise.
30010         (isunordered_test): Likewise.
30011         (logb_test): Likewise.
30012         (logb_downward_test_data): Remove.
30013         (logb_test_downward): Likewise.
30014         (lround_test): Use ALL_RM_TEST.
30015         (llround_test): Likewise.
30016         (modf_test): Likewise.
30017         (nexttoward_test): Likewise.
30018         (remainder_test): Likewise.
30019         (drem_test): Likewise.
30020         (remainder_tonearest_test_data): Likewise.
30021         (remainder_test_tonearest): Likewise.
30022         (drem_test_tonearest): Likewise.
30023         (remainder_towardzero_test_data): Likewise.
30024         (remainder_test_towardzero): Likewise.
30025         (drem_test_towardzero): Likewise.
30026         (remainder_downward_test_data): Likewise.
30027         (remainder_test_downward): Likewise.
30028         (drem_test_downward): Likewise.
30029         (remainder_upward_test_data): Likewise.
30030         (remainder_test_upward): Likewise.
30031         (drem_test_upward): Likewise.
30032         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
30033         (round_test): Use ALL_RM_TEST.
30034         (signbit_test): Likewise.
30035         (trunc_test): Likewise.
30036         (significand_test): Likewise.
30037         (main): Don't call removed functions.
30039 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
30041         [BZ #16674]
30042         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
30043         || __USE_XOPEN2K8].
30044         (ILL_ILLOPN): Likewise.
30045         (ILL_ILLADR): Likewise.
30046         (ILL_ILLTRP): Likewise.
30047         (ILL_PRVOPC): Likewise.
30048         (ILL_PRVREG): Likewise.
30049         (ILL_COPROC): Likewise.
30050         (ILL_BADSTK): Likewise.
30051         (FPE_INTDIV): Likewise.
30052         (FPE_INTOVF): Likewise.
30053         (FPE_FLTDIV): Likewise.
30054         (FPE_FLTOVF): Likewise.
30055         (FPE_FLTUND): Likewise.
30056         (FPE_FLTRES): Likewise.
30057         (FPE_FLTINV): Likewise.
30058         (FPE_FLTSUB): Likewise.
30059         (SEGV_MAPERR): Likewise.
30060         (SEGV_ACCERR): Likewise.
30061         (BUS_ADRALN): Likewise.
30062         (BUS_ADRERR): Likewise.
30063         (BUS_OBJERR): Likewise.
30064         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
30065         (TRAP_TRACE): Likewise.
30066         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
30067         __USE_XOPEN2K8].
30068         (CLD_KILLED): Likewise.
30069         (CLD_DUMPED): Likewise.
30070         (CLD_TRAPPED): Likewise.
30071         (CLD_STOPPED): Likewise.
30072         (CLD_CONTINUED): Likewise.
30073         (POLL_IN): Likewise.
30074         (POLL_OUT): Likewise.
30075         (POLL_MSG): Likewise.
30076         (POLL_ERR): Likewise.
30077         (POLL_PRI): Likewise.
30078         (POLL_HUP): Likewise.
30079         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
30080         Likewise.
30081         (ILL_ILLOPN): Likewise.
30082         (ILL_ILLADR): Likewise.
30083         (ILL_ILLTRP): Likewise.
30084         (ILL_PRVOPC): Likewise.
30085         (ILL_PRVREG): Likewise.
30086         (ILL_COPROC): Likewise.
30087         (ILL_BADSTK): Likewise.
30088         (FPE_INTDIV): Likewise.
30089         (FPE_INTOVF): Likewise.
30090         (FPE_FLTDIV): Likewise.
30091         (FPE_FLTOVF): Likewise.
30092         (FPE_FLTUND): Likewise.
30093         (FPE_FLTRES): Likewise.
30094         (FPE_FLTINV): Likewise.
30095         (FPE_FLTSUB): Likewise.
30096         (SEGV_MAPERR): Likewise.
30097         (SEGV_ACCERR): Likewise.
30098         (BUS_ADRALN): Likewise.
30099         (BUS_ADRERR): Likewise.
30100         (BUS_OBJERR): Likewise.
30101         (BUS_MCEERR_AR): Likewise.
30102         (BUS_MCEERR_AO): Likewise.
30103         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
30104         (TRAP_TRACE): Likewise.
30105         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
30106         __USE_XOPEN2K8].
30107         (CLD_KILLED): Likewise.
30108         (CLD_DUMPED): Likewise.
30109         (CLD_TRAPPED): Likewise.
30110         (CLD_STOPPED): Likewise.
30111         (CLD_CONTINUED): Likewise.
30112         (POLL_IN): Likewise.
30113         (POLL_OUT): Likewise.
30114         (POLL_MSG): Likewise.
30115         (POLL_ERR): Likewise.
30116         (POLL_PRI): Likewise.
30117         (POLL_HUP): Likewise.
30118         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
30119         (ILL_ILLOPN): Likewise.
30120         (ILL_ILLADR): Likewise.
30121         (ILL_ILLTRP): Likewise.
30122         (ILL_PRVOPC): Likewise.
30123         (ILL_PRVREG): Likewise.
30124         (ILL_COPROC): Likewise.
30125         (ILL_BADSTK): Likewise.
30126         (FPE_INTDIV): Likewise.
30127         (FPE_INTOVF): Likewise.
30128         (FPE_FLTDIV): Likewise.
30129         (FPE_FLTOVF): Likewise.
30130         (FPE_FLTUND): Likewise.
30131         (FPE_FLTRES): Likewise.
30132         (FPE_FLTINV): Likewise.
30133         (FPE_FLTSUB): Likewise.
30134         (SEGV_MAPERR): Likewise.
30135         (SEGV_ACCERR): Likewise.
30136         (BUS_ADRALN): Likewise.
30137         (BUS_ADRERR): Likewise.
30138         (BUS_OBJERR): Likewise.
30139         (BUS_MCEERR_AR): Likewise.
30140         (BUS_MCEERR_AO): Likewise.
30141         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
30142         (TRAP_TRACE): Likewise.
30143         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
30144         __USE_XOPEN2K8].
30145         (CLD_KILLED): Likewise.
30146         (CLD_DUMPED): Likewise.
30147         (CLD_TRAPPED): Likewise.
30148         (CLD_STOPPED): Likewise.
30149         (CLD_CONTINUED): Likewise.
30150         (POLL_IN): Likewise.
30151         (POLL_OUT): Likewise.
30152         (POLL_MSG): Likewise.
30153         (POLL_ERR): Likewise.
30154         (POLL_PRI): Likewise.
30155         (POLL_HUP): Likewise.
30156         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
30157         Likewise.
30158         (ILL_ILLOPN): Likewise.
30159         (ILL_ILLADR): Likewise.
30160         (ILL_ILLTRP): Likewise.
30161         (ILL_PRVOPC): Likewise.
30162         (ILL_PRVREG): Likewise.
30163         (ILL_COPROC): Likewise.
30164         (ILL_BADSTK): Likewise.
30165         (ILL_BADIADDR): Likewise.
30166         (ILL_BREAK): Likewise.
30167         (FPE_INTDIV): Likewise.
30168         (FPE_INTOVF): Likewise.
30169         (FPE_FLTDIV): Likewise.
30170         (FPE_FLTOVF): Likewise.
30171         (FPE_FLTUND): Likewise.
30172         (FPE_FLTRES): Likewise.
30173         (FPE_FLTINV): Likewise.
30174         (FPE_FLTSUB): Likewise.
30175         (FPE_DECOVF): Likewise.
30176         (FPE_DECDIV): Likewise.
30177         (FPE_DECERR): Likewise.
30178         (FPE_INVASC): Likewise.
30179         (FPE_INVDEC): Likewise.
30180         (SEGV_MAPERR): Likewise.
30181         (SEGV_ACCERR): Likewise.
30182         (SEGV_PSTKOVF): Likewise.
30183         (BUS_ADRALN): Likewise.
30184         (BUS_ADRERR): Likewise.
30185         (BUS_OBJERR): Likewise.
30186         (BUS_MCEERR_AR): Likewise.
30187         (BUS_MCEERR_AO): Likewise.
30188         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
30189         (TRAP_TRACE): Likewise.
30190         (TRAP_BRANCH): Likewise.
30191         (TRAP_HWBKPT): Likewise.
30192         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
30193         __USE_XOPEN2K8].
30194         (CLD_KILLED): Likewise.
30195         (CLD_DUMPED): Likewise.
30196         (CLD_TRAPPED): Likewise.
30197         (CLD_STOPPED): Likewise.
30198         (CLD_CONTINUED): Likewise.
30199         (POLL_IN): Likewise.
30200         (POLL_OUT): Likewise.
30201         (POLL_MSG): Likewise.
30202         (POLL_ERR): Likewise.
30203         (POLL_PRI): Likewise.
30204         (POLL_HUP): Likewise.
30205         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
30206         (ILL_ILLOPN): Likewise.
30207         (ILL_ILLADR): Likewise.
30208         (ILL_ILLTRP): Likewise.
30209         (ILL_PRVOPC): Likewise.
30210         (ILL_PRVREG): Likewise.
30211         (ILL_COPROC): Likewise.
30212         (ILL_BADSTK): Likewise.
30213         (FPE_INTDIV): Likewise.
30214         (FPE_INTOVF): Likewise.
30215         (FPE_FLTDIV): Likewise.
30216         (FPE_FLTOVF): Likewise.
30217         (FPE_FLTUND): Likewise.
30218         (FPE_FLTRES): Likewise.
30219         (FPE_FLTINV): Likewise.
30220         (FPE_FLTSUB): Likewise.
30221         (SEGV_MAPERR): Likewise.
30222         (SEGV_ACCERR): Likewise.
30223         (BUS_ADRALN): Likewise.
30224         (BUS_ADRERR): Likewise.
30225         (BUS_OBJERR): Likewise.
30226         (BUS_MCEERR_AR): Likewise.
30227         (BUS_MCEERR_AO): Likewise.
30228         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
30229         (TRAP_TRACE): Likewise.
30230         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
30231         __USE_XOPEN2K8].
30232         (CLD_KILLED): Likewise.
30233         (CLD_DUMPED): Likewise.
30234         (CLD_TRAPPED): Likewise.
30235         (CLD_STOPPED): Likewise.
30236         (CLD_CONTINUED): Likewise.
30237         (POLL_IN): Likewise.
30238         (POLL_OUT): Likewise.
30239         (POLL_MSG): Likewise.
30240         (POLL_ERR): Likewise.
30241         (POLL_PRI): Likewise.
30242         (POLL_HUP): Likewise.
30243         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
30244         (ILL_ILLOPN): Likewise.
30245         (ILL_ILLADR): Likewise.
30246         (ILL_ILLTRP): Likewise.
30247         (ILL_PRVOPC): Likewise.
30248         (ILL_PRVREG): Likewise.
30249         (ILL_COPROC): Likewise.
30250         (ILL_BADSTK): Likewise.
30251         (FPE_INTDIV): Likewise.
30252         (FPE_INTOVF): Likewise.
30253         (FPE_FLTDIV): Likewise.
30254         (FPE_FLTOVF): Likewise.
30255         (FPE_FLTUND): Likewise.
30256         (FPE_FLTRES): Likewise.
30257         (FPE_FLTINV): Likewise.
30258         (FPE_FLTSUB): Likewise.
30259         (SEGV_MAPERR): Likewise.
30260         (SEGV_ACCERR): Likewise.
30261         (BUS_ADRALN): Likewise.
30262         (BUS_ADRERR): Likewise.
30263         (BUS_OBJERR): Likewise.
30264         (BUS_MCEERR_AR): Likewise.
30265         (BUS_MCEERR_AO): Likewise.
30266         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
30267         (TRAP_TRACE): Likewise.
30268         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
30269         __USE_XOPEN2K8].
30270         (CLD_KILLED): Likewise.
30271         (CLD_DUMPED): Likewise.
30272         (CLD_TRAPPED): Likewise.
30273         (CLD_STOPPED): Likewise.
30274         (CLD_CONTINUED): Likewise.
30275         (POLL_IN): Likewise.
30276         (POLL_OUT): Likewise.
30277         (POLL_MSG): Likewise.
30278         (POLL_ERR): Likewise.
30279         (POLL_PRI): Likewise.
30280         (POLL_HUP): Likewise.
30281         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
30282         (ILL_ILLOPN): Likewise.
30283         (ILL_ILLADR): Likewise.
30284         (ILL_ILLTRP): Likewise.
30285         (ILL_PRVOPC): Likewise.
30286         (ILL_PRVREG): Likewise.
30287         (ILL_COPROC): Likewise.
30288         (ILL_BADSTK): Likewise.
30289         (FPE_INTDIV): Likewise.
30290         (FPE_INTOVF): Likewise.
30291         (FPE_FLTDIV): Likewise.
30292         (FPE_FLTOVF): Likewise.
30293         (FPE_FLTUND): Likewise.
30294         (FPE_FLTRES): Likewise.
30295         (FPE_FLTINV): Likewise.
30296         (FPE_FLTSUB): Likewise.
30297         (SEGV_MAPERR): Likewise.
30298         (SEGV_ACCERR): Likewise.
30299         (BUS_ADRALN): Likewise.
30300         (BUS_ADRERR): Likewise.
30301         (BUS_OBJERR): Likewise.
30302         (BUS_MCEERR_AR): Likewise.
30303         (BUS_MCEERR_AO): Likewise.
30304         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
30305         (TRAP_TRACE): Likewise.
30306         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
30307         __USE_XOPEN2K8].
30308         (CLD_KILLED): Likewise.
30309         (CLD_DUMPED): Likewise.
30310         (CLD_TRAPPED): Likewise.
30311         (CLD_STOPPED): Likewise.
30312         (CLD_CONTINUED): Likewise.
30313         (POLL_IN): Likewise.
30314         (POLL_OUT): Likewise.
30315         (POLL_MSG): Likewise.
30316         (POLL_ERR): Likewise.
30317         (POLL_PRI): Likewise.
30318         (POLL_HUP): Likewise.
30319         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
30320         (ILL_ILLOPN): Likewise.
30321         (ILL_ILLADR): Likewise.
30322         (ILL_ILLTRP): Likewise.
30323         (ILL_PRVOPC): Likewise.
30324         (ILL_PRVREG): Likewise.
30325         (ILL_COPROC): Likewise.
30326         (ILL_BADSTK): Likewise.
30327         (ILL_DBLFLT): Likewise.
30328         (ILL_HARDWALL): Likewise.
30329         (FPE_INTDIV): Likewise.
30330         (FPE_INTOVF): Likewise.
30331         (FPE_FLTDIV): Likewise.
30332         (FPE_FLTOVF): Likewise.
30333         (FPE_FLTUND): Likewise.
30334         (FPE_FLTRES): Likewise.
30335         (FPE_FLTINV): Likewise.
30336         (FPE_FLTSUB): Likewise.
30337         (SEGV_MAPERR): Likewise.
30338         (SEGV_ACCERR): Likewise.
30339         (BUS_ADRALN): Likewise.
30340         (BUS_ADRERR): Likewise.
30341         (BUS_OBJERR): Likewise.
30342         (BUS_MCEERR_AR): Likewise.
30343         (BUS_MCEERR_AO): Likewise.
30344         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
30345         (TRAP_TRACE): Likewise.
30346         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
30347         __USE_XOPEN2K8].
30348         (CLD_KILLED): Likewise.
30349         (CLD_DUMPED): Likewise.
30350         (CLD_TRAPPED): Likewise.
30351         (CLD_STOPPED): Likewise.
30352         (CLD_CONTINUED): Likewise.
30353         (POLL_IN): Likewise.
30354         (POLL_OUT): Likewise.
30355         (POLL_MSG): Likewise.
30356         (POLL_ERR): Likewise.
30357         (POLL_PRI): Likewise.
30358         (POLL_HUP): Likewise.
30359         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
30360         (ILL_ILLOPN): Likewise.
30361         (ILL_ILLADR): Likewise.
30362         (ILL_ILLTRP): Likewise.
30363         (ILL_PRVOPC): Likewise.
30364         (ILL_PRVREG): Likewise.
30365         (ILL_COPROC): Likewise.
30366         (ILL_BADSTK): Likewise.
30367         (FPE_INTDIV): Likewise.
30368         (FPE_INTOVF): Likewise.
30369         (FPE_FLTDIV): Likewise.
30370         (FPE_FLTOVF): Likewise.
30371         (FPE_FLTUND): Likewise.
30372         (FPE_FLTRES): Likewise.
30373         (FPE_FLTINV): Likewise.
30374         (FPE_FLTSUB): Likewise.
30375         (SEGV_MAPERR): Likewise.
30376         (SEGV_ACCERR): Likewise.
30377         (BUS_ADRALN): Likewise.
30378         (BUS_ADRERR): Likewise.
30379         (BUS_OBJERR): Likewise.
30380         (BUS_MCEERR_AR): Likewise.
30381         (BUS_MCEERR_AO): Likewise.
30382         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
30383         (TRAP_TRACE): Likewise.
30384         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
30385         __USE_XOPEN2K8].
30386         (CLD_KILLED): Likewise.
30387         (CLD_DUMPED): Likewise.
30388         (CLD_TRAPPED): Likewise.
30389         (CLD_STOPPED): Likewise.
30390         (CLD_CONTINUED): Likewise.
30391         (POLL_IN): Likewise.
30392         (POLL_OUT): Likewise.
30393         (POLL_MSG): Likewise.
30394         (POLL_ERR): Likewise.
30395         (POLL_PRI): Likewise.
30396         (POLL_HUP): Likewise.
30397         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
30398         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
30400         [BZ #16670]
30401         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
30402         before #include of <time.h>.
30403         [!__USE_XOPEN2K] (__need_timespec): Likewise.
30404         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
30405         (test-xfail-UNIX98/sched.h/conform): Likewise.
30407 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
30409         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
30410         error absence of trapping exception support.
30411         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
30413 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
30415         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
30416         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
30417         * timezone/Makefile (testdata): Move definition above include of
30418         Rules.
30419         (test-zones): New variable.
30420         (tests-special): Add zone files.
30421         (build-testdata): Use $(evaluate-test).
30423         * elf/Makefile (tests-special): Rename tests to end with .out.
30424         ($(objpfx)noload-mem): Likewise.
30425         ($(objpfx)tst-leaks1-mem): Likewise.
30426         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
30427         * iconv/Makefile (xtests-special): Change test-iconvconfig to
30428         $(objpfx)test-iconvconfig.out.
30429         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
30430         set -e inside subshell and redirect output to file.
30431         * iconvdata/Makefile (generated): Rename tests to end with .out.
30432         Correct type.
30433         (tests-special): Rename tests to end with .out.
30434         ($(objpfx)mtrace-tst-loading): Likewise.
30435         * intl/Makefile (generated): Likewise.
30436         (tests-special): Likewise.
30437         ($(objpfx)mtrace-tst-gettext): Likewise.
30438         * misc/Makefile (generated): Likewise.
30439         (tests-special): Likewise.
30440         ($(objpfx)tst-error1-mem): Likewise.
30441         * nptl/Makefile (tests-special): Likewise.
30442         ($(objpfx)tst-stack3-mem): Likewise.
30443         (generated): Likewise.
30444         * posix/Makefile (generated): Likewise.
30445         (tests-special): Likewise.
30446         (xtests-special): Likewise.
30447         ($(objpfx)tst-fnmatch-mem): Likewise.
30448         ($(objpfx)bug-regex2-mem): Likewise.
30449         ($(objpfx)bug-regex14-mem): Likewise.
30450         ($(objpfx)bug-regex21-mem): Likewise.
30451         ($(objpfx)bug-regex31-mem): Likewise.
30452         ($(objpfx)tst-vfork3-mem): Likewise.
30453         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
30454         ($(objpfx)tst-pcre-mem): Likewise.
30455         ($(objpfx)tst-boost-mem): Likewise.
30456         ($(objpfx)bug-ga2-mem): Likewise.
30457         ($(objpfx)bug-glob2-mem): Likewise.
30458         * resolv/Makefile (generate): Likewise.
30459         (tests-special): Likewise.
30460         (xtests-special): Likewise.
30461         (generated): Likewise.
30462         ($(objpfx)mtrace-tst-leaks): Likewise.
30463         ($(objpfx)mtrace-tst-leaks2): Likewise.
30465         * scripts/merge-test-results.sh: New file.
30466         * Makefile (tests-special-notdir): New variable.
30467         (tests): Run merge-test-results.sh.
30468         (xtests): Likewise.
30469         * Rules (tests-special-notdir): New variable.
30470         (xtests-special-notdir): Likewise.
30471         (tests): Run merge-test-results.sh
30472         (xtests): Likewise.
30474         * Makeconfig (test-xfail-name): New variable.
30475         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
30476         compute variable name for expected failures.
30477         * conform/Makefile (conformtest-headers-data): New variable.
30478         (conformtest-standards): Likewise.
30479         (conformtest-headers-ISO): Likewise.
30480         (conformtest-headers-ISO99): Likewise.
30481         (conformtest-headers-ISO11): Likewise.
30482         (conformtest-headers-POSIX): Likewise.
30483         (conformtest-headers-XPG3): Likewise.
30484         (conformtest-headers-XPG4): Likewise.
30485         (conformtest-headers-UNIX98): Likewise.
30486         (conformtest-headers-XOPEN2K): Likewise.
30487         (conformtest-headers-POSIX2008): Likewise.
30488         (conformtest-headers-XOPEN2K8): Likewise.
30489         (conformtest-header-list-base): Likewise.
30490         (conformtest-header-list-tests): Likewise.
30491         (conformtest-header-base): Likewise.
30492         (conformtest-header-tests): Likewise.
30493         (tests-special): Add $(conformtest-header-list-tests).  If
30494         [$(fast-check) && !$(cross-compiling)], add
30495         $(conformtest-header-tests) instead of
30496         $(objpfx)run-conformtest.out.
30497         (generated): Add $(conformtest-header-list-base).  If
30498         [$(fast-check) && !$(cross-compiling)], add
30499         $(conformtest-header-base).  Remove previous setting.
30500         ($(conformtest-header-list-tests)): New target.
30501         (test-xfail-run-conformtest): Remove variable.
30502         ($(objpfx)run-conformtest.out): Remove target.
30503         (test-xfail-ISO11/complex.h/conform): New variable.
30504         (test-xfail-ISO11/stdalign.h/conform): Likewise.
30505         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
30506         (test-xfail-XPG3/varargs.h/conform): Likewise.
30507         (test-xfail-XPG4/varargs.h/conform): Likewise.
30508         (test-xfail-UNIX98/varargs.h/conform): Likewise.
30509         (test-xfail-XPG4/ndbm.h/conform): Likewise.
30510         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
30511         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
30512         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
30513         (test-xfail-XPG3/fcntl.h/conform): Likewise.
30514         (test-xfail-XPG3/ftw.h/conform): Likewise.
30515         (test-xfail-XPG3/grp.h/conform): Likewise.
30516         (test-xfail-XPG3/langinfo.h/conform): Likewise.
30517         (test-xfail-XPG3/limits.h/conform): Likewise.
30518         (test-xfail-XPG3/pwd.h/conform): Likewise.
30519         (test-xfail-XPG3/search.h/conform): Likewise.
30520         (test-xfail-XPG3/signal.h/conform): Likewise.
30521         (test-xfail-XPG3/stdio.h/conform): Likewise.
30522         (test-xfail-XPG3/stdlib.h/conform): Likewise.
30523         (test-xfail-XPG3/string.h/conform): Likewise.
30524         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
30525         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
30526         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
30527         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
30528         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
30529         (test-xfail-XPG3/sys/types.h/conform): Likewise.
30530         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
30531         (test-xfail-XPG3/termios.h/conform): Likewise.
30532         (test-xfail-XPG3/time.h/conform): Likewise.
30533         (test-xfail-XPG3/unistd.h/conform): Likewise.
30534         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
30535         (test-xfail-XPG4/fcntl.h/conform): Likewise.
30536         (test-xfail-XPG4/langinfo.h/conform): Likewise.
30537         (test-xfail-XPG4/netdb.h/conform): Likewise.
30538         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
30539         (test-xfail-XPG4/signal.h/conform): Likewise.
30540         (test-xfail-XPG4/stdio.h/conform): Likewise.
30541         (test-xfail-XPG4/stdlib.h/conform): Likewise.
30542         (test-xfail-XPG4/stropts.h/conform): Likewise.
30543         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
30544         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
30545         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
30546         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
30547         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
30548         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
30549         (test-xfail-XPG4/sys/time.h/conform): Likewise.
30550         (test-xfail-XPG4/sys/types.h/conform): Likewise.
30551         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
30552         (test-xfail-XPG4/termios.h/conform): Likewise.
30553         (test-xfail-XPG4/ucontext.h/conform): Likewise.
30554         (test-xfail-XPG4/unistd.h/conform): Likewise.
30555         (test-xfail-XPG4/utmpx.h/conform): Likewise.
30556         (test-xfail-POSIX/sched.h/conform): Likewise.
30557         (test-xfail-POSIX/signal.h/conform): Likewise.
30558         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
30559         (test-xfail-POSIX/tar.h/conform): Likewise.
30560         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
30561         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
30562         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
30563         (test-xfail-UNIX98/netdb.h/conform): Likewise.
30564         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
30565         (test-xfail-UNIX98/sched.h/conform): Likewise.
30566         (test-xfail-UNIX98/signal.h/conform): Likewise.
30567         (test-xfail-UNIX98/stdio.h/conform): Likewise.
30568         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
30569         (test-xfail-UNIX98/stropts.h/conform): Likewise.
30570         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
30571         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
30572         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
30573         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
30574         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
30575         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
30576         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
30577         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
30578         (test-xfail-UNIX98/unistd.h/conform): Likewise.
30579         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
30580         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
30581         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
30582         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
30583         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
30584         (test-xfail-XOPEN2K/math.h/conform): Likewise.
30585         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
30586         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
30587         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
30588         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
30589         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
30590         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
30591         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
30592         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
30593         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
30594         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
30595         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
30596         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
30597         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
30598         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
30599         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
30600         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
30601         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
30602         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
30603         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
30604         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
30605         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
30606         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
30607         (test-xfail-POSIX2008/signal.h/conform): Likewise.
30608         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
30609         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
30610         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
30611         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
30612         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
30613         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
30614         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
30615         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
30616         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
30617         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
30618         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
30619         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
30620         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
30621         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
30622         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
30623         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
30624         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
30625         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
30626         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
30627         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
30628         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
30629         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
30630         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
30631         (conformtest-cc-flags): Likewise.
30632         ($(conformtest-header-tests): New target.
30633         * conform/check-header-lists.sh: New file.
30634         * conform/run-conformtest.sh: Remove.
30636         * conform/conformtest.pl: Allow ' and \ in values given for
30637         constants.
30638         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
30639         inclusion.
30640         [POSIX] (sys/types.h): Likewise.
30641         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
30642         inclusion.
30643         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
30644         inclusion.
30645         * conform/data/signal.h-data (SIGIO): Remove expectation.
30646         [XPG3] (SIGBUS): Do not expect.
30647         [POSIX || XPG3] (SIGPOLL): Likewise.
30648         [POSIX || XPG3] (SIGPROF): Likewise.
30649         [POSIX || XPG3] (SIGSYS): Likewise.
30650         [XPG3] (SIGTRAP): Likewise.
30651         [POSIX || XPG3] (SIGURG): Likewise.
30652         [POSIX || XPG3] (SIGVTALRM): Likewise.
30653         [POSIX || XPG3] (SIGXCPU): Likewise.
30654         [POSIX || XPG3] (SIGXFSZ): Likewise.
30655         [POSIX] (SA_SIGINFO): Expect.
30656         [XPG3] (siginfo_t): Do not expect type or contents.
30657         [POSIX] (si_pid): Do not expect element.
30658         [POSIX] (si_uid): Likewise.
30659         [POSIX] (si_addr): Likewise.
30660         [POSIX] (si_status): Likewise.
30661         [POSIX] (si_band): Likewise.
30662         [XPG4] (si_value): Likewise.
30663         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
30664         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
30665         [POSIX || XPG3] (ILL_ILLADR): Likewise.
30666         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
30667         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
30668         [POSIX || XPG3] (ILL_PRVREG): Likewise.
30669         [POSIX || XPG3] (ILL_COPROC): Likewise.
30670         [POSIX || XPG3] (ILL_BADSTK): Likewise.
30671         [POSIX || XPG3] (FPE_INTDIV): Likewise.
30672         [POSIX || XPG3] (FPE_INTOVF): Likewise.
30673         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
30674         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
30675         [POSIX || XPG3] (FPE_FLTUND): Likewise.
30676         [POSIX || XPG3] (FPE_FLTRES): Likewise.
30677         [POSIX || XPG3] (FPE_FLTINV): Likewise.
30678         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
30679         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
30680         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
30681         [POSIX || XPG3] (BUS_ADRALN): Likewise.
30682         [POSIX || XPG3] (BUS_ADRERR): Likewise.
30683         [POSIX || XPG3] (BUS_OBJERR): Likewise.
30684         [POSIX || XPG3] (CLD_EXITED): Likewise.
30685         [POSIX || XPG3] (CLD_KILLED): Likewise.
30686         [POSIX || XPG3] (CLD_DUMPED): Likewise.
30687         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
30688         [POSIX || XPG3] (CLD_STOPPED): Likewise.
30689         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
30690         [POSIX || XPG3] (POLL_IN): Likewise.
30691         [POSIX || XPG3] (POLL_OUT): Likewise.
30692         [POSIX || XPG3] (POLL_MSG): Likewise.
30693         [POSIX || XPG3] (POLL_ERR): Likewise.
30694         [POSIX || XPG3] (POLL_PRI): Likewise.
30695         [POSIX || XPG3] (POLL_HUP): Likewise.
30696         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
30697         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
30698         (SIG*): Do not allow.
30699         [XPG3] (si_*): Likewise.
30700         [XPG3] (SI_*): Likewise.
30701         [XPG3 || XPG4] (sigev_*): Likewise.
30702         [XPG3 || XPG4] (SIGEV_*): Likewise.
30703         [XPG3 || XPG4] (sival_*): Likewise.
30704         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
30705         [POSIX || XPG3] (BUS_*): Likewise.
30706         [POSIX || XPG3] (CLD_*): Likewise.
30707         [POSIX || XPG3] (FPE_*): Likewise.
30708         [POSIX || XPG3] (ILL_*): Likewise.
30709         [POSIX || XPG3] (POLL_*): Likewise.
30710         [POSIX || XPG3] (SEGV_*): Likewise.
30711         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
30712         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
30713         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
30714         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
30715         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
30716         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
30717         Specify type and value.
30718         (TVERSLEN): Likewise.
30719         (REGTYPE): Likewise.
30720         (AREGTYPE): Likewise.
30721         (LNKTYPE): Likewise.
30722         (SYMTYPE): Likewise.
30723         (CHRTYPE): Likewise.
30724         (BLKTYPE): Likewise.
30725         (DIRTYPE): Likewise.
30726         (FIFOTYPE): Likewise.
30727         (CONTTYPE): Likewise.
30728         (TSUID): Likewise.
30729         (TSGID): Likewise.
30730         (TSVTX): Likewise.
30731         (TUREAD): Likewise.
30732         (TUWRITE): Likewise.
30733         (TUEXEC): Likewise.
30734         (TGREAD): Likewise.
30735         (TGWRITE): Likewise.
30736         (TGEXEC): Likewise.
30737         (TOREAD): Likewise.
30738         (TOWRITE): Likewise.
30739         (TOEXEC): Likewise.
30740         [POSIX] (TSVTX): Expect constant.
30742 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
30744         * Makefile (tests): Change dependencies to ....
30745         (tests-special): ... additions to this variable.
30746         (tests): Depend on $(tests-special).
30747         * Makerules (check-abi-list): New variable.
30748         (check-abi): Depend on $(check-abi-list).
30749         [$(subdir) = elf] (tests-special): Add
30750         $(objpfx)check-abi-libc.out.
30751         [$(build-shared) = yes && subdir] (tests-special): Add
30752         $(check-abi-list).
30753         [$(build-shared) = yes && subdir] (tests): Do not depend on
30754         check-abi.
30755         * Rules (tests): Depend on $(tests-special).
30756         (xtests): Depend on $(xtests-special).
30757         * catgets/Makefile (tests): Change dependencies to ....
30758         (tests-special): ... additions to this variable.
30759         * conform/Makefile (tests): Change dependencies to ....
30760         (tests-special): ... additions to this variable.
30761         * elf/Makefile (tests): Change dependencies to ....
30762         (tests-special): ... additions to this variable.
30763         * grp/Makefile (tests): Change dependencies to ....
30764         (tests-special): ... additions to this variable.
30765         * iconv/Makefile (xtests): Change dependencies to ....
30766         (xtests-special): ... additions to this variable.
30767         * iconvdata/Makefile (tests): Change dependencies to ....
30768         (tests-special): ... additions to this variable.
30769         * intl/Makefile (tests): Change dependencies to ....
30770         (tests-special): ... additions to this variable.  Also add
30771         $(objpfx)tst-gettext.out.
30772         * io/Makefile (tests): Change dependencies to ....
30773         (tests-special): ... additions to this variable.
30774         * libio/Makefile (tests): Change dependencies to ....
30775         (tests-special): ... additions to this variable.
30776         * malloc/Makefile (tests): Change dependencies to ....
30777         (tests-special): ... additions to this variable.
30778         * misc/Makefile (tests): Change dependencies to ....
30779         (tests-special): ... additions to this variable.
30780         * nptl/Makefile (tests): Change dependencies to ....
30781         (tests-special): ... additions to this variable.
30782         * nptl_db/Makefile (tests): Change dependencies to ....
30783         (tests-special): ... additions to this variable.
30784         * posix/Makefile (tests): Change dependencies to ....
30785         (tests-special): ... additions to this variable.
30786         (xtests): Change dependencies to ....
30787         (xtests-special): ... additions to this variable.
30788         * resolv/Makefile (tests): Change dependencies to ....
30789         (tests-special): ... additions to this variable.
30790         (xtests): Change dependencies to ....
30791         (xtests-special): ... additions to this variable.
30792         * stdio-common/Makefile (tests): Change dependencies to ....
30793         (tests-special): ... additions to this variable.
30794         (do-tst-unbputc): Remove target.
30795         (do-tst-printf): Likewise.
30796         * stdlib/Makefile (tests): Change dependencies to ....
30797         (tests-special): ... additions to this variable.
30798         * string/Makefile (tests): Change dependencies to ....
30799         (tests-special): ... additions to this variable.
30800         * sysdeps/x86/Makefile (tests): Change dependencies to ....
30801         (tests-special): ... additions to this variable.
30803         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
30804         whole file.
30805         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
30806         whole file.
30807         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
30808         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
30810         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
30811         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
30812         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
30813         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
30814         * conform/data/libgen.h-data [XPG3]: Likewise.
30815         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
30816         * conform/data/ndbm.h-data [XPG3]: Likewise.
30817         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
30818         * conform/data/netdb.h-data [XPG3]: Likewise.
30819         * conform/data/netinet/in.h-data [XPG3]: Likewise.
30820         * conform/data/poll.h-data [XPG3]: Likewise.
30821         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
30822         * conform/data/strings.h-data [XPG3]: Likewise.
30823         * conform/data/stropts.h-data [XPG3]: Likewise.
30824         * conform/data/sys/mman.h-data [XPG3]: Likewise.
30825         * conform/data/sys/resource.h-data [XPG3]: Likewise.
30826         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
30827         Likewise.
30828         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
30829         * conform/data/sys/time.h-data [XPG3]: Likewise.
30830         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
30831         * conform/data/sys/uio.h-data [XPG3]: Likewise.
30832         * conform/data/sys/un.h-data [XPG3]: Likewise.
30833         * conform/data/syslog.h-data [XPG3]: Likewise.
30834         * conform/data/ucontext.h-data [XPG3]: Likewise.
30835         * conform/data/utmpx.h-data [XPG3]: Likewise.
30836         * conform/data/varargs.h-data [UNIX98]: Enable file.
30838         * manual/Makefile (INSTALL_INFO): Remove variable setting.
30840         * math/libm-test.inc (struct test_f_f_data): Move expected results
30841         into structure for each rounding mode.
30842         (struct test_ff_f_data): Likewise.
30843         (struct test_ff_f_data_nexttoward): Likewise.
30844         (struct test_fi_f_data): Likewise.
30845         (struct test_fl_f_data): Likewise.
30846         (struct test_if_f_data): Likewise.
30847         (struct test_fff_f_data): Likewise.
30848         (struct test_c_f_data): Likewise.
30849         (struct test_f_f1_data): Likewise.
30850         (struct test_fF_f1_data): Likewise.
30851         (struct test_ffI_f1_data): Likewise.
30852         (struct test_c_c_data): Likewise.
30853         (struct test_cc_c_data): Likewise.
30854         (struct test_f_i_data): Likewise.
30855         (struct test_ff_i_data): Likewise.
30856         (struct test_f_l_data): Likewise.
30857         (struct test_f_L_data): Likewise.
30858         (struct test_fFF_11_data): Likewise.
30859         (RM_): New macro.
30860         (RM_FE_DOWNWARD): Likewise.
30861         (RM_FE_TONEAREST): Likewise.
30862         (RM_FE_TOWARDZERO): Likewise.
30863         (RM_FE_UPWARD): Likewise.
30864         (RUN_TEST_LOOP_f_f): Update references to expected results.
30865         (RUN_TEST_LOOP_2_f): Likewise.
30866         (RUN_TEST_LOOP_fff_f): Likewise.
30867         (RUN_TEST_LOOP_c_f): Likewise.
30868         (RUN_TEST_LOOP_f_f1): Likewise.
30869         (RUN_TEST_LOOP_fF_f1): Likewise.
30870         (RUN_TEST_LOOP_fI_f1): Likewise.
30871         (RUN_TEST_LOOP_ffI_f1): Likewise.
30872         (RUN_TEST_LOOP_c_c): Likewise.
30873         (RUN_TEST_LOOP_cc_c): Likewise.
30874         (RUN_TEST_LOOP_f_i): Likewise.
30875         (RUN_TEST_LOOP_f_i_tg): Likewise.
30876         (RUN_TEST_LOOP_ff_i_tg): Likewise.
30877         (RUN_TEST_LOOP_f_b): Likewise.
30878         (RUN_TEST_LOOP_f_b_tg): Likewise.
30879         (RUN_TEST_LOOP_f_l): Likewise.
30880         (RUN_TEST_LOOP_f_L): Likewise.
30881         (RUN_TEST_LOOP_fFF_11): Likewise.
30882         * math/gen-libm-test.pl (parse_args): Output four copies of
30883         expected results for each test.
30885         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
30886         (__ASSUME_UTIMES): Remove.
30887         * sysdeps/unix/sysv/linux/tile/kernel-features.h
30888         (__ASSUME_UTIMES): Likewise.
30890         * math/gen-auto-libm-tests.c: Update comment on output format.
30891         (output_for_one_input_case): Generate before-rounding and
30892         after-rounding information as conditions on output flags not
30893         floating-point format.
30894         * math/auto-libm-test-out: Regenerated.
30895         * math/gen-libm-test.pl (cond_value): New function.
30896         (or_cond_value): Use cond_value.
30897         (generate_testfile): Handle conditional exceptions.
30899 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
30901         * math/libm-test.inc (max_valid_error): New variable.
30902         (init_max_error): Take new argument specifying whether function
30903         results are exactly determined.  Set max_valid_error and bound
30904         other variables for errors based on this argument.
30905         (set_max_error): Do not record results above max_valid_error.
30906         (check_float_internal): Only accept errors of up to 0.5ulps if
30907         also at most max_valid_error.
30908         (START): Take new argument EXACT and pass it to init_max_error.
30909         (acos_test): Update call to START.
30910         (acos_test_tonearest): Likewise.
30911         (acos_test_towardzero): Likewise.
30912         (acos_test_downward): Likewise.
30913         (acos_test_upward): Likewise.
30914         (acosh_test): Likewise.
30915         (asin_test): Likewise.
30916         (asin_test_tonearest): Likewise.
30917         (asin_test_towardzero): Likewise.
30918         (asin_test_downward): Likewise.
30919         (asin_test_upward): Likewise.
30920         (asinh_test): Likewise.
30921         (atan_test): Likewise.
30922         (atanh_test): Likewise.
30923         (atan2_test): Likewise.
30924         (cabs_test): Likewise.
30925         (cacos_test): Likewise.
30926         (cacosh_test): Likewise.
30927         (carg_test): Likewise.
30928         (casin_test): Likewise.
30929         (casinh_test): Likewise.
30930         (catan_test): Likewise.
30931         (catanh_test): Likewise.
30932         (cbrt_test): Likewise.
30933         (ccos_test): Likewise.
30934         (ccosh_test): Likewise.
30935         (ceil_test): Likewise.
30936         (cexp_test): Likewise.
30937         (cimag_test): Likewise.
30938         (clog_test): Likewise.
30939         (clog10_test): Likewise.
30940         (conj_test): Likewise.
30941         (copysign_test): Likewise.
30942         (cos_test): Likewise.
30943         (cos_test_tonearest): Likewise.
30944         (cos_test_towardzero): Likewise.
30945         (cos_test_downward): Likewise.
30946         (cos_test_upward): Likewise.
30947         (cosh_test): Likewise.
30948         (cosh_test_tonearest): Likewise.
30949         (cosh_test_towardzero): Likewise.
30950         (cosh_test_downward): Likewise.
30951         (cosh_test_upward): Likewise.
30952         (cpow_test): Likewise.
30953         (cproj_test): Likewise.
30954         (creal_test): Likewise.
30955         (csin_test): Likewise.
30956         (csinh_test): Likewise.
30957         (csqrt_test): Likewise.
30958         (ctan_test): Likewise.
30959         (ctan_test_tonearest): Likewise.
30960         (ctan_test_towardzero): Likewise.
30961         (ctan_test_downward): Likewise.
30962         (ctan_test_upward): Likewise.
30963         (ctanh_test): Likewise.
30964         (ctanh_test_tonearest): Likewise.
30965         (ctanh_test_towardzero): Likewise.
30966         (ctanh_test_downward): Likewise.
30967         (ctanh_test_upward): Likewise.
30968         (erf_test): Likewise.
30969         (erfc_test): Likewise.
30970         (exp_test): Likewise.
30971         (exp_test_tonearest): Likewise.
30972         (exp_test_towardzero): Likewise.
30973         (exp_test_downward): Likewise.
30974         (exp_test_upward): Likewise.
30975         (exp10_test): Likewise.
30976         (exp10_test_tonearest): Likewise.
30977         (exp10_test_towardzero): Likewise.
30978         (exp10_test_downward): Likewise.
30979         (exp10_test_upward): Likewise.
30980         (pow10_test): Likewise.
30981         (exp2_test): Likewise.
30982         (expm1_test): Likewise.
30983         (expm1_test_tonearest): Likewise.
30984         (expm1_test_towardzero): Likewise.
30985         (expm1_test_downward): Likewise.
30986         (expm1_test_upward): Likewise.
30987         (fabs_test): Likewise.
30988         (fdim_test): Likewise.
30989         (floor_test): Likewise.
30990         (fma_test): Likewise.
30991         (fma_test_towardzero): Likewise.
30992         (fma_test_downward): Likewise.
30993         (fma_test_upward): Likewise.
30994         (fmax_test): Likewise.
30995         (fmin_test): Likewise.
30996         (fmod_test): Likewise.
30997         (fpclassify_test): Likewise.
30998         (frexp_test): Likewise.
30999         (hypot_test): Likewise.
31000         (ilogb_test): Likewise.
31001         (isfinite_test): Likewise.
31002         (finite_test): Likewise.
31003         (isgreater_test): Likewise.
31004         (isgreaterequal_test): Likewise.
31005         (isinf_test): Likewise.
31006         (isless_test): Likewise.
31007         (islessequal_test): Likewise.
31008         (islessgreater_test): Likewise.
31009         (isnan_test): Likewise.
31010         (isnormal_test): Likewise.
31011         (issignaling_test): Likewise.
31012         (isunordered_test): Likewise.
31013         (j0_test): Likewise.
31014         (j1_test): Likewise.
31015         (jn_test): Likewise.
31016         (ldexp_test): Likewise.
31017         (lgamma_test): Likewise.
31018         (gamma_test): Likewise.
31019         (lrint_test): Likewise.
31020         (lrint_test_tonearest): Likewise.
31021         (lrint_test_towardzero): Likewise.
31022         (lrint_test_downward): Likewise.
31023         (lrint_test_upward): Likewise.
31024         (llrint_test): Likewise.
31025         (llrint_test_tonearest): Likewise.
31026         (llrint_test_towardzero): Likewise.
31027         (llrint_test_downward): Likewise.
31028         (llrint_test_upward): Likewise.
31029         (log_test): Likewise.
31030         (log10_test): Likewise.
31031         (log1p_test): Likewise.
31032         (log2_test): Likewise.
31033         (logb_test): Likewise.
31034         (logb_test_downward): Likewise.
31035         (lround_test): Likewise.
31036         (llround_test): Likewise.
31037         (modf_test): Likewise.
31038         (nearbyint_test): Likewise.
31039         (nextafter_test): Likewise.
31040         (nexttoward_test): Likewise.
31041         (pow_test): Likewise.
31042         (pow_test_tonearest): Likewise.
31043         (pow_test_towardzero): Likewise.
31044         (pow_test_downward): Likewise.
31045         (pow_test_upward): Likewise.
31046         (remainder_test): Likewise.
31047         (drem_test): Likewise.
31048         (remainder_test_tonearest): Likewise.
31049         (drem_test_tonearest): Likewise.
31050         (remainder_test_towardzero): Likewise.
31051         (drem_test_towardzero): Likewise.
31052         (remainder_test_downward): Likewise.
31053         (drem_test_downward): Likewise.
31054         (remainder_test_upward): Likewise.
31055         (drem_test_upward): Likewise.
31056         (remquo_test): Likewise.
31057         (rint_test): Likewise.
31058         (rint_test_tonearest): Likewise.
31059         (rint_test_towardzero): Likewise.
31060         (rint_test_downward): Likewise.
31061         (rint_test_upward): Likewise.
31062         (round_test): Likewise.
31063         (scalb_test): Likewise.
31064         (scalbn_test): Likewise.
31065         (scalbln_test): Likewise.
31066         (signbit_test): Likewise.
31067         (sin_test): Likewise.
31068         (sin_test_tonearest): Likewise.
31069         (sin_test_towardzero): Likewise.
31070         (sin_test_downward): Likewise.
31071         (sin_test_upward): Likewise.
31072         (sincos_test): Likewise.
31073         (sinh_test): Likewise.
31074         (sinh_test_tonearest): Likewise.
31075         (sinh_test_towardzero): Likewise.
31076         (sinh_test_downward): Likewise.
31077         (sinh_test_upward): Likewise.
31078         (sqrt_test): Likewise.
31079         (sqrt_test_tonearest): Likewise.
31080         (sqrt_test_towardzero): Likewise.
31081         (sqrt_test_downward): Likewise.
31082         (sqrt_test_upward): Likewise.
31083         (tan_test): Likewise.
31084         (tan_test_tonearest): Likewise.
31085         (tan_test_towardzero): Likewise.
31086         (tan_test_downward): Likewise.
31087         (tan_test_upward): Likewise.
31088         (tanh_test): Likewise.
31089         (tgamma_test): Likewise.
31090         (trunc_test): Likewise.
31091         (y0_test): Likewise.
31092         (y1_test): Likewise.
31093         (yn_test): Likewise.
31094         (significand_test): Likewise.
31096         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
31097         individual tests in comment.
31098         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
31099         (prev_max_error): New variable.
31100         (prev_real_max_error): Likewise.
31101         (prev_imag_max_error): Likewise.
31102         (compare_ulp_data): Don't refer to test names in comment.
31103         (find_test_ulps): Remove function.
31104         (find_function_ulps): Likewise.
31105         (find_complex_function_ulps): Likewise.
31106         (init_max_error): Take function name as argument.  Look up ulps
31107         for that function.
31108         (print_ulps): Remove function.
31109         (print_max_error): Use prev_max_error instead of calling
31110         find_function_ulps.
31111         (print_complex_max_error): Use prev_real_max_error and
31112         prev_imag_max_error instead of calling find_complex_function_ulps.
31113         (check_float_internal): Take max_ulp parameter instead of calling
31114         find_test_ulps.  Don't call print_ulps.
31115         (check_float): Update call to check_float_internal.
31116         (check_complex): Update calls to check_float_internal.
31117         (START): Pass argument to init_max_error.
31118         * math/gen-libm-test.pl (%results): Don't include "kind"
31119         information.
31120         (parse_ulps): Don't handle ulps of individual tests.
31121         (print_ulps_file): Likewise.
31122         (output_ulps): Likewise.
31123         * math/README.libm-test: Update.
31124         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
31125         individual tests.
31126         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
31127         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
31128         * sysdeps/arm/libm-test-ulps: Likewise.
31129         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
31130         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
31131         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
31132         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
31133         * sysdeps/microblaze/libm-test-ulps: Likewise.
31134         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
31135         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
31136         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
31137         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
31138         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
31139         * sysdeps/sh/libm-test-ulps: Likewise.
31140         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
31141         * sysdeps/tile/libm-test-ulps: Likewise.
31142         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31144 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
31146         * math/libm-test.inc (print_complex_max_error): Check separately
31147         whether real and imaginary errors are within allowed range and
31148         pass 0 to print_complex_function_ulps instead of value within
31149         allowed range.
31151 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
31153         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
31154         formatting.
31155         (get_handles_fopen): Likewise.
31156         (do_write_test): Likewise.
31158         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
31160         * libio/fileops.c (do_ftell): Use cached offset when
31161         available.
31162         * libio/iofwide.c (do_ftell_wide): Likewise.
31163         * libio/iofdopen.c (_IO_new_fdopen): Don't use
31164         _IO_file_attach.
31165         * libio/wfileops.c (_IO_fwide): Don't cache offset.
31167         [BZ #16532]
31168         * libio/libioP.h (get_file_offset): New function.
31169         * libio/fileops.c (get_file_offset): Likewise.
31170         (do_ftell): Likewise.
31171         (_IO_new_file_seekoff): Split out ftell logic.
31172         * libio/wfileops.c (do_ftell_wide): Likewise.
31173         (_IO_wfile_seekoff): Split out ftell logic.
31174         * libio/tst-ftell-active-handler.c: New test case.
31175         * libio/Makefile (tests): Add it.
31177 2014-03-03  Roland McGrath  <roland@hack.frob.com>
31179         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
31180         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
31182 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
31184         [BZ #16639]
31185         * nscd/connections.c (nscd_init): Call do_exit.
31186         (start_threads): Call do_exit and notify_parent.
31187         (begin_drop_privileges): Call do_exit.
31188         (finish_drop_privileges): Likewise.
31189         * nscd/selinux.c (preserve_capabilities): Likewise.
31190         (install_real_capabilities): Likewise.
31191         (nscd_selinux_enabled): Likewise.
31192         (avc_create_thread): Likewise.
31193         (avc_alloc_lock): Likewise.
31194         (nscd_avc_init): Likewise.
31195         * nscd/nscd.c (parent_fd): New static variable.
31196         (main): Create a pipe between parent and child processes.
31197         Skip closing parent_fd.
31198         (monitor_child): New function.
31199         (do_exit): Likewise.
31200         (notify_parent): Likewise.
31201         * nscd/nscd.h (notify_parent): Likewise.
31202         (do_exit): Likewise.
31204 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
31206         * malloc/malloc.c (__libc_calloc): Revert last change.
31208 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31210         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31212 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
31214         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
31215         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
31216         implementation.
31217         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
31218         (__libc_ifunc_impl_list): Likewise.
31219         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
31220         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
31221         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
31222         * string/strrchr.c: Define STRRCHR.
31224 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
31226         * benchtest/bench-strtok.c (simple_strtok): Delete.
31227         (strtok_string): Use as benchmark.
31228         * string/strtok (STRTOK): New macro.
31230 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
31232         * manual/threads.texi: Add header and standard comments to all
31233         functions.
31235         * elf/dl-lookup.c (check_match): New function.
31236         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
31237         (do_lookup_x): Remove nested function check_match. Use non-nested
31238         function check_match.
31240 2014-02-28  Roland McGrath  <roland@hack.frob.com>
31242         * csu/Makefile (generated, before-compile): Use += rather than =.
31243         * catgets/Makefile (generated, generated-dirs): Likewise.
31244         * debug/Makefile (generated): Likewise.
31245         * dlfcn/Makefile (generated): Likewise.
31246         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
31247         * iconvdata/Makefile (before-compile, generated): Likewise.
31248         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
31249         * libio/Makefile (generated): Likewise.
31250         * malloc/Makefile (generated): Likewise.
31251         * manual/Makefile (generated, generated-dirs): Likewise.
31252         * misc/Makefile (generated): Likewise.
31253         * posix/Makefile (generated): Likewise.
31254         * resolv/Makefile (generated): Likewise.
31255         * sunrpc/Makefile (generated, generated-dirs): Likewise.
31256         * timezone/Makefile (generated, generated-dirs): Likewise.
31258         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
31260 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31262         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
31263         power8 implementation.
31264         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
31265         file: POWER8 llround ifunc implementation.
31266         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
31267         (__lllround): Add POWER8 implementation.
31268         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
31269         POWER8 llround implementation.
31271         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
31272         power8 implementation.
31273         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
31274         file: POWER8 llrint ifunc implementation.
31275         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
31276         Add POWER8 implementation.
31277         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
31278         POWER8 llrint implementation.
31280         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
31281         power8 implementation.
31282         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
31283         file: POWER8 finite ifunc implementation.
31284         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
31285         Add POWER8 implementation.
31286         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
31287         Likewise.
31288         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
31289         POWER8 finite implementation.
31290         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
31292         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
31293         power8 implementation.
31294         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
31295         file: POWER8 isinf ifunc implementation.
31296         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
31297         POWER8 implementation.
31298         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
31299         Likewise.
31300         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
31301         isinf implementation.
31302         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
31304         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
31305         (INIT_ARCH): Add hwcap2 initialization.
31306         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
31307         power8 implementation.
31308         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
31309         file: POWER8 isnan ifunc implementation.
31310         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
31311         POWER8 implementation.
31312         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
31313         Likewise.
31314         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
31315         isnan implementation.
31316         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
31318 2014-02-27  Joey Ye  <joey.ye@arm.com>
31320         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
31321         (_FP_NANFRAC_Q): Set to zero.
31323 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
31325         [BZ #16623]
31326         * math/auto-libm-test-in: New test inputs.
31327         * math/auto-libm-test-out: Regenerate.
31328         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
31329         and DA.
31330         (__cos): Likewise.
31331         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
31333 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
31335         * scripts/evaluate-test.sh: Take new argument indicating whether
31336         failure is expected.
31337         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
31338         indicating whether failure is expected.
31339         * conform/Makefile (test-xfail-run-conformtest): New variable.
31340         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
31341         level.
31342         * posix/Makefile (test-xfail-annexc): New variable.
31343         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
31345 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
31347         * argp/Makefile: Include Makeconfig immediately after defining
31348         subdir.
31349         * assert/Makefile: Likewise.
31350         * benchtests/Makefile: Likewise.
31351         * catgets/Makefile: Likewise.
31352         * conform/Makefile: Likewise.
31353         * crypt/Makefile: Likewise.
31354         * csu/Makefile: Likewise.
31355         (all): Remove target.
31356         * ctype/Makefile: Include Makeconfig immediately after defining
31357         subdir.
31358         * debug/Makefile: Likewise.
31359         * dirent/Makefile: Likewise.
31360         * dlfcn/Makefile: Likewise.
31361         * gmon/Makefile: Likewise.
31362         * gnulib/Makefile: Likewise.
31363         * grp/Makefile: Likewise.
31364         * gshadow/Makefile: Likewise.
31365         * hesiod/Makefile: Likewise.
31366         * hurd/Makefile: Likewise.
31367         (all): Remove target.
31368         * iconvdata/Makefile: Include Makeconfig immediately after
31369         defining subdir.
31370         * inet/Makefile: Likewise.
31371         * intl/Makefile: Likewise.
31372         * io/Makefile: Likewise.
31373         * libio/Makefile: Likewise.
31374         (all): Remove target.
31375         * locale/Makefile: Include Makeconfig immediately after defining
31376         subdir.
31377         * login/Makefile: Likewise.
31378         * mach/Makefile: Likewise.
31379         (all): Remove target.
31380         * malloc/Makefile: Include Makeconfig immediately after defining
31381         subdir.
31382         (all): Remove target.
31383         * manual/Makefile: Include Makeconfig immediately after defining
31384         subdir.
31385         * math/Makefile: Likewise.
31386         * misc/Makefile: Likewise.
31387         * nis/Makefile: Likewise.
31388         * nss/Makefile: Likewise.
31389         * po/Makefile: Likewise.
31390         (all): Remove target.
31391         * posix/Makefile: Include Makeconfig immediately after defining
31392         subdir.
31393         * pwd/Makefile: Likewise.
31394         * resolv/Makefile: Likewise.
31395         * resource/Makefile: Likewise.
31396         * rt/Makefile: Likewise.
31397         * setjmp/Makefile: Likewise.
31398         * shadow/Makefile: Likewise.
31399         * signal/Makefile: Likewise.
31400         * socket/Makefile: Likewise.
31401         * soft-fp/Makefile: Likewise.
31402         * stdio-common/Makefile: Likewise.
31403         * stdlib/Makefile: Likewise.
31404         * streams/Makefile: Likewise.
31405         * string/Makefile: Likewise.
31406         * sunrpc/Makefile: Likewise.
31407         (all): Remove target.
31408         * sysvipc/Makefile: Include Makeconfig immediately after defining
31409         subdir.
31410         * termios/Makefile: Likewise.
31411         * time/Makefile: Likewise.
31412         * timezone/Makefile: Likewise.
31413         (all): Remove target.
31414         * wcsmbs/Makefile: Include Makeconfig immediately after defining
31415         subdir.
31416         * wctype/Makefile: Likewise.
31418 2014-02-26  Steve Ellcey  <sellcey@mips.com>
31420         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
31421         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
31422         (libc_feholdexcept_setround_mips): Ditto.
31423         (libc_feholdsetround): New.
31424         (libc_feholdsetroundf): New.
31425         (libc_feholdsetroundl): New.
31426         (libc_feupdateenv_test_mips): New.
31427         (libc_feupdateenv_test): New.
31428         (libc_feupdateenv_testf): New.
31429         (libc_feupdateenv_testl): New.
31430         (libc_feresetround): New.
31431         (libc_feresetroundf): New.
31432         (libc_feresetroundl): New.
31433         (libc_fetestexcept_mips): New.
31434         (libc_fetestexcept): New.
31435         (libc_fetestexceptf): New.
31436         (libc_fetestexceptl): New.
31437         (HAVE_RM_CTX): New.
31438         (libc_feholdexcept_setround_mips_ctx): New.
31439         (libc_feholdexcept_setround_ctx): New.
31440         (libc_feholdexcept_setroundf_ctx): New.
31441         (libc_feholdexcept_setroundl_ctx): New.
31442         (libc_fesetenv_mips_ctx): New.
31443         (libc_fesetenv_ctx): New.
31444         (libc_fesetenv_ctxf): New.
31445         (libc_fesetenv_ctxl): New.
31446         (libc_feupdateenv_mips_ctx): New.
31447         (libc_feupdateenv_ctx): New.
31448         (libc_feupdateenvf_ctx): New.
31449         (libc_feupdateenvl_ctx): New.
31450         (libc_feholdsetround_mips_ctx): New.
31451         (libc_feholdsetround_ctx): New.
31452         (libc_feholdsetroundf_ctx): New.
31453         (libc_feholdsetroundl_ctx): New.
31454         (libc_feresetround_mips_ctx): New.
31455         (libc_feresetround_ctx): New.
31456         (libc_feresetroundf_ctx): New.
31457         (libc_feresetroundl_ctx): New.
31459 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
31461         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
31463         * manual/ipc.texi: New file.
31464         * manual/Makefile (chapters): Add ipc.
31465         * manual/job.texi: Add "Inter-Process Communication" to next.
31466         * manual/process.texi: Add "Inter-Process Communication" to prev.
31468 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31470         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31472 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
31474         * malloc/malloc.c (__libc_calloc): Simplify implementation.
31476         * manual/arith.texi: Fix spaces after sentences.
31477         * manual/charset.texi: Likewise.
31478         * manual/errno.texi: Likewise.
31479         * manual/install.texi: Likewise.
31480         * manual/llio.texi: Likewise.
31481         * manual/locale.texi: Likewise.
31482         * manual/maint.texi: Likewise.
31483         * manual/math.texi: Likewise.
31484         * manual/memory.texi: Likewise.
31485         * manual/message.texi: Likewise.
31486         * manual/probes.texi: Likewise.
31487         * manual/resource.texi: Likewise.
31488         * manual/signal.texi: Likewise.
31489         * manual/socket.texi: Likewise.
31490         * manual/stdio.texi: Likewise.
31491         * manual/string.texi: Likewise.
31492         * manual/time.texi: Likewise.
31493         * manual/users.texi: Likewise.
31495 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
31497         [BZ #16632]
31498         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
31499         _DEFAULT_SOURCE is defined.
31501 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
31502             Carlos O'Donell  <carlos@redhat.com>
31504         [BZ #16613]
31505         * elf/dl-tls.c (_dl_count_modids): New function.
31506         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
31507         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
31508         audit library and increment generation counter.
31509         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
31510         * elf/tst-audit9.c: New file.
31511         * elf/tst-auditmod9a.c: New file.
31512         * elf/tst-auditmod9b.c: New file.
31513         * elf/Makefile: Add rules to build and run tst-audit9.
31515 2014-02-25  Florian Weimer  <fweimer@redhat.com>
31517         [BZ #15347]
31518         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
31520 2014-02-25  Will Newton  <will.newton@linaro.org>
31522         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
31523         (__longjmp): Restore sp and lr before restoring callee
31524         saved registers.  Add longjmp and longjmp_target
31525         SystemTap probe point.
31526         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
31527         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
31528         Define to zero to match jmpbuf layout.
31529         * sysdeps/arm/setjmp.S: Include stap-probe.h.
31530         (__sigsetjmp): Save sp and lr before saving callee
31531         saved registers.  Add setjmp SystemTap probe point.
31533 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
31535         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
31537 2014-02-24  Andreas Schwab  <schwab@suse.de>
31539         [BZ #15804]
31540         * elf/pldd.c (wait_for_ptrace_stop): New function.
31541         (main): Call it after attaching.
31543 2014-02-22  Roland McGrath  <roland@hack.frob.com>
31545         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
31546         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
31547         Versions files is now verboten.
31548         * hurd/Versions (libc: GLIBC_2.0):
31549         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
31550         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
31551         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
31552         * mach/Versions: Likewise.
31554         * csu/Versions: Remove unused %include.
31555         * resolv/Versions: Likewise.
31557 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
31559         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
31560         ($(objpfx)check-local-headers.out): Likewise.
31561         ($(objpfx)begin-end-check.out): Likewise.
31562         * Makerules (check-abi-%.out): Likewise.
31563         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
31564         ($(objpfx)test2.cat): Likewise.
31565         ($(objpfx)de/libc.cat): Likewise.
31566         ($(objpfx)test-gencat.out): Likewise.
31567         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
31568         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
31569         ($(objpfx)noload-mem): Likewise.
31570         ($(objpfx)tst-pathopt.out): Likewise.
31571         ($(objpfx)tst-rtld-load-self.out): Likewise.
31572         ($(objpfx)tst-array1-cmp.out): Likewise.
31573         ($(objpfx)tst-array1-static-cmp.out): Likewise.
31574         ($(objpfx)tst-array2-cmp.out): Likewise.
31575         ($(objpfx)tst-array3-cmp.out): Likewise.
31576         ($(objpfx)tst-array4-cmp.out): Likewise.
31577         ($(objpfx)tst-array5-cmp.out): Likewise.
31578         ($(objpfx)tst-array5-static-cmp.out): Likewise.
31579         ($(objpfx)check-textrel.out): Likewise.
31580         ($(objpfx)check-execstack.out): Likewise.
31581         ($(objpfx)check-localplt.out): Likewise.
31582         ($(objpfx)order2-cmp.out): Likewise.
31583         ($(objpfx)tst-leaks1-mem): Likewise.
31584         ($(objpfx)tst-leaks1-static-mem): Likewise.
31585         ($(objpfx)tst-initorder-cmp.out): Likewise.
31586         ($(objpfx)tst-initorder2-cmp.out): Likewise.
31587         ($(objpfx)tst-unused-dep.out): Likewise.
31588         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
31589         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
31590         * iconv/Makefile (test-iconvconfig): Likewise.
31591         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
31592         ($(objpfx)iconv-test.out): Likewise.
31593         ($(objpfx)tst-tables.out): Likewise.
31594         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
31595         ($(objpfx)tst-gettext.out): Likewise.
31596         ($(objpfx)tst-translit.out): Likewise.
31597         ($(objpfx)tst-gettext2.out): Likewise.
31598         ($(objpfx)tst-gettext4.out): Likewise.
31599         ($(objpfx)tst-gettext6.out): Likewise.
31600         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
31601         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
31602         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
31603         ($(objpfx)tst-fopenloc-mem.out): Likewise.
31604         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
31605         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
31606         * posix/Makefile ($(objpfx)globtest.out): Likewise.
31607         ($(objpfx)wordexp-tst.out): Likewise.
31608         ($(objpfx)annexc.out): Likewise.
31609         ($(objpfx)tst-fnmatch-mem): Likewise.
31610         ($(objpfx)bug-regex2-mem): Likewise.
31611         ($(objpfx)bug-regex14-mem): Likewise.
31612         ($(objpfx)bug-regex21-mem): Likewise.
31613         ($(objpfx)bug-regex31-mem): Likewise.
31614         ($(objpfx)tst-vfork3-mem): Likewise.
31615         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
31616         ($(objpfx)tst-pcre-mem): Likewise.
31617         ($(objpfx)tst-boost-mem): Likewise.
31618         ($(objpfx)tst-getconf.out): Likewise.
31619         ($(objpfx)bug-ga2-mem): Likewise.
31620         ($(objpfx)bug-glob2-mem): Likewise.
31621         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
31622         ($(objpfx)mtrace-tst-leaks2): Likewise.
31623         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
31624         ($(objpfx)tst-printf.out): Likewise.
31625         ($(objpfx)tst-setvbuf1.out): Likewise.
31626         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
31627         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
31628         ($(objpfx)tst-fmtmsg.out): Likewise.
31629         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
31630         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
31632         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
31633         * bits/sigaction.h [__USE_MISC]: Likewise.
31634         * bits/waitstatus.h: Update #endif comments.
31635         * ctype/ctype.h: Likewise.
31636         * dirent/dirent.h: Likewise.
31637         [__USE_MISC]: Remove redundant conditionals.
31638         * grp/grp.h: Update #endif comments.
31639         [__USE_GNU]: Remove redundant conditionals.
31640         [__USE_MISC]: Likewise.
31641         * inet/netinet/in.h [__USE_GNU]: Likewise.
31642         * io/sys/stat.h [__USE_MISC]: Likewise.
31643         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
31644         * libio/bits/stdio.h: Update #endif comments.
31645         [__USE_MISC]: Remove redundant conditionals.
31646         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
31647         * libio/stdio.h: Update #endif comments.
31648         [__USE_MISC]: Remove redundant conditionals.
31649         * math/bits/math-finite.h [__USE_MISC]: Likewise.
31650         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
31651         * math/math.h: Update #else and #endif comments.
31652         [__USE_MISC]: Remove redundant conditionals.
31653         * misc/sys/uio.h: Update #endif comments.
31654         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
31655         * posix/glob.h [__USE_MISC]: Likewise.
31656         * posix/sys/types.h: Update #endif comments.
31657         [__USE_MISC]: Remove redundant conditionals.
31658         * posix/sys/wait.h: Update #endif comments.
31659         [__USE_MISC]: Remove redundant conditionals.
31660         * posix/unistd.h: Update #endif comments.
31661         [__USE_MISC]: Remove redundant conditionals.
31662         * pwd/pwd.h [__USE_GNU]: Likewise.
31663         [__USE_MISC]: Likewise.
31664         * resolv/netdb.h [__USE_GNU]: Likewise.
31665         * signal/signal.h: Update #endif comments.
31666         [__USE_MISC]: Remove redundant conditionals.
31667         * stdlib/stdlib.h: Update #else and #endif comments.
31668         [__USE_MISC]: Remove redundant conditionals.
31669         [__USE_GNU]: Likewise.
31670         * string/bits/string2.h [__USE_MISC]: Likewise.
31671         * string/string.h: Update #endif comments.
31672         [__USE_MISC]: Remove redundant conditionals.
31673         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
31674         Likewise.
31675         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
31676         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
31677         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
31678         Likewise.
31679         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
31680         Likewise.
31681         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
31682         comments.
31683         [__USE_MISC]: Remove redundant conditionals.
31684         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
31685         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
31686         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
31687         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
31688         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
31689         Likewise.
31690         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
31691         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
31692         Likewise.
31693         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
31694         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
31695         Likewise.
31696         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
31697         Likewise.
31698         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
31699         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
31700         Likewise.
31701         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
31702         Likewise.
31703         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
31704         * sysdeps/x86/bits/string.h: Update #endif comments.
31705         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
31706         conditionals.
31707         * time/sys/time.h: Update #endif comments.
31708         * time/time.h: Likewise.
31709         [__USE_MISC]: Remove redundant conditionals.
31711 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
31713         [BZ #16600]
31714         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
31716 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
31718         * Versions.def (librt): Add GLIBC_2.17.
31720 2014-02-21  Adam Conrad  <adconrad@0c3.net>
31722         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
31723         synonym for _SYS_AUXV_H to allow direct inclusion.
31724         * sysdeps/sparc/bits/hwcap.h: Likewise.
31725         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
31726         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
31727         * sysdeps/sparc/sysdep.h: Likewise.
31729 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
31731         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
31733 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
31735         * benchtests/bench-strrchr.c: Print length instead of position.
31737 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
31739         [BZ #16611]
31740         * sysdeps/unix/sysv/linux/kernel-features.h
31741         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
31742         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
31743         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
31744         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
31745         Likewise.
31746         [__i386__ || __powerpc__ || __sh__ || __sparc__]
31747         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
31748         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
31749         (__ASSUME_SENDMMSG): Define instead of using previous
31750         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
31751         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
31752         (__ASSUME_SENDMMSG_SYSCALL): Define.
31753         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
31754         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
31755         Likewise.
31756         * sysdeps/unix/sysv/linux/arm/kernel-features.h
31757         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
31758         Likewise.
31759         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
31760         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
31761         Likewise.
31762         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
31763         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
31764         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
31765         [__ASSUME_SENDMMSG]: Change conditionals to
31766         [__ASSUME_SENDMMSG_SOCKETCALL].
31767         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
31768         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
31769         Define.
31770         * sysdeps/unix/sysv/linux/mips/kernel-features.h
31771         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
31772         Likewise.
31773         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
31774         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
31775         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
31776         [!__ASSUME_SENDMMSG]: Change conditional to
31777         [!__ASSUME_SENDMMSG_SOCKETCALL].
31778         * sysdeps/unix/sysv/linux/tile/kernel-features.h
31779         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
31780         Define.
31782         [BZ #16610]
31783         * sysdeps/unix/sysv/linux/kernel-features.h
31784         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
31785         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
31786         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
31787         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
31788         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
31789         [__i386__ || __sparc__]
31790         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
31791         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
31792         (__ASSUME_RECVMMSG): Define instead of using previous
31793         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
31794         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
31795         (__ASSUME_RECVMMSG_SYSCALL): Define.
31796         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
31797         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
31798         Likewise.
31799         * sysdeps/unix/sysv/linux/arm/kernel-features.h
31800         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
31801         Likewise.
31802         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
31803         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
31804         Likewise.
31805         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
31806         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
31807         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
31808         [__ASSUME_RECVMMSG]: Change condition to
31809         [__ASSUME_RECVMMSG_SOCKETCALL].
31810         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
31811         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
31812         Define.
31813         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
31814         * sysdeps/unix/sysv/linux/mips/kernel-features.h
31815         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
31816         Likewise.
31817         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
31818         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
31819         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
31820         [!__ASSUME_RECVMMSG]: Change condition to
31821         [!__ASSUME_RECVMMSG_SOCKETCALL].
31822         * sysdeps/unix/sysv/linux/tile/kernel-features.h
31823         (__ASSUME_RECVMMSG_SYSCALL): Define.
31825         [BZ #16609]
31826         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
31827         __powerpc__ || __s390__ || __sh__ || __sparc__]
31828         (__ASSUME_SOCKETCALL): Define.
31829         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
31830         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
31831         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
31832         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
31833         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
31834         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
31835         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
31836         (__ASSUME_ACCEPT4): Define instead of using previous
31837         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
31838         __powerpc__ || __sparc__ || __s390__)] condition.
31839         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
31840         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
31841         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
31842         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
31843         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
31844         [!__ASSUME_ACCEPT4]: Change condition to
31845         [!__ASSUME_ACCEPT4_SOCKETCALL].
31846         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
31847         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
31848         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
31849         * sysdeps/unix/sysv/linux/arm/kernel-features.h
31850         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
31851         __ASSUME_ACCEPT4_SYSCALL.
31852         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
31853         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
31854         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
31855         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
31856         __ASSUME_ACCEPT4_SYSCALL.
31857         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
31858         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
31859         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
31860         [__ASSUME_ACCEPT4]: Change condition to
31861         [__ASSUME_ACCEPT4_SOCKETCALL].
31862         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
31863         (__ASSUME_SOCKETCALL): Define.
31864         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
31865         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
31866         (__ASSUME_SOCKETCALL): Define.
31867         (__ASSUME_ACCEPT4): Remove.
31868         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
31869         Define.
31870         * sysdeps/unix/sysv/linux/mips/kernel-features.h
31871         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
31872         Likewise.
31873         * sysdeps/unix/sysv/linux/tile/kernel-features.h
31874         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
31876         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
31877         macro.
31878         (HWCAP_ARM_LPAE): Likewise.
31879         (HWCAP_ARM_EVTSTRM): Likewise.
31880         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
31881         Add vpfd32, lpae and evtstrm.
31882         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
31883         Increase to 22.
31885 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
31887         * math/auto-libm-test-in: Add tests of clog10.
31888         * math/auto-libm-test-out: Regenerated.
31889         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
31890         * sysdeps/i386/fpu/libm-test-ulps: Update.
31891         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31893 2014-02-18  Andreas Schwab  <schwab@suse.de>
31895         [BZ #16574]
31896         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
31897         Store non-zero if the second buffer was newly allocated.
31898         (send_dg): Likewise.
31899         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
31900         to send_vc and send_dg.
31901         (res_nsend): Pass NULL for ansp2_malloced.
31902         * resolv/res_query.c (__libc_res_nquery): Add parameter
31903         answerp2_malloced and pass it down to __libc_res_nsend.
31904         (res_nquery): Pass additional NULL to __libc_res_nquery.
31905         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
31906         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
31907         second answer buffer if answerp2_malloced was set.
31908         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
31909         (__libc_res_nquerydomain): Add parameter
31910         answerp2_malloced and pass it down to __libc_res_nquery.
31911         (res_nquerydomain): Pass additional NULL to
31912         __libc_res_nquerydomain.
31913         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
31914         additional NULL to __libc_res_nsend and __libc_res_nquery.
31915         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
31916         additional NULL to __libc_res_nsearch.
31917         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
31918         parameter of __libc_res_nsearch to check for separately allocated
31919         second buffer.
31920         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
31921         __libc_res_nquery.
31922         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
31923         additional NULL to __libc_res_nquery.
31924         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
31925         __libc_res_nsearch.
31926         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
31927         * include/resolv.h: Update prototypes of __libc_res_nquery,
31928         __libc_res_nsearch, __libc_res_nsend.
31930 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
31932         * math/auto-libm-test-in: Add tests of fma.
31933         * math/auto-libm-test-out: Regenerated.
31934         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
31935         (fma_towardzero_test_data): Likewise.
31936         (fma_downward_test_data): Likewise.
31937         (fma_upward_test_data): Likewise.
31938         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
31939         mpc_mode.
31940         (rounding_modes): Add values for new field.
31941         (func_calc_method): Add value mpfr_fff_f.
31942         (func_calc_desc): Add mpfr_fff_f union field.
31943         (test_function): Add field exact_args.
31944         (FUNC): Add macro argument EXACT_ARGS.
31945         (FUNC_mpfr_f_f): Update call to FUNC.
31946         (FUNC_mpfr_f_f): Likewise.
31947         (FUNC_mpfr_ff_f): Likewise.
31948         (FUNC_mpfr_if_f): Likewise.
31949         (FUNC_mpc_c_f): Likewise.
31950         (FUNC_mpc_c_c): Likewise.
31951         (test_functions): Add fma.  Update calls to FUNC.
31952         (handle_input_arg): Add argument exact_args.
31953         (add_test): Update call to handle_input_arg.
31954         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
31955         (output_for_one_input_case): Update call to calc_generic_results.
31956         Recalculate exact zero results in each rounding mode.
31958         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
31959         non-negative before setting low bit.
31960         * math/auto-libm-test-in: Mark one asin test possibly having
31961         spurious underflow.
31962         * math/auto-libm-test-out: Regenerated.
31963         * sysdeps/i386/fpu/libm-test-ulps: Update.
31964         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31966 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
31968         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
31969         * sysdeps/unix/sysv/linux/microblaze: Move directory from
31970         ports/sysdeps/unix/sysv/linux/microblaze.
31971         * README: Add missing listing for microblaze*-*-linux-gnu.
31973 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
31975         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
31976         duplicate code
31978 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
31980         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
31981         * sysdeps/unix/sysv/linux/ia64: Move directory from
31982         ports/sysdeps/unix/sysv/linux/ia64.
31983         * README: Update listing for ia64-*-linux-gnu.
31985 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
31986             Joseph Myers  <joseph@codesourcery.com>
31988         * Makeconfig (test-name): New variable.
31989         (evaluate-test): Likewise.
31990         * Makerules (do-test-clean): Remove .test-result files.
31991         (common-mostlyclean): Likewise.
31992         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
31993         * scripts/evaluate-test.sh: New file.
31995 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
31997         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
31998         separate $(objpfx)tst-fopenloc-cmp.out and
31999         $(objpfx)tst-fopenloc-mem.out targets.
32000         (tests): Update dependencies.
32001         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
32002         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
32003         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
32004         (tst-rxspencer-no-utf8-ARGS): New variable.
32005         (tst-rxspencer-no-utf8-ENV): Likewise.
32006         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
32007         instead of $(objpfx)tst-rxspencer-mem.
32008         ($(objpfx)tst-rxspencer-mem): Change target to
32009         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
32010         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
32011         * posix/tst-rxspencer-no-utf8.c: New file.
32013         * elf/Makefile ($(objpfx)order.out): Remove rule.
32014         [$(run-built-tests) = yes] (tests): Depend on
32015         $(objpfx)order-cmp.out.
32016         ($(objpfx)order-cmp.out): New rule.
32017         [$(run-built-tests) = yes] (tests): Depend on
32018         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
32019         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
32020         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
32021         $(objpfx)tst-array5-static-cmp.out.
32022         ($(objpfx)tst-array1.out): Remove rule.
32023         ($(objpfx)tst-array1-cmp.out): New rule.
32024         ($(objpfx)tst-array1-static.out): Remove rule.
32025         ($(objpfx)tst-array1-static-cmp.out): New rule.
32026         ($(objpfx)tst-array2.out): Remove rule.
32027         ($(objpfx)tst-array2-cmp.out): New rule.
32028         ($(objpfx)tst-array3.out): Remove rule.
32029         ($(objpfx)tst-array3-cmp.out): New rule.
32030         ($(objpfx)tst-array4.out): Remove rule.
32031         ($(objpfx)tst-array4-cmp.out): New rule.
32032         ($(objpfx)tst-array5.out): Remove rule.
32033         ($(objpfx)tst-array5-cmp.out): New rule.
32034         ($(objpfx)tst-array5-static.out): Remove rule.
32035         ($(objpfx)tst-array5-static-cmp.out): New rule.
32036         [$(run-built-tests) = yes] (tests): Depend on
32037         $(objpfx)order2-cmp.out.
32038         ($(objpfx)order2.out): Remove rule.
32039         ($(objpfx)order2-cmp.out): New rule.
32040         ($(objpfx)tst-initorder.out): Remove rule.
32041         [$(run-built-tests) = yes] (tests): Depend on
32042         $(objpfx)tst-initorder-cmp.out.
32043         ($(objpfx)tst-initorder-cmp.out): New rule.
32044         ($(objpfx)tst-initorder2.out): Remove rule.
32045         [$(run-built-tests) = yes] (tests): Depend on
32046         $(objpfx)tst-initorder2-cmp.out.
32047         ($(objpfx)tst-initorder2-cmp.out): New rule.
32048         [$(run-built-tests) = yes] (tests): Depend on
32049         $(objpfx)tst-unused-dep-cmp.out.
32050         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
32051         ($(objpfx)tst-unused-dep-cmp.out): New rule.
32052         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
32053         on $(objpfx)tst-setvbuf1-cmp.out.
32054         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
32055         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
32056         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
32057         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
32058         ($(objpfx)tst-svc.out): Remove rule.
32059         ($(objpfx)tst-svc-cmp.out): New rule.
32061 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
32063         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
32064         * ctype/ctype.h [__USE_MISC]: Likewise.
32065         * dirent/dirent.h [__USE_MISC]: Likewise.
32066         * grp/grp.h [__USE_MISC]: Likewise.
32067         * io/fcntl.h [__USE_MISC]: Likewise.
32068         * io/sys/stat.h [__USE_MISC]: Likewise.
32069         * libio/stdio.h [__USE_MISC]: Likewise.
32070         * posix/unistd.h [__USE_MISC]: Likewise.
32071         * pwd/pwd.h [__USE_MISC]: Likewise.
32072         * stdlib.h [__USE_MISC]: Likewise.
32073         * string/bits/string2.h [__USE_MISC]: Likewise.
32074         * string/string.h [__USE_MISC]: Likewise.
32075         * time/time.h [__USE_MISC]: Likewise.
32077 2014-02-13  Andreas Schwab  <schwab@suse.de>
32079         [BZ #16574]
32080         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
32081         second answer buffer if it was separately allocated.
32083 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
32085         * sysdeps/mips/math-tests.h: Include <features.h>.
32086         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
32087         (ROUNDING_TESTS_long_double): Do not define.
32088         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
32089         (EXCEPTION_TESTS_long_double): Likewise.
32090         * sysdeps/mips/mips64/libm-test-ulps: Update.
32092         * include/features.h (__USE_BSD): Remove macro definitions.
32093         (__USE_SVID): Likewise.
32094         (_BSD_SOURCE): Likewise.
32095         (_SVID_SOURCE): Likewise.
32096         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
32097         from definition of _DEFAULT_SOURCE.
32098         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
32099         [_DEFAULT_SOURCE].
32100         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
32101         * bits/mman.h [__USE_BSD]: Likewise.
32102         * bits/termios.h [__USE_BSD]: Likewise.
32103         * bits/waitstatus.h [__USE_BSD]: Likewise.
32104         * ctype/ctype.h [__USE_SVID]: Likewise.
32105         * dirent/dirent.h [__USE_BSD]: Likewise.
32106         * grp/grp.h [__USE_SVID]: Likewise.
32107         [__USE_BSD]: Likewise.
32108         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
32109         * io/fcntl.h [__USE_BSD]: Likewise.
32110         * io/ftw.h [__USE_BSD]: Likewise.
32111         * io/sys/stat.h [__USE_BSD]: Likewise.
32112         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
32113         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
32114         * libio/stdio.h [__USE_SVID]: Likewise.
32115         [__USE_BSD]: Likewise.
32116         * math/math.h [__USE_SVID]: Likewise.
32117         [__USE_BSD]: Likewise.
32118         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
32119         * misc/bits/syslog.h [__USE_BSD]: Likewise.
32120         * misc/search.h [__USE_SVID]: Likewise.
32121         * misc/sys/mman.h [__USE_BSD]: Likewise.
32122         * misc/sys/syslog.h [__USE_BSD]: Likewise.
32123         * misc/sys/uio.h [__USE_BSD]: Likewise.
32124         * posix/bits/unistd.h [__USE_BSD]: Likewise.
32125         * posix/glob.h [__USE_BSD]: Likewise.
32126         * posix/regex.h [__USE_BSD]: Likewise.
32127         * posix/sys/types.h [__USE_BSD]: Likewise.
32128         [__USE_SVID]: Likewise.
32129         * posix/sys/utsname.h [__USE_SVID]: Likewise.
32130         * posix/sys/wait.h [__USE_BSD]: Likewise.
32131         [__USE_SVID]: Likewise.
32132         * posix/unistd.h [__USE_BSD]: Likewise.
32133         [__USE_SVID]: Likewise.
32134         * pwd/pwd.h [__USE_SVID]: Likewise.
32135         * resolv/netdb.h [__USE_BSD]: Likewise.
32136         * setjmp/setjmp.h [__USE_BSD]: Likewise.
32137         * signal/signal.h [__USE_BSD]: Likewise.
32138         [__USE_SVID]: Likewise.
32139         * socket/sys/socket.h [__USE_BSD]: Likewise.
32140         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
32141         * stdlib/stdlib.h [__USE_BSD]: Likewise.
32142         [__USE_SVID]: Likewise.
32143         * string/bits/string2.h [__USE_BSD]: Likewise.
32144         [__USE_SVID]: Likewise.
32145         * string/bits/string3.h [__USE_BSD]: Likewise.
32146         * string/endian.h [__USE_BSD]: Likewise.
32147         * string/string.h [__USE_SVID]: Likewise.
32148         [__USE_BSD]: Likewise.
32149         * string/strings.h [__USE_BSD]: Likewise.
32150         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
32151         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
32152         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
32153         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
32154         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
32155         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
32156         Likewise.
32157         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
32158         Likewise.
32159         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
32160         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
32161         Likewise.
32162         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
32163         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
32164         Likewise.
32165         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
32166         Likewise.
32167         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
32168         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
32169         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
32170         Likewise.
32171         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
32172         Likewise.
32173         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
32174         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
32175         * termios/termios.h [__USE_BSD]: Likewise.
32176         * time/sys/time.h [__USE_BSD]: Likewise.
32177         * time/time.h [__USE_BSD]: Likewise.
32178         [__USE_SVID]: Likewise.
32180         * Makefile (subdir_targets): Remove subdir_lint.out.
32182         * stdio-common/Makefile (do-tst-unbputc): Remove target.
32183         (do-tst-printf): Likewise.
32184         (tests): Depend directly on $(objpfx)tst-unbputc.out and
32185         $(objpfx)tst-printf.out.
32187         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
32189         * Makerules (check-abi-%): Change target to
32190         $(objpfx)check-abi-%.out.
32191         (check-abi target): Update dependencies.
32192         (check-abi-pattern variable): Redirect output of diff to $@.
32193         (check-abi variable): Likewise.
32194         * elf/Makefile (check-abi): Update dependencies.
32196         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
32197         unused.
32198         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
32199         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
32200         subnormal range.
32201         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
32202         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
32203         value has largest subnormal exponent.
32204         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
32205         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
32206         * sysdeps/aarch64/soft-fp/sfp-machine.h
32207         (_FP_TININESS_AFTER_ROUNDING): New macro.
32208         * sysdeps/alpha/soft-fp/sfp-machine.h
32209         (_FP_TININESS_AFTER_ROUNDING): Likewise.
32210         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
32211         Likewise.
32212         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
32213         (_FP_TININESS_AFTER_ROUNDING): Likewise.
32214         * sysdeps/mips/soft-fp/sfp-machine.h
32215         (_FP_TININESS_AFTER_ROUNDING): Likewise.
32216         * sysdeps/powerpc/soft-fp/sfp-machine.h
32217         (_FP_TININESS_AFTER_ROUNDING): Likewise.
32218         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
32219         Likewise.
32220         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
32221         (_FP_TININESS_AFTER_ROUNDING): Likewise.
32222         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
32223         (_FP_TININESS_AFTER_ROUNDING): Likewise.
32224         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
32225         Likewise.
32227 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
32229         [BZ #16545]
32230         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
32231         model 1.
32233 2014-02-12  Richard Henderson  <rth@redhat.com>
32235         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
32236         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
32237         * sysdeps/unix/sysv/linux/alpha: Move directory from
32238         ports/sysdeps/unix/sysv/linux/alpha.
32239         * README: Update listing for alpha-*-linux-gnu.
32241 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
32243         * include/features.h: Update comment documenting feature test
32244         macros.
32245         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
32246         _DEFAULT_SOURCE.
32247         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
32248         (_SVID_SOURCE): Likewise.
32249         (_DEFAULT_SOURCE): Update description of default features.
32250         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
32251         with _GNU_SOURCE.
32252         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
32253         (S_ISVTX): Likewise.
32254         * manual/math.texi (Mathematical Constants): Likewise.
32255         * manual/signal.texi (Interrupted Primitives): Likewise.
32256         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
32257         * math/test-matherr.c (_SVID_SOURCE): Do not define.
32258         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
32259         Don't refer to _SVID_SOURCE in warning text.
32261         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32263         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
32264         already defined.
32265         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
32266         * sysdeps/mips/dl-lookup.c: Remove.
32267         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
32269 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
32271         [BZ #16447]
32272         * math/auto-libm-test-in: Add testcase for expl.
32273         * math/auto-libm-test-out: Regenerate.
32274         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
32275         calculation of unsafe.
32276         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
32278 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
32280         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
32281         * sysdeps/unix/sysv/linux/aarch64: Move directory from
32282         ports/sysdeps/unix/sysv/linux/aarch64.
32283         * README: Update listing for aarch64*-*-linux-gnu.
32285 2014-02-11  Will Newton  <will.newton@linaro.org>
32287         * manual/probes.texi (Mathematical Function Probes): Use
32288         "triggered" instead of "hit".
32290         * manual/probes.texi (Internal Probes): Add documentation
32291         of setjmp, longjmp and longjmp_target probes.
32293         * include/stap-probe.h: Add comment about probe argument
32294         format.
32296         * malloc/mtrace.c (attribute_hidden): Remove unused macro
32297         definition.  (tr_where, tr_freehook, tr_mallochook,
32298         tr_reallochook, tr_memalignhook): Use ANSI protoype.
32300 2014-02-11  David S. Miller  <davem@davemloft.net>
32302         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
32303         processing int_tests.
32305 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
32307         * sysdeps/mips: Move directory from ports/sysdeps/mips.
32308         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
32309         * sysdeps/unix/sysv/linux/mips: Move directory from
32310         ports/sysdeps/unix/sysv/linux/mips.
32311         * README: Update listing for mips-*-linux-gnu and
32312         mips64-*-linux-gnu.
32314 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
32316         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
32317         * sysdeps/unix/sysv/linux/m68k: Move directory from
32318         ports/sysdeps/unix/sysv/linux/m68k.
32319         * README: Update listing for m68k-*-linux-gnu.
32321 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
32323         * sysdeps/tile: Move directory from ports/sysdeps/tile.
32324         * sysdeps/unix/sysv/linux/generic: Move directory from
32325         ports/sysdeps/unix/sysv/linux/generic.
32326         * sysdeps/unix/sysv/linux/tile: Move directory from
32327         ports/sysdeps/unix/sysv/linux/tile.
32328         * README: Update listing for tile*-*-linux-gnu.
32330 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
32332         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
32333         __builtin_expect.
32334         * benchtests/bench-memmem.c (simple_memmem): Likewise.
32335         * catgets/open_catalog.c (__open_catalog): Likewise.
32336         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
32337         * debug/confstr_chk.c: Likewise.
32338         * debug/fread_chk.c (__fread_chk): Likewise.
32339         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
32340         * debug/getgroups_chk.c: Likewise.
32341         * debug/mbsnrtowcs_chk.c: Likewise.
32342         * debug/mbsrtowcs_chk.c: Likewise.
32343         * debug/mbstowcs_chk.c: Likewise.
32344         * debug/memcpy_chk.c: Likewise.
32345         * debug/memmove_chk.c: Likewise.
32346         * debug/mempcpy_chk.c: Likewise.
32347         * debug/memset_chk.c: Likewise.
32348         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
32349         * debug/strcat_chk.c (__strcat_chk): Likewise.
32350         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
32351         * debug/strncat_chk.c (__strncat_chk): Likewise.
32352         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
32353         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
32354         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
32355         * debug/wcpncpy_chk.c: Likewise.
32356         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
32357         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
32358         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
32359         * debug/wcsncpy_chk.c: Likewise.
32360         * debug/wcsnrtombs_chk.c: Likewise.
32361         * debug/wcsrtombs_chk.c: Likewise.
32362         * debug/wcstombs_chk.c: Likewise.
32363         * debug/wmemcpy_chk.c: Likewise.
32364         * debug/wmemmove_chk.c: Likewise.
32365         * debug/wmempcpy_chk.c: Likewise.
32366         * debug/wmemset_chk.c: Likewise.
32367         * dirent/scandirat.c (SCANDIRAT): Likewise.
32368         * dlfcn/dladdr1.c (dladdr1): Likewise.
32369         * dlfcn/dladdr.c (dladdr): Likewise.
32370         * dlfcn/dlclose.c (dlclose_doit): Likewise.
32371         * dlfcn/dlerror.c (__dlerror): Likewise.
32372         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
32373         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
32374         * dlfcn/dlopen.c (dlopen_doit): Likewise.
32375         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
32376         * dlfcn/dlsym.c (dlsym_doit): Likewise.
32377         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
32378         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
32379         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
32380         Likewise.
32381         * elf/dl-conflict.c: Likewise.
32382         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
32383         * elf/dl-dst.h: Likewise.
32384         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
32385         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
32386         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
32387         * elf/dl-init.c (call_init, _dl_init): Likewise.
32388         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
32389         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
32390         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
32391         Likewise.
32392         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
32393         Likewise.
32394         * elf/dl-minimal.c (__libc_memalign): Likewise.
32395         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
32396         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
32397         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
32398         * elf/dl-sym.c (do_sym): Likewise.
32399         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
32400         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
32401         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
32402         * elf/dl-writev.h (_dl_writev): Likewise.
32403         * elf/ldconfig.c (search_dir): Likewise.
32404         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
32405         (dl_main): Likewise.
32406         * elf/setup-vdso.h (setup_vdso): Likewise.
32407         * grp/compat-initgroups.c (compat_call): Likewise.
32408         * grp/fgetgrent.c (fgetgrent): Likewise.
32409         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
32410         * grp/putgrent.c (putgrent): Likewise.
32411         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
32412         Likewise.
32413         * hurd/hurdinit.c: Likewise.
32414         * iconvdata/8bit-gap.c (struct): Likewise.
32415         * iconvdata/ansi_x3.110.c : Likewise.
32416         * iconvdata/big5.c : Likewise.
32417         * iconvdata/big5hkscs.c : Likewise.
32418         * iconvdata/cp1255.c: Likewise.
32419         * iconvdata/cp1258.c : Likewise.
32420         * iconvdata/cp932.c : Likewise.
32421         * iconvdata/euc-cn.c: Likewise.
32422         * iconvdata/euc-jisx0213.c : Likewise.
32423         * iconvdata/euc-jp.c: Likewise.
32424         * iconvdata/euc-jp-ms.c : Likewise.
32425         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
32426         * iconvdata/gb18030.c : Likewise.
32427         * iconvdata/gbbig5.c (const): Likewise.
32428         * iconvdata/gbgbk.c: Likewise.
32429         * iconvdata/gbk.c : Likewise.
32430         * iconvdata/ibm1364.c : Likewise.
32431         * iconvdata/ibm930.c : Likewise.
32432         * iconvdata/ibm932.c: Likewise.
32433         * iconvdata/ibm933.c : Likewise.
32434         * iconvdata/ibm935.c : Likewise.
32435         * iconvdata/ibm937.c : Likewise.
32436         * iconvdata/ibm939.c : Likewise.
32437         * iconvdata/ibm943.c: Likewise.
32438         * iconvdata/iso_11548-1.c: Likewise.
32439         * iconvdata/iso-2022-cn.c : Likewise.
32440         * iconvdata/iso-2022-cn-ext.c : Likewise.
32441         * iconvdata/iso-2022-jp-3.c: Likewise.
32442         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
32443         * iconvdata/iso-2022-kr.c : Likewise.
32444         * iconvdata/iso646.c (gconv_end): Likewise.
32445         * iconvdata/iso_6937-2.c : Likewise.
32446         * iconvdata/iso_6937.c : Likewise.
32447         * iconvdata/iso8859-1.c: Likewise.
32448         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
32449         * iconvdata/shift_jisx0213.c : Likewise.
32450         * iconvdata/sjis.c : Likewise.
32451         * iconvdata/t.61.c : Likewise.
32452         * iconvdata/tcvn5712-1.c : Likewise.
32453         * iconvdata/tscii.c: Likewise.
32454         * iconvdata/uhc.c : Likewise.
32455         * iconvdata/unicode.c (gconv_end): Likewise.
32456         * iconvdata/utf-16.c (gconv_end): Likewise.
32457         * iconvdata/utf-32.c (gconv_end): Likewise.
32458         * iconvdata/utf-7.c (base64): Likewise.
32459         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
32460         * iconv/gconv_close.c (__gconv_close): Likewise.
32461         * iconv/gconv_open.c (__gconv_open): Likewise.
32462         * iconv/gconv_simple.c (internal_ucs4_loop_single)
32463         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
32464         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
32465         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
32466         (ucs4le_internal_loop_single): Likewise.
32467         * iconv/iconv.c (iconv): Likewise.
32468         * iconv/iconv_close.c: Likewise.
32469         * iconv/loop.c (SINGLE): Likewise.
32470         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
32471         * include/atomic.h: Likewise.
32472         * inet/inet6_option.c (option_alloc): Likewise.
32473         * intl/bindtextdom.c (set_binding_values): Likewise.
32474         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
32475         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
32476         * intl/localealias.c (read_alias_file): Likewise.
32477         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
32478         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
32479         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
32480         * libio/fmemopen.c (fmemopen): Likewise.
32481         * libio/iofgets.c (_IO_fgets): Likewise.
32482         * libio/iofgets_u.c (fgets_unlocked): Likewise.
32483         * libio/iofgetws.c (fgetws): Likewise.
32484         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
32485         * libio/iogetdelim.c (_IO_getdelim): Likewise.
32486         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
32487         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
32488         * locale/findlocale.c (_nl_find_locale): Likewise.
32489         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
32490         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
32491         Likewise.
32492         * locale/setlocale.c (setlocale): Likewise.
32493         * login/programs/pt_chown.c (main): Likewise.
32494         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
32495         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
32496         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
32497         (mmap, mmap64, mremap, munmap): Likewise.
32498         * math/e_exp2l.c: Likewise.
32499         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
32500         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
32501         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
32502         * math/s_catan.c (__catan): Likewise.
32503         * math/s_catanf.c (__catanf): Likewise.
32504         * math/s_catanh.c (__catanh): Likewise.
32505         * math/s_catanhf.c (__catanhf): Likewise.
32506         * math/s_catanhl.c (__catanhl): Likewise.
32507         * math/s_catanl.c (__catanl): Likewise.
32508         * math/s_ccosh.c (__ccosh): Likewise.
32509         * math/s_ccoshf.c (__ccoshf): Likewise.
32510         * math/s_ccoshl.c (__ccoshl): Likewise.
32511         * math/s_cexp.c (__cexp): Likewise.
32512         * math/s_cexpf.c (__cexpf): Likewise.
32513         * math/s_cexpl.c (__cexpl): Likewise.
32514         * math/s_clog10.c (__clog10): Likewise.
32515         * math/s_clog10f.c (__clog10f): Likewise.
32516         * math/s_clog10l.c (__clog10l): Likewise.
32517         * math/s_clog.c (__clog): Likewise.
32518         * math/s_clogf.c (__clogf): Likewise.
32519         * math/s_clogl.c (__clogl): Likewise.
32520         * math/s_csin.c (__csin): Likewise.
32521         * math/s_csinf.c (__csinf): Likewise.
32522         * math/s_csinh.c (__csinh): Likewise.
32523         * math/s_csinhf.c (__csinhf): Likewise.
32524         * math/s_csinhl.c (__csinhl): Likewise.
32525         * math/s_csinl.c (__csinl): Likewise.
32526         * math/s_csqrt.c (__csqrt): Likewise.
32527         * math/s_csqrtf.c (__csqrtf): Likewise.
32528         * math/s_csqrtl.c (__csqrtl): Likewise.
32529         * math/s_ctan.c (__ctan): Likewise.
32530         * math/s_ctanf.c (__ctanf): Likewise.
32531         * math/s_ctanh.c (__ctanh): Likewise.
32532         * math/s_ctanhf.c (__ctanhf): Likewise.
32533         * math/s_ctanhl.c (__ctanhl): Likewise.
32534         * math/s_ctanl.c (__ctanl): Likewise.
32535         * math/w_pow.c: Likewise.
32536         * math/w_powf.c: Likewise.
32537         * math/w_powl.c: Likewise.
32538         * math/w_scalb.c (sysv_scalb): Likewise.
32539         * math/w_scalbf.c (sysv_scalbf): Likewise.
32540         * math/w_scalbl.c (sysv_scalbl): Likewise.
32541         * misc/error.c (error_tail): Likewise.
32542         * misc/pselect.c (__pselect): Likewise.
32543         * nis/nis_callback.c (__nis_create_callback): Likewise.
32544         * nis/nis_call.c (__nisfind_server): Likewise.
32545         * nis/nis_creategroup.c (nis_creategroup): Likewise.
32546         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
32547         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
32548         * nis/nis_getservlist.c (nis_getservlist): Likewise.
32549         * nis/nis_lookup.c (nis_lookup): Likewise.
32550         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
32551         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
32552         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
32553         * nis/nis_xdr.c (xdr_endpoint): Likewise.
32554         * nis/nss_compat/compat-grp.c (getgrent_next_file)
32555         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
32556         * nis/nss_compat/compat-initgroups.c (add_group)
32557         (internal_getgrent_r): Likewise.
32558         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
32559         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
32560         * nis/nss_compat/compat-spwd.c (getspent_next_file)
32561         (internal_getspnam_r): Likewise.
32562         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
32563         (_nss_nis_getaliasbyname_r): Likewise.
32564         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
32565         (_nss_nis_getntohost_r): Likewise.
32566         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
32567         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
32568         (_nss_nis_getgrgid_r): Likewise.
32569         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
32570         (internal_nis_gethostent_r, internal_gethostbyname2_r)
32571         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
32572         (_nss_nis_gethostbyname4_r): Likewise.
32573         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
32574         (initgroups_netid): Likewise.
32575         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
32576         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
32577         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
32578         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
32579         (_nss_nis_getprotobynumber_r): Likewise.
32580         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
32581         (_nss_nis_getsecretkey): Likewise.
32582         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
32583         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
32584         (_nss_nis_getpwuid_r): Likewise.
32585         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
32586         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
32587         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
32588         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
32589         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
32590         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
32591         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
32592         Likewise.
32593         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
32594         (_nss_nisplus_getntohost_r): Likewise.
32595         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
32596         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
32597         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
32598         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
32599         Likewise.
32600         * nis/nss_nisplus/nisplus-initgroups.c
32601         (_nss_nisplus_initgroups_dyn): Likewise.
32602         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
32603         (_nss_nisplus_getnetbyaddr_r): Likewise.
32604         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
32605         (_nss_nisplus_getprotobynumber_r): Likewise.
32606         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
32607         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
32608         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
32609         Likewise.
32610         * nis/nss_nisplus/nisplus-service.c
32611         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
32612         (_nss_nisplus_getservbyport_r): Likewise.
32613         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
32614         (_nss_nisplus_getspnam_r): Likewise.
32615         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
32616         Likewise.
32617         * nscd/aicache.c (addhstaiX): Likewise.
32618         * nscd/cache.c (cache_search, prune_cache): Likewise.
32619         * nscd/connections.c (register_traced_file, send_ro_fd)
32620         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
32621         (main_loop_epoll): Likewise.
32622         * nscd/grpcache.c (addgrbyX): Likewise.
32623         * nscd/hstcache.c (addhstbyX): Likewise.
32624         * nscd/initgrcache.c (addinitgroupsX): Likewise.
32625         * nscd/mem.c (gc, mempool_alloc): Likewise.
32626         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
32627         (addinnetgrX): Likewise.
32628         * nscd/nscd-client.h (__nscd_acquire_maplock)
32629         (__nscd_drop_map_ref): Likewise.
32630         * nscd/nscd_getai.c (__nscd_getai): Likewise.
32631         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
32632         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
32633         Likewise.
32634         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
32635         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
32636         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
32637         (__nscd_get_map_ref): Likewise.
32638         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
32639         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
32640         Likewise.
32641         * nscd/pwdcache.c (addpwbyX): Likewise.
32642         * nscd/selinux.c (preserve_capabilities): Likewise.
32643         * nscd/servicescache.c (addservbyX): Likewise.
32644         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
32645         * posix/fnmatch.c (fnmatch): Likewise.
32646         * posix/getopt.c (_getopt_internal_r): Likewise.
32647         * posix/glob.c (glob, glob_in_dir): Likewise.
32648         * posix/wordexp.c (exec_comm_child): Likewise.
32649         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
32650         (getanswer_r, gaih_getanswer_slice): Likewise.
32651         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
32652         * resolv/res_init.c: Likewise.
32653         * resolv/res_mkquery.c (res_nmkquery): Likewise.
32654         * resolv/res_query.c (__libc_res_nquery): Likewise.
32655         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
32656         Likewise.
32657         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
32658         * stdio-common/perror.c (perror): Likewise.
32659         * stdio-common/printf_fp.c (___printf_fp): Likewise.
32660         * stdio-common/tmpnam.c (tmpnam): Likewise.
32661         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
32662         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
32663         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
32664         Likewise.
32665         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
32666         * stdlib/putenv.c (putenv): Likewise.
32667         * stdlib/setenv.c (__add_to_environ): Likewise.
32668         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
32669         * stdlib/strtol_l.c (INTERNAL): Likewise.
32670         * string/memmem.c (memmem): Likewise.
32671         * string/strerror.c (strerror): Likewise.
32672         * string/strnlen.c (__strnlen): Likewise.
32673         * string/test-memmem.c (simple_memmem): Likewise.
32674         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
32675         * sunrpc/pm_getport.c (__get_socket): Likewise.
32676         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
32677         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
32678         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
32679         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
32680         Likewise.
32681         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
32682         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
32683         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
32684         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
32685         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
32686         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
32687         Likewise.
32688         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
32689         Likewise.
32690         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
32691         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
32692         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
32693         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
32694         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
32695         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
32696         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
32697         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
32698         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
32699         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
32700         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
32701         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
32702         Likewise.
32703         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
32704         Likewise.
32705         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
32706         Likewise.
32707         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
32708         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
32709         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
32710         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
32711         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
32712         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
32713         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
32714         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
32715         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
32716         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
32717         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
32718         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
32719         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
32720         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
32721         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
32722         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
32723         Likewise.
32724         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
32725         Likewise.
32726         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
32727         Likewise.
32728         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
32729         Likewise.
32730         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
32731         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
32732         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
32733         Likewise.
32734         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
32735         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
32736         * sysdeps/posix/opendir.c (__opendirat): Likewise.
32737         * sysdeps/posix/sleep.c: Likewise.
32738         * sysdeps/posix/tempname.c: Likewise.
32739         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
32740         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
32741         Likewise.
32742         * sysdeps/powerpc/powerpc32/dl-machine.h
32743         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
32744         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
32745         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
32746         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
32747         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
32748         Likewise.
32749         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
32750         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
32751         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
32752         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
32753         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
32754         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
32755         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
32756         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
32757         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
32758         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
32759         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
32760         (elf_machine_lazy_rel): Likewise.
32761         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
32762         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
32763         (elf_machine_lazy_rel): Likewise.
32764         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
32765         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
32766         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
32767         * sysdeps/unix/grantpt.c (grantpt): Likewise.
32768         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
32769         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
32770         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
32771         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
32772         Likewise.
32773         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
32774         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
32775         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
32776         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
32777         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
32778         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
32779         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
32780         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
32781         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
32782         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
32783         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
32784         Likewise.
32785         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
32786         (__posix_fallocate64_l64): Likewise.
32787         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
32788         (posix_fallocate): Likewise.
32789         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
32790         Likewise.
32791         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
32792         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
32793         (getifaddrs_internal): Likewise.
32794         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
32795         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
32796         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
32797         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
32798         * sysdeps/unix/sysv/linux/posix_fallocate64.c
32799         (__posix_fallocate64_l64): Likewise.
32800         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
32801         Likewise.
32802         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
32803         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
32804         (__get_clockfreq): Likewise.
32805         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
32806         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
32807         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
32808         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
32809         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
32810         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
32811         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
32812         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
32813         Likewise.
32814         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
32815         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
32816         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
32817         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
32818         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
32819         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
32820         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
32821         Likewise.
32822         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
32823         (posix_fallocate): Likewise.
32824         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
32825         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
32826         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
32827         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
32828         (elf_machine_rela, elf_machine_rela_relative)
32829         (elf_machine_lazy_rel): Likewise.
32830         * time/asctime.c (asctime_internal): Likewise.
32831         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
32832         * time/tzset.c (__tzset_parse_tz): Likewise.
32833         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
32834         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
32835         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
32836         * wcsmbs/wcsmbsload.h: Likewise.
32838         [BZ #15894]
32839         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
32841         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
32842         (arena_get2): Remove THREAD_STATS conditionals.
32843         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
32844         (__malloc_stats, int): Likewise.
32846 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
32848         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
32849         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
32851         * manual/setjmp.texi: Fix typos/grammar errors.
32853         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
32854         Only return early when n is <= 0.  Delete unused return statement.
32856         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
32857         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
32858         * debug/tst-longjmp_chk3.c: New file.
32860         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
32861         (test_main): Replace code with set_fortify_handler call.
32862         * debug/test-strcpy_chk.c: Likewise.
32863         * debug/tst-chk1.c: Likewise.
32864         * debug/tst-longjmp_chk.c: Likewise.
32865         * test-skeleton.c: Include fcntl.h & paths.h
32866         (set_fortify_handler): Define.
32868         * debug/tst-longjmp_chk.c: Add header comment and include
32869         ../test-skeleton.c.
32870         (do_test): Mark static.
32871         (TEST_FUNCTION): Define.
32873         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
32874         (IP_PMTUDISC_INTERFACE): Likewise.
32875         (IP_MULTICAST_IF): Likewise.
32876         (IP_MULTICAST_TTL): Likewise.
32877         (IP_MULTICAST_LOOP): Likewise.
32878         (IP_ADD_MEMBERSHIP): Likewise.
32879         (IP_DROP_MEMBERSHIP): Likewise.
32880         (IP_UNBLOCK_SOURCE): Likewise.
32881         (IP_BLOCK_SOURCE): Likewise.
32882         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
32883         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
32884         (IP_MSFILTER): Likewise.
32885         (MCAST_JOIN_GROUP): Likewise.
32886         (MCAST_BLOCK_SOURCE): Likewise.
32887         (MCAST_UNBLOCK_SOURCE): Likewise.
32888         (MCAST_LEAVE_GROUP): Likewise.
32889         (MCAST_JOIN_SOURCE_GROUP): Likewise.
32890         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
32891         (MCAST_MSFILTER): Likewise.
32892         (IP_MULTICAST_ALL): Likewise.
32893         (IP_UNICAST_IF): Likewise.
32895         * timezone/Makefile: Delete $(have-ksh) check.
32896         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
32897         * timezone/tzselect.ksh: Add +x mode bits.
32899         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
32900         (ANON_INODE_FS_MAGIC): Likewise.
32901         (BDEVFS_MAGIC): Likewise.
32902         (BINFMTFS_MAGIC): Likewise.
32903         (BTRFS_TEST_MAGIC): Likewise.
32904         (CRAMFS_MAGIC_WEND): Likewise.
32905         (DEBUGFS_MAGIC): Likewise.
32906         (ECRYPTFS_SUPER_MAGIC): Likewise.
32907         (EXT3_SUPER_MAGIC): Likewise.
32908         (EXT4_SUPER_MAGIC): Likewise.
32909         (FUTEXFS_SUPER_MAGIC): Likewise.
32910         (HOSTFS_SUPER_MAGIC): Likewise.
32911         (HUGETLBFS_MAGIC): Likewise.
32912         (MINIX3_SUPER_MAGIC): Likewise.
32913         (MTD_INODE_FS_MAGIC): Likewise.
32914         (NILFS_SUPER_MAGIC): Likewise.
32915         (OPENPROM_SUPER_MAGIC): Likewise.
32916         (PIPEFS_MAGIC): Likewise.
32917         (PSTOREFS_MAGIC): Likewise.
32918         (QNX6_SUPER_MAGIC): Likewise.
32919         (RAMFS_MAGIC): Likewise.
32920         (REISERFS_SUPER_MAGIC_STRING): Likewise.
32921         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
32922         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
32923         (SECURITYFS_MAGIC): Likewise.
32924         (SELINUX_MAGIC): Likewise.
32925         (SMACK_MAGIC): Likewise.
32926         (SOCKFS_MAGIC): Likewise.
32927         (SQUASHFS_MAGIC): Likewise.
32928         (STACK_END_MAGIC): Likewise.
32929         (TMPFS_MAGIC): Likewise.
32930         (USBDEVICE_SUPER_MAGIC): Likewise.
32931         (V9FS_MAGIC): Likewise.
32932         (XENFS_SUPER_MAGIC): Likewise.
32933         (CRAMFS_MAGIC): Fix typo in comment.
32934         (EXT2_SUPER_MAGIC): Update comment.
32935         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
32937 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
32939         * sysdeps/arm: Move directory from ports/sysdeps/arm.
32940         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
32941         * sysdeps/unix/sysv/linux/arm: Move directory from
32942         ports/sysdeps/unix/sysv/linux/arm.
32943         * README: Update listing for arm-*-linux-gnueabi.
32945         * README: Remove mention of am33.
32947 2014-02-07  Roland McGrath  <roland@hack.frob.com>
32949         * bits/sigset.h (__sigemptyset): Use a statement expression rather
32950         than the comma operator, to avoid "rhs of comma has no effect"
32951         compiler warnings.
32952         (__sigfillset, __sigandset, __sigorset): Likewise.
32953         * include/signal.h (__sigemptyset): Likewise.
32954         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
32956 2014-02-07  Allan McRae  <allan@archlinux.org>
32958         * version.h (RELEASE): Set to "development".
32959         (VERSION): Set to "2.19.90"
32960         * NEWS: Add 2.20 section.
32962 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
32964         [BZ #16529]
32965         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
32967 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
32969         * manual/contrib.texi: Update entry for Carlos O'Donell,
32970         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
32972 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
32974         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
32976         * sysdeps/unix/sysv/linux/kernel-features.h
32977         [__LINUX_KERNEL_VERSION >= 0x020621]
32978         (__ASSUME_PROC_PID_TASK_COMM): Define.
32980 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
32982         [BZ #16398]
32983         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
32984         conversion when destination buffer does not have enough space.
32985         * libio/tst-ftell-partial-wide.c: New test case.
32986         * libio/Makefile (tests): Add tst-ftell-partial-wide.
32988         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
32989         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
32990         Leonard and Allan McRae.
32992 2014-02-04  David S. Miller  <davem@davemloft.net>
32994         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
32995         32-bit.
32997 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32999         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
33000         New file
33001         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
33002         New file
33003         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
33004         New file.
33005         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
33006         New file.
33007         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
33008         New file.
33009         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
33010         New file.
33011         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
33012         New file.
33013         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
33014         New file.
33015         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
33016         New file.
33017         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
33018         New file.
33019         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
33020         New file.
33021         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
33022         New file.
33023         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
33024         New file.
33026 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33028         * nptl/shlib-versions: Change powerpc*le start to 2.17.
33029         * shlib-versions: Likewise.
33031 2014-02-04  Roland McGrath  <roland@hack.frob.com>
33032             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33034         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
33035         (abilist-pattern): New variable, set to %-le.abilist.
33037         * Makerules (abilist-pattern): New variable.
33038         (vpath): Use $(abilist-pattern) in place of %.abilist.
33039         (check-abi-% pattern rule): Likewise.
33040         (check-abi, update-abi): Likewise.
33042 2014-02-04  Eric Wong  <normalperson@yhbt.net>
33044         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33046 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
33048         * manual/startup.texi: Add next, previous, and top entries for
33049         the `Program Arguments' and `Environment Variables' nodes.
33051 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
33053         * manual/macros.texi: Add comments before MTASC-safety macros.
33055         * manual/users.texi: Document MTASC-safety properties.
33057         * manual/threads.texi (pthread_key_create, pthread_key_delete)
33058         (pthread_getspecific, pthread_setspecific): Format with
33059         @deftypefun, and add @safety note.
33060         * manual/signal.texi: Move comments that analyze the above
33061         functions to their home place.
33063 2014-02-03  Allan McRae  <allan@archlinux.org>
33065         * po/sl.po: Update Slovenian translation from translation project.
33067 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
33069         * manual/time.texi (timegm): Add missing blank after @c.
33070         Reported by Joseph Myers <joseph@codesourcery.com>.
33072 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
33074         * manual/check-safety.sh: New.
33075         * manual/Makefile ($(objpfx)stamp-summary): Run it.
33077         * manual/terminal.texi: Document MTASC-safety properties.
33079         * manual/filesys.texi: Document MTASC-safety properties.
33081         * manual/errno.texi: Document MTASC-safety properties.
33083         * manual/intro.texi: Document safety identifiers and
33084         conditionals.
33086         * manual/string.texi (wcstok): Fix prototype.
33087         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
33089         * manual/time.texi: Document MTASC-safety properties.
33091         * manual/string.texi: Document MTASC-safety properties.
33093         * manual/threads.texi: Document MTASC-safety properties.
33095         * manual/stdio.texi: Document MTASC-safety properties.
33097         * manual/syslog.texi: Document MTASC-safety properties.
33099         * manual/sysinfo.texi: Document MTASC-safety properties.
33101         * manual/startup.texi: Document MTASC-safety properties.
33103         * manual/socket.texi: Document MTASC-safety properties.
33105         * manual/signal.texi: Document MTASC-safety properties.
33107 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
33109         * manual/setjmp.texi: Document MTASC-safety properties.
33111         * manual/search.texi: Document MTASC-safety properties.
33113         * manual/resource.texi: Document MTASC-safety properties.
33115         * manual/process.texi: Document MTASC-safety properties.
33117         * manual/platform.texi: Document MTASC-safety properties.
33119         * manual/pipe.texi: Document MTASC-safety properties.
33121         * manual/pattern.texi: Document MTASC-safety properties.
33123         * manual/message.texi: Document MTASC-safety properties.
33125         [BZ #12751]
33126         * manual/memory.texi: Document MTASC-safety properties.
33128         * manual/math.texi: Document MTASC-safety properties.
33130         * manual/locale.texi: Document MTASC-safety properties.
33132         * manual/llio.texi: Document MTASC-safety properties.
33134         * manual/libdl.texi: New.
33136         * manual/lang.texi: Document MTASC-safety properties.
33138         * manual/job.texi: Document MTASC-safety properties.
33140         * manual/getopt.texi: Document MTASC-safety properties.
33142         * manual/ctype.texi: Document MTASC-safety properties.
33144 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
33146         [BZ #16046]
33147         * csu/libc-tls.c (static_map): Remove variable.
33148         (__libc_setup_tls): Use main executable's link map for TLS data.
33149         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
33150         casing for LM_ID_BASE and GL(dl_nns).
33151         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
33152         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
33153         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
33154         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
33155         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
33156         member.
33157         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
33158         l_phnum members.
33160 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
33162         * manual/debug.texi: Document MTASC-safety properties.
33164 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
33166         [BZ #16510]
33167         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
33168         of __x86_64__ when disabling x87 inline functions.
33170 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
33172         * manual/charset.texi: Document MTASC-safety properties.
33174         * manual/crypt.texi: Document MTASC-safety properties.
33176         * manual/conf.texi: Document MTASC-safety properties.
33178         * manual/arith.texi: Document MTASC-safety properties.
33180         * manual/argp.texi: Document MTASC-safety properties.
33182         * manual/macros.texi: Introduce macros to document multi
33183         thread, asynchronous signal and asynchronous cancellation
33184         safety properties.
33185         * manual/intro.texi: Introduce the properties themselves.
33187 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
33189         * sysdeps/sh/sh4/Makefile: New file.
33191 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
33193         * math/gen-libm-test.pl ($srcdir): New variable.
33194         ($auto_input): Use it.
33196 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
33198         [BZ #16506]
33199         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
33200         access beyond array bounds when parsing netgroups file.
33202         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
33203         the old buffer before realloc.
33205 2014-01-27  Allan McRae  <allan@archlinux.org>
33207         * po/fr.po: Update French translation from translation project.
33209 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
33211         * sysdeps/sh/libm-test-ulps: Regenerate.
33213 2014-01-24  David S. Miller  <davem@davemloft.net>
33215         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
33217 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
33219         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
33220         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
33222 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
33224         [BZ #16474]
33225         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
33226         string pointers after reallocation.
33228 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
33230         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
33231         __SH4A__ instead of __SH_FPU_ANY__.
33233 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
33235         * sysdeps/sh/fpu_control.h: New file.
33236         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
33237         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
33238         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
33239         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
33240         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
33241         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
33242         * sysdeps/sh/sys/ucontext.h: Remove.
33243         * sysdeps/sh/sys: Remove directory.
33245 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33247         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
33248         s390/sys/ucontext.h.
33249         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
33250         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
33252 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
33254         [BZ #15605]
33255         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
33257 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33259         [BZ#16431]
33260         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
33261         Adjust the vDSO correctly for internal calls.
33262         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
33264 2014-01-20  Allan McRae  <allan@archlinux.org>
33266         * po/ca.po: Update Catalan translation from translation project.
33268 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
33270         * sysdeps/s390/sotruss-lib.c: New file.
33272 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33274         [BZ#16430]
33275         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
33276         (__GI___gettimeofday): Alias for a different internal symbol to avoid
33277         local calls issues by not having a PLT stub required for IFUNC calls.
33278         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
33280 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
33282         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
33283         * math/test-fpucw-static.c: Likewise.
33285 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
33287         [BZ #16453]
33288         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
33290 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33292         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
33293         implementation for powerpc.
33295 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
33297         [BZ #14782]
33298         * sysdeps/posix/system.c (__libc_system): Do not enable
33299         asynchronous cancellation.
33301 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33303         [BZ #16427]
33304         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
33305         handling only for numbers special also in the IEEE case.
33307 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33309         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
33311 2014-01-11  Allan McRae  <allan@archlinux.org>
33313         * po/bg.po: Update Bulgarian translation from translation project.
33315         * po/de.po: Update German translation from translation project.
33317 2014-01-10  Roland McGrath  <roland@hack.frob.com>
33319         * sysdeps/generic/gcc-compat.h: New file.
33321 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
33323         * benchtests/asin-inputs: Correct slow inputs.
33324         * benchtests/acos-inputs: Likewise.
33326 2014-01-10  Allan McRae  <allan@archlinux.org>
33328         * po:sv.po: Update Swedish translation from translation project.
33330         * po/vi.po: Update Vietnamese translation from translation project.
33332         * po/eo.po: Update Esperanto translation from translation project.
33334         * po/cs.po: Update Czech translation from translation project.
33336         * po/nl.po: Update Dutch translation from translation project.
33338         * po/pl.po: Update Polish translation from translation project.
33340         * po/ru.po: Update Russian translation from translation project.
33342         * po/uk.po: Update Ukrainian translation from translation project.
33344 2014-01-08  Brooks Moses  <bmoses@google.com>
33346         * elf/dl-load.c: Fix comment typo.
33348 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
33350         * po/header.pot: Rename to...
33351         * po/pot.header: ... this.
33352         * po/Makefile: Use pot.header.
33354 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
33355             Maxim Kuvyrkov  <maxim@kugelworks.com>
33357         [BZ #16394]
33358         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
33359         SRC and DEST against LEN.
33361 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33363         [BZ #16414]
33364         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
33365         implementation.
33366         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
33368 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33370         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33372 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
33374         [BZ #16408]
33375         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
33376         for large positive arguments.
33378 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
33380         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
33382         * math/auto-libm-test-in: Mark various tests with
33383         xfail-rounding:ldbl-128ibm.
33384         * math/auto-libm-test-out: Regenerated.
33386         [BZ #16407]
33387         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
33388         Increase overflow threshold.
33390 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
33392         [BZ #14286]
33393         * stdio-common/vfprintf.c: Check for integer overflow.
33395 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33397         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
33398         the first argument and return value of __tls_get_addr_internal.
33400 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33402         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
33403         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
33405 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33407         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
33408         * sysdeps/s390/rtld-global-offsets.sym: New file.
33409         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
33410         GLIBC_2.19 symbol.
33411         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
33412         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
33413         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
33414         ... this.
33415         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
33416         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
33417         ... this.
33418         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
33419         Regenerate.
33420         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
33421         Regenerate.
33422         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
33423         halfs of GPRs for high_gprs contexts.
33424         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
33425         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
33426         field.
33427         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
33428         uc_flags field.
33429         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
33430         64 bit versions:
33431         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
33432         for high GPRs (uc_high_gprs) and for future extensions
33433         (__reserved).
33434         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
33435         for future extensions (__reserved).
33436         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
33437         64 bit versions:
33438         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
33439         SC_HIGHGPRS offset definition.
33440         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
33441         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
33443         * Versions.def: Add GLIBC_2.19 for libpthread.
33444         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
33445         siglongjmp for libpthread with GLIBC_2.19 symver.
33446         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
33447         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
33448         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
33449         * sysdeps/s390/__longjmp.c: New file.
33450         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
33451         * sysdeps/s390/longjmp.c: New file.
33452         * sysdeps/s390/setjmp.S: New file.
33453         * sysdeps/s390/sigjmp.S: New file.
33454         * sysdeps/s390/v1-longjmp.c: New file.
33455         * sysdeps/s390/v1-setjmp.h: New file.
33456         * sysdeps/s390/v1-sigjmp.c: New file.
33457         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
33458         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
33459         GLIBC_2.19 version.
33460         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
33461         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
33462         versioned symbols for ____longjmp_chk.
33463         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
33464         Likewise.
33465         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
33466         Regenerate.
33467         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
33468         Regenerate.
33469         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
33470         Regenerate.
33471         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
33472         Regenerate.
33473         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
33474         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
33475         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
33476         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
33477         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
33478         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
33479         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
33480         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
33481         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
33482         * sysdeps/s390/rtld-__longjmp.c: New file.
33483         * sysdeps/s390/rtld-setjmp.S: New file.
33485 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
33487         [BZ #16400]
33488         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
33489         Return -__logl (x) for small positive arguments without evaluating
33490         a polynomial.
33492 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
33494         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
33495         Rename to ...
33496         (__ptrace_peeksiginfo_args): ... this.
33497         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
33498         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
33499         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
33501 2014-01-06  Allan McRae  <allan@archlinux.org>
33503         * inet/netinet/in.h: Fix typo in comment.
33505 2014-01-05  Andreas Jaeger  <aj@suse.de>
33507         * sysdeps/i386/fpu/libm-test-ulps: Update.
33509 2014-01-05  Allan McRae  <allan@archlinux.org>
33511         * po/libc.pot: Regenerated.
33513         * malloc/memusagestat.c: Fix gettext call formatting.
33515 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
33517         * nscd/nscd.c: Improve usage() output.
33519 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
33521         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
33522         * sysdeps/unix/sysv/linux/configure: Regenerated.
33523         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
33524         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
33526 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
33528         [BZ #16390]
33529         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
33530         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
33532 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33534         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
33535         extra tokens at end of #undef directive.
33536         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
33537         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
33538         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
33540 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
33542         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
33544         * math/auto-libm-test-in: Mark various tests with
33545         xfail-rounding:ldbl-128ibm.
33546         * math/auto-libm-test-out: Regenerated.
33548 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
33550         [BZ #16386]
33551         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
33552         numbers with subnormal high part when calculating exponent.
33554         [BZ #16385]
33555         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
33556         fabs.
33558         [BZ #16384]
33559         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
33560         M_LN2l.
33561         (__ieee754_acoshl): Use __log1pl not __log1p.
33563 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
33565         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
33566         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
33567         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
33568         (grow_heap, heap_trim, _int_new_arena, get_free_list)
33569         (reused_arena, arena_get2): Convert to GNU style.
33570         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
33571         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
33572         (memalign_check, __malloc_set_state): Likewise.
33573         * malloc/mallocbug.c (main): Likewise.
33574         * malloc/malloc.c (__malloc_assert, malloc_init_state)
33575         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
33576         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
33577         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
33578         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
33579         (__posix_memalign, malloc_info): Likewise.
33580         * malloc/malloc.h: Likewise.
33581         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
33582         (mallochook, memalignhook, reallochook, mabort): Likewise.
33583         * malloc/mcheck.h: Likewise.
33584         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
33585         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
33586         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
33587         * malloc/morecore.c (__default_morecore): Likewise.
33588         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
33589         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
33590         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
33591         (print_and_abort): Likewise.
33592         * malloc/obstack.h: Likewise.
33593         * malloc/set-freeres.c (__libc_freeres): Likewise.
33594         * malloc/tst-mallocstate.c (main): Likewise.
33595         * malloc/tst-mtrace.c (main): Likewise.
33596         * malloc/tst-realloc.c (do_test): Likewise.
33598 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
33600         [BZ #16366]
33601         * nscd/netgroupcache.c (do_notfound): New function.
33602         (addgetnetgrentX): Use it.
33604         [BZ # 16365]
33605         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
33606         NSS_STATUS_NOTFOUND.
33608 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
33610         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
33611         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33613 2014-01-01  Allan McRae  <allan@archlinux.org>
33615         * scripts/update-copyrights: Update configure input file suffix.
33617         * NEWS: Update copyright year.
33618         * catgets/gencat.c: Likewise.
33619         * csu/version.c: Likewise.
33620         * debug/catchsegv.sh: Likewise.
33621         * debug/pcprofiledump.c: Likewise.
33622         * debug/xtrace.sh: Likewise.
33623         * elf/ldconfig.c: Likewise.
33624         * elf/ldd.bash.in: Likewise.
33625         * elf/pldd.c: Likewise.
33626         * elf/sotruss.ksh: Likewise.
33627         * elf/sprof.c: Likewise.
33628         * iconv/iconv_prog.c: Likewise.
33629         * iconv/iconvconfig.c: Likewise.
33630         * locale/programs/locale.c: Likewise.
33631         * locale/programs/localedef.c: Likewise.
33632         * login/programs/pt_chown.c: Likewise.
33633         * malloc/memusage.sh: Likewise.
33634         * malloc/memusagestat.c: Likewise.
33635         * malloc/mtrace.pl: Likewise.
33636         * manual/libc.texinfo: Likewise.
33637         * nscd/nscd.c: Likewise.
33638         * nss/getent.c: Likewise.
33639         * nss/makedb.c: Likewise.
33640         * posix/getconf.c: Likewise.
33641         * scripts/test-installation.pl: Likewise.
33643         * All files with FSF copyright notices: Update copyright dates
33644         using scripts/update-copyrights.
33645         * intl/plural.c: Regenerated.
33646         * locale/programs/charmap-kw.h: Likewise.
33647         * locale/programs/locfile-kw.h: Likewise.
33649 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
33651         * sysdeps/unix/sysv/linux/configure: Regenerated.
33652         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
33653         the linux/fanotify.h header.
33654         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
33655         HAVE_LINUX_FANOTIFY_H is defined.
33657 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
33659         * benchtests/cos-inputs: New inputs.
33660         * benchtests/sin-inputs: Likewise.
33662         * benchtests/atan-inputs: New inputs. Fix name of multiple
33663         precision fallback inputs.
33665         * benchtests/atanh-inputs: New inputs.
33666         * benchtests/tanh-inputs: Likewise.
33668         * benchtests/acosh-inputs: New inputs.
33669         * benchtests/asinh-inputs: Likewise.
33671         * benchtests/cosh-inputs: New inputs.
33672         * benchtests/sinh-inputs: Likewise.
33674         * benchtests/acos-inputs: Add more inputs.
33675         * benchtests/asin-inputs: Likewise.
33677 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
33679         [BZ #16375]
33680         * manual/arith.texi: Fix spelling.
33681         * manual/charset.texi: Likewise.
33682         * manual/errno.texi: Likewise.
33683         * manual/filesys.texi: Likewise.
33684         * manual/lang.texi: Likewise.
33685         * manual/llio.texi: Likewise.
33686         * manual/locale.texi: Likewise.
33687         * manual/message.texi: Likewise.
33688         * manual/resource.texi: Likewise.
33689         * manual/search.texi: Likewise.
33690         * manual/setjmp.texi: Likewise.
33691         * manual/stdio.texi: Likewise.
33692         * manual/string.texi: Likewise.
33693         * manual/sysinfo.texi: Likewise.
33694         * manual/time.texi: Likewise.
33696 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
33698         * po/sl.po: New file.
33700 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
33702         * .gitignore: Add core/.gdbinit/.gdb_history.
33704 2013-12-27  Allan McRae  <allan@archlinux.org>
33706         [BZ #16369]
33707         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
33708         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
33710 2013-12-24  Brooks Moses  <bmoses@google.com>
33712         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
33713         all compilers that claim C++98 compliance, not just GCC.
33714         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
33715         Likewise.
33717 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
33719         * NEWS: Restore accidentally deleted bug-fix entries.
33721 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
33722             Ondřej Bílka  <neleai@seznam.cz>
33724         [BZ #15073]
33725         * malloc/malloc.c (_int_free): Perform sanity check only if we
33726         have_lock.
33728 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
33730         [BZ #12986]
33731         * manual/stdio.texi (String Input Conversions): Clarify that character
33732         classes are not supported.
33734 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33736         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33738 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
33740         [BZ #16337]
33741         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
33742         Calculate results for small negative arguments directly rather
33743         than using reflection formula with special underflow handling.
33745         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
33746         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
33747         sysdeps/unix/bsd/bsd4.4/syscalls.list.
33748         (fchflags): Likewise.
33749         (revoke): Likewise.
33750         (setlogin): Likewise.
33751         (sigaltstack): Likewise.
33752         (wait4): Likewise.
33753         (sigblock): Remove.
33754         (sigsetmask): Likewise.
33755         (wait3): Likewise.
33756         (waitpid): Likewise.
33757         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
33758         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
33759         file.
33760         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
33761         * sysdeps/unix/bsd/Makefile: ... here.
33762         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
33763         * sysdeps/unix/bsd/Versions: ... here.
33764         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
33765         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
33766         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
33767         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
33768         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
33769         * sysdeps/unix/bsd/sigblock.c: ... here.
33770         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
33771         * sysdeps/unix/bsd/sigsetmask.c: ... here.
33772         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
33773         * sysdeps/unix/bsd/sigvec.c: ... here.
33774         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
33775         * sysdeps/unix/bsd/tcdrain.c: ... here.
33776         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
33777         * sysdeps/unix/bsd/tcgetattr.c: ... here.
33778         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
33779         * sysdeps/unix/bsd/tcsetattr.c: ... here.
33780         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
33781         * sysdeps/unix/bsd/wait.c: ... here.
33782         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
33783         * sysdeps/unix/bsd/wait3.c: ... here.
33784         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
33785         * sysdeps/unix/bsd/waitpid.c: ... here.
33787 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
33789         [BZ #16356]
33790         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
33791         round-to-nearest for [!USE_AS_EXPM1L].
33792         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
33793         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
33794         more tests of exp and exp10.  Expect some exp10 tests to miss
33795         exceptions or fail in directed rounding modes.
33796         * math/auto-libm-test-out: Regenerated.
33797         * math/libm-test.inc (exp10_tonearest_test_data): New array.
33798         (exp10_test_tonearest): New function.
33799         (exp10_towardzero_test_data): New array.
33800         (exp10_test_towardzero): New function.
33801         (exp10_downward_test_data): New array.
33802         (exp10_test_downward): New function.
33803         (exp10_upward_test_data): New array.
33804         (exp10_test_upward): New function.
33805         (main): Call the new functions.
33806         * sysdeps/i386/fpu/libm-test-ulps: Update.
33807         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33809 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
33811         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
33812         asinh, atan, atan2, atanh, cbrt, cos and cosh.
33813         * math/auto-libm-test-out: Regenerated.
33814         * math/libm-test.inc (acosh_test_data): Add more tests.
33815         (atanh_test_data): Likewise.
33816         (ceil_test_data): Likewise.
33817         (copysign_test_data): Likewise.
33818         * sysdeps/i386/fpu/libm-test-ulps: Update.
33819         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33821         * timezone/checktab.awk: Update from tzcode 2013i.
33822         * timezone/private.h: Likewise.
33823         * timezone/scheck.c: Likewise.
33824         * timezone/tzfile.h: Likewise.
33825         * timezone/tzselect.ksh: Likewise.
33826         * timezone/zdump.c: Likewise.
33827         * timezone/zic.c: Likewise.
33829         * math/auto-libm-test-in: Add tests of cpow.
33830         * math/auto-libm-test-out: Regenerated.
33831         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
33832         * math/gen-auto-libm-tests.c (func_calc_method): Add value
33833         mpc_cc_c.
33834         (func_calc_desc): Add mpc_cc_c union field.
33835         (test_functions): Add cpow.
33836         (special_fill_2pi): New function.
33837         (special_real_inputs): Add 2pi.
33838         (calc_generic_results): Handle mpc_cc_c.
33839         * sysdeps/i386/fpu/libm-test-ulps: Update.
33840         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33842         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
33843         csqrt, ctan and ctanh.
33844         * math/auto-libm-test-out: Regenerated.
33845         * math/libm-test.inc (TEST_COND_x86_64): New macro.
33846         (TEST_COND_x86): Likewise.
33847         (ccos_test_data): Use AUTO_TESTS_c_c.
33848         (ccosh_test_data): Likewise.
33849         (cexp_test_data): Likewise.
33850         (clog_test_data): Likewise.
33851         (csqrt_test_data): Likewise.
33852         (ctan_test_data): Likewise.
33853         (ctan_tonearest_test_data): Likewise.
33854         (ctan_towardzero_test_data): Likewise.
33855         (ctan_downward_test_data): Likewise.
33856         (ctan_upward_test_data): Likewise.
33857         (ctanh_test_data): Likewise.
33858         (ctanh_tonearest_test_data): Likewise.
33859         (ctanh_towardzero_test_data): Likewise.
33860         (ctanh_downward_test_data): Likewise.
33861         (ctanh_upward_test_data): Likewise.
33862         * math/gen-auto-libm-tests.c (func_calc_method): Add value
33863         mpc_c_c.
33864         (func_calc_desc): Add mpc_c_c union field.
33865         (FUNC_mpc_c_c): New macro.
33866         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
33867         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
33868         ctanh.
33869         (special_fill_min_subnorm_p120): New function.
33870         (special_real_inputs): Add min_subnorm_p120.
33871         (calc_generic_results): Handle mpc_c_c.
33872         * sysdeps/i386/fpu/libm-test-ulps: Update.
33873         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33875 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
33877         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
33878         (do_sin_slow): New functions.
33879         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
33880         (cslow2, csloww1, csloww2): Use the new functions.
33882         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
33883         Use M to change sign of result instead of X.  Assume X is
33884         positive.
33885         (csloww1): Likewise.
33886         (__sin): Adjust.
33887         (__cos): Adjust.
33889         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
33890         arguments A and DA.
33891         (__sin): Adjust.
33892         (__cos): Likewise.
33894         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
33895         (__cos): Likewise.
33896         (sloww1): Don't adjust sign of DX.
33897         (csloww1): Likewise.
33898         (sloww2): Use X directly and don't adjust sign of DX.
33899         (csloww2): Likewise.
33901 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
33903         * math/auto-libm-test-in: Add tests of cabs and carg.
33904         * math/auto-libm-test-out: Regenerated.
33905         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
33906         (carg_test_data): Likewise.
33907         * math/gen-auto-libm-tests.c (func_calc_method): Add value
33908         mpc_c_f.
33909         (func_calc_desc): Add mpc_c_f union field.
33910         (test_functions): Add cabs and carg.
33911         (calc_generic_results): Handle mpc_c_f.
33913         * sysdeps/powerpc/powerpc32/libgcc-compat.S
33914         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
33915         as a macro and a compat symbol.
33916         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
33917         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
33918         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
33919         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
33920         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
33921         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
33922         not use .hidden.
33923         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
33924         Likewise.
33925         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
33926         Likewise.
33927         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
33928         Likewise.
33929         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
33930         Likewise.
33931         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
33932         Likewise.
33933         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
33934         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
33935         from GLIBC_2.3.2.
33937 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33939         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33941 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
33943         * manual/texinfo.tex: Update to version 2013-11-26.10 with
33944         trailing whitespace removed.
33945         * scripts/config.guess: Update to version 2013-11-29.
33946         * scripts/config.sub: Update to version 2013-10-01.
33948         * math/auto-libm-test-in: Add tests of sincos.
33949         * math/auto-libm-test-out: Regenerated.
33950         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
33951         * math/gen-auto-libm-tests.c (func_calc_method): Add value
33952         mpfr_f_11.
33953         (func_calc_desc): Add mpfr_f_11 union field.
33954         (test_functions): Add sincos.
33955         (calc_generic_results): Handle mpfr_f_11.
33956         * sysdeps/i386/fpu/libm-test-ulps: Update.
33957         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33959 2013-12-19  Andreas Schwab  <schwab@suse.de>
33961         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
33962         CALL_MCOUNT.
33963         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
33964         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
33965         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
33967 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
33969         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
33970         * sysdeps/i386/fpu/libm-test-ulps: Update.
33971         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33973         [BZ #16293]
33974         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
33975         round-to-nearest mode when using frndint.
33976         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
33977         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
33978         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
33979         Likewise.
33980         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
33981         sinh test to fail.
33982         * math/auto-libm-test-out: Regenerated.
33983         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
33984         (TEST_COND_x86): Likewise.
33985         (expm1_tonearest_test_data): New array.
33986         (expm1_test_tonearest): New function.
33987         (expm1_towardzero_test_data): New array.
33988         (expm1_test_towardzero): New function.
33989         (expm1_downward_test_data): New array.
33990         (expm1_test_downward): New function.
33991         (expm1_upward_test_data): New array.
33992         (expm1_test_upward): New function.
33993         (main): Run the new test functions.
33994         * sysdeps/i386/fpu/libm-test-ulps: Update.
33995         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33997         * include/features.h: Update comment documenting feature test
33998         macros.  Mention _DEFAULT_SOURCE in comment.
33999         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
34000         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
34001         _BSD_SOURCE and _SVID_SOURCE.
34002         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
34003         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
34004         !_SVID_SOURCE]: Likewise.
34005         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
34006         (__USE_POSIX_IMPLICITLY): Define.
34007         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
34008         (_POSIX_SOURCE): Undefine and redefine.
34009         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
34010         (_POSIX_C_SOURCE): Likewise.
34011         * manual/creature.texi (_DEFAULT_SOURCE): Document.
34012         (Feature Test Macros): Update documentation of default features.
34014 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
34016         * benchtests/Makefile: Add bench-strtok.
34017         * benchtests/bench-strtok.c: New file: strtok benchtest.
34019 2013-12-19  Allan McRae  <allan@archlinux.org>
34021         * manual/install.texi: Suppress menu for plain text output.
34022         * INSTALL: Regenerated.
34024 2013-12-18  Brooks Moses  <bmoses@google.com>
34026         [BZ #15846]
34027         * misc/getauxval.c: Include errno.h.
34028         (__getauxval): Set errno to ENOENT if the requested type is not
34029         found.
34030         * misc/sys/auxv.h (getauxval): Document that it may set errno;
34031         don't declare with __attribute_const__.
34032         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
34033         * manual/startup.texi: Document that getauxval sets errno.
34035 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
34037         * math/auto-libm-test-in: Add tests of jn and yn.
34038         * math/auto-libm-test-out: Regenerated.
34039         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
34040         (yn_test_data): Likewise.
34041         * math/gen-auto-libm-tests.c (func_calc_method): Add value
34042         mpfr_if_f.
34043         (func_calc_desc): Add mpfr_if_f union field.
34044         (FUNC_mpfr_if_f): New macro.
34045         (test_functions): Add jn and yn.
34046         (calc_generic_results): Assert type of second input for
34047         mpfr_ff_f.  Handle mpfr_if_f.
34048         (output_for_one_input_case): Disable all checking for arguments
34049         fitting floating-point types in case of an integer argument.
34050         * sysdeps/i386/fpu/libm-test-ulps: Update.
34051         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34053         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
34054         Don't expect fegetround reference in libm.so.
34056 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
34058         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
34059         $(config-cflags-nofma).
34061 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
34063         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
34064         * math/auto-libm-test-out: Regenerated.
34066         [BZ #16338]
34067         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
34068         to determine exponent and adjust argument to have exponent of -1.
34069         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
34070         log2.
34071         * math/auto-libm-test-out: Regenerated.
34072         * sysdeps/i386/fpu/libm-test-ulps: Update.
34073         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34075 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
34077         * manual/probes.texi: Remove cases when per-thread arenas are
34078         disabled.
34080 2013-12-18  Andreas Schwab  <schwab@suse.de>
34082         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
34083         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
34084         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
34085         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
34086         * sysdeps/i386/i686/multiarch/Makefile: Update.
34087         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
34089 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
34091         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
34092         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
34094 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
34096         [BZ #15968]
34097         Support TZ transition times < 00:00:00.
34098         This is needed for version-3 tz-format files; it supports time
34099         stamps past 2037 for America/Godthab (the only entry in the tz
34100         database for which this change is relevant).
34101         * manual/time.texi (TZ Variable): Document transition times
34102         from -167:59:59 through -00:00:01.
34103         * time/tzset.c (tz_rule): Time of day is now signed.
34104         (__tzset_parse_tz): Parse negative time of day.
34106         Document TZ transition times >= 25:00:00.
34107         * manual/time.texi (TZ Variable): Document transition times from
34108         25:00:00 through 167:59:59.  These are already supported, and this
34109         support will help with version-3 tz-format files.
34111         * manual/time.texi (TZ Variable): Modernize North America example
34112         to reflect current (i.e., 2007-and-later) daylight saving rules.
34114         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
34116 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
34118         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
34119         * sysdeps/unix/bsd/bits/stat.h: Likewise.
34120         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
34121         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
34122         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
34123         * sysdeps/unix/bsd/bsdstat.h: Likewise.
34124         * sysdeps/unix/bsd/clock.c: Likewise.
34125         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
34126         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
34127         * sysdeps/unix/bsd/init-posix.c: Likewise.
34128         * sysdeps/unix/bsd/poll.c: Likewise.
34129         * sysdeps/unix/bsd/ptsname.c: Likewise.
34130         * sysdeps/unix/bsd/seekdir.c: Likewise.
34131         * sysdeps/unix/bsd/setegid.c: Likewise.
34132         * sysdeps/unix/bsd/seteuid.c: Likewise.
34133         * sysdeps/unix/bsd/setgid.c: Likewise.
34134         * sysdeps/unix/bsd/setrgid.c: Likewise.
34135         * sysdeps/unix/bsd/setruid.c: Likewise.
34136         * sysdeps/unix/bsd/setsid.c: Likewise.
34137         * sysdeps/unix/bsd/setuid.c: Likewise.
34138         * sysdeps/unix/bsd/sigaction.c: Likewise.
34139         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
34140         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
34141         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
34142         * sysdeps/unix/bsd/telldir.c: Likewise.
34143         * sysdeps/unix/bsd/times.c: Likewise.
34144         * sysdeps/unix/bsd/usleep.c: Likewise.
34146         * misc/Makefile (install-lib): Remove libbsd-compat.a.
34147         ($(objpfx)libbsd-compat.a): Remove rule.
34149         * include/features.h (__FAVOR_BSD): Do not define.
34150         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
34151         features conflicting with POSIX.
34152         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
34153         (_BSD_SOURCE): Remove description of not being a subset of other
34154         feature test macros.
34155         * manual/job.texi (getpgrp): Do not document BSD version.
34156         (getpgid): Do not document by reference to BSD getpgrp.
34157         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
34158         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
34159         * signal/signal.h [__FAVOR_BSD]: Likewise.
34160         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
34161         instead of making contents conditional on [__FAVOR_BSD].
34162         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
34164 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34166         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34168 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
34170         [BZ #16314]
34171         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
34172         values below 2**-450, not 2**-500.
34173         * math/auto-libm-test-in: Don't allow spurious underflow from
34174         hypot.
34175         * math/auto-libm-test-out: Regenerated.
34177         [BZ #16316]
34178         [BZ #16330]
34179         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
34180         values of ha and hb and sort them after adjusting subnormal
34181         arguments.
34182         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
34183         Likewise.
34184         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
34185         values of ea and eb and sort them after adjusting subnormal
34186         arguments.
34187         * math/auto-libm-test-in: Do not expect some hypot tests of
34188         subnormals to fail.  Add more hypot tests.
34189         * math/auto-libm-test-out: Regenerated.
34191 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
34193         [BZ #13304]
34194         * sysdeps/sh/s_fma.c: New file.
34195         * sysdeps/sh/s_fmaf.c: New file.
34196         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
34197         version.
34198         * sysdeps/sh/Implies: Add sh/soft-fp.
34200 2013-12-16  Roland McGrath  <roland@hack.frob.com>
34202         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
34203         level of indirection to members `objname', `errstring', `malloced'.
34204         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
34205         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
34206         it as the __longjmp argument (just pass 1 instead).
34207         (_dl_catch_error): Initialize C with argument pointers and address of
34208         volatile local ERRCODE rather than copying values out of C at return.
34210 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
34212         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
34213         * math/auto-libm-test-out: Regenerated.
34214         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
34215         (hypot_test_data): Likewise.
34216         (pow_test_data): Likewise.
34217         (pow_tonearest_test_data): Likewise.
34218         * math/gen-auto-libm-tests.c (func_calc_method): Add value
34219         mpfr_ff_f.
34220         (func_calc_desc): Add mpfr_ff_f union field.
34221         (FUNC_mpfr_ff_f): New macro.
34222         (test_functions): Add atan2, hypot and pow.
34223         (special_fill_min): New function.
34224         (special_fill_minus_min): Likewise.
34225         (special_fill_min_subnorm): Likewise.
34226         (special_fill_minus_min_subnorm): Likewise.
34227         (special_real_inputs): Add min, -min, min_subnorm and
34228         -min_subnorm.
34229         (calc_generic_results): Handle mpfr_ff_f.
34230         * sysdeps/i386/fpu/libm-test-ulps: Update.
34231         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34233 2013-12-16  Will Newton  <will.newton@linaro.org>
34235         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
34236         (Aligned Memory Blocks): Add documentation for aligned_alloc
34237         and suggest it as an alternative to posix_memalign.
34238         (Hooks for Malloc): Document __memalign_hook is also called
34239         for aligned_alloc.  (Summary of Malloc): Add summary for
34240         aligned alloc.  Document __memalign_hook is also called
34241         for aligned_alloc.
34243 2013-12-16  Will Newton  <will.newton@linaro.org>
34245         * manual/memory.texi (Malloc Examples): Clarify default
34246         alignment documentation.  Suggest posix_memalign rather
34247         than memalign or valloc.
34248         (Aligned Memory Blocks): Remove suggestion to use memalign
34249         or valloc.  Remove obsolete comment about BSD.
34250         Document memalign errno values and mark the function obsolete.
34251         Document posix_memalign returned error codes.  Mark valloc
34252         as obsolete.  (Hooks for Malloc): __memalign_hook is also
34253         called for posix_memalign and valloc.
34254         (Summary of Malloc): Add posix_memalign to function summary.
34255         __memalign_hook is also called for posix_memalign and valloc.
34257 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
34259         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
34260         TAYLOR_SIN.
34261         (__sin): Adjust.
34262         (__cos): Likewise.
34263         (sloww): Use mynumber union.  Expand ternary operator into
34264         if-else statements.
34265         (cslow): use mynumber union.
34267 2013-12-16  Allan McRae  <allan@archlinux.org>
34269         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
34270         * configure: Regenerated.
34272         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
34274         [BZ #14120]
34275         * configure.ac: Added --enable-maintainer-mode. Check for
34276         autoconf when enabled.
34277         * configure: Regenerated.
34279         * nscd/nscd.service: New file.
34280         * nscd/nscd.tmpfiles: New file.
34282 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
34284         [BZ #12100]
34285         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
34286         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
34287         * sysdeps/x86_64/multiarch/strstr.c: ... here.
34288         (strstr): Add __strstr_sse2_unaligned ifunc.
34289         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
34290         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
34291         (strcasestr): Remove __strcasestr_sse42 ifunc.
34292         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
34293         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
34294         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
34296 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
34298         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
34299         * sysdeps/sh/bits/fenv.h: ... here.
34300         * sysdeps/sh/sh4/fpu/bits: Remove directory.
34302 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34304         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
34306         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
34307         hypotf multiarch implementations.
34308         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
34309         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
34310         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
34311         multiarch hypot for PPC64.
34312         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
34313         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
34314         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
34315         multiarch hypotf for PPC64.
34317         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
34318         modff multiarch implementations.
34319         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
34320         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
34321         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
34322         multiarch modf for PPC64.
34323         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
34324         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
34325         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
34326         multiarch modff for PPC64.
34328         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
34329         and logl multiarch implementations.
34330         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
34331         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
34332         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
34333         multiarch logb for PPC64.
34334         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
34335         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
34336         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
34337         multiarch logb for PPC64.
34338         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
34339         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
34340         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
34341         multiarch logb for PPC64.
34343         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
34344         isinff multiarch implementation.
34345         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
34346         file.
34347         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
34348         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
34349         multiarch isinf for PPC64.
34350         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
34351         file.
34352         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
34353         multiarch isinff for PPC64.
34355         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
34356         finitef multiarch implementation.
34357         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
34358         file.
34359         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
34360         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
34361         multiarch finite for PPC64.
34362         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
34363         file.
34364         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
34365         multiarch finitef for PPC64.
34367         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
34368         lrint multiarch implementation.
34369         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
34370         file.
34371         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
34372         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
34373         multiarch llrint for PPC64.
34374         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
34375         multiarch lrint for PPC64.
34377         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
34378         copysignf multiarch implementation.
34379         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
34380         file.
34381         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
34382         file.
34383         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
34384         multiarch copysign for PPC64.
34385         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
34386         multiarch copysignf for PPC64.
34388         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
34389         multiarch implementation.
34390         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
34391         file.
34392         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
34393         file.
34394         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
34395         file.
34396         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
34397         file.
34398         multiarch llround for PPC64.
34399         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
34400         multiarch trunc for PPC64.
34401         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
34402         multiarch truncf for PPC64.
34404         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
34405         multiarch implementation.
34406         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
34407         file.
34408         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
34409         file.
34410         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
34411         file.
34412         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
34413         file.
34414         multiarch llround for PPC64.
34415         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
34416         multiarch round for PPC64.
34417         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
34418         multiarch roundf for PPC64.
34420         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
34421         multiarch implementation.
34422         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
34423         file.
34424         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
34425         file.
34426         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
34427         file.
34428         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
34429         file.
34430         multiarch llround for PPC64.
34431         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
34432         multiarch floor for PPC64.
34433         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
34434         multiarch floorf for PPC64.
34436         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
34437         multiarch implementation.
34438         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
34439         file.
34440         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
34441         file.
34442         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
34443         file.
34444         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
34445         file.
34446         multiarch llround for PPC64.
34447         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
34448         multiarch ceil for PPC64.
34449         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
34450         multiarch ceilf for PPC64.
34452         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
34453         multiarch implementation.
34454         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
34455         file.
34456         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
34457         file.
34458         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
34459         file.
34460         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
34461         multiarch llround for PPC64.
34462         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
34463         multiarch lround for PPC64.
34465         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
34466         multiarch implementation.
34467         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
34468         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
34469         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
34470         file.
34471         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
34472         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
34473         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
34474         multiarch isnan for PPC64.
34475         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
34476         multiarch isnanf for PPC64.
34478         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
34479         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
34480         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
34481         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
34482         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
34483         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
34485         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
34486         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
34487         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
34488         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
34490         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
34491         multiarch implementations.
34492         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
34493         (__libc_ifunc_impl_list): Likewise.
34494         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
34495         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
34496         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
34497         multiarch stpcpy for PPC64.
34499         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
34500         multiarch implementations.
34501         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
34502         (__libc_ifunc_impl_list): Likewise.
34503         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
34504         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
34505         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
34506         multiarch strcpy for PPC64.
34508         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
34509         redefine function name.
34510         (_wordcopy_fwd_dest_aligned): Likewise.
34511         (_wordcopy_bwd_aligned): Likewise.
34512         (_wordcopy_bwd_dest_aligned): Likewise.
34513         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
34514         multiarch implementations.
34515         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
34516         (__libc_ifunc_impl_list): Likewise.
34517         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
34518         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
34519         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
34520         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
34521         multiarch wcscpy for PPC64.
34523         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
34524         multiarch implementations.
34525         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
34526         (__libc_ifunc_impl_list): Likewise.
34527         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
34528         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
34529         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
34530         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
34531         multiarch wcscpy for PPC64.
34533         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
34534         multiarch implementations.
34535         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
34536         (__libc_ifunc_impl_list): Likewise.
34537         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
34538         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
34539         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
34540         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
34541         multiarch wcsrchr for PPC64.
34543         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
34544         multiarch implementations.
34545         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
34546         (__libc_ifunc_impl_list): Likewise.
34547         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
34548         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
34549         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
34550         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
34551         multiarch wcschr for PPC64.
34553         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
34554         multiarch implementations.
34555         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
34556         (__libc_ifunc_impl_list): Likewise.
34557         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
34558         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
34559         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
34560         multiarch strchrnul for PPC64.
34562         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
34563         implementations.
34564         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
34565         (__libc_ifunc_impl_list): Likewise.
34566         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
34567         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
34568         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
34569         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
34570         strchr for PPC64.
34572         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
34573         implementations.
34574         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
34575         (__libc_ifunc_impl_list): Likewise.
34576         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
34577         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
34578         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
34579         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
34580         strncmp for PPC64.
34582         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
34583         multiarch implementations.
34584         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
34585         (__libc_ifunc_impl_list): Likewise.
34586         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
34587         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
34588         strncasecmp for PPC64.
34589         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
34590         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
34591         multiarch strncasecmp_l for PPC64.
34593         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
34594         multiarch implementations.
34595         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
34596         (__libc_ifunc_impl_list): Likewise.
34597         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
34598         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
34599         multiarch strcasecmp for PPC64.
34600         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
34601         file.
34602         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
34603         multiarch strcasecmp_l for PPC64.
34605         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
34606         implementations.
34607         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
34608         (__libc_ifunc_impl_list): Likewise.
34609         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
34610         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
34611         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
34612         strnlen for PPC64.
34614         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
34615         implementations.
34616         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
34617         (__libc_ifunc_impl_list): Likewise.
34618         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
34619         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
34620         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
34621         strlen for PPC64.
34623         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
34624         implementations.
34625         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
34626         (__libc_ifunc_impl_list): Likewise.
34627         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
34628         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
34629         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
34630         rawmemrchr for PPC64.
34632         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
34633         implementation.
34634         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
34635         (__libc_ifunc_impl_list): Likewise.
34636         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
34637         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
34638         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
34639         memrchr for PPC64.
34641         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
34642         implementation.
34643         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
34644         (__libc_ifunc_impl_list): Likewise.
34645         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
34646         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
34647         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
34648         memchr for PPC64.
34650         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
34651         implementation.
34652         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
34653         (__libc_ifunc_impl_list): Likewise.
34654         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
34655         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
34656         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
34657         mempcpy for PPC64.
34659         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
34660         avoid cretion of __bzero symbol.
34661         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
34662         Likewise.
34663         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
34664         Likewise.
34665         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
34666         Likewise.
34667         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
34668         multiarch implementations.
34669         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
34670         (__libc_ifunc_impl_list): Likewise.
34671         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
34672         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
34673         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
34674         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
34675         bzero for PPC32.
34676         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
34677         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
34678         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
34679         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
34680         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
34681         memset for PPC64.
34682         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
34684         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
34685         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
34686         implementations.
34687         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
34688         (__libc_ifunc_impl_list): Likewise.
34689         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
34690         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
34691         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
34692         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
34693         memcmp for PPC64.
34695         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
34696         multiarch for POWER/PPC64.
34697         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
34698         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
34699         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
34700         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
34701         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
34702         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
34703         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
34704         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
34705         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
34706         memcpy for PPC64.
34708         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
34709         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
34710         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
34711         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
34712         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
34713         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
34714         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
34715         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
34716         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
34717         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
34718         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
34719         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
34720         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
34721         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
34722         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
34723         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
34724         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
34725         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
34726         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
34727         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
34728         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
34729         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
34731 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
34733         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
34735 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
34737         * benchtests/Makefile (bench): Add exp2 and log2.
34738         (LDLIBS-bench-exp2): Add -lm.
34739         (LDLIBS-bench-log2): Likewise.
34740         * benchtests/exp2-inputs: New inputs file.
34741         * benchtests/log2-inputs: New inputs file.
34742         * benchtests/log-inputs: Add new inputs.
34743         * benchtests/tan-inputs: Likewise.
34745 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
34747         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
34748         definition...
34749         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
34750         (csloww2): ... from here.
34752         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
34753         instead of structures.
34754         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
34755         (POLYNOMIAL): Likewise.
34756         (TAYLOR_SLOW): Likewise.
34757         (__sin): Likewise.
34758         (__cos): Likewise.
34759         (slow1): Likewise.
34760         (slow2): Likewise.
34761         (sloww): Likewise.
34762         (sloww1); Likewise.
34763         (sloww2): Likewise.
34764         (bsloww1): Likewise.
34765         (bsloww2): Likewise.
34766         (cslow2): Likewise.
34767         (csloww): Likewise.
34768         (csloww1): Likewise.
34769         (csloww2): Likewise.
34771 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
34773         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
34774         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
34775         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
34776         * malloc/hooks.c (realloc_check): Likewise.
34778         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
34779         * malloc/arena.c: Remove PER_THREAD conditional.
34780         [!PER_THREAD]: Remove code.
34781         (ptmalloc_unlock_all2): Likewise.
34782         (ptmalloc_init): Likewise.
34783         (_int_new_arena): Likewise.
34784         (arena_get2): Likewise.
34785         * malloc/hooks.c (__malloc_get_state): Likewise.
34786         (__malloc_set_state): Likewise.
34787         * malloc/malloc.c: Likewise.
34788         (struct malloc_state): Likewise.
34789         (struct malloc_par): Likewise.
34790         (__libc_realloc): Likewise.
34791         (__libc_mallopt): Likewise.
34793 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34795         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
34797 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
34799         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
34800         macro to a function.  Check for zero perturb_byte.
34801         (_int_malloc, _int_free): Remove zero perturb_byte checks.
34803         * malloc/malloc.c: (force_reg): Remove.
34804         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
34805         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
34806         force_reg by atomic_forced_read.
34807         * malloc/arena.c (ptmalloc_init): Likewise.
34808         * malloc/hooks.c (top_check): Likewise.
34810 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34812         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34814 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
34816         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34818 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
34820         * math/auto-libm-test-in: Add tests of lgamma.
34821         * math/auto-libm-test-out: Regenerated.
34822         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
34823         (M_LOG_2_SQRT_PIl): Likewise.
34824         (lgamma_test_data): Use AUTO_TESTS_f_f1.
34825         * math/gen-auto-libm-tests.c (func_calc_method): Add value
34826         mpfr_f_f1.
34827         (func_calc_desc): Add mpfr_f_f1 union field.
34828         (ARGS1): New macro.
34829         (ARGS2): Likewise.
34830         (ARGS3): Likewise.
34831         (ARGS4): Likewise.
34832         (RET1): Likewise.
34833         (RET2): Likewise.
34834         (CALC): Likewise.
34835         (FUNC): Likewise.
34836         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
34837         (test_functions): Add lgamma.
34838         (calc_generic_results): Handle mpfr_f_f1.
34839         * sysdeps/i386/fpu/libm-test-ulps: Update.
34840         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34842 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34844         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
34845         __mpn_add_n for PowerPC64/POWER7.
34846         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
34847         __mpn_sub_n for PowerPC64/POWER7.
34849         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
34850         __mpn_addmul_1 for PowerPC64.
34851         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
34852         __mpn_submul_1 for PowerPC64.
34853         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
34854         for PowerPC64.
34855         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
34856         for PowerPC64.
34858 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
34860         [BZ #15089]
34861         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
34863 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34865         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
34867         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
34868         add multiarch folders.
34869         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
34870         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
34871         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
34872         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
34873         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
34874         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
34875         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
34876         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
34877         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
34878         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
34879         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
34880         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
34881         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
34882         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
34883         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
34884         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
34885         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
34887         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
34888         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
34889         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
34890         New file.
34891         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
34892         New file.
34893         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
34894         multiarch __ieee754_hypot for PowerPC32.
34895         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
34896         New file.
34897         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
34898         New file.
34899         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
34900         multiarch __ieee754_hypotf for PowerPC32.
34902         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
34903         long_double_symbol only if __logbl is defined.
34904         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
34905         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
34906         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
34907         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
34908         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
34909         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
34910         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
34911         path for implementation.
34912         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
34913         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
34914         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
34915         logb, and logbl multiarch implementations for PowerPC32.
34916         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
34917         file.
34918         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
34919         file.
34920         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
34921         multiarch logb for PowerPC32.
34922         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
34923         file.
34924         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
34925         file.
34926         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
34927         multiarch logbf for PowerPC32.
34928         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
34929         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
34930         file.
34931         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
34932         multiarch logbl implementation for PowerPC32.
34934         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
34935         and modff multiarch implementations.
34936         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
34937         New file.
34938         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
34939         New file.
34940         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
34941         multiarch modf for PowerPC32.
34942         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
34943         New file.
34944         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
34945         New file.
34946         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
34947         multiarch modff for PowerPC32.
34949         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
34950         and lrintf multiarch implementations.
34951         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
34952         New file.
34953         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
34954         New file.
34955         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
34956         multiarch lrint for PowerPC32.
34957         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
34958         file: multiarch lrintf for PowerPC32.
34960         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
34961         and lroundf multiarch implementations.
34962         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
34963         New file.
34964         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
34965         New file.
34966         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
34967         New file.
34968         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
34969         multiarch lround for PowerPC32.
34970         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
34971         file: multiarch lroundf for PowerPC32.
34973         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
34974         copysign and copysignf multiarch implementations.
34975         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
34976         New file.
34977         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
34978         New file.
34979         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
34980         file: multiarch copysign for PowerPC32.
34981         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
34982         file: multiarch copysignf for PowerPC32.
34984         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
34985         and truncf multiarch implementations.
34986         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
34987         New file.
34988         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
34989         file.
34990         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
34991         multiarch trunc for PowerPC32.
34992         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
34993         New file.
34994         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
34995         New file.
34996         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
34997         multiarch truncf for PowerPC32.
34999         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
35000         and roundf multiarch implementations.
35001         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
35002         New file.
35003         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
35004         file.
35005         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
35006         multiarch round for PowerPC32.
35007         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
35008         New file.
35009         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
35010         New file.
35011         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
35012         multiarch roundf for PowerPC32.
35014         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
35015         and floorf multiarch implementations.
35016         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
35017         New file.
35018         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
35019         file.
35020         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
35021         multiarch floor for PowerPC32.
35022         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
35023         New file.
35024         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
35025         New file.
35026         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
35027         multiarch floorf for PowerPC32.
35029         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
35030         and ceilf multiarch implementations.
35031         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
35032         New file.
35033         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
35034         file.
35035         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
35036         multiarch ceil for PowerPC32.
35037         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
35038         New file.
35039         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
35040         file.
35041         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
35042         multiarch ceilf for PowerPC32.
35044         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
35045         is defined.
35046         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
35047         FINITEF is defined.
35048         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
35049         and finitef multiarch implementations.
35050         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
35051         New file.
35052         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
35053         file.
35054         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
35055         multiarch finite for PowerPC32.
35056         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
35057         New file.
35058         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
35059         file: multiarch finitef for PowerPC32.
35061         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
35062         and isinff multiarch implementations.
35063         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
35064         file.
35065         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
35066         file.
35067         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
35068         multiarch isinf for PowerPC32.
35069         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
35070         New file.
35071         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
35072         multiarch isinff for PowerPC32.
35074         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
35075         alias when __isnan is defined.
35076         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
35077         and isnanf multiarch implementations.
35078         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
35079         file.
35080         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
35081         file.
35082         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
35083         file.
35084         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
35085         file.
35086         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
35087         multiarch isnan for PowerPC32.
35088         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
35089         New file.
35090         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
35091         New file.
35092         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
35093         multiarch isnanf for PowerPC32.
35095         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
35096         and sqrtf multiarch implementations.
35097         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
35098         file.
35099         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
35100         file.
35101         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
35102         multiarch sqrt for PowerPC32.
35103         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
35104         file.
35105         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
35106         file.
35107         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
35108         multiarch sqrtf for PowerPC32.
35110         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
35111         and llroundf multiarch implementations.
35112         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
35113         New file.
35114         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
35115         New file.
35116         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
35117         New file.
35118         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
35119         file: multiarch llround for PowerPC32.
35120         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
35121         file: multiarch llroundf for PowerPC32.
35123         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
35124         multiarch PowerPC32 fpu implementations.
35125         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
35126         New file.
35127         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
35128         New file.
35129         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
35130         multiarch llrint for PowerPC32.
35131         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
35132         New file.
35133         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
35134         New file.
35135         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
35136         file.
35138         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
35140         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
35141         file.
35142         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
35143         file.
35144         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
35145         file.
35146         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
35147         multiarch wordcopy for PPC32.
35148         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
35149         wordcopy objects.
35150         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
35151         (__libc_ifunc_impl_list): Likewise.
35152         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
35153         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
35154         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
35155         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
35156         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
35157         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
35159         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
35160         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
35161         file.
35162         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
35163         file.
35164         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
35165         file.
35166         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
35167         multiarch wcscpy for PPC32.
35168         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
35169         multiarch objects.
35170         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
35171         (__libc_ifunc_impl_list): Likewise.
35172         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
35173         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
35174         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
35175         sysdeps/powerpc/power6/wcscpy.c.
35177         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
35178         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
35179         file.
35180         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
35181         file.
35182         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
35183         file.
35184         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
35185         multiarch wcsrchr for PPC32.
35186         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
35187         multiarch objects.
35188         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
35189         (__libc_ifunc_impl_list): Likewise.
35190         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
35191         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
35192         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
35193         sysdeps/powerpc/power6/wcsrchr.c.
35195         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
35196         file.
35197         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
35198         file.
35199         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
35200         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
35201         multiarch wcschr for PPc32.
35202         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
35203         multiarch objects.
35204         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
35205         (__libc_ifunc_impl_list): Likewise.
35206         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
35207         * sysdeps/powerpc/power6/wcschr.c: ... to here.
35208         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
35209         sysdeps/powerpc/power6/wcschr.c.
35211         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
35212         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
35213         file.
35214         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
35215         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
35216         file: multiarch strchr for PPC32.
35217         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
35218         multiarch objects.
35219         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
35220         (__libc_ifunc_impl_list): Likewise.
35222         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
35223         name.
35224         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
35225         file.
35226         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
35227         file.
35228         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
35229         multiarch strchrnul for PPC32.
35230         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
35231         multiarch objects.
35232         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
35233         (__libc_ifunc_impl_list): Likewise.
35235         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
35236         file.
35237         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
35238         multiarch strncasecmp for PPC32.
35239         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
35240         file.
35241         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
35242         multiarch strncasecmp_l for PPC32.
35243         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
35244         strncasecmp multiarch objects.
35245         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
35246         (__libc_ifunc_impl_list): Likewise.
35248         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
35249         file.
35250         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
35251         multiarch strncasecmp for PPC32.
35252         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
35253         New file.
35254         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
35255         multiarch strcasecmp_l for PPC32.
35256         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
35257         multiarch objects.
35258         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
35259         (__libc_ifunc_impl_list): Likewise.
35261         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
35262         file.
35263         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
35264         file.
35265         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
35266         multiarch strncmp for PPC32.
35267         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
35268         multiarch objects.
35269         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
35270         (__libc_ifunc_impl_list): Likewise.
35272         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
35273         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
35274         file.
35275         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
35276         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
35277         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
35278         multiarch objects.
35279         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
35280         (__libc_ifunc_impl_list): Likewise.
35282         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
35283         file.
35284         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
35285         file.
35286         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
35287         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
35288         multiarch objects.
35289         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
35290         (__libc_ifunc_impl_list): Likewise.
35292         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
35293         file.
35294         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
35295         file.
35296         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
35297         multiarch rawmemchr for PPC32.
35298         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
35299         multiarch objects.
35300         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
35301         (__libc_ifunc_impl_list): Likewise.
35303         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
35304         file.
35305         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
35306         file.
35307         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
35308         file: memrchr multiarch for PPC32.
35309         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
35310         multiarch objects.
35311         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
35312         (__libc_ifunc_impl_list): Likewise.
35314         * string/memchr.c (__memchr): Using macro to redefine symbol name.
35315         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
35316         file.
35317         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
35318         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
35319         multiarch memchr for PPC32.
35320         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
35321         multiarch objects.
35322         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
35323         (__libc_ifunc_impl_list): Likewise.
35325         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
35326         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
35327         file.
35328         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
35329         file.
35330         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
35331         file: multiarch mempcpy for PPC32.
35332         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
35333         multiarch objects.
35334         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
35335         (__libc_ifunc_impl_list): Likewise.
35337         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
35338         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
35339         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
35340         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
35341         multiarch bzero for PPC32.
35342         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
35343         file.
35344         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
35345         file.
35346         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
35347         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
35348         file: multiarch memset for PPC32.
35349         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
35350         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
35351         memset multiarch objects.
35352         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
35353         (__libc_ifunc_impl_list): Likewise.
35355         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
35356         file.
35357         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
35358         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
35359         memcmp for PPC32.
35360         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
35361         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
35362         multiarch objects.
35363         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
35364         (__libc_ifunc_impl_list): Likewise.
35366         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
35367         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
35368         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
35369         file.
35370         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
35371         file.
35372         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
35373         file.
35374         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
35375         multiarch memcpy for PPC32.
35376         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
35377         multiarch objects.
35378         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
35379         (__libc_ifunc_impl_list): Likewise.
35381         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
35382         support multiarch for POWER/PPC32.
35383         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
35384         Likewise.
35385         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
35386         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
35387         Implies file to make multiarch folder appers before the fpu and
35388         default folder for power4 configuration.
35390 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
35392         * scripts/bench.pl: Append volatile keyword to type.
35394 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
35396         * sysdeps/sh/sotruss-lib.c: New file.
35397         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
35399 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35401         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35403 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
35405         [BZ #6810]
35406         * math/w_tgamma.c: Include <errno.h>.
35407         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
35408         * math/w_tgammaf.c: Include <errno.h>.
35409         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
35410         * math/w_tgammal.c: Include <errno.h>.
35411         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
35412         * math/auto-libm-test-in: Do not allow missing errno on tgamma
35413         underflow.  Add more tgamma tests.
35414         * math/auto-libm-test-out: Regenerated.
35415         * sysdeps/i386/fpu/libm-test-ulps: Update.
35416         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35418         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
35419         sin, sinh, tan, tanh, tgamma, y0 and y1.
35420         * math/auto-libm-test-out: Regenerated.
35421         * math/libm-test.inc (TEST_COND_x86_64): New macro.
35422         (TEST_COND_x86): Likewise.
35423         (M_E2l): Remove macro.
35424         (M_E3l): Likewise.
35425         (M_2_SQRT_PIl): Likewise.
35426         (M_SQRT_PIl): Likewise.
35427         (M_1_DIV_El): Likewise.
35428         (log_test_data): Use AUTO_TESTS_f_f.
35429         (log10_test_data): Likewise.
35430         (log1p_test_data): Likewise.
35431         (log2_test_data): Likewise.
35432         (sin_test_data): Likewise.
35433         (sin_tonearest_test_data): Likewise.
35434         (sin_towardzero_test_data): Likewise.
35435         (sin_downward_test_data): Likewise.
35436         (sin_upward_test_data): Likewise.
35437         (sinh_test_data): Likewise.
35438         (sinh_tonearest_test_data): Likewise.
35439         (sinh_towardzero_test_data): Likewise.
35440         (sinh_downward_test_data): Likewise.
35441         (sinh_upward_test_data): Likewise.
35442         (tan_test_data): Likewise.
35443         (tan_tonearest_test_data): Likewise.
35444         (tan_towardzero_test_data): Likewise.
35445         (tan_downward_test_data): Likewise.
35446         (tan_upward_test_data): Likewise.
35447         (tanh_test_data): Likewise.
35448         (tgamma_test_data): Likewise.
35449         (y0_test_data): Likewise.
35450         (y1_test_data): Likewise.
35451         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
35452         (special_real_inputs): Add pi/4.
35453         * sysdeps/i386/fpu/libm-test-ulps: Update.
35454         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35456 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35458         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
35459         "longjmp_target" static probes.
35460         (__longjmp): Rename to __longjmp_symbol.
35461         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
35462         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
35463         on which longjmp to generate.
35464         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
35465         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
35466         probe.
35467         (__sigsetjmp): Rename to __sigsetjmp_symbol.
35468         (__sigjmp_save): Rename to __sigjmp_save_symbol.
35469         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
35470         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
35471         and __sigjmp_save_symbol based on which sigsetjmp to generated.
35472         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
35473         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
35474         __longjmp_symbol based on which __longjmp to generate.
35475         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
35476         probe.
35477         (setjmp): Rename to setjmp_symbol.
35478         (__sigsetjmp): Rename to __sigsetjmp_symbol.
35479         (_setjmp): Rename to _setjmp_symbol.
35480         (__sigsetjmp): Rename to __sigsetjmp_symbol.
35481         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
35482         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
35483         which setjmp to generate.
35484         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
35485         "longjmp_target" static probes.
35487 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
35489         * benchtests/README: Add note about output arguments.
35490         * benchtests/bench-sincos.c: Remove file.
35491         * benchtests/sincos-inputs: New file.
35492         * scripts/bench.pl: Identify output arguments and define
35493         static variables for them.
35495         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
35497         [BZ #15941]
35498         * Makefile (INSTALL): Add install-plain.texi as the primary
35499         dependency.
35500         * manual/install-plain.texi: New file.
35501         * manual/install.texi: Include node directive only for
35502         non-plaintext output.
35504 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
35506         * stdlib/longlong.h: Update from GCC.
35508         [BZ #6807]
35509         [BZ #15901]
35510         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
35511         * math/w_j0f.c (y0f): Likewise.
35512         * math/w_j0l.c (__y0l): Likewise.
35513         * math/w_j1.c (y1): Likewise.
35514         * math/w_j1f.c (y1f): Likewise.
35515         * math/w_j1l.c (__y1l): Likewise
35516         * math/w_jn.c (yn): Likewise.
35517         * math/w_jnf.c (ynf): Likewise.
35518         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
35519         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
35520         value for Bessel function domain errors outside _SVID_ mode.
35521         Adjust sign of return value for yn (negative integer, 0).
35522         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
35523         by zero in return for negative x and set sign appropriately for
35524         negative n.
35525         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
35526         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
35527         * math/libm-test.inc (y0_test_data): Add more tests and adjust
35528         expectations in error cases.
35529         (y1_test_data): Likewise.
35530         (yn_test_data): Likewise.
35531         * sysdeps/i386/fpu/libm-test-ulps: Update.
35532         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35534 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
35536         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
35537         "64" to "64-v1".  Add "64-v2".
35538         (abi-64-options): Rename to ...
35539         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
35540         (abi-64-condition): Rename to ...
35541         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
35542         (abi-64-ld-soname): Rename to ...
35543         (abi-64-v1-ld-soname): ... this.
35544         (abi-64-v2-options): Define.
35545         (abi-64-v2-condition): Likewise.
35546         (abi-64-v2-ld-soname): Likewise.
35547         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
35548         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
35549         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
35550         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
35551         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
35553 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
35554             Alan Modra  <amodra@gmail.com>
35556         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
35557         New versions for use with the ELFv2 ABI.
35558         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
35559         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
35560         declaration.
35561         (struct La_ppc64v2_retval): Likewise.
35562         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
35563         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
35564         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
35565         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
35566         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
35567         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
35568         Do not save or restore CR.
35569         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
35570         (_dl_profile_resolve): Do no save or restore CR.  Support extended
35571         return values for ELFv2 ABI.  Fix location of FPR return registers.
35572         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
35573         updated values for _CALL_ELF == 2.
35574         (La_regs, La_retval, int_retval): Likewise.
35576 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
35578         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
35579         (FRAME_MIN_SIZE_PARM): Likewise.
35580         (FRAME_BACKCHAIN): Likewise.
35581         (FRAME_CR_SAVE): Likewise.
35582         (FRAME_LR_SAVE): Likewise.
35583         (FRAME_TOC_SAVE): Likewise.
35584         (FRAME_PARM_SAVE): Likewise.
35585         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
35586         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
35587         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
35588         (call_mcount_parm_offset): New macro.
35589         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
35590         (PROF): Use symbolic stack frame offsets.
35591         (TAIL_CALL_SYSCALL_ERROR): Likewise.
35592         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
35593         Redefine in terms of FRAME_MIN_SIZE.
35594         (_dl_runtime_resolve): Use symbolic stack frame offsets.
35595         (_dl_profile_resolve): Likewise.  Update comment.
35596         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
35597         symbols stack frame offsets.
35598         (__sigsetjmp): Likewise.
35599         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
35600         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
35601         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
35602         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
35604         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
35605         (FRAME_BACKCHAIN): Remove.
35606         (FRAME_CR_SAVE): Likewise.
35607         (FRAME_LR_SAVE): Likewise.
35608         (FRAME_COMPILER_DW): Likewise.
35609         (FRAME_LINKER_DW): Likewise.
35610         (FRAME_TOC_SAVE): Likewise.
35611         (FRAME_PARM_SAVE): Likewise.
35612         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
35613         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
35614         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
35615         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
35616         (CHECK_SP): Use symbolic stack frame offsets.
35617         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
35618         zone" instead of caller's parameter save area for temp storage.
35619         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
35620         Likewise.  Also, use symbolic stack frame offsets.
35621         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
35622         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
35623         our own stack frame instead of the caller's.
35624         (__socket): Use symbolic stack frame offsets.
35626 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
35627             Alan Modra  <amodra@gmail.com>
35629         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
35630         Define.
35631         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
35632         (PPC64_LOCAL_ENTRY_OFFSET): Define.
35633         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
35634         New function.
35635         (elf_machine_fixup_plt): Call it.
35636         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
35637         reloc arguments.
35638         (elf_machine_rela): Update call to elf_machine_plt_conflict.
35639         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
35640         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
35641         r2 before calling target.
35643 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
35644             Alan Modra  <amodra@gmail.com>
35646         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
35647         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
35648         versions of macros to support ELFv2 ABI.
35649         (LOCALENTRY): New macro.
35650         (ENTRY, EALIGN): Use it.
35651         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
35652         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
35653         fall through into ENTRY entry point.
35654         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
35655         Only define if _CALL_ELF != 2.
35657         (elf_machine_matches_host): Verify ABI version matches.
35658         (RTLD_START): Use LOCALENTRY.
35659         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
35660         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
35661         (PLT_ENTRY_WORDS): New macro.
35662         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
35663         (elf_machine_runtime_setup): Support ELFv2 ABI.
35664         (elf_machine_fixup_plt): Likewise.
35665         (elf_machine_plt_conflict): Likewise.
35666         (resolve_ifunc): Likewise.
35667         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
35668         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
35669         Likewise.
35670         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
35671         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
35672         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
35673         (makecontext): Support ELFv2 ABI.
35674         * elf/elf.h (EF_PPC64_ABI): Define.
35676 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
35678         * sysdeps/powerpc/powerpc64/sysdep.h
35679         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
35680         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
35681         (ENTRY) [ASSEMBLER]: ... but instead here ...
35682         (EALIGN) [ASSEMBLER]: ... and here.
35683         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
35684         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
35685         (ENTRY_2) [!ASSEMBLER]: Use it.
35686         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
35687         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
35688         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
35689         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
35690         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
35691         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
35692         Use PPC64_LOAD_FUNCPTR.
35694         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
35696 2013-12-04  Alan Modra  <amodra@gmail.com>
35698         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
35699         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
35700         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
35701         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
35703         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
35704         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
35705         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
35706         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
35707         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
35708         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
35710 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
35712         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
35713         (__makecontext): Fix incorrect CFI when backtracing out of
35714         context created via makecontext.
35715         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
35716         (__setcontext): Fix incorrect CFI during switch to new context.
35717         (__novec_setcontext): Likewise.
35719 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
35721         [BZ #4772]
35722         * time/strptime_l.c (__strptime_internal): Allow modifiers
35723         in strptime.
35724         * time/tst-strptime.c (day_tests): Add testcase.
35726 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
35728         * scripts/bench.pl: Skip over blank lines.
35730 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
35732         [BZ #926]
35733         * manual/time.texi (Calendar Time): Clarify what timezone functions
35734         use.
35736 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35738         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35740 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
35742         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
35743         implementation.
35744         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
35745         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
35746         * debug/memset_chk.c (__memset_chk): Likewise.
35747         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
35748         * debug/strncpy_chk.c: Likewise.
35750 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
35752         [BZ #15268]
35753         [BZ #15425]
35754         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
35755         (__ieee754_exp): For possibly underflowing results, check size of
35756         result and force underflow exception if required.
35757         * math/auto-libm-test-in: Add more tests of exp.
35758         * math/auto-libm-test-out: Regenerated.
35759         * sysdeps/i386/fpu/libm-test-ulps: Update.
35760         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35762         [BZ #16283]
35763         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
35764         * math/w_exp2f.c (__exp2f): Likewise.
35765         * math/w_exp2l.c (__exp2l): Likewise.
35766         * math/auto-libm-test-in: Do not allow missing errno on exp2
35767         underflow.
35768         * math/auto-libm-test-out: Regenerated.
35770 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
35772         [BZ #16274]
35773         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
35774         handle filename validation.
35775         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
35776         (do_open): Delete.
35778 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
35780         [BZ #6786]
35781         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
35782         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
35783         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
35784         <float.h>.
35785         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
35786         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
35787         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
35788         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
35789         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
35790         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
35791         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
35792         * math/auto-libm-test-in: Don't allow missing errno from erfc.
35793         Add more erfc tests.
35794         * math/auto-libm-test-out: Regenerated.
35795         * sysdeps/i386/fpu/libm-test-ulps: Update.
35796         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35798         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
35799         exp2, expm1, j0 and j1.
35800         * math/auto-libm-test-out: Regenerated.
35801         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
35802         (erfc_test_data): Likewise.
35803         (exp_test_data): Likewise.
35804         (exp_tonearest_test_data): Likewise.
35805         (exp_towardzero_test_data): Likewise.
35806         (exp_downward_test_data): Likewise.
35807         (exp_upward_test_data): Likewise.
35808         (exp10_test_data): Likewise.
35809         (exp2_test_data): Likewise.
35810         (expm1_test_data): Likewise.
35811         (j0_test_data): Likewise.
35812         (j1_test_data): Likewise.
35813         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
35814         (input_flag_type): Add flag_xfail_rounding.
35815         (input_flags): Add xfail-rounding.
35816         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
35817         (output_for_one_input_case): Handle flag_xfail_rounding.
35818         * sysdeps/i386/fpu/libm-test-ulps: Update.
35819         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35821 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
35823         [BZ #16289]
35824         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
35825         division by 0.
35827 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
35829         [BZ #16195]
35830         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
35831         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
35832         (STAP_PROBE0): New macro.
35833         (STAP_PROBE1): Likewise.
35834         (STAP_PROBE2): Likewise.
35835         (STAP_PROBE3): Likewise.
35836         (STAP_PROBE4): Likewise.
35838 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
35840         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
35842 2013-12-02  Steve Ellcey  <sellcey@mips.com>
35844         * benchtests/Makefile (bench): Add sqrt.
35845         (LDLIBS-bench-sqrt): New.
35846         * benchtests/sqrt-input: New.
35848 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
35850         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
35851         (GAIH_EAI): Likewise.
35852         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
35853         (gaih_inet): Likewise.
35854         (getaddrinfo): Don't use GAIH_EAI.
35856         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
35857         (struct gaih): Remove definition.
35859 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
35861         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
35862         Use HERRNOP directly.
35864 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35866         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35868 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
35870         * math/gen-auto-libm-tests.c (test_functions): Add more
35871         single-argument functions.
35872         (special_fill_pi_2): New function.
35873         (special_fill_minus_pi_2): Likewise.
35874         (special_fill_pi_6): Likewise.
35875         (special_fill_minus_pi_6): Likewise.
35876         (special_fill_pi_3): Likewise.
35877         (special_fill_2pi_3): Likewise.
35878         (special_fill_e): Likewise.
35879         (special_fill_1_e): Likewise.
35880         (special_fill_e_minus_1): Likewise.
35881         (special_real_inputs): Add more special inputs.
35882         (output_for_one_input_case): Do not require ERANGE on underflow to
35883         zero if round-to-nearest result does not underflow to zero, unless
35884         exact results required.
35885         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
35886         atan, atanh, cbrt, cos and cosh.
35887         * math/auto-libm-test-out: Regenerated.
35888         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
35889         (acos_tonearest_test_data): Likewise.
35890         (acos_towardzero_test_data): Likewise.
35891         (acos_downward_test_data): Likewise.
35892         (acos_upward_test_data): Likewise.
35893         (acosh_test_data): Likewise.
35894         (asin_test_data): Likewise.
35895         (asin_tonearest_test_data): Likewise.
35896         (asin_towardzero_test_data): Likewise.
35897         (asin_upward_test_data): Likewise.
35898         (asinh_test_data): Likewise.
35899         (atan_test_data): Likewise.
35900         (atanh_test_data): Likewise.
35901         (cbrt_test_data): Likewise.
35902         (cos_test_data): Likewise.
35903         (cos_tonearest_test_data): Likewise.
35904         (cos_towardzero_test_data): Likewise.
35905         (cos_downward_test_data): Likewise.
35906         (cos_upward_test_data): Likewise.
35907         (cosh_test_data): Likewise.
35908         (cosh_tonearest_test_data): Likewise.
35909         (cosh_towardzero_test_data): Likewise.
35910         (cosh_downward_test_data): Likewise.
35911         (cosh_upward_test_data): Likewise.
35912         * sysdeps/i386/fpu/libm-test-ulps: Update.
35913         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35915 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
35917         [BZ #6787]
35918         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
35919         * math/w_exp10f.c (__exp10f): Likewise.
35920         * math/w_exp10l.c (__exp10l): Likewise.
35921         * math/libm-test.inc (exp10_test_data): Add more tests and expect
35922         errno settings in existing tests.
35924         [BZ #14032]
35925         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
35926         precision control set to double precision.
35927         * sysdeps/i386/fpu/w_sqrt.c: New file.
35928         * math/auto-libm-test-in: Add more tests.
35929         * math/auto-libm-test-out: Update.
35931         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
35932         (sqrt_test_tonearest): New function.
35933         (sqrt_towardzero_test_data): New variable.
35934         (sqrt_test_towardzero): New function.
35935         (sqrt_downward_test_data): New variable.
35936         (sqrt_test_downward): New function.
35937         (sqrt_upward_test_data): New variable.
35938         (sqrt_test_upward): New function.
35939         (main): Call the new functions.
35941         * math/gen-auto-libm-tests.c: New file.
35942         * math/auto-libm-test-in: Likewise.
35943         * math/auto-libm-test-out: New generated file.
35944         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
35945         variables.
35946         (%beautify): Add generated representations of zero.
35947         (top level): Set $auto_input and call parse_auto_input.
35948         (beautify): Remove trailing "f" from hex float constants.
35949         (parse_args): Handle XFAIL_TEST.
35950         (convert_condition): New function.
35951         (or_value): Likewise.
35952         (or_cond_value): Likewise.
35953         (generate_testfile): Handle AUTO_TESTS_* lines.
35954         (parse_auto_input): New function.
35955         * math/libm-test.inc (XFAIL_TEST): New macro.
35956         (ERRNO_UNCHANGED): Update value.
35957         (ERRNO_EDOM): Likewise.
35958         (ERRNO_ERANGE): Likewise.
35959         (IGNORE_RESULT): Likewise.
35960         (TEST_COND_flt_32): New macro.
35961         (TEST_COND_dbl_64): Likewise.
35962         (TEST_COND_ldbl_96_intel): Likewise.
35963         (TEST_COND_ldbl_96_m68k): Likewise.
35964         (TEST_COND_ldbl_128): Likewise.
35965         (TEST_COND_ldbl_128ibm): Likewise.
35966         (TEST_COND_long32): Likewise.
35967         (TEST_COND_long64): Likewise.
35968         (TEST_COND_before_rounding): Likewise.
35969         (TEST_COND_after_rounding): Likewise.
35970         (enable_test): Handle XFAIL_TEST flag.
35971         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
35972         with finite results.
35973         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
35974         auto-libm-test-out.
35976 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
35977             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35979         [BZ #16214]
35980         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
35981         __tls_get_addr_internal instead of __tls_get_offset in order to
35982         avoid GOT pointer dependency.  Make rtld export
35983         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
35984         __tls_get_addr since we are a __tls_get_offset platform.
35985         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
35986         GOT pointer being set up before.
35987         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
35989 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
35991         * manual/math.texi (Errors in Math Functions): Document accuracy
35992         goals.
35994         [BZ #15004]
35995         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
35996         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
35997         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
35998         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
35999         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
36000         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
36001         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
36002         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
36003         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
36004         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
36005         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
36006         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
36007         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
36008         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
36009         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
36010         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
36012         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
36013         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
36014         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
36015         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
36016         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
36017         Likewise.
36018         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
36019         Likewise.
36020         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
36021         Likewise.
36022         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
36023         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
36024         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
36025         atomic-feupdateenv and flt-rounds.
36026         * sysdeps/powerpc/nofpu/Versions (libc): Add
36027         __atomic_feholdexcept, __atomic_feclearexcept,
36028         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
36029         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
36030         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
36031         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
36032         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
36033         here.
36034         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
36035         Update.
36037         * manual/arith.texi (FP Exceptions): Document that exceptions may
36038         not be raised when matherr is used.
36039         (Math Error Reporting): Document overflow in directed rounding
36040         modes.  Document that errno may not be set when finite values are
36041         returned on overflow.  Document intent to set errno on underflow
36042         only for underflow to zero.
36044         [BZ #16271]
36045         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
36046         round-to-nearest then adjust result for other rounding modes.
36047         * include/fenv.h (fegetround): Use libm_hidden_proto.
36048         * math/fegetround.c (fegetround): Use libm_hidden_def.
36049         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
36050         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
36051         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
36052         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
36053         Likewise.
36054         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
36055         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
36056         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
36057         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
36059 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
36061         [BZ #16077]
36062         * nss/Versions (libnss_files): Add
36063         _nss_files_gethostbyname3_r.
36064         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
36065         New function.
36066         (HOST_DB_LOOKUP): Remove macro.
36067         (_nss_files_gethostbyname_r): Implement function without the
36068         HOST_DB_LOOKUP macro.
36069         (_nss_files_gethostbyname2_r): Likewise.
36071 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
36073         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
36075 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
36077         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
36078         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
36079         warning.
36081 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36083         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
36084         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
36085         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
36086         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
36087         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
36088         __fe_nomask_env_priv and attribute_hidden.
36089         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
36090         (libc_feupdateenv_test_ppc): Likewise.
36091         (libc_feresetround_ppc): Likewise.
36092         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
36093         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
36094         compat_symbol macro.
36095         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
36096         (__fe_nomask_env): Likewise.
36097         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
36099 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
36101         * string/Makefile: Remove ifunc tests.
36102         * string/test-string.h: Define TEST_IFUNC.
36103         * string/test-bcopy-ifunc.c: Remove.
36104         * string/test-bzero-ifunc.c: Likewise.
36105         * string/test-memccpy-ifunc.c: Likewise.
36106         * string/test-memchr-ifunc.c: Likewise.
36107         * string/test-memcmp-ifunc.c: Likewise.
36108         * string/test-memcpy-ifunc.c: Likewise.
36109         * string/test-memmem-ifunc.c: Likewise.
36110         * string/test-memmove-ifunc.c: Likewise.
36111         * string/test-mempcpy-ifunc.c: Likewise.
36112         * string/test-memrchr-ifunc.c: Likewise.
36113         * string/test-memset-ifunc.c: Likewise.
36114         * string/test-rawmemchr-ifunc.c: Likewise.
36115         * string/test-stpcpy-ifunc.c: Likewise.
36116         * string/test-stpncpy-ifunc.c: Likewise.
36117         * string/test-strcasecmp-ifunc.c: Likewise.
36118         * string/test-strcasestr-ifunc.c: Likewise.
36119         * string/test-strcat-ifunc.c: Likewise.
36120         * string/test-strchr-ifunc.c: Likewise.
36121         * string/test-strchrnul-ifunc.c: Likewise.
36122         * string/test-strcmp-ifunc.c: Likewise.
36123         * string/test-strcpy-ifunc.c: Likewise.
36124         * string/test-strcspn-ifunc.c: Likewise.
36125         * string/test-strlen-ifunc.c: Likewise.
36126         * string/test-strncasecmp-ifunc.c: Likewise.
36127         * string/test-strncat-ifunc.c: Likewise.
36128         * string/test-strncmp-ifunc.c: Likewise.
36129         * string/test-strncpy-ifunc.c: Likewise.
36130         * string/test-strnlen-ifunc.c: Likewise.
36131         * string/test-strpbrk-ifunc.c: Likewise.
36132         * string/test-strrchr-ifunc.c: Likewise.
36133         * string/test-strspn-ifunc.c: Likewise.
36134         * string/test-strstr-ifunc.c: Likewise.
36136 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
36138         * benchtests/Makefile: Remove ifunc tests.
36139         * benchtests/bench-string.h: Define TEST_IFUNC.
36140         * benchtests/bench-bcopy-ifunc.c: Remove.
36141         * benchtests/bench-bzero-ifunc.c: Likewise.
36142         * benchtests/bench-memccpy-ifunc.c: Likewise.
36143         * benchtests/bench-memchr-ifunc.c: Likewise.
36144         * benchtests/bench-memcmp-ifunc.c: Likewise.
36145         * benchtests/bench-memcpy-ifunc.c: Likewise.
36146         * benchtests/bench-memmem-ifunc.c: Likewise.
36147         * benchtests/bench-memmove-ifunc.c: Likewise.
36148         * benchtests/bench-mempcpy-ifunc.c: Likewise.
36149         * benchtests/bench-memrchr-ifunc.c: Likewise.
36150         * benchtests/bench-memset-ifunc.c: Likewise.
36151         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
36152         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
36153         * benchtests/bench-stpcpy-ifunc.c: Likewise.
36154         * benchtests/bench-stpncpy-ifunc.c: Likewise.
36155         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
36156         * benchtests/bench-strcasestr-ifunc.c: Likewise.
36157         * benchtests/bench-strcat-ifunc.c: Likewise.
36158         * benchtests/bench-strchr-ifunc.c: Likewise.
36159         * benchtests/bench-strchrnul-ifunc.c: Likewise.
36160         * benchtests/bench-strcmp-ifunc.c: Likewise.
36161         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
36162         * benchtests/bench-strcpy-ifunc.c: Likewise.
36163         * benchtests/bench-strcspn-ifunc.c: Likewise.
36164         * benchtests/bench-strlen-ifunc.c: Likewise.
36165         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
36166         * benchtests/bench-strncat-ifunc.c: Likewise.
36167         * benchtests/bench-strncmp-ifunc.c: Likewise.
36168         * benchtests/bench-strncpy-ifunc.c: Likewise.
36169         * benchtests/bench-strnlen-ifunc.c: Likewise.
36170         * benchtests/bench-strpbrk-ifunc.c: Likewise.
36171         * benchtests/bench-strrchr-ifunc.c: Likewise.
36172         * benchtests/bench-strsep-ifunc.c: Likewise.
36173         * benchtests/bench-strspn-ifunc.c: Likewise.
36174         * benchtests/bench-strstr-ifunc.c: Likewise.
36176 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
36178         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
36180 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
36182         * resolv/netdb.h: Use __glibc_reserved instead __unused.
36183         * rt/aio.h: Likewise.
36184         * sysdeps/gnu/bits/utmp.h: Likewise.
36185         * sysdeps/gnu/bits/utmpx.h: Likewise.
36186         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
36187         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
36188         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
36189         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
36190         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
36191         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
36192         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
36193         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
36194         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
36195         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
36196         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
36197         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
36198         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
36199         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
36200         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
36201         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
36202         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
36203         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
36204         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
36205         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
36206         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
36207         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
36208         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
36209         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
36210         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
36211         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
36212         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
36213         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
36214         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
36215         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
36216         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
36217         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
36218         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
36219         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
36220         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
36221         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
36222         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
36223         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
36224         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
36225         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
36226         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
36227         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
36229 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
36231         [BZ #16245]
36232         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
36233         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
36235 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
36237         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
36238         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
36239         Likewise.
36241 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36243         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
36244         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
36245         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
36246         (__fesetround): Remove define.
36247         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
36248         rounding and exceptions handling.
36249         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
36250         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
36251         (__fe_nomask_env): Likewise.
36252         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
36253         __fegetround instead of fegetround.
36254         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
36255         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
36257 2013-11-21  Roland McGrath  <roland@hack.frob.com>
36259         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
36260         it's there.
36262         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
36264 2013-11-21  Meador Inge  <meadori@codesourcery.com>
36266         [BZ #11157]
36267         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
36268         (encrypt_r): Likewise.
36269         * malloc/obstack.h (obstack_free): Likewise.
36270         * posix/unistd.h (encrypt): Likewise.
36272 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
36274         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
36275         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
36276         DL_CALL_DT_FINI() that call the functions directly.
36277         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
36278         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
36279         * elf/dl-fini.c: Likewise.
36281 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
36283         * malloc/hooks.c (memalign_check): Add alignment rounding.
36284         * malloc/malloc.c (_mid_memalign): New function.
36285         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
36286         Implement by calling _mid_memalign.
36287         * manual/probes.texi (Memory Allocation Probes): Remove
36288         memory_valloc_retry and memory_pvalloc_retry.
36290 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
36292         * locale/programs/locarchive.c (open_archive): Add const
36293         qualifier to ARCHIVEFNAME and copy default fname to
36294         DEFAULT_FNAME.
36296         [BZ #15601]
36297         * libio/tst-widetext.input: Rename Oriya to Odia.
36298         * locale/iso-639.def: Likewise.
36300         * manual/probes.texi (Mathematical Function Probes): Add
36301         documentation for sin, cos, asin and acos probes.
36302         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
36303         (__sin32): Add slowasin probe.
36304         (__cos32): Add slowacos probe.
36305         (__mpsin): Add slowsin probe.
36306         (__mpcos): Add slowcos probe.
36308 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
36310         [BZ #15483]
36311         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
36312         thread-local __sim_exceptions_thread and global
36313         __sim_exceptions_global.
36314         (__sim_disabled_exceptions): Change to thread-local
36315         __sim_disabled_exceptions_thread and global
36316         __sim_disabled_exceptions_global.
36317         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
36318         and global __sim_round_mode_global.
36319         (__simulate_exceptions): Use thread-local floating-point state and
36320         set global state from it as needed.
36321         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
36322         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
36323         __sim_round_mode_thread.
36324         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
36325         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
36326         and global __sim_exceptions_global.
36327         (__sim_disabled_exceptions): Change to thread-local
36328         __sim_disabled_exceptions_thread and global
36329         __sim_disabled_exceptions_global.
36330         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
36331         and global __sim_round_mode_global.
36332         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
36333         (SIM_SET_GLOBAL): Likewise.
36334         * sysdeps/powerpc/soft-fp/sfp-machine.h
36335         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
36336         __sim_round_mode_thread.
36337         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
36338         __sim_disabled_exceptions_thread.
36339         (__sim_exceptions): Change to __sim_exceptions_thread.
36340         (__sim_disabled_exceptions): Change to
36341         __sim_disabled_exceptions_thread.
36342         (__sim_round_mode): Change to __sim_round_mode_thread.
36343         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
36344         thread-local floating-point state and set global state from it as
36345         needed.
36346         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
36347         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
36348         (__sim_disabled_exceptions): Remove extern declaration.
36349         (feenableexcept): Use thread-local floating-point state and set
36350         global state from it as needed.
36351         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
36352         extern declaration.
36353         (__sim_disabled_exceptions): Likewise.
36354         (__sim_round_mode): Likewise.
36355         (__fegetenv): Use thread-local floating-point state.
36356         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
36357         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
36358         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
36359         floating-point state and set global state from it as needed.
36360         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
36361         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
36362         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
36363         Likewise.
36364         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
36365         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
36366         Likewise.
36367         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
36368         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
36369         Use __sim_round_mode_thread.
36370         * math/test-fenv-tls.c: New file.
36371         * math/Makefile (tests): Add test-fenv-tls.
36372         ($(objpfx)test-fenv-tls): Depend on
36373         $(common-objpfx)nptl/libpthread.so.
36375 2013-11-19  Andreas Schwab  <schwab@suse.de>
36377         * locale/programs/locale.c (show_info): Decode wordarray elements.
36378         * locale/categories.def (LC_MONETARY): Add element for
36379         _NL_MONETARY_CRNCYSTR.
36380         * locale/C-monetary.c (conversion_rate): New variable.
36381         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
36382         element.
36384 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
36386         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
36387         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
36389 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
36391         * elf/Makefile (tst-auxv): New test.
36392         * elf/tst-auxv.c: New
36393         * elf/rtld.c (dl_main): Adjust AT_EXECFN
36395 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
36397         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
36398         (hidden_proto): Caller changed.
36399         (hidden_tls_proto): New macro.
36400         (libc_hidden_tls_proto): Likewise.
36401         (rtld_hidden_tls_proto): Likewise.
36402         (libm_hidden_tls_proto): Likewise.
36403         (libresolv_hidden_tls_proto): Likewise.
36404         (librt_hidden_tls_proto): Likewise.
36405         (libdl_hidden_tls_proto): Likewise.
36406         (libnss_files_hidden_tls_proto): Likewise.
36407         (libnsl_hidden_tls_proto): Likewise.
36408         (libnss_nisplus_hidden_tls_proto): Likewise.
36409         (libutil_hidden_tls_proto): Likewise.
36411 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
36413         [BZ #10253]
36414         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
36415         (decompose_rpath): Defer expansion to fillin_rpath.
36416         (_dl_init_paths): Pass linkmap to fillin_rpath.
36418 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
36420         * benchtests/Makefile: Add strsep.
36421         * benchtests/bench-strsep.c: New file: strsep benchtest.
36422         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
36424 2013-11-18  Andreas Schwab  <schwab@suse.de>
36426         * locale/programs/locale.c (show_info) [case byte]: Check for
36427         '\377' instead of '\177'.
36428         * locale/C-monetary.c (not_available): Always use "\377".
36429         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
36430         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
36431         detect unavailable sign_posn locale elements.
36432         * locale/localeconv.c (__localeconv): For grouping and
36433         mon_grouping handle "\177" and "\377" like no grouping.
36434         (INT_ELEM): New macro.  Use it to set all numeric members.
36435         * locale/programs/ld-monetary.c (monetary_read)
36436         <tok_mon_grouping>: Normalize single -1 to the empty string.
36437         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
36438         Likewise.
36440 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
36442         [BZ #16055]
36443         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
36444         when we match (nil).
36445         * stdio-common/tst-sscanf.c (struct test): Add testcase.
36447 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
36449         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
36450         (NO_TEST_INLINE): Update value.
36451         (ERRNO_UNCHANGED): Likewise.
36452         (ERRNO_EDOM): Likewise.
36453         (ERRNO_ERANGE): Likewise.
36454         (IGNORE_RESULT): Likewise.
36455         (check_float_internal): Check signs of NaN results if
36456         TEST_NAN_SIGN used.
36457         (check_complex): Pass TEST_NAN_SIGN flag through to second
36458         check_float_internal call.
36459         (copysign_test_data): Add tests with quiet NaNs as second
36460         argument.  Use TEST_NAN_SIGN.
36461         (fabs_test_data): Add test of negative quiet NaN argument.  Use
36462         TEST_NAN_SIGN.
36463         (signbit_test_data): Add tests of quiet NaN argument.
36464         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
36466         * math/gen-libm-test.pl (show_exceptions): Take extra argument
36467         $ignore_result.
36468         (parse_args): Handle function results specified as IGNORE.
36469         * math/libm-test.inc (IGNORE_RESULT): New macro.
36470         (check_float_internal): Do not check numerical result if flag
36471         IGNORE_RESULT set.
36472         (check_complex): Pass through IGNORE_RESULT to second
36473         check_float_internal call.
36474         (check_int): Do not check numerical result if flag IGNORE_RESULT
36475         set.
36476         (check_long): Likewise.
36477         (check_bool): Likewise.
36478         (check_longlong): Likewise.
36479         (lrint_test_data): Add tests of infinite and NaN arguments.
36480         (lrint_tonearest_test_data): Likewise.
36481         (lrint_towardzero_test_data): Likewise.
36482         (lrint_downward_test_data): Likewise.
36483         (lrint_upward_test_data): Likewise.
36484         (llrint_test_data): Likewise.
36485         (llrint_tonearest_test_data): Likewise.
36486         (llrint_towardzero_test_data): Likewise.
36487         (llrint_downward_test_data): Likewise.
36488         (llrint_upward_test_data): Likewise.
36489         (lround_test_data): Likewise.
36490         (llround_test_data): Likewise.
36492         * math/libm-test.inc (NO_TEST_INLINE): New macro.
36493         (ERRNO_UNCHANGED): Update value.
36494         (ERRNO_EDOM): Likewise.
36495         (ERRNO_ERANGE): Likewise.
36496         (NO_TEST_INLINE_FLOAT): New macro.
36497         (NO_TEST_INLINE_DOUBLE): Likewise.
36498         (enable_test): New function.
36499         (RUN_TEST_f_f): Check enable_test before running test.
36500         (RUN_TEST_2_f): Likewise.
36501         (RUN_TEST_fff_f): Likewise.
36502         (RUN_TEST_c_f): Likewise.
36503         (RUN_TEST_f_f1): Likewise.
36504         (RUN_TEST_fF_f1): Likewise.
36505         (RUN_TEST_fI_f1): Likewise.
36506         (RUN_TEST_ffI_f1): Likewise.
36507         (RUN_TEST_c_c): Likewise.
36508         (RUN_TEST_cc_c): Likewise.
36509         (RUN_TEST_f_i): Likewise.
36510         (RUN_TEST_f_i_tg): Likewise.
36511         (RUN_TEST_ff_i_tg): Likewise.
36512         (RUN_TEST_f_b): Likewise.
36513         (RUN_TEST_f_b_tg): Likewise.
36514         (RUN_TEST_f_l): Likewise.
36515         (RUN_TEST_f_L): Likewise.
36516         (RUN_TEST_fFF_11): Likewise.
36517         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
36518         conditionals.
36519         (cosh_test_data): Likewise.
36520         (exp_test_data): Likewise.
36521         (expm1_test_data): Likewise.
36522         (hypot_test_data): Likewise.
36523         (pow_test_data): Likewise.
36524         (sinh_test_data): Likewise.
36525         (tanh_test_data): Likewise.
36526         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
36527         flags argument.
36529         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
36530         tests with quiet NaN input and output.
36531         (acosh_test_data): Likewise.
36532         (asin_test_data): Likewise.
36533         (asinh_test_data): Likewise.
36534         (atan_test_data): Likewise.
36535         (atanh_test_data): Likewise.
36536         (atan2_test_data): Likewise.
36537         (cbrt_test_data): Likewise.
36538         (cos_test_data): Likewise.
36539         (cosh_test_data): Likewise.
36540         (erf_test_data): Likewise.
36541         (erfc_test_data): Likewise.
36542         (exp_test_data): Likewise.
36543         (exp10_test_data): Likewise.
36544         (exp2_test_data): Likewise.
36545         (expm1_test_data): Likewise.
36546         (hypot_test_data): Likewise.
36547         (j0_test_data): Likewise.
36548         (j1_test_data): Likewise.
36549         (jn_test_data): Likewise.
36550         (lgamma_test_data): Likewise.
36551         (log_test_data): Likewise.
36552         (log10_test_data): Likewise.
36553         (log1p_test_data): Likewise.
36554         (log2_test_data): Likewise.
36555         (pow_test_data): Likewise.
36556         (scalb_test_data): Likewise.
36557         (sin_test_data): Likewise.
36558         (sincos_test_data): Likewise.
36559         (sinh_test_data): Likewise.
36560         (tan_test_data): Likewise.
36561         (tanh_test_data): Likewise.
36562         (tgamma_test_data): Likewise.
36563         (y0_test_data): Likewise.
36564         (y1_test_data): Likewise.
36565         (yn_test_data): Likewise.
36567         [BZ #16167]
36568         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
36569         argument being NaN and avoid computations with second argument in
36570         that case.
36571         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
36572         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
36573         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
36575 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
36577         * locale/iso-639.def: Add Chitwani Tharu (the).
36579 2013-11-14  Andreas Schwab  <schwab@suse.de>
36581         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
36582         word instead of empty string.
36584 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36586         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
36587         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
36588         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
36589         (__fe_nomask_env): Likewise.
36591 2013-11-13  Steve Ellcey  <sellcey@mips.com>
36593         * benchtests/bench-timing.h: Include time.h.
36595 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
36597         [BZ #15997]
36598         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
36599         to 3.4.0 for x32.
36600         * sysdeps/unix/sysv/linux/configure: Regenerated.
36602 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
36604         [BZ #16151]
36605         * stdlib/strtod_l.c (round_and_return): Do not consider
36606         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
36607         exponent one less than half the least subnormal exponent.
36608         * stdlib/test-strtod-round-data: Add more tests.
36609         * stdlib/tst-strtod-round.c (tests): Regenerated.
36611 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36613         [BZ #14143]
36614         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
36615         (__fe_mask_env): Likewise.
36616         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
36617         libm_hidden_proto and add function prototype.
36618         (__fe_mask_env): Add function prototype.
36619         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
36620         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
36621         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
36622         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
36623         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
36624         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
36626 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
36628         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
36629         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
36631 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
36633         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
36634         of htab_find_slot().
36636 2013-11-11  David S. Miller  <davem@davemloft.net>
36638         [BZ #16150]
36639         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
36640         symbol in the non-vis3 case in static builds.
36641         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
36642         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
36643         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
36644         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
36646 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
36648         [BZ #387]
36649         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
36650         it is empty.
36652 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36654         * benchtests/Makefile: Add bench-strtod.
36655         * benchtests/bench-strtod.c: New file: strtod benchtest
36657 2013-11-11  Andreas Schwab  <schwab@suse.de>
36659         [BZ #16153]
36660         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
36661         terminating NUL in key length.
36663 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36665         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
36666         Add artificial ODP entry for vDSO symbol for PPC64.
36667         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
36668         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
36670 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
36672         [BZ #15374]
36673         * nss/getent.c (services_keys): Recognize services starting with digit.
36675 2013-11-06  David S. Miller  <davem@davemloft.net>
36677         [BZ #15985]
36678         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
36679         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
36681 2013-11-06  Will Newton  <will.newton@linaro.org>
36683         * manual/memory.texi (Malloc Examples): Remove register
36684         keyword from examples.
36686 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
36688         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
36690 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
36692         [BZ #6981]
36693         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
36694         depending on [__GCC_IEC_559 > 0].
36695         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
36696         depending on [__GCC_IEC_559_COMPLEX > 0].
36698 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
36700         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
36701         to iso-639.def.
36703 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
36705         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
36707 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
36709         [BZ #16112]
36710         * malloc/malloc (malloc_info): Do not handle first bin as
36711         special case.
36713 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
36715         * locale/iso-639.def: Add Central Nahuatl (nhn).
36717 2013-11-01  Bruno Haible  <bruno@clisp.org>
36719         [BZ #7003]
36720         * manual/math.texi (BSD Random): Specify range upper bound as
36721         in POSIX.
36723 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
36725         * locale/iso-639.def: Add Meadow Mari (mhr).
36727 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
36729         [BZ #14752], [BZ #15763]
36730         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
36731         Validate name.
36732         * rt/tst_shm.c: Add test for escaping directory.
36734 2013-10-31  Andreas Schwab  <schwab@suse.de>
36736         [BZ #15917]
36737         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
36738         followed by 'x' as part of digit sequence.
36739         * stdio-common/tst-sscanf.c (double_tests2): New tests.
36741 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
36743         [BZ #16037]
36744         * configure.ac: allow GNU Make 4.0 and greater.
36745         * configure: Regenerated.
36747 2013-10-30  Will Newton  <will.newton@linaro.org>
36749         [BZ #16038]
36750         * malloc/hooks.c (memalign_check): Limit alignment to the
36751         maximum representable power of two.
36752         * malloc/malloc.c (__libc_memalign): Likewise.
36753         * malloc/tst-memalign.c (do_test): Add test for very
36754         large alignment values.
36755         * malloc/tst-posix_memalign.c (do_test): Likewise.
36757 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
36759         [BZ #11087]
36760         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
36761         (munmap_chunk): Likewise.
36762         (mremap_chunk): Likewise.
36764 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
36766         [BZ #15799]
36767         * stdlib/div.c (div): Remove obsolete code.
36768         * stdlib/ldiv.c (ldiv): Likewise.
36769         * stdlib/lldiv.c (lldiv): Likewise.
36771 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
36773         [BZ #16071]
36774         * nss/nss_files/files-XXX.c (get_contents_ret): New
36775         enumerator.
36776         (get_contents): New function.
36777         (internal_getent): Use it.  Expand size of LINEBUFLEN.
36779 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
36781         * configure.in: Moved to ...
36782         * configure.ac: ... here. Change reference to configure.in
36783         to configure.ac.
36784         * sysdeps/arm/preconfigure.ac: ... here.
36785         configure.in to configure.ac.
36786         * sysdeps/gnu/configure.in: Moved to ...
36787         * sysdeps/gnu/configure.ac: ... here.
36788         * sysdeps/i386/configure.in: Moved to ...
36789         * sysdeps/i386/configure.ac: ... here.
36790         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
36791         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
36792         * sysdeps/mach/configure.in: Moved to ...
36793         * sysdeps/mach/configure.ac: ... here.
36794         * sysdeps/mach/hurd/configure.in: Moved to ...
36795         * sysdeps/mach/hurd/configure.ac: ... here.
36796         * sysdeps/powerpc/configure.in: Moved to ...
36797         * sysdeps/powerpc/configure.ac: ... here.
36798         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
36799         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
36800         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
36801         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
36802         * sysdeps/s390/s390-32/configure.in: Moved to ...
36803         * sysdeps/s390/s390-32/configure.ac: ... here.
36804         * sysdeps/s390/s390-64/configure.in: Moved to ...
36805         * sysdeps/s390/s390-64/configure.ac: ... here.
36806         * sysdeps/sh/configure.in: Moved to ...
36807         * sysdeps/sh/configure.ac: ... here.
36808         * sysdeps/sparc/configure.in: Moved to ...
36809         * sysdeps/sparc/configure.ac: ... here.
36810         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
36811         * sysdeps/unix/sysv/linux/configure.ac: ... here.
36812         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
36813         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
36814         * sysdeps/x86_64/configure.in: Moved to ...
36815         * sysdeps/x86_64/configure.ac: ... here.
36816         * sysdeps/x86_64/preconfigure.in: Moved to ...
36817         * sysdeps/x86_64/preconfigure.ac: ... here.
36818         * aclocal.m4: Change reference to configure.in to configure.ac.
36819         * config.h.in: Likewise.
36820         * manual/install.texi: Likewise.
36821         * manual/maint.texi: Likewise.
36822         * Makefile: Likewise.
36823         * malloc/Makefile: Likewise.
36824         * nscd/Makefile: Likewise.
36825         * Makeconfig: Change reference to configure.in and
36826         preconfigure.in to configure.ac and preconfigure.ac
36827         respectively.
36828         * INSTALL: Regenerated.
36829         * configure: Likewise.
36830         * sysdeps/gnu/configure: Likewise.
36831         * sysdeps/i386/configure: Likewise.
36832         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
36833         * sysdeps/mach/configure: Likewise.
36834         * sysdeps/mach/hurd/configure: Likewise.
36835         * sysdeps/powerpc/configure: Likewise.
36836         * sysdeps/powerpc/powerpc32/configure: Likewise.
36837         * sysdeps/powerpc/powerpc64/configure: Likewise.
36838         * sysdeps/s390/s390-32/configure: Likewise.
36839         * sysdeps/s390/s390-64/configure: Likewise.
36840         * sysdeps/sh/configure: Likewise.
36841         * sysdeps/sparc/configure: Likewise.
36842         * sysdeps/unix/sysv/linux/configure: Likewise.
36843         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
36844         * sysdeps/x86_64/configure: Likewise.
36845         * sysdeps/x86_64/preconfigure: Likewise.
36847 2013-10-29  Andreas Schwab  <schwab@suse.de>
36849         * stdio-common/Makefile (tst-swscanf-ENV): Define.
36851 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
36853         * benchtests/pow-inputs: Add new inputs.
36855         * benchtests/exp-inputs: Add new inputs.
36857         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
36858         conditional check for return value.
36859         (__cos32): Likewise.
36861 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36863         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
36864         to provide a boost for large inputs with word alignment.
36865         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
36866         implementation based on optimized PPC64 strcpy.
36867         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
36868         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
36869         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
36870         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
36872 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
36874         [BZ #2801]
36875         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
36877 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
36879         [BZ #14876]
36880         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
36881         * time/tst-strptime.c (day_tests): Add testcase.
36883 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
36885         [BZ #14029]
36886         * manual/pattern.texi: Acknowledge that fnmatch can fail.
36888 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
36890         [BZ #16074]
36891         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
36892         MAP_FAILED on error.
36894 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
36896         [BZ #16072]
36897         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
36898         heap for large requests.
36900 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
36902         [BZ #9954]
36903         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
36904         result if the result has no associated interface.
36905         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
36906         interface for all 127.X.Y.Z addresses.
36908 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
36910         * locale/iso-639.def: Add Ligurian (lij)
36912 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
36914         [BZ #15825]
36915         * sunrpc/rpc_main.c: Document rpcgen -5.
36917 2013-10-19  Michael Stahl  <mstahl@redhat.com>
36919         * elf/rtld.c (do_preload): Print the reason why preloading failed.
36921 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
36923         [BZ #10278]
36924         * posix/glob.c: Match only directories when trailing slash is present.
36925         * posix/tst-gnuglob.c (my_opendir): Do not open files.
36926         (main): Add testcase.
36928 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
36930         [BZ #15670]
36931         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
36933 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
36935         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
36936         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
36937         AUTH_DES and cindex for FIPS 140-2.
36938         (DES Encryption): Add cindex FIPS 46-3.
36940         * locale/locarchive.h (struct locarhandle): Add fname.
36941         * locale/programs/localedef.c (main): Pass ARGV[remaining]
36942         if an optional argument was specified to --list-archive,
36943         otherwise NULL.
36944         * locale/programs/locarchive.c (show_archive_content): Take new
36945         argument fname and pass it via ah.fname to open_archive.
36946         * locale/programs/localedef.h: Update decl.
36947         (open_archive): If AH->fname is non-null, open that file
36948         rather than the default file name, and don't ignore ENOENT.
36949         (create_archive): Set AH.fname to NULL.
36950         (delete_locales_from_archive): Likewise.
36951         (add_locales_to_archive): Likewise.
36952         * locale/programs/locfile.c (write_all_categories): Likewise.
36954 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
36955             Aldy Hernandez  <aldyh@redhat.com>
36957         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
36958         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
36959         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
36960         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
36961         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
36962         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
36963         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
36964         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
36965         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
36966         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
36967         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
36968         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
36969         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
36970         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
36971         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
36972         Likewise.
36973         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
36974         Likewise.
36975         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
36976         Likewise.
36977         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
36978         Likewise.
36979         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
36980         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
36981         Likewise.
36982         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
36983         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
36984         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
36985         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
36986         Likewise.
36987         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
36988         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
36989         * sysdeps/powerpc/preconfigure: Likewise.
36990         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
36991         Likewise.
36992         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
36993         Replace contents of file by #include of <fenv_libc.h>.
36994         * sysdeps/powerpc/soft-fp/sfp-machine.h
36995         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
36996         and <sys/prctl.h>.
36997         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
36998         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
36999         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
37000         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
37001         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
37002         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
37003         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
37004         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
37005         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
37006         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
37007         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
37008         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
37009         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
37010         Allow copysignl PLT reference to be missing.
37012 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
37013             Joseph Myers  <joseph@codesourcery.com
37015         [BZ #15948]
37016         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
37017         single character.
37018         (add_to_tablewc): Assert sequence of wide characters is nonempty.
37020 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
37022         * elf/tst-tls-dlinfo.c: Don't include tls.h.
37023         * elf/tst-tls1.c: Likewise.
37024         * elf/tst-tls10.h: Likewise.
37025         * elf/tst-tls14.c: Likewise.
37026         * elf/tst-tls2.c: Likewise.
37027         * elf/tst-tls3.c: Likewise.
37028         * elf/tst-tls4.c: Likewise.
37029         * elf/tst-tls5.c: Likewise.
37030         * elf/tst-tls6.c: Likewise.
37031         * elf/tst-tls7.c: Likewise.
37032         * elf/tst-tls8.c: Likewise.
37033         * elf/tst-tls9.c: Likewise.
37034         * elf/tst-tlsmod1.c: Likewise.
37035         * elf/tst-tlsmod13.c: Likewise.
37036         * elf/tst-tlsmod13a.c: Likewise.
37037         * elf/tst-tlsmod14a.c: Likewise.
37038         * elf/tst-tlsmod16a.c: Likewise.
37039         * elf/tst-tlsmod16b.c: Likewise.
37040         * elf/tst-tlsmod2.c: Likewise.
37041         * elf/tst-tlsmod3.c: Likewise.
37042         * elf/tst-tlsmod4.c: Likewise.
37043         * elf/tst-tlsmod5.c: Likewise.
37044         * elf/tst-tlsmod6.c: Likewise.
37046 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
37048         [BZ #12486]
37049         * malloc/malloc.c: remove checks for statistics.
37051 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
37053         [BZ #15277]
37054         * inet/inet_net.c (inet_network): Detect additional invalid strings.
37055         * inet/tst-network.c: Add testcase.
37057 2013-10-17  Andreas Schwab  <schwab@suse.de>
37059         [BZ #15218]
37060         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
37061         to determine canonical name.
37063 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
37065         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
37066         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
37067         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37068         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
37069         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37070         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
37071         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
37072         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
37073         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
37074         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
37075         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
37076         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
37077         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
37078         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
37079         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
37080         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
37081         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37082         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
37083         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
37084         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
37085         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
37086         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37087         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
37088         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
37089         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
37090         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
37091         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
37092         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
37093         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
37094         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
37095         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
37096         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
37097         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
37098         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
37099         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
37100         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
37101         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
37102         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
37103         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
37104         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
37105         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
37106         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
37107         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
37108         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
37109         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
37110         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
37111         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
37112         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
37113         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
37114         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
37115         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
37116         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
37117         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
37118         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
37119         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
37120         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
37121         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37122         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
37124 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
37126         [BZ #16041]
37127         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
37128         make result into a quiet NaN.
37130 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
37132         * soft-fp/adddf3.c: Fix horizontal whitespace.
37133         * soft-fp/addsf3.c: Likewise.
37134         * soft-fp/addtf3.c: Likewise.
37135         * soft-fp/divdf3.c: Likewise.
37136         * soft-fp/divsf3.c: Likewise.
37137         * soft-fp/divtf3.c: Likewise.
37138         * soft-fp/double.h: Likewise.
37139         * soft-fp/eqdf2.c: Likewise.
37140         * soft-fp/eqsf2.c: Likewise.
37141         * soft-fp/eqtf2.c: Likewise.
37142         * soft-fp/extenddftf2.c: Likewise.
37143         * soft-fp/extended.h: Likewise.
37144         * soft-fp/extendsfdf2.c: Likewise.
37145         * soft-fp/extendsftf2.c: Likewise.
37146         * soft-fp/extendxftf2.c: Likewise.
37147         * soft-fp/fixdfdi.c: Likewise.
37148         * soft-fp/fixdfsi.c: Likewise.
37149         * soft-fp/fixdfti.c: Likewise.
37150         * soft-fp/fixsfdi.c: Likewise.
37151         * soft-fp/fixsfsi.c: Likewise.
37152         * soft-fp/fixsfti.c: Likewise.
37153         * soft-fp/fixtfdi.c: Likewise.
37154         * soft-fp/fixtfsi.c: Likewise.
37155         * soft-fp/fixtfti.c: Likewise.
37156         * soft-fp/fixunsdfdi.c: Likewise.
37157         * soft-fp/fixunsdfsi.c: Likewise.
37158         * soft-fp/fixunsdfti.c: Likewise.
37159         * soft-fp/fixunssfdi.c: Likewise.
37160         * soft-fp/fixunssfsi.c: Likewise.
37161         * soft-fp/fixunssfti.c: Likewise.
37162         * soft-fp/fixunstfdi.c: Likewise.
37163         * soft-fp/fixunstfsi.c: Likewise.
37164         * soft-fp/fixunstfti.c: Likewise.
37165         * soft-fp/floatdidf.c: Likewise.
37166         * soft-fp/floatdisf.c: Likewise.
37167         * soft-fp/floatditf.c: Likewise.
37168         * soft-fp/floatsidf.c: Likewise.
37169         * soft-fp/floatsisf.c: Likewise.
37170         * soft-fp/floatsitf.c: Likewise.
37171         * soft-fp/floattidf.c: Likewise.
37172         * soft-fp/floattisf.c: Likewise.
37173         * soft-fp/floattitf.c: Likewise.
37174         * soft-fp/floatundidf.c: Likewise.
37175         * soft-fp/floatundisf.c: Likewise.
37176         * soft-fp/floatunditf.c: Likewise.
37177         * soft-fp/floatunsidf.c: Likewise.
37178         * soft-fp/floatunsisf.c: Likewise.
37179         * soft-fp/floatunsitf.c: Likewise.
37180         * soft-fp/floatuntidf.c: Likewise.
37181         * soft-fp/floatuntisf.c: Likewise.
37182         * soft-fp/floatuntitf.c: Likewise.
37183         * soft-fp/fmadf4.c: Likewise.
37184         * soft-fp/fmasf4.c: Likewise.
37185         * soft-fp/fmatf4.c: Likewise.
37186         * soft-fp/gedf2.c: Likewise.
37187         * soft-fp/gesf2.c: Likewise.
37188         * soft-fp/getf2.c: Likewise.
37189         * soft-fp/ledf2.c: Likewise.
37190         * soft-fp/lesf2.c: Likewise.
37191         * soft-fp/letf2.c: Likewise.
37192         * soft-fp/muldf3.c: Likewise.
37193         * soft-fp/mulsf3.c: Likewise.
37194         * soft-fp/multf3.c: Likewise.
37195         * soft-fp/negdf2.c: Likewise.
37196         * soft-fp/negsf2.c: Likewise.
37197         * soft-fp/negtf2.c: Likewise.
37198         * soft-fp/op-1.h: Likewise.
37199         * soft-fp/op-2.h: Likewise.
37200         * soft-fp/op-4.h: Likewise.
37201         * soft-fp/op-8.h: Likewise.
37202         * soft-fp/op-common.h: Likewise.
37203         * soft-fp/quad.h: Likewise.
37204         * soft-fp/single.h: Likewise.
37205         * soft-fp/soft-fp.h: Likewise.
37206         * soft-fp/sqrtdf2.c: Likewise.
37207         * soft-fp/sqrtsf2.c: Likewise.
37208         * soft-fp/sqrttf2.c: Likewise.
37209         * soft-fp/subdf3.c: Likewise.
37210         * soft-fp/subsf3.c: Likewise.
37211         * soft-fp/subtf3.c: Likewise.
37212         * soft-fp/truncdfsf2.c: Likewise.
37213         * soft-fp/trunctfdf2.c: Likewise.
37214         * soft-fp/trunctfsf2.c: Likewise.
37215         * soft-fp/trunctfxf2.c: Likewise.
37216         * soft-fp/unorddf2.c: Likewise.
37217         * soft-fp/unordsf2.c: Likewise.
37218         * soft-fp/unordtf2.c: Likewise.
37220 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
37222         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
37223         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
37225 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
37227         * elf/dl-libc.c: Clear initfini list after freeing.
37229 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
37231         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
37232         * soft-fp/addsf3.c: Likewise.
37233         * soft-fp/addtf3.c: Likewise.
37234         * soft-fp/divdf3.c: Likewise.
37235         * soft-fp/divsf3.c: Likewise.
37236         * soft-fp/divtf3.c: Likewise.
37237         * soft-fp/double.h: Likewise.
37238         * soft-fp/eqdf2.c: Likewise.
37239         * soft-fp/eqsf2.c: Likewise.
37240         * soft-fp/eqtf2.c: Likewise.
37241         * soft-fp/extenddftf2.c: Likewise.
37242         * soft-fp/extended.h: Likewise.
37243         * soft-fp/extendsfdf2.c: Likewise.
37244         * soft-fp/extendsftf2.c: Likewise.
37245         * soft-fp/extendxftf2.c: Likewise.
37246         * soft-fp/fixdfdi.c: Likewise.
37247         * soft-fp/fixdfsi.c: Likewise.
37248         * soft-fp/fixdfti.c: Likewise.
37249         * soft-fp/fixsfdi.c: Likewise.
37250         * soft-fp/fixsfsi.c: Likewise.
37251         * soft-fp/fixsfti.c: Likewise.
37252         * soft-fp/fixtfdi.c: Likewise.
37253         * soft-fp/fixtfsi.c: Likewise.
37254         * soft-fp/fixtfti.c: Likewise.
37255         * soft-fp/fixunsdfdi.c: Likewise.
37256         * soft-fp/fixunsdfsi.c: Likewise.
37257         * soft-fp/fixunsdfti.c: Likewise.
37258         * soft-fp/fixunssfdi.c: Likewise.
37259         * soft-fp/fixunssfsi.c: Likewise.
37260         * soft-fp/fixunssfti.c: Likewise.
37261         * soft-fp/fixunstfdi.c: Likewise.
37262         * soft-fp/fixunstfsi.c: Likewise.
37263         * soft-fp/fixunstfti.c: Likewise.
37264         * soft-fp/floatdidf.c: Likewise.
37265         * soft-fp/floatdisf.c: Likewise.
37266         * soft-fp/floatditf.c: Likewise.
37267         * soft-fp/floatsidf.c: Likewise.
37268         * soft-fp/floatsisf.c: Likewise.
37269         * soft-fp/floatsitf.c: Likewise.
37270         * soft-fp/floattidf.c: Likewise.
37271         * soft-fp/floattisf.c: Likewise.
37272         * soft-fp/floattitf.c: Likewise.
37273         * soft-fp/floatundidf.c: Likewise.
37274         * soft-fp/floatundisf.c: Likewise.
37275         * soft-fp/floatunsidf.c: Likewise.
37276         * soft-fp/floatunsisf.c: Likewise.
37277         * soft-fp/floatuntidf.c: Likewise.
37278         * soft-fp/floatuntisf.c: Likewise.
37279         * soft-fp/floatuntitf.c: Likewise.
37280         * soft-fp/fmadf4.c: Likewise.
37281         * soft-fp/fmasf4.c: Likewise.
37282         * soft-fp/fmatf4.c: Likewise.
37283         * soft-fp/gedf2.c: Likewise.
37284         * soft-fp/gesf2.c: Likewise.
37285         * soft-fp/getf2.c: Likewise.
37286         * soft-fp/ledf2.c: Likewise.
37287         * soft-fp/lesf2.c: Likewise.
37288         * soft-fp/letf2.c: Likewise.
37289         * soft-fp/muldf3.c: Likewise.
37290         * soft-fp/mulsf3.c: Likewise.
37291         * soft-fp/multf3.c: Likewise.
37292         * soft-fp/negdf2.c: Likewise.
37293         * soft-fp/negsf2.c: Likewise.
37294         * soft-fp/negtf2.c: Likewise.
37295         * soft-fp/op-1.h: Likewise.
37296         * soft-fp/op-2.h: Likewise.
37297         * soft-fp/op-4.h: Likewise.
37298         * soft-fp/op-8.h: Likewise.
37299         * soft-fp/op-common.h: Likewise.
37300         * soft-fp/quad.h: Likewise.
37301         * soft-fp/single.h: Likewise.
37302         * soft-fp/soft-fp.h: Likewise.
37303         * soft-fp/sqrtdf2.c: Likewise.
37304         * soft-fp/sqrtsf2.c: Likewise.
37305         * soft-fp/sqrttf2.c: Likewise.
37306         * soft-fp/subdf3.c: Likewise.
37307         * soft-fp/subsf3.c: Likewise.
37308         * soft-fp/subtf3.c: Likewise.
37309         * soft-fp/truncdfsf2.c: Likewise.
37310         * soft-fp/trunctfdf2.c: Likewise.
37311         * soft-fp/trunctfsf2.c: Likewise.
37312         * soft-fp/trunctfxf2.c: Likewise.
37313         * soft-fp/unorddf2.c: Likewise.
37314         * soft-fp/unordsf2.c: Likewise.
37315         * soft-fp/unordtf2.c: Likewise.
37317 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
37319         [BZ #15672]
37320         * misc/error.c (error_tail): Fix possible buffer overflow.
37322 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
37324         [BZ #13028]
37325         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
37326         address.
37328 2013-10-14  P. J. McDermott  <pj@pehjota.net>
37330         [BZ #832]
37331         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
37332         testing pipefail option.
37334 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
37336         * soft-fp/double.h: Indent preprocessor directives inside #if.
37337         * soft-fp/extended.h: Likewise.
37338         * soft-fp/op-2.h: Likewise.
37339         * soft-fp/op-4.h: Likewise.
37340         * soft-fp/op-common.h: Likewise.
37341         * soft-fp/quad.h: Likewise.
37342         * soft-fp/single.h: Likewise.
37343         * soft-fp/soft-fp.h: Likewise.
37345 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
37347         * iconv/iconv_prog.c: Fix typos.
37348         * stdio-common/psiginfo-data.h: Likewise.
37350 2013-10-12   Reuben Thomas <rrt@sc3d.org>
37352         [BZ #15764]
37353         * locale/setlocale.c: Fix typo.
37355 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
37357         [BZ #16036]
37358         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
37359         signaling NaN arguments.
37360         * soft-fp/unordsf2.c (__unordsf2): Likewise.
37361         * soft-fp/unordtf2.c (__unordtf2): Likewise.
37363         [BZ #14910]
37364         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
37365         unordered operands.
37366         * soft-fp/gesf2.c (__gesf2): Likewise.
37367         * soft-fp/getf2.c (__getf2): Likewise.
37368         * soft-fp/ledf2.c (__ledf2): Likewise.
37369         * soft-fp/lesf2.c (__lesf2): Likewise.
37370         * soft-fp/letf2.c (__letf2): Likewise.
37372         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
37373         * soft-fp/eqsf2.c (__eqsf2): Likewise.
37374         * soft-fp/eqtf2.c (__eqtf2): Likewise.
37375         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
37376         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
37377         * soft-fp/fixdfti.c (__fixdfti): Likewise.
37378         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
37379         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
37380         * soft-fp/fixsfti.c (__fixsfti): Likewise.
37381         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
37382         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
37383         * soft-fp/fixtfti.c (__fixtfti): Likewise.
37384         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
37385         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
37386         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
37387         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
37388         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
37389         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
37390         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
37391         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
37392         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
37393         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
37394         * soft-fp/floatdisf.c (__floatdisf): Likewise.
37395         * soft-fp/floatsisf.c (__floatsisf): Likewise.
37396         * soft-fp/floattidf.c (__floattidf): Likewise.
37397         * soft-fp/floattisf.c (__floattisf): Likewise.
37398         * soft-fp/floattitf.c (__floattitf): Likewise.
37399         * soft-fp/floatundidf.c (__floatundidf): Likewise.
37400         * soft-fp/floatundisf.c (__floatundisf): Likewise.
37401         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
37402         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
37403         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
37404         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
37405         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
37406         * soft-fp/gesf2.c (__gesf2): Likewise.
37407         * soft-fp/getf2.c (__getf2): Likewise.
37408         * soft-fp/ledf2.c (__ledf2): Likewise.
37409         * soft-fp/lesf2.c (__lesf2): Likewise.
37410         * soft-fp/letf2.c (__letf2): Likewise.
37412         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
37413         Undefine and redefine.
37414         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
37415         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
37416         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
37417         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
37418         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
37419         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
37420         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
37421         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
37422         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
37423         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
37424         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
37425         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
37426         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
37427         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
37428         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
37430         [BZ #16032]
37431         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
37432         without decrementing exponent if mantissa >= that for the
37433         denominator, not >.
37434         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
37435         denominator, not >.  Decrement exponent in < case instead of
37436         incrementing in >= case.
37437         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
37438         without decrementing exponent if mantissa >= that for the
37439         denominator, not >.
37441         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
37442         computing saturated result for unsigned overflow.
37444 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
37445             Jeff Law  <law@redhat.com>
37447         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
37448         (atan2Mp): Add systemtap probe marker.
37449         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
37450         (__ieee754_log): Add systemtap probe marker.
37451         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
37452         (atanMp): Add systemtap probe marker.
37453         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
37454         (tanMp): Add systemtap probe marker.
37455         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
37456         (__slowexp): Add systemtap probe marker.
37457         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
37458         (__slowpow): Add systemtap probe marker.
37459         * manual/probes.texi: Document probes.
37461 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
37463         [BZ #15362]
37464         * libio/fileops.c (_IO_new_file_write): Return count of bytes
37465         written.
37466         (_IO_new_file_xsputn): Don't return EOF if nothing has been
37467         written.
37468         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
37469         written to buffer but not flushed.
37470         * libio/iofwrite_u.c:  Likewise.
37471         * libio/iopadn.c:  Return bytes returned even if EOF was
37472         encountered.
37473         * libio/iowpadn.c:  Likewise.
37474         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
37475         if _IO_padn does not write the whole buffer.
37476         [!COMPILE_WPRINTF] (PAD): Likewise.
37478 2013-10-10  David S. Miller  <davem@davemloft.net>
37480         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
37481         directory block.
37483 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
37485         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
37486         instead of FSF address.
37487         * soft-fp/fixdfti.c: Likewise.
37488         * soft-fp/fixsfti.c: Likewise.
37489         * soft-fp/fixtfti.c: Likewise.
37490         * soft-fp/fixunsdfti.c: Likewise.
37491         * soft-fp/fixunssfti.c: Likewise.
37492         * soft-fp/fixunstfti.c: Likewise.
37493         * soft-fp/floattidf.c: Likewise.
37494         * soft-fp/floattisf.c: Likewise.
37495         * soft-fp/floattitf.c: Likewise.
37496         * soft-fp/floatuntidf.c: Likewise.
37497         * soft-fp/floatuntisf.c: Likewise.
37498         * soft-fp/floatuntitf.c: Likewise.
37499         * soft-fp/trunctfxf2.c: Likewise.
37501         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
37502         * soft-fp/fixdfti.c: Likewise.
37503         * soft-fp/fixsfti.c: Likewise.
37504         * soft-fp/fixtfti.c: Likewise.
37505         * soft-fp/fixunsdfti.c: Likewise.
37506         * soft-fp/fixunssfti.c: Likewise.
37507         * soft-fp/fixunstfti.c: Likewise.
37508         * soft-fp/floattidf.c: Likewise.
37509         * soft-fp/floattisf.c: Likewise.
37510         * soft-fp/floattitf.c: Likewise.
37511         * soft-fp/floatuntidf.c: Likewise.
37512         * soft-fp/floatuntisf.c: Likewise.
37513         * soft-fp/floatuntitf.c: Likewise.
37514         * soft-fp/trunctfxf2.c: Likewise.
37516 2013-10-10  David S. Miller  <davem@davemloft.net>
37518         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37520 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
37522         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
37523         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
37524         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
37525         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
37526         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
37527         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
37528         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
37530         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
37531         for NaNs before doing comparisons on argument.
37532         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
37533         Likewise.
37535 2013-10-10  Will Newton  <will.newton@linaro.org>
37537         * malloc/hooks.c (memalign_check): Ensure the value of bytes
37538         passed to _int_memalign does not overflow.
37540 2013-10-10  Torvald Riegel  <triegel@redhat.com>
37542         * scripts/bench.pl: Add include-sources directive.
37543         * benchtests/README: Update documentation.
37545 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
37547         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
37548         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
37549         instead of FP_INIT_ROUNDMODE.
37550         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
37551         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
37553         [BZ #16034]
37554         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
37555         copy class of input value.
37556         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
37557         not handle exceptions.
37558         * soft-fp/negsf2.c (__negsf2): Likewise.
37559         * soft-fp/negtf2.c (__negtf2): Likewise.
37560         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
37562 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
37564         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
37565         semicolon.  From Linux kernel.
37567 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
37569         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
37571 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
37573         [BZ #156]
37574         * manual/socket.texi: Added statement about buffer
37575         for gethostbyname2_r.
37577 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
37579         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
37580         Use .p2align directive instead, throughout.
37581         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
37582         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
37583         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
37584         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
37585         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
37586         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
37587         * sysdeps/x86_64/strchr.S: Likewise.
37588         * sysdeps/x86_64/strrchr.S: Likewise.
37590 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
37592         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
37594         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
37596         * sysdeps/generic/math_private.h (__mpsin1): Remove
37597         declaration.
37598         (__mpcos1): Likewise.
37599         (__mpsin): New argument __range_reduce.
37600         (__mpcos): Likewise.
37601         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
37602         (slow): Use __mpsin and __mpcos.
37603         (slow1): Likewise.
37604         (slow2): Likewise.
37605         (sloww): Likewise.
37606         (sloww1): Likewise.
37607         (sloww2): Likewise.
37608         (bsloww): Likewise.
37609         (bsloww1): Likewise.
37610         (bsloww2): Likewise.
37611         (cslow2): Likewise.
37612         (csloww): Likewise.
37613         (csloww1): Likewise.
37614         (csloww2): Likewise.
37615         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
37616         range_reduce.  Merge in __mpsin1.
37617         (__mpcos): Likewise.
37618         (__mpsin1): Remove.
37619         (__mpcos1): Likewise.
37621 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
37623         * locale/loadlocale.c (_nl_intern_locale_data): Use
37624         LOCFILE_ALIGNED_P.
37625         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
37626         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
37627         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
37628         obstack data is appropriately aligned.
37629         (obstack_int32_grow_fast): Likewise.
37630         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
37631         * locale/programs/locfile.c (add_locale_uint32): Likewise.
37632         (add_locale_uint32_array): Likewise.
37634 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
37636         * benchtests/Makefile: Remove ARGLIST and RET variables.
37637         ($(objpfx)bench-%.c): Pass only function name to the script.
37638         * benchtests/README: Update documentation.
37639         * benchtests/acos-inputs: Add new directives.
37640         * benchtests/acosh-inputs: Likewise.
37641         * benchtests/asin-inputs: Likewise.
37642         * benchtests/asinh-inputs: Likewise.
37643         * benchtests/atan-inputs: Likewise.
37644         * benchtests/atanh-inputs: Likewise.
37645         * benchtests/cos-inputs: Likewise.
37646         * benchtests/cosh-inputs: Likewise.
37647         * benchtests/exp-inputs: Likewise.
37648         * benchtests/log-inputs: Likewise.
37649         * benchtests/pow-inputs: Likewise.
37650         * benchtests/rint-inputs: Likewise.
37651         * benchtests/sin-inputs: Likewise.
37652         * benchtests/sinh-inputs: Likewise.
37653         * benchtests/tan-inputs: Likewise.
37654         * benchtests/tanh-inputs: Likewise.
37655         * scripts/bench.pl: Add support for new directives.
37657 2013-10-07  Alan Modra  <amodra@gmail.com>
37659         * README: Fix careless merge.
37661 2013-10-05  Alan Modra  <amodra@gmail.com>
37663         * NEWS: Mention powerpc64le support and bugs fixed.
37664         * README: Both big-endian and little-endian powerpc64 supported.
37666 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37668         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
37669         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
37670         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
37671         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
37673 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
37675         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
37676         match prototype.
37678 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
37680         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
37681         Move -mhard-float appending from
37682         ports/sysdeps/powerpc/powerpc32/Makefile.
37683         [$(with-fp) = yes] (ASFLAGS): Likewise.
37684         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
37685         * sysdeps/powerpc/nofpu: Move directory from
37686         ports/sysdeps/powerpc/nofpu.
37687         * sysdeps/powerpc/soft-fp: Move directory from
37688         ports/sysdeps/powerpc/soft-fp.
37689         * sysdeps/powerpc/powerpc32/405: Move directory from
37690         ports/sysdeps/powerpc/powerpc32/405.
37691         * sysdeps/powerpc/powerpc32/440: Move directory from
37692         ports/sysdeps/powerpc/powerpc32/440.
37693         * sysdeps/powerpc/powerpc32/464: Move directory from
37694         ports/sysdeps/powerpc/powerpc32/464.
37695         * sysdeps/powerpc/powerpc32/476: Move directory from
37696         ports/sysdeps/powerpc/powerpc32/476.
37697         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
37698         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
37699         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
37700         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
37701         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
37702         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
37703         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
37704         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
37705         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
37706         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
37707         * README: Update for powerpc-*-linux-gnu software floating point
37708         support in libc.
37710         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
37711         case to powerpc/powerpc32*.
37712         * sysdeps/unix/sysv/linux/configure: Regenerated.
37714         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
37715         (_FPU_MASK_OM): Define as 0x04.
37716         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
37717         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
37718         0x00c10080.
37719         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
37720         0x0000003c.
37721         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
37723         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
37724         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
37725         getcontext_e500.
37726         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
37727         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
37728         setcontext_e500.
37729         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
37730         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
37731         and setcontext_e500.
37733 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
37735         * locale/iso-3166.def: Update iso-1366.def and related occurrences
37737 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
37739         * manual/threads.texi (Default Thread Attributes): Fix typo.
37741 2013-10-04  Will Newton  <will.newton@linaro.org>
37743         * malloc/Makefile: Add tst-memalign.
37744         * malloc/tst-memalign.c: New file.
37746         * malloc/tst-posix_memalign.c: Add comments.
37747         (do_test): Add comments and call free on all potentially
37748         allocated pointers. Add space after cast.
37750         * malloc/tst-pvalloc.c: Add comments.
37751         (do_test): Add comments and call free on all potentially
37752         allocated pointers. Remove duplicate check for NULL pointer.
37753         Add space after cast.
37755         * malloc/tst-valloc.c: Add comments.
37756         (do_test): Add comments and call free on all potentially
37757         allocated pointers. Remove duplicate check for NULL pointer.
37758         Add space after cast.
37760 2013-10-04  Alan Modra  <amodra@gmail.com>
37762         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
37763         Use stdint types in rather than __attribute__((mode())).
37764         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
37766 2013-10-04  Alan Modra  <amodra@gmail.com>
37768         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
37769         Correct handling of unaligned relocs for little-endian.
37770         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
37772 2013-10-04  Alan Modra  <amodra@gmail.com>
37774         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
37775         * configure: Regenerate.
37776         * nptl/shlib-versions: Powerpc*le starts at 2.18.
37777         * shlib-versions: Likewise.
37779 2013-10-04  Alan Modra  <amodra@gmail.com>
37781         * string/tester.c (test_memrchr): Increment reported test cycle.
37783 2013-10-04  Alan Modra  <amodra@gmail.com>
37785         * string/test-memcpy.c (do_one_test): When reporting errors, print
37786         string address and don't overrun end of string.
37788 2013-10-04  Alan Modra  <amodra@gmail.com>
37790         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
37791         insrdi.  Make better use of reg selection to speed exit slightly.
37792         Schedule entry path a little better.  Remove useless "are we done"
37793         checks on entry to main loop.  Handle wrapping around zero address.
37794         Correct main loop count.  Handle single left-over word from main
37795         loop inline rather than by using loop_small.  Remove extra word
37796         case in loop_small caused by wrong loop count.  Add little-endian
37797         support.
37798         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
37799         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
37800         cache hint.
37801         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
37802         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
37803         support.  Avoid rlwimi.
37804         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
37806 2013-10-04  Alan Modra  <amodra@gmail.com>
37808         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
37809         insrdi.  Formatting.
37810         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
37811         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
37812         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
37813         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
37814         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
37815         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
37817 2013-10-04  Alan Modra  <amodra@gmail.com>
37819         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
37820         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
37821         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
37822         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
37823         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
37824         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
37825         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
37826         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
37827         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
37828         use of regs.  Use power7 mtocrf.  Tidy function tails.
37830 2013-10-04  Alan Modra  <amodra@gmail.com>
37832         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
37833         Formatting.  Consistently use rXXX register defines or rN defines.
37834         Use early exit labels that avoid restoring unused non-volatile regs.
37835         Make cr field use more consistent with rWORDn compares.  Rename
37836         regs used as shift registers for unaligned loop, using rN defines
37837         for short lifetime/multiple use regs.
37838         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
37839         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
37840         addi 1,1,64 to pop stack frame.  Simplify return value code.
37841         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
37843 2013-10-04  Alan Modra  <amodra@gmail.com>
37845         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
37846         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
37847         rather than rlwimi.
37848         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
37849         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
37850         little-endian support.  Correct typos.
37851         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
37852         rather than rlwimi.
37853         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
37854         in loop and entry code to keep "and." results.
37855         (strchr): Add little-endian support.  Comment.  Move cntlzd
37856         earlier in tail.
37857         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
37859 2013-10-04  Alan Modra  <amodra@gmail.com>
37861         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
37862         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
37863         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
37864         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
37866 2013-10-04  Alan Modra  <amodra@gmail.com>
37868         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
37869         (rTMP): Define as r11.
37870         (strcmp): Add little-endian support.  Optimise tail.
37871         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
37872         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
37873         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
37874         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
37875         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
37876         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
37877         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
37879 2013-10-04  Alan Modra  <amodra@gmail.com>
37881         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
37882         little-endian support.  Remove unnecessary "are we done" tests.
37883         Handle "s" wrapping around zero and extremely large "size".
37884         Correct main loop count.  Handle single left-over word from main
37885         loop inline rather than by using small_loop.  Correct comments.
37886         Delete "zero" tail, use "end_max" instead.
37887         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
37889 2013-10-04  Alan Modra  <amodra@gmail.com>
37891         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
37892         support.  Don't branch over align.
37893         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
37894         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
37895         support.  Rearrange tmp reg use to suit.  Comment.
37896         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
37898 2013-10-04  Alan Modra  <amodra@gmail.com>
37900         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
37902 2013-10-04  Alan Modra  <amodra@gmail.com>
37904         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
37905         conditional form of branch and link when obtaining pc.
37906         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
37908 2013-10-04  Alan Modra  <amodra@gmail.com>
37910         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
37911         HIWORD/LOWORD.
37912         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
37913         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
37915 2013-10-04  Alan Modra  <amodra@gmail.com>
37917         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
37918         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
37919         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
37920         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
37921         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
37922         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
37923         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
37924         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
37925         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
37926         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
37928 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
37929             Alistair Popple <alistair@ozlabs.au.ibm.com>
37930             Alan Modra <amodra@gmail.com>
37932         [BZ #15723]
37933         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
37934         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
37935         _dl_hwcap access for little-endian.
37936         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
37937         destroy vmx regs when saving unaligned.
37938         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
37939         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
37940         destroy vmx regs when saving unaligned.
37942 2013-10-04  Alan Modra  <amodra@gmail.com>
37944         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
37945         Don't use a union to pack hi/low value.
37947 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
37949         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
37950         for little-endian.
37951         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
37952         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
37953         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
37954         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
37955         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
37957 2013-10-04  Alan Modra  <amodra@gmail.com>
37959         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
37960         constants to usual value for .cst8 section, and remove redundant
37961         high address load.
37962         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
37963         constant for 0x1p52.  Load little-endian words of double from
37964         correct stack offsets.
37966 2013-10-04  Alan Modra  <amodra@gmail.com>
37968         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
37969         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
37970         words of double from correct stack offsets.
37971         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
37972         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
37973         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
37974         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
37975         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
37976         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
37977         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
37978         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
37979         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
37980         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
37981         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
37982         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
37983         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
37984         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
37985         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
37986         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
37987         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
37989 2013-10-04  Alan Modra  <amodra@gmail.com>
37991         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
37992         64-bit int/double union.
37993         (_FPU_SETCW): Likewise.
37994         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
37995         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
37997 2013-10-04  Alan Modra  <amodra@gmail.com>
37999         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
38000         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
38002 2013-10-04  Alan Modra  <amodra@gmail.com>
38004         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
38005         use vector int constants.
38006         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
38008 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
38010         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
38011         array with long long.
38012         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
38013         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
38014         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
38015         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
38016         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
38017         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
38018         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
38019         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
38020         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
38021         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
38022         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
38023         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
38024         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
38026 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
38028         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
38029         (__signbit): Likewise.  Correct for little-endian.
38030         (__signbitl): Call __signbit.
38031         (lrint): Correct for little-endian.
38032         (lrintf): Call lrint.
38034 2013-10-04  Alan Modra  <amodra@gmail.com>
38036         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
38037         union 32-bit int array member with 64-bit int array.
38038         (t515, tm256): Double rather than long double.
38039         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
38041 2013-10-04  Alan Modra  <amodra@gmail.com>
38043         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
38044         Delete.
38045         (IEEE854_LONG_DOUBLE_BIAS): Delete.
38046         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
38047         version of math_ldbl.h.
38049 2013-10-04  Alan Modra  <amodra@gmail.com>
38051         [BZ #15734], [BZ #15735]
38052         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
38053         all uses of ieee875 long double macros and unions.  Simplify test
38054         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
38055         ldbl_extract_mantissa value for ix,iy exponents.  Properly
38056         normalize after ldbl_extract_mantissa, and don't add hidden bit
38057         already handled.  Don't treat low word of ieee854 mantissa like
38058         low word of IBM long double and mask off bit when testing for
38059         zero.
38060         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
38061         all uses of ieee875 long double macros and unions.  Simplify tests
38062         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
38063         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
38064         two1022, instead use their values.  Recognise that tests for large
38065         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
38066         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
38067         Rewrite all uses of ieee875 long double macros and unions.  Simplify
38068         test for 0.0L and nan.  Correct negation.
38069         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
38070         ieee875 long double macros and unions.  Correct output for large
38071         magnitude x.  Correct absolute value calculation.
38072         (__erfcl): Likewise.
38073         * math/libm-test.inc: Add tests for errors discovered in IBM long
38074         double versions of fmodl, remainderl, erfl and erfcl.
38076 2013-10-04  Alan Modra  <amodra@gmail.com>
38078         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
38079         all uses of ieee854 long double macros and unions.  Simplify tests
38080         for long doubles that are fully specified by the high double.
38081         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
38082         Likewise.
38083         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
38084         Remove dead code too.
38085         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
38086         (__ieee754_ynl): Likewise.
38087         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
38088         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
38089         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
38090         Remove dead code too.
38091         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
38092         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
38093         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
38094         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
38095         Simplify.
38096         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
38097         Simplify.
38098         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
38099         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
38100         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
38101         Comment on variable precision.
38102         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
38103         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
38104         Likewise.
38105         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
38106         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
38107         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
38108         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
38109         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
38111 2013-10-04  Alan Modra  <amodra@gmail.com>
38113         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
38114         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
38115         all uses of ieee854 long double macros and unions.
38116         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
38117         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
38118         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
38119         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
38120         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
38121         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
38122         Likewise.
38123         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
38124         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
38125         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
38126         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
38127         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
38128         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
38129         Simplify sign and nan test too.
38130         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
38131         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
38132         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
38133         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
38134         Likewise.
38135         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
38136         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
38137         Likewise.
38138         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
38139         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
38140         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
38141         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
38142         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
38143         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
38145 2013-10-04  Alan Modra  <amodra@gmail.com>
38147         * stdio-common/printf_size.c (__printf_size): Don't use
38148         union ieee854_long_double in fpnum union.
38149         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
38150         signbit macro to retrieve sign from long double.
38151         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
38152         retrieve sign from long double.
38153         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
38154         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
38155         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
38156         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
38157         * math/test-misc.c (main): Don't use union ieee854_long_double.
38159 2013-10-04  Alan Modra  <amodra@gmail.com>
38161         [BZ #15680]
38162         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
38163         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
38164         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
38165         calculation.  Remove unnecessary test for denormal exponent.
38166         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
38167         Correct handling of denormals.  Avoid undefined shift behaviour.
38168         Correct normalisation of low mantissa when low double is denormal.
38169         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
38170         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
38171         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
38172         Correct normalisation of low mantissa.  Test for overflow of high
38173         mantissa and normalise.
38174         (ldbl_nearbyint): Use more readable constant for two52.
38175         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
38176         (__mpn_construct_long_double): Fix test for overflow of high
38177         mantissa and correct normalisation.  Avoid undefined shift.
38179 2013-10-04  Alan Modra  <amodra@gmail.com>
38181         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
38182         (union ibm_extended_long_double): Define as an array of ieee754_double.
38183         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
38184         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
38185         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
38186         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
38187         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
38188         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
38189         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
38190         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
38191         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
38192         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
38193         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
38195 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
38197         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
38198         page size instead of calling getpagesize.
38200         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
38201         (LOCFILE_ALIGN_MASK): Likewise.
38202         (LOCFILE_ALIGN_UP): Likewise.
38203         (LOCFILE_ALIGNED_P): Likewise.
38204         * locale/programs/ld-collate.c (collate_output): Use the new
38205         macros instead of __alignof__ (int32_t).
38206         * locale/weight.h (findidx): Likewise.
38208 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
38210         [BZ #431]
38211         * manual/string.texi: Fix strncat and wcsncat.
38213 2013-10-03  Brooks Moses  <bmoses@google.com>
38215         [BZ #15915]
38216         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
38217         * Makerules: ...here, and adjust associated comments.
38219 2013-10-02  Will Newton  <will.newton@linaro.org>
38221         * malloc/Makefile: Add tst-pvalloc.
38222         * malloc/tst-pvalloc.c: New file.
38224 2013-10-02  Will Newton  <will.newton@linaro.org>
38226         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
38227         improve test coverage.
38229 2013-10-02  Will Newton  <will.newton@linaro.org>
38231         * malloc/Makefile: Add tst-posix_memalign.
38232         * malloc/tst-posix_memalign.c: New file.
38234 2013-10-01  Eric Blake  <eblake@redhat.com>
38236         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
38237         Use __THROWNL rather than __THROW on static functions.
38239 2013-09-30  Petr Machata  <pmachata@redhat.com>
38241         * elf/elf.h (R_AARCH64_ABS16): New macro.
38242         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
38243         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
38244         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
38245         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
38246         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
38247         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
38248         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
38249         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
38250         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
38251         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
38252         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
38253         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
38254         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
38255         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
38256         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
38257         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
38258         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
38259         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
38260         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
38261         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
38262         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
38263         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
38264         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
38265         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
38266         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
38267         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
38268         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
38269         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
38270         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
38271         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
38272         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
38273         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
38274         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
38275         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
38276         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
38277         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
38278         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
38279         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
38280         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
38281         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
38282         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
38283         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
38284         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
38285         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
38286         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
38287         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
38288         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
38289         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
38290         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
38291         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
38292         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
38293         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
38294         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
38295         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
38296         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
38297         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
38298         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
38299         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
38300         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
38301         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
38302         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
38303         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
38304         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
38305         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
38306         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
38307         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
38308         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
38309         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
38310         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
38311         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
38312         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
38313         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
38314         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
38315         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
38316         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
38317         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
38318         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
38319         (R_AARCH64_TLSDESC_LDR): Likewise.
38320         (R_AARCH64_TLSDESC_ADD): Likewise.
38321         (R_AARCH64_TLSDESC_CALL): Likewise.
38323 2013-09-30  Andreas Schwab  <schwab@suse.de>
38325         [BZ #15048]
38326         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
38327         the nss database lookup.
38328         * nscd/initgrcache.c (addinitgroupsX): Likewise.
38329         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
38331 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
38333         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
38335 2013-09-28  P. J. McDermott  <pj@pehjota.net>
38337         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
38338         ${Bash-specific parameter/pattern/string} parameter expansion.
38339         * sysdeps/unix/make-syscalls.sh: Likewise.
38341 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
38343         * sysdeps/sh/stackguard-macros.h: New file.
38345 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
38347         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
38348         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
38349         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
38350         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
38351         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
38352         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
38354 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38356         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
38357         Fix thread ID register.
38359 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
38361         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
38362         [POSIX || UNIX98]: Require rather than permitting all symbols from
38363         <time.h>.
38364         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
38365         element of struct sched_param.
38366         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
38367         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
38368         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
38369         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
38370         constant.
38372 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
38374         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
38375         argument calculation.
38377 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
38379         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
38380         Expect macro.
38381         [POSIX] (pthread_attr_t): Do not require type.
38382         [POSIX] (pthread_cond_t): Likewise.
38383         [POSIX] (pthread_condattr_t): Likewise.
38384         [POSIX] (pthread_key_t): Likewise.
38385         [POSIX] (pthread_mutex_t): Likewise.
38386         [POSIX] (pthread_mutexattr_t): Likewise.
38387         [POSIX] (pthread_once_t): Likewise.
38388         [POSIX] (pthread_t): Likewise.
38389         [POSIX-based standards] (pthread_atfork): Expect function.
38391 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
38392             Richard Sandiford  <richard@codesourcery.com>
38394         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
38395         (swap_endianness_p): New extern variable.
38396         (set_big_endian): New inline function.
38397         (maybe_swap_uint32): Likewise.
38398         (maybe_swap_uint32_array): Likewise.
38399         (maybe_swap_uint32_obstack): Likewise.
38400         * locale/programs/locfile.c: Include <stdbool.h>.
38401         (swap_endianness_p): New variable.
38402         (add_locale_uint32): Call maybe_swap_uint32.
38403         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
38404         (write_locale_data): Call maybe_swap_uint32_array.
38405         * locale/programs/ld-collate.c (obstack_int32_grow): Call
38406         maybe_swap_uint32.
38407         (obstack_int32_grow_fast): Likewise.
38408         (output_weightwc): Call maybe_swap_uint32_obstack.
38409         (collate_output): Likewise.
38410         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
38411         (OPT_LITTLE_ENDIAN): Likewise.
38412         (options): Add --little-endian and --big-endian options.
38413         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
38414         * locale/programs/locarchive.c: Include "locfile.h".
38415         (GET): New macro.
38416         (SET): Likewise.
38417         (INC): Likewise.
38418         (create_archive): Use the new macros to access fields of
38419         structures directly mapped from or written to locale archives.
38420         (oldlocrecentcmp): Likewise.
38421         (enlarge_archive): Likewise.
38422         (insert_name): Likewise.
38423         (add_alias): Likewise.
38424         (add_locale): Likewise.
38425         (delete_locales_from_archive): Likewise.
38426         (show_archive_content): Likewise.
38427         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
38428         locale data.
38430 2013-09-24  Roland McGrath  <roland@hack.frob.com>
38432         * manual/freemanuals.texi: Updated from (newly) canonical copy at
38433         http://www.gnu.org/doc/freemanuals.texi.
38434         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
38436 2013-09-24  Will Newton  <will.newton@linaro.org>
38438         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
38439         macro.
38441 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
38443         * locale/hashval.h (compute_hashval): Interpret bytes of key as
38444         unsigned char.
38446 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
38448         * manual/threads.texi (POSIX Threads): Fix a typo.
38450 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
38452         [BZ #14547]
38453         * string/tst-strcoll-overflow.c: New test case.
38454         * string/Makefile (xtests): Add tst-strcoll-overflow.
38455         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
38456         cache if string sizes may cause integer overflow.
38458         [BZ #14547]
38459         * string/strcoll_l.c (coll_seq): New members rule, idx,
38460         save_idx and back_us.
38461         (get_next_seq_nocache): New function.
38462         (do_compare_nocache): New function.
38463         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
38464         when malloc fails.
38466 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
38468         [BZ #15754]
38469         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
38470         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
38471         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
38473         [BZ #15754]
38474         * elf/Makefile (tests): Add tst-ptrguard1.
38475         (tests-static): Add tst-ptrguard1-static.
38476         (tst-ptrguard1-ARGS): Define.
38477         (tst-ptrguard1-static-ARGS): Define.
38478         * elf/tst-ptrguard1.c: New file.
38479         * elf/tst-ptrguard1-static.c: New file.
38480         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
38481         * sysdeps/i386/stackguard-macros.h: Likewise.
38482         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
38483         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
38484         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
38485         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
38486         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
38487         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
38489 2013-09-23  Hector Marco  <hecmargi@upv.es>
38490             Ismael Ripoll  <iripoll@disca.upv.es>
38491             Carlos O'Donell  <carlos@redhat.com>
38493         [BZ #15754]
38494         * sysdeps/generic/stackguard-macros.h: Define
38495         __pointer_chk_guard_local and POINTER_CHK_GUARD.
38496         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
38497         Define __pointer_chk_guard_local.
38498         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
38499         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
38501 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
38503         [BZ #15859]
38504         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
38506 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
38508         * include/string.h (__ffs): Declare as hidden.
38509         * string/ffs.c (__ffs): Define as hidden.
38510         * sysdeps/i386/ffs.c (__ffs): Likewise.
38511         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
38512         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
38513         * sysdeps/s390/ffs.c (__ffs): Likewise.
38514         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
38516 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
38518         * NEWS: Mention malloc probes.
38520         * malloc/arena.c (new_heap): New memory_heap_new probe.
38521         (grow_heap): New memory_heap_more probe.
38522         (shrink_heap): New memory_heap_less probe.
38523         (heap_trim): New memory_heap_free probe.
38524         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
38525         (systrim): New memory_sbrk_less probe.
38526         * manual/probes.texi: Document them.
38528         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
38529         * manual/probes.texi: Document it.
38531         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
38532         (__libc_realloc): Add memory_realloc_retry probe.
38533         (__libc_memalign): Add memory_memalign_retry probe.
38534         (__libc_valloc): Add memory_valloc_retry probe.
38535         (__libc_pvalloc): Add memory_pvalloc_retry probe.
38536         (__libc_calloc): Add memory_calloc_retry probe.
38537         * manual/probes.texi: Document them.
38539         * malloc/arena.c (get_free_list): Add probe
38540         memory_arena_reuse_free_list.
38541         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
38542         and memory_arena_reuse.
38543         (arena_get2) [!PER_THREAD]: Likewise.
38544         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
38545         memory_arena_reuse_realloc.
38546         * manual/probes.texi: Document them.
38548         * malloc/malloc.c (__libc_free): Add
38549         memory_mallopt_free_dyn_thresholds probe.
38550         (__libc_mallopt): Add multiple memory_mallopt probes.
38551         * manual/probes.texi: Document them.
38553         * malloc/malloc.c: Include stap-probe.h.
38554         (__libc_mallopt): Add memory_mallopt probe.
38555         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
38556         * manual/probes.texi: New.
38557         * manual/Makefile (chapters): Add probes.
38558         * manual/threads.texi: Set next node.
38560 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
38562         [BZ #15963, #13985]
38563         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
38564         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
38565         Add `Chinese' to `nan' entry name.
38567 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
38569         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
38570         (POLYNOMIAL): Likewise.
38571         (TAYLOR_SINCOS): Likewise.
38572         (TAYLOR_SLOW): Likewise.
38573         (__sin): Use TAYLOR_SINCOS.
38574         (__cos): Likewise.
38575         (slow): Use TAYLOR_SLOW.
38576         (sloww): Likewise.
38577         (bsloww): Likewise.
38578         (csloww): Likewise.
38580 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
38582         * stdlib/strtod_l.c: Fix buffer overrun.
38584 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
38586         * benchtests/Makefile (bench): Add sincos.
38587         * benchtests/bench-sincos.c: New file.
38589         * math/libm-test.inc (cos_test_data): New test inputs.
38590         (sin_test_data): Likewise.
38592         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
38593         macro.
38594         (__sin): Use it.
38595         (__cos): Likewise.
38596         (slow1): Likewise.
38597         (slow2): Likewise.
38598         (sloww1): Likewise.
38599         (sloww2): Likewise.
38600         (bsloww1): Likewise.
38601         (bsloww2): Likewise.
38602         (cslow2): Likewise.
38603         (csloww1): Likewise.
38604         (csloww2): Likewise.
38606         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
38607         function.
38608         (__sin): Use it.
38609         (__cos): Likewise.
38611         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
38612         gotos.
38613         (__cos): Likewise.
38615 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
38617         * config.h.in (HAVE_MIPS_NAN2008): New macro.
38618         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
38619         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
38620         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
38621         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
38622         * elf/cache.c (print_entry): Handle the new cache flags.
38624 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
38625             Aldy Hernandez  <aldyh@redhat.com>
38627         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
38628         Change condition to [_SOFT_FLOAT].
38629         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
38630         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
38631         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
38632         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
38633         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
38634         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
38635         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
38636         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
38637         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
38638         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
38639         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
38640         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
38641         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
38642         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
38643         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
38644         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
38645         declaration.
38647 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
38649         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
38650         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
38651         (__longjmp): Use LOAD_GP to load saved GPRs.
38652         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
38653         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
38654         (__sigsetjmp): Use SAVE_GP to save GPRs.
38656         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
38657         Do not append -msoft-float.
38658         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
38660 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
38662         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
38664 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
38666         [BZ #15966]
38667         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
38668         (_FPU_GETCW): Use initial "__" on variable and field names but not
38669         on macro parameter name.
38670         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
38671         parentheses around reference to macro parameter.
38673 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
38675         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
38676         prototype.
38677         (ctype_startup): Use uint32_t in cast and sizeof for
38678         ctype->charnames.
38680 2013-09-11  Jia Liu  <proljc@gmail.com>
38682         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
38683         __daddr_t_defined.
38684         [__FreeBSD__]: Likewise.
38686 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
38688         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
38689         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
38690         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
38691         (strchr): Remove __strchr_sse42 ifunc selection.
38692         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
38693         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
38695 2013-09-11  Will Newton  <will.newton@linaro.org>
38697         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
38698         parameter to RES. Remove hardcoded 1000 value.
38699         * benchtests/bench-skeleton.c (main): Pass RES parameter
38700         to TIMING_INIT and multiply result by 1000.
38702 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38704         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38706 2013-09-11  Andreas Schwab  <schwab@suse.de>
38708         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
38709         if not defined.
38710         (O_TMPFILE) [__USE_GNU]: Define.
38711         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
38712         Define.
38714 2013-09-11  Will Newton  <will.newton@linaro.org>
38716         [BZ #15857]
38717         * malloc/malloc.c (__libc_memalign): Check the value of bytes
38718         does not overflow.
38720 2013-09-11  Will Newton  <will.newton@linaro.org>
38722         [BZ #15856]
38723         * malloc/malloc.c (__libc_valloc): Check the value of bytes
38724         does not overflow.
38726 2013-09-11  Will Newton  <will.newton@linaro.org>
38728         [BZ #15855]
38729         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
38730         does not overflow.
38732 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
38734         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
38735         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
38736         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
38737         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
38738         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
38740 2013-09-10  Allan McRae  <allan@archlinux.org>
38742         [BZ #15748]
38743         * manual/arith.texi (Parsing of Floats): Clarify
38744         cross-reference.
38746         [BZ #15849]
38747         * manual/install.texi (Running make install): Mention
38748         --enable-pt-chown.
38749         * INSTALL: Regenerated.
38751 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
38753         * csu/init-first.c (_init): Remove the !SHARED condition around
38754         FPU control word initialization.
38755         * elf/dl-support.c (_dl_fpu_control): New variable.
38756         (_dl_aux_init) <AT_FPUCW>: Initialize it.
38757         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
38758         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
38759         * math/test-fpucw-static.c: New file.
38760         * math/test-fpucw-ieee.c: New file.
38761         * math/test-fpucw-ieee-static.c: New file.
38762         * math/Makefile (tests): Add `test-fpucw-ieee' and
38763         `$(tests-static)'.
38764         (tests-static): New variable.
38765         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
38766         dependency to...
38767         [($(build-shared),yes)]
38768         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
38769         ... this.
38770         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
38771         New dependency.
38773 2013-09-09  Allan McRae  <allan@archlinux.org>
38775         [BZ #15939]
38776         * manual/string.texi (Collation Functions): Fix typo in
38777         strcoll example.
38778         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
38780         [BZ #15893]
38781         * stdlib/isomac.c (get_null_defines): Fix memory leak.
38783         [BZ #15892]
38784         * libio/memstream.c (open_memstream): Fix memory leak.
38785         * libio/wmemstream.c (open_wmemstream): Likewise.
38787         [BZ #15895]
38788         * nscd/netgroupcache.c: Fix nesting of ifdefs.
38790 2013-09-09  Will Newton  <will.newton@linaro.org>
38792         * malloc/Makefile: Add tst-realloc to tests.
38793         * malloc/tst-realloc.c: New file.
38795 2013-09-09  Allan McRae  <allan@archlinux.org>
38797         [BZ #15844]
38798         * COPYING: Update from GNU website to fix FSF address.
38799         * COPYING.LIB: Likewise.
38801 2013-09-06  David S. Miller  <davem@davemloft.net>
38803         * po/zh_TW.po: Update Chinese (traditional) translation from
38804         translation project.
38806 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
38807             Joseph Myers  <joseph@codesourcery.com>
38809         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
38810         "localeinfo.h".
38811         (obstack_chunk_alloc): New macro.
38812         (obstack_chunk_free): Likewise.
38813         (record_offset): New function.
38814         (init_locale_data): Likewise.
38815         (align_locale_data): Likewise.
38816         (add_locale_empty): Likewise.
38817         (add_locale_raw_data): Likewise.
38818         (add_locale_raw_obstack): Likewise.
38819         (add_locale_string): Likewise.
38820         (add_locale_wstring): Likewise.
38821         (add_locale_uint32): Likewise.
38822         (add_locale_uint32_array): Likewise.
38823         (add_locale_char): Likewise.
38824         (start_locale_structure): Likewise.
38825         (end_locale_structure): Likewise.
38826         (start_locale_prelude): Likewise.
38827         (end_locale_prelude): Likewise.
38828         (write_locale_data): Take locale_file structure rather than an
38829         iovec.
38830         * locale/programs/locfile.h: Include "obstack.h".
38831         (struct locale_file): Change to store locale file contents instead
38832         of header.
38833         (init_locale_data): New prototype.
38834         (align_locale_data): Likewise.
38835         (add_locale_empty): Likewise.
38836         (add_locale_raw_data): Likewise.
38837         (add_locale_raw_obstack): Likewise.
38838         (add_locale_string): Likewise.
38839         (add_locale_wstring): Likewise.
38840         (add_locale_uint32): Likewise.
38841         (add_locale_uint32_array): Likewise.
38842         (add_locale_char): Likewise.
38843         (start_locale_structure): Likewise.
38844         (end_locale_structure): Likewise.
38845         (start_locale_prelude): Likewise.
38846         (end_locale_prelude): Likewise.
38847         (write_locale_data): Update prototype.
38848         * locale/programs/3level.h (struct TABLE): Remove result field.
38849         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
38850         Use new locale_file interface.
38851         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
38852         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
38853         * locale/programs/ld-address.c (address_output): Use new
38854         locale_file interface.
38855         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
38856         NO_ADD_LOCALE.
38857         (collate_finish): Don't call collseq_table_finalize.
38858         (collate_output): Use new locale_file interface.
38859         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
38860         in file.
38861         (NO_FINALIZE): Change to NO_ADD_LOCALE.
38862         (TABLE): Move defines earlier in file.
38863         (ELEMENT): Likewise.
38864         (DEFAULT): Likewise.
38865         (wctrans_table_add): Move macro and inline function earlier in
38866         file.
38867         (struct wctype_table): Move type earlier in file.
38868         (add_locale_wctype_table): New static prototype.
38869         (struct locale_ctype_t): Use logical types instead of struct iovec
38870         pointers for members.
38871         (ctype_output): Use new locale_file interface.
38872         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
38873         new locale_file interface.
38874         (allocate_arrays): Update for use of new locale_file interface.
38875         * locale/programs/ld-identification.c (identification_output): Use
38876         new locale_file interface.
38877         * locale/programs/ld-measurement.c (measurement_output): Likewise.
38878         * locale/programs/ld-messages.c (messages_output): Likewise.
38879         * locale/programs/ld-monetary.c (monetary_output): Likewise.
38880         * locale/programs/ld-name.c (name_output): Likewise.
38881         * locale/programs/ld-numeric.c (numeric_output): Likewise.
38882         * locale/programs/ld-paper.c (paper_output): Likewise.
38883         * locale/programs/ld-telephone.c (telephone_output): Likewise.
38884         * locale/programs/ld-time.c (time_output): Likewise.
38886 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38888         * benchtests/Makefile: Add memrchr benchmark.
38889         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
38890         benchmark as memrchr.
38891         * benchtests/bench-memrchr-ifunc.c: New file.
38892         * benchtests/bench-memrchr.c: New file.
38894 2013-09-06   Will Newton  <will.newton@linaro.org>
38896         * benchtests/Makefile (string-bench): Add memcpy.
38898 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
38899             Cong Wang  <amwang@redhat.com>
38901         [BZ #15850]
38902         * sysdeps/unix/sysv/linux/bits/in.h
38903         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
38904         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
38905         before __USE_KERNEL_IPV6_DEFS uses.
38906         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
38907         IPPROTO_BEETPH.
38908         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
38909         sockaddr_in6, or ipv6_mreq.
38911 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38913         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
38914         memory access for final bytes in some large inputs.
38915         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
38917 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38919         * string/test-memrchr.c: New file.
38920         * string/test-memrchr-ifunc.c: New file.
38921         * string/Makefile: Add new memrchr testcase.
38923 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
38925         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
38926         fanotify_init returns EPERM.
38928 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
38930         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
38931         errors.
38932         (top level): Treat second token from macro or constant entries for
38933         allowed headers as allowed.
38934         * include/complex.h: Condition internal declarations on
38935         [!_ISOMAC].
38936         * include/fenv.h: Condition include of <stdbool.h> and internal
38937         declarations on [!_ISOMAC].
38939 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
38941         [BZ #15923]
38942         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
38944 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
38946         * configure.in (--enable-versioning): Remove configure option.
38947         (libc_cv_asm_symver_directive): Remove configure test.
38948         (libc_cv_ld_version_script_option): Likewise.
38949         (VERSIONING): Remove variable and AC_SUBST.
38950         (DO_VERSIONING): Remove AC_DEFINE.
38951         * configure: Regenerated.
38952         * config.h.in (DO_VERSIONING): Remove macro.
38953         * Makerules [$(versioning) = yes]: Change conditionals to
38954         [$(build-shared) = yes].
38955         * config.make.in (versioning): Remove variable.
38956         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
38957         [$(build-shared) = yes].
38958         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
38959         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
38960         * elf/Makefile [$(versioning) = yes]: Change conditionals to
38961         [$(build-shared) = yes].
38962         * extra-lib.mk [$(versioning) = yes]: Likewise.
38963         * hurd/Makefile [$(versioning) = yes]: Likewise.
38964         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
38965         [SHARED].
38966         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
38967         [SHARED].
38968         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
38969         [SHARED && !NO_HIDDEN].
38970         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
38971         [SHARED].
38972         [SHARED && DO_VERSIONING]: Likewise..
38973         * libio/Makefile [$(versioning) = yes]: Change conditionals to
38974         [$(build-shared) = yes].
38975         * manual/install.texi (--disable-versioning): Remove
38976         documentation.
38977         * INSTALL: Regenerated.
38978         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
38979         to [SHARED].
38980         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
38981         [$(build-shared) = yes].
38982         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
38983         * sysdeps/i386/i686/multiarch/strstr-c.c
38984         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
38985         [SHARED && !NO_HIDDEN].
38986         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
38987         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
38988         * sysdeps/powerpc/powerpc32/dl-machine.c
38989         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
38990         * sysdeps/powerpc/powerpc32/sysdep.h
38991         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
38992         to [SHARED && PIC && !NO_HIDDEN].
38993         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
38994         conditional to [SHARED].
38996 2013-09-04   Will Newton  <will.newton@linaro.org>
38998         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
38999         * benchtests/bench-string.h: Include bench-timing.h instead
39000         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
39001         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
39002         call to HP_TIMING_DIFF_INIT.
39003         * benchtests/bench-memccpy.c: Use bench-timing.h macros
39004         instead of hp-timing.h macros.
39005         * benchtests/bench-memchr.c: Likewise.
39006         * benchtests/bench-memcmp.c: Likewise.
39007         * benchtests/bench-memcpy.c: Likewise.
39008         * benchtests/bench-memmem.c: Likewise.
39009         * benchtests/bench-memmove.c: Likewise.
39010         * benchtests/bench-memset.c: Likewise.
39011         * benchtests/bench-rawmemchr.c: Likewise.
39012         * benchtests/bench-strcasecmp.c: Likewise.
39013         * benchtests/bench-strcasestr.c: Likewise.
39014         * benchtests/bench-strcat.c: Likewise.
39015         * benchtests/bench-strchr.c: Likewise.
39016         * benchtests/bench-strcmp.c: Likewise.
39017         * benchtests/bench-strcpy.c: Likewise.
39018         * benchtests/bench-strcpy_chk.c: Likewise.
39019         * benchtests/bench-strlen.c: Likewise.
39020         * benchtests/bench-strncasecmp.c: Likewise.
39021         * benchtests/bench-strncat.c: Likewise.
39022         * benchtests/bench-strncmp.c: Likewise.
39023         * benchtests/bench-strncpy.c: Likewise.
39024         * benchtests/bench-strnlen.c: Likewise.
39025         * benchtests/bench-strpbrk.c: Likewise.
39026         * benchtests/bench-strrchr.c: Likewise.
39027         * benchtests/bench-strspn.c: Likewise.
39028         * benchtests/bench-strstr.c: Likewise.
39030 2013-09-04  Will Newton  <will.newton@linaro.org>
39032         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
39034 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
39036         [BZ #15427]
39037         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
39038         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
39039         * math/libm-test.inc (lgamma_test_data): Add more tests.
39040         * sysdeps/i386/fpu/libm-test-ulps: Update.
39041         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39043 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
39045         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
39046         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
39047         Add ifunc.
39048         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
39049         Add strcmp-sse2-unaligned
39050         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
39052 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
39054         * Versions.def (libc): Add GLIBC_2.19.
39056 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
39058         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
39059         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
39061 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
39063         [BZ #14155]
39064         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
39065         intermediate calculations in recurrence.
39066         (__ieee754_ynf): Likewise.
39067         * math/libm-test.inc (jn_test_data): Do not allow spurious
39068         underflow exception.  Add more tests.
39069         (yn_test_data): Add more tests.
39070         * sysdeps/i386/fpu/libm-test-ulps: Update.
39071         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39073 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
39075         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
39077 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
39079         * csu/init-first.c: Fix then/than typos.
39080         * locale/programs/ld-collate.c: Likewise.
39081         * locale/programs/linereader.h: Likewise.
39082         * manual/charset.texi: Likewise.
39083         * manual/filesys.texi: Likewise.
39084         * manual/stdio.texi: Likewise.
39085         * manual/string.texi: Likewise.
39086         * stdlib/fmtmsg.c: Likewise.
39087         * sysdeps/i386/stpncpy.S: Likewise.
39088         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
39089         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
39090         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
39091         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
39093 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
39095         * elf/dl-open.c: Fix typos.
39096         * iconvdata/gbbig5.c: Likewise.
39097         * iconvdata/iso-2022-jp.c: Likewise.
39098         * iconv/gconv_int.h: Likewise.
39099         * iconv/loop.c: Likewise.
39100         * nis/rpcsvc/nis.h: Likewise.
39101         * resolv/ns_name.c: Likewise.
39102         * stdio-common/vfscanf.c: Likewise.
39103         * streams/stropts.h: Likewise.
39104         * sunrpc/rpc_thread.c: Likewise.
39105         * sysdeps/i386/strpbrk.S: Likewise.
39106         * sysdeps/ieee754/k_standard.c: Likewise.
39107         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
39108         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
39109         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
39110         * sysdeps/mach/hurd/profil.c: Likewise.
39111         * sysdeps/s390/dl-procinfo.h: Likewise.
39112         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
39113         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
39114         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
39115         * sysdeps/x86_64/dl-trampoline.S: Likewise.
39116         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
39118 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
39120         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
39121         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
39123 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
39125         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
39126         aix specific files.
39127         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
39128         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
39129         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
39130         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
39131         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
39132         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
39133         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
39134         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
39136 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
39137             Roland McGrath  <roland@hack.frob.com>
39139         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
39140         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
39142 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
39144         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
39145         __executable_start symbol instead of _start.
39147 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
39149         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
39150         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
39151         Move macros to...
39152         * sysdeps/gnu/ldsodefs.h: ... this new file.
39154         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
39155         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
39156         instead of ELFOSABI_LINUX.
39158         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
39159         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
39160         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
39161         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
39162         Likewise.
39163         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
39164         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
39165         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
39166         Likewise.
39167         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
39168         (ibm_extended_long_double): Add ieee_nan member.
39169         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
39170         (do_test): New function.
39172         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
39173         TEST_TRUNC.
39174         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
39175         functions, renamed from truncdfsf_test, trunctfsf_test,
39176         trunctfdf_test.
39177         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
39178         functions.
39179         (do_test): Run all these.
39181 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
39183         * argp/argp-help.c: Fix typos.
39184         * argp/argp-parse.c: Likewise.
39185         * debug/backtracesyms.c: Likewise.
39186         * elf/elf.h: Likewise.
39187         * malloc/malloc.c: Likewise.
39188         * nis/nis_print.c: Likewise.
39189         * resolv/res_comp.c: Likewise.
39190         * stdlib/stdlib.h: Likewise.
39191         * sunrpc/clnt_tcp.c: Likewise.
39192         * sunrpc/clnt_udp.c: Likewise.
39193         * sunrpc/clnt_unix.c: Likewise.
39194         * sysdeps/unix/bsd/ptsname.c: Likewise.
39195         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
39196         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
39197         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
39198         Likewise.
39199         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
39200         Likewise.
39201         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
39202         Likewise.
39203         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
39205 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
39207         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
39208         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
39210 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
39212         [BZ #15897]
39213         * dlfcn/Makefile (tests): Add bug-dl-leaf.
39214         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
39215         ($(objpfx)bug-dl-leaf): New rule.
39216         ($(objpfx)bug-dl-leaf.so): Likewise.
39217         ($(objpfx)bug-dl-leaf.out): Likewise.
39218         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
39219         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
39220         * dlfcn/bug-dl-leaf.c: New test.
39221         * dlfcn/bug-dl-leaf-lib.c: Likewise.
39222         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
39223         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
39224         (dlclose): Likewise.
39225         (dlmopen): Likewise.
39227 2013-08-27  Roland McGrath  <roland@hack.frob.com>
39229         * include/netdb.h [!_ISOMAC]:
39230         Don't include <tls.h>.
39231         (h_errno, __libc_h_errno): Move declaration and macros out of
39232         [_LIBC_REENTRANT].
39234         * include/resolv.h [_RESOLV_H_]:
39235         Don't include <tls.h>.
39236         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
39237         * resolv/res_libc.c: Don't include <tls.h>.
39238         (_res): Use __attribute__ ((nocommon)) in place of
39239         __attribute__ ((section (".bss"))).
39241         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
39242         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
39244         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
39246         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
39247         only under [SIOCGIFCONF && SIOCGIFNETMASK].
39249         * resolv/res_mkquery.c: Include <sys/time.h>.
39251         * inet/ifreq.c: Moved to ...
39252         * sysdeps/unix/ifreq.c: ... here.
39253         * inet/ifreq.c: New file, true stub version.
39255         * socket/sa_len.c: New file.
39256         * socket/Makefile (aux): Add it.
39257         * sysdeps/unix/sysv/linux/Makefile
39258         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
39259         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
39260         and #include <socket/sa_len.c>.
39261         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
39262         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
39264         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
39265         * bits/socket.h: ... here.
39267         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
39268         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
39269         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
39271 2013-08-27  Andreas Schwab  <schwab@suse.de>
39273         [BZ #15736]
39274         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
39275         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
39276         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
39277         * string/test-strcasecmp.c (test_main): Run tests in several
39278         locales.
39279         * string/test-strncasecmp.c (test_main): Likewise.
39281         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
39282         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
39283         to __strcasecmp_nonascii and __strncasecmp_nonascii.
39284         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
39285         (__strncasecmp_ssse3) [PIC]: Likewise.
39287 2013-08-26  Roland McGrath  <roland@hack.frob.com>
39289         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
39291         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
39292         instead of explicitly declaring xdecrypt.
39293         * nis/nss_nis/nis-publickey.c: Likewise.
39295 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
39297         [BZ #15890]
39298         * nscd/aicache.c: Include res_hconf.h.
39299         (addhstaiX): Initialize res_hconf.
39301 2013-08-26  Andreas Schwab  <schwab@suse.de>
39303         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
39304         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
39306 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
39308         * nscd/aicache.c (addhstaiX): Fix indentation.
39310 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
39312         * configure.ac: Quote $build_pt_chown test.
39313         * configure: Regenerated.
39315 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
39317         [BZ #15532]
39318         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
39319         * math/s_cexpf.c (__cexpf): Likewise.
39320         * math/s_cexpl.c (__cexpl): Likewise.
39321         * math/libm-test.inc (cexp_test_data): Correct expected return
39322         value for NaN + i0.  Add another test.
39324 2013-08-22  David S. Miller  <davem@davemloft.net>
39326         * po/ca.po: Update Catalan translation from translation project.
39327         * po/uk.po: Add Ukrainian translations from translation project.
39329 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
39331         [BZ #15797]
39332         * math/s_fdim.c (__fdim): Check for infinite arguments if result
39333         is infinite, not alongside NaN test.
39334         * math/s_fdimf.c (__fdimf): Likewise.
39335         * math/s_fdiml.c (__fdiml): Likewise.
39336         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
39337         errno is unchanged.
39339 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
39341         * argp/argp-help.c: Fix typos.
39342         * crypt/speeds.c: Likewise.
39343         * csu/check_fds.c: Likewise.
39344         * elf/dl-load.c: Likewise.
39345         * elf/dl-open.c: Likewise.
39346         * elf/reldep3.c: Likewise.
39347         * elf/reldep.c: Likewise.
39348         * elf/sprof.c: Likewise.
39349         * iconv/iconv_charmap.c: Likewise.
39350         * iconv/skeleton.c: Likewise.
39351         * iconv/strtab.c: Likewise.
39352         * io/lockf64.c: Likewise.
39353         * libio/libioP.h: Likewise.
39354         * resolv/gai_notify.c: Likewise.
39355         * resolv/ns_name.c: Likewise.
39356         * resolv/ns_samedomain.c: Likewise.
39357         * resolv/res_send.c: Likewise.
39358         * stdlib/random.c: Likewise.
39359         * sunrpc/rpc/xdr.h: Likewise.
39360         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
39361         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
39362         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
39363         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
39364         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
39365         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
39366         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
39367         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
39368         * sysdeps/mach/hurd/check_fds.c: Likewise.
39369         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
39370         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
39371         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
39372         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
39373         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
39374         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
39375         * sysdeps/pthread/aio_notify.c: Likewise.
39376         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
39377         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
39378         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
39379         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
39380         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
39382 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
39384         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
39385         version if bit_Slow_SSE4_2 is set.
39386         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
39387         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
39389 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39391         [BZ #15867]
39392         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
39393         trampoline stack frame information.
39394         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
39395         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
39396         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
39397         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
39398         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
39399         * sysdeps/unix/sysv/linux/powerpc/init-first.c
39400         (_libc_vdso_platform_setup): Initialize the signal trampolines.
39401         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
39402         sa_flags value.
39403         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
39404         interrupting a syscall and set with option SA_SIGINFO.
39406 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
39408         [BZ #15531]
39409         * math/s_cproj.c (__cproj): Only return an infinity if one part of
39410         argument is infinite.
39411         * math/s_cprojf.c (__cprojf): Likewise.
39412         * math/s_cprojl.c (__cprojl): Likewise.
39413         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
39414         * math/libm-test.inc (cproj_test_data): Add more tests.
39416         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
39418         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
39419         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
39420         size.  Use __ffs to determine corresponding shift.
39422 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
39423             Roland McGrath  <roland@hack.frob.com>
39425         * Makefile (INSTALL): Remove trailing blank lines from output of
39426         makeinfo.
39428 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
39430         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
39431         Align 32 bit compat elf_greg to 8 bytes.
39433 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
39435         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
39437 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
39439         * string/strcoll_l.c (coll_seq): New structure.
39440         (get_next_seq_cached): New function.
39441         (get_next_seq): New function.
39442         (do_compare): New function.
39443         (STRCOLL): Use GNU style definition.  Simplify implementation
39444         by using get_next_seq, get_next_seq_cached and do_compare.
39446 2013-08-16  Florian Weimer  <fweimer@redhat.com>
39448         [BZ #14699]
39449         CVE-2013-4237
39450         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
39451         member.
39452         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
39453         member.
39454         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
39455         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
39456         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
39457         conditional.
39458         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
39459         GETDENTS_64BIT_ALIGNED.
39460         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
39461         * manual/filesys.texi (Reading/Closing Directory): Document
39462         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
39463         strongly.
39464         * manual/conf.texi (Limits for Files): Add portability note to
39465         NAME_MAX, PATH_MAX.
39466         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
39468 2013-08-13  Andreas Schwab  <schwab@suse.de>
39470         [BZ #15749]
39471         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
39472         of fabs.
39473         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
39474         LDBL_MAX_EXP >= 16384]: Add tests for it.
39476 2013-08-12  David S. Miller  <davem@davemloft.net>
39478         * version.h (RELEASE): Set to "development".
39479         (VERSION): Set to "2.18.90".
39480         * NEWS: Add 2.19 section.
39482 2013-08-03  David S. Miller  <davem@davemloft.net>
39484         * po/ko.po: Update Korean translation from translation project.
39486 2013-08-01  David S. Miller  <davem@davemloft.net>
39488         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
39489         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
39490         Bilka.
39492 2013-07-30  David S. Miller  <davem@davemloft.net>
39494         * po/fr.po: Update French translation from translation project.
39496 2013-07-28  David S. Miller  <davem@davemloft.net>
39498         * po/cs.po: Update Czech translation from translation project.
39500         * po/sv.po: Update Swedish translation from translation project.
39502 2013-07-27  David S. Miller  <davem@davemloft.net>
39504         * po/eo.po: Update Esperanto translation from translation project.
39506         * po/vi.po: Update Vietnamese translation from translation project.
39508         * po/de.po: Update German translation from translation project.
39510 2013-07-26  David S. Miller  <davem@davemloft.net>
39512         * po/bg.po: Update Bulgarian translation from translation project.
39514         * po/nl.po: Update Dutch translation from translation project.
39515         * po/pl.po: Update Polish translation from translation project.
39516         * po/ru.po: Update Russian translation from translation project.
39518 2013-07-24  David S. Miller  <davem@davemloft.net>
39520         * po/libc.pot: Update.
39522 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39524         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
39525         variable page size.
39526         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
39527         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
39528         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
39530 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
39532         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
39534 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
39535             Andreas Schwab  <schwab@suse.de>
39536             Roland McGrath  <roland@hack.frob.com>
39537             Joseph Myers  <joseph@codesourcery.com>
39538             Carlos O'Donell  <carlos@redhat.com>
39540         [BZ #15755]
39541         * config.h.in: Define HAVE_PT_CHOWN.
39542         * config.make.in (build-pt-chown): New variable.
39543         * configure.in (--enable-pt_chown): New configure option.
39544         * configure: Regenerate.
39545         * login/Makefile: Include Makeconfig.  Build pt_chown only if
39546         build-pt-chown is enabled.
39547         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
39548         pt_chown to fix pty ownership.
39549         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
39550         CLOSE_ALL_FDS.
39551         * manual/install.texi (Configuring and compiling): Mention
39552         --enable-pt_chown. Add @findex for grantpt.
39553         * INSTALL: Regenerate.
39555 2013-07-20  David S. Miller  <davem@davemloft.net>
39557         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
39558         difference between 32-bit and 64-bit.
39560 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
39562         [BZ #15711]
39563         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
39564         Avoid system header dependency with -ffreestanding.
39565         ($(objpfx)bits/syscall%d): Likewise.
39567 2013-07-13  David S. Miller  <davem@davemloft.net>
39569         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
39570         underflows from atanl/atan2l due to bug 15319.
39571         (casinh_test_data): Likewise.
39573 2013-07-07  David S. Miller  <davem@davemloft.net>
39575         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
39577 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
39579         * sysdeps/i386/fpu/libm-test-ulps: Update.
39580         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39582 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
39584         * configure.in (--enable-lock-elision): Fix message text.
39585         * INSTALL: Regenerate.
39586         * configure: Regenerate.
39588 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39590         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39592 2013-07-03  Andreas Jaeger  <aj@suse.de>
39594         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
39595         define.
39596         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
39597         (ptrace_peeksiginfo_args): Add.
39598         (__ptrace_peeksiginfo_flags): Add.
39599         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
39600         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
39601         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
39603 2013-07-03  Allan McRae  <allan@archlinux.org>
39605         * sysdeps/i386/fpu/libm-test-ulps: Update.
39607 2013-07-02  David S. Miller  <davem@davemloft.net>
39609         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39611 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
39613         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39615 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
39617         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
39618         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39620 2013-07-02  Andi Kleen <ak@linux.intel.com>
39622         * config.h.in (ENABLE_LOCK_ELISION): Add.
39623         * configure.in (--enable-lock-elision): Add option.
39624         * manual/install.texi: Document --enable lock elision.
39625         * configure: Regenerate
39626         * INSTALL: Regenerate.
39628 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
39630         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
39631         SSE4.2 strcasecmp for libc.a.
39632         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
39634 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
39636         [BZ #13304]
39637         * soft-fp/op-common.h (_FP_FMA): New macro.
39638         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
39639         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
39640         (_FP_MUL_MEAT_1_imm): ... here.
39641         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
39642         (_FP_MUL_MEAT_1_wide): ... here.
39643         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
39644         (_FP_MUL_MEAT_1_hard): ... here.
39645         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
39646         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
39647         (_FP_MUL_MEAT_2_wide): ... here.
39648         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
39649         (_FP_MUL_MEAT_2_wide_3mul): ... here.
39650         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
39651         (_FP_MUL_MEAT_2_gmp): ... here.
39652         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
39653         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
39654         (_FP_MUL_MEAT_4_wide): ... here.
39655         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
39656         (_FP_MUL_MEAT_4_gmp): ... here.
39657         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
39658         (_FP_WFRACBITS_DW_S): Likewise.
39659         (_FP_WFRACXBITS_DW_S): Likewise.
39660         (_FP_HIGHBIT_DW_S): Likewise.
39661         (FP_FMA_S): Likewise.
39662         (_FP_FRAC_HIGH_DW_S): Likewise.
39663         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
39664         (_FP_WFRACBITS_DW_D): Likewise.
39665         (_FP_WFRACXBITS_DW_D): Likewise.
39666         (_FP_HIGHBIT_DW_D): Likewise.
39667         (FP_FMA_D): Likewise.
39668         (_FP_FRAC_HIGH_DW_D): Likewise.
39669         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
39670         (_FP_WFRACBITS_DW_E): Likewise.
39671         (_FP_WFRACXBITS_DW_E): Likewise.
39672         (_FP_HIGHBIT_DW_E): Likewise.
39673         (FP_FMA_E): Likewise.
39674         (_FP_FRAC_HIGH_DW_E): Likewise.
39675         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
39676         (_FP_WFRACBITS_DW_Q): Likewise.
39677         (_FP_WFRACXBITS_DW_Q): Likewise.
39678         (_FP_HIGHBIT_DW_Q): Likewise.
39679         (FP_FMA_Q): Likewise.
39680         (_FP_FRAC_HIGH_DW_Q): Likewise.
39681         * soft-fp/fmasf4.c: New file.
39682         * soft-fp/fmadf4.c: Likewise.
39683         * soft-fp/fmatf4.c: Likewise.
39685 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
39687         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
39688         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
39689         Silvermont.
39690         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
39691         macro.
39692         (index_Slow_SSE4_2): Likewise.
39693         (index_Prefer_PMINUB_for_stringop): Likewise.
39694         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
39695         bit_Slow_SSE4_2 is set.
39696         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
39697         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
39699 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
39701         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
39702         rtld_global._dl_hwcap2.
39703         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
39704         POWER8.
39705         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
39706         POWER8 feature descriptions defined in _dl_hwcap2.
39707         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
39708         string handling for POWER8 feature bits.
39709         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
39710         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
39711         _dl_powerpc_cap_flags.
39712         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
39713         * sysdeps/powerpc/rtld-global-offsets.sym
39714         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
39715         _dl_hwcap2 in the rtld_global_ro structure.
39717 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
39719         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
39720         hardware capabilities in support of AT_HWCAP2.
39721         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
39722         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
39723         GLRO(dl_hwcap2).
39724         (_dl_show_auxv): Add support for calling _dl_procinfo to display
39725         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
39726         explicitly the unknown a_type display mechanism is used.
39727         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
39728         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
39729         struct member.
39730         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
39731         to macro prototype for AT_HWCAP2 support.
39732         * sysdeps/i386/dl-procinfo.h: Likewise.
39733         * sysdeps/s390/dl-procinfo.h: Likewise.
39734         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
39735         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
39736         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
39737         return -1 for unknown a_type display fallback.
39738         * sysdeps/sparc/dl-procinfo.h: Likewise.
39739         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
39740         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
39742 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
39744         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
39745         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
39747 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
39749         [BZ #12492]
39750         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
39751         mprotect making __stack_prot writable.
39753 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
39754             Joseph Myers  <joseph@codesourcery.com>
39756         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
39757         as being properly aligned.
39759 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
39761         * dlfcn/modstatic5.c: New file.
39762         * dlfcn/tststatic5.c: New file.
39763         * dlfcn/Makefile (tests): Add tststatic5.
39764         (tests-static): Likewise.
39765         (modules-names): Add modstatic5.
39766         (tststatic5-ENV): New variable.
39767         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
39769         [BZ #15022]
39770         * elf/dl-support.c (_dl_main_map): New variable.
39771         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
39772         (_dl_nns, _dl_load_adds): Set to 1.
39773         (_dl_initial_searchlist): Refer to _dl_main_map.
39774         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
39775         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
39776         call to _dl_get_origin.
39777         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
39778         around call_map.
39779         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
39780         * dlfcn/modstatic3.c: New file.
39781         * dlfcn/tststatic3.c: New file.
39782         * dlfcn/tststatic4.c: New file.
39783         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
39784         (tests-static): Likewise.
39785         (modules-names): Add modstatic3.
39786         (tststatic3-ENV, tststatic4-ENV): New variables.
39787         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
39788         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
39790 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
39792         * configure.in (CC): Require GCC version 4.4 or later.
39793         * configure: Regenerated.
39794         * manual/install.texi (Tools for Compilation): Update GCC version
39795         requirement.
39796         * INSTALL: Regenerated.
39798 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
39800         [BZ #15674]
39801         * string/test-memcmp.c (check2): New.
39802         (main): Call check2.
39804         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
39806 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
39808         [BZ #15022]
39809         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
39810         over to...
39811         (dl_open_worker) [!SHARED]: ... here.
39813 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
39815         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
39817 2013-06-25  Richard Henderson  <rth@redhat.com>
39819         * locale/programs/locarchive.c: Include <libc-internal.h>
39821 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
39823         * manual/texinfo.tex: Update to version 2013-06-21.17, with
39824         trailing whitespace removed.
39826 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
39828         [BZ #10283]
39829         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
39830         * locale/programs/locarchive.c: Include libc-mmap.h.
39831         (prepare_address_space): Take two new outputs (the mmap base and len).
39832         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
39833         values.
39834         (create_archive): Declare new mmap base and len values for
39835         prepare_address_space, and store the result in ah.
39836         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
39837         (enlarge_archive): If ah->mmap_base is not NULL, use that and
39838         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
39839         Declare new mmap base and len values for
39840         prepare_address_space, and store the result in new_ah.
39841         (open_archive): Declare new mmap base and len values for
39842         prepare_address_space, and store the result in ah.
39843         (close_archive): If ah->mmap_base is not NULL, use that and
39844         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
39845         * sysdeps/generic/libc-mmap.h: New file.
39847 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
39849         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
39850         (ALIGN_UP): Likewise.
39851         (PTR_ALIGN_DOWN): Likewise.
39852         (PTR_ALIGN_UP): Likewise.
39854 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
39856         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
39857         entry mapped to PPC_PLATFORM_POWER8.
39858         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
39859         POWER8.
39860         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
39861         (_dl_string_platform): Add case for exporting platform position for
39862         POWER8.
39863         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
39864         search path to sysdeps/powerpc/powerpc32/power8 directory.
39865         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
39866         search path to sysdeps/powerpc/powerpc64/power8 directory.
39867         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
39868         power7 directories.
39869         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
39870         power7 directories.
39872 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
39874         * INSTALL: Regenerate.
39876         * nscd/connections.c (nscd_init): Fix comment.
39878 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
39880         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
39882         [BZ #15667]
39883         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
39884         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
39886 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
39888         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
39889         DL_DST_REQ_STATIC.
39890         (DL_DST_REQ_STATIC): Remove macro.
39892 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
39894         [BZ #7006]
39895         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
39896         with a shift of 0 bits.
39898 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
39900         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
39901         $(tststatic-ENV).
39903 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
39905         [BZ #15655]
39906         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
39908 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39910         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
39911         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
39912         accepts -fno-tree-loop-distribute-patterns.
39913         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
39914         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
39915         recursive call.
39916         * string/memset.c (memset): Likewise.
39917         * string/test-memmove.c (simple_memmove): Disable loop transformation
39918         to library calls.
39919         * string/test-memset.c (simple_memset): Likewise.
39920         * benchtests/bench-memmove.c (simple_memmove): Likewise.
39921         * benchtests/bench-memset.c (simple_memset): Likewise.
39922         * configure: Regenerated.
39924 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
39926         * math/test-misc.c (main): Ignore fesetround failure when failures
39927         of subsequent rounding tests would be ignored.
39929         [BZ #15654]
39930         * math/fedisblxcpt.c (fedisableexcept): Return 0.
39931         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
39932         * math/fegetenv.c (__fegetenv): Return 0.
39933         * math/fegetexcept.c (fegetexcept): Return 0.
39934         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
39935         FE_TONEAREST.
39936         * math/feholdexcpt.c (feholdexcept): Return 0.
39937         * math/fesetenv.c (__fesetenv): Return 0.
39938         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
39939         argument FE_TONEAREST.
39940         * math/feupdateenv.c (__feupdateenv): Return 0.
39941         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
39943 2013-06-18  Roland McGrath  <roland@hack.frob.com>
39945         * elf/rtld-Rules (rtld-compile-command.S): New variable.
39946         (rtld-compile-command.s, rtld-compile-command.c): New variables.
39947         ($(objpfx)rtld-%.os rules): Use them.
39949 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39951         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
39952         fields.
39954 2013-06-17  Roland McGrath  <roland@hack.frob.com>
39956         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
39957         length of target pattern, then descending length of dependency pattern.
39958         * configure.in (AWK): Require gawk 3.1.2 or newer.
39959         * manual/install.texi (Tools for Compilation): Say that we do.
39960         * configure: Regenerated.
39962         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
39963         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
39964         * scripts/sysd-rules.awk: ... this new script.
39965         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
39966         than a glob-style pattern.
39968 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
39970         * math/test-misc.c (main): Do not treat incorrectly rounded
39971         conversions as failure unless ROUNDING_TESTS passes.
39973 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
39975         [BZ #15631]
39976         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
39977         restore exception state around main square root computation, then
39978         check for inexactness explicitly.
39980         * math/libm-test.inc (fma_test_data): Add another test.
39982 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
39984         * manual/threads.texi (Non-POSIX Extensions): New document
39985         node.  Document pthread_getattr_default_np and
39986         pthread_setattr_default_np.
39988         * Versions.def (libpthread): Add GLIBC_2.18.
39989         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
39990         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
39991         Likewise.
39992         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
39993         Likewise.
39994         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
39995         Likewise.
39996         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
39997         Likewise.
39998         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
39999         Likewise.
40000         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
40001         Likewise.
40002         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
40003         Likewise.
40004         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
40005         Likewise.
40006         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
40007         Likewise.
40009 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
40011         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40012         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
40014 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
40015             H.J. Lu  <hjl.tools@gmail.com>
40017         [BZ #15627]
40018         * sysdeps/x86_64/rtld-memset.c: Remove file.
40019         * sysdeps/x86_64/rtld-memset.S: New file.
40021 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
40023         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
40024         (test_in_one_mode): Take arguments for whether the rounding mode
40025         is supported for each floating-point type.
40026         (do_test): Pass new arguments to test_in_one_mode using
40027         ROUNDING_TESTS.
40029 2013-06-13  Roland McGrath  <roland@hack.frob.com>
40031         * posix/tst-waitid.c (do_test): Distinguish different instances of
40032         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
40033         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
40034         before entering the kernel for waitpid.
40036 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
40038         * NEWS: Fix note on clock function precision.  Text by Roland
40039         McGrath.
40041 2013-06-13  Roland McGrath  <roland@hack.frob.com>
40043         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
40044         it into place only when and if the sanity check passes.
40046 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
40048         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
40049         output for whether conversion result is exact.  Take argument
40050         indicating whether type is IBM long double.
40051         (round_for_all): Change need_exact field to ibm_ld.
40052         * stdlib/tst-strtod-round.c (struct exactness): New type.
40053         (struct test): Change bool ld_ok field to struct exactness exact.
40054         (TEST): Update all definitions for change to field.
40055         (tests): Regenerate array contents.
40056         (test_in_one_mode): Take pointer to new field instead of old ld_ok
40057         field value.  Check for IBM long double here.
40058         (do_test): Update calls to test_in_one_mode.
40060 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
40062         [BZ #12515]
40063         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
40064         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
40066 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40068         [BZ #15605]
40069         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
40070         generated by the compiler on loop optimizations.
40071         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
40072         general definitions.
40074 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
40076         * math/bug-nextafter.c: Include <math-tests.h>.
40077         (main): Only test for exceptions if EXCEPTION_TESTS is true for
40078         the relevant type.
40079         * math/bug-nexttoward.c: Include <math-tests.h>.
40080         (main): Only test for exceptions if EXCEPTION_TESTS is true for
40081         the relevant type.
40082         * math/test-misc.c: Include <math-tests.h>.
40083         (main): Only test for exceptions if EXCEPTION_TESTS is true for
40084         the relevant type.
40086 2013-06-12  Andreas Jaeger  <aj@suse.de>
40088         * po/ia.po: Update Interlingua translation from translation
40089         project.
40091 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
40093         * include/fenv.h: Include stdbool.h.
40094         (struct rm_ctx): New structure.
40095         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
40096         Define macro.
40097         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
40098         (SET_RESTORE_ROUNDF): Likewise.
40099         (SET_RESTORE_ROUNDL): Likewise.
40100         (SET_RESTORE_ROUND_NOEX): Likewise.
40101         (SET_RESTORE_ROUND_NOEXF): Likewise.
40102         (SET_RESTORE_ROUND_NOEXL): Likewise.
40103         (SET_RESTORE_ROUND_53BIT): Likewise.
40104         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
40105         (libc_feresetround_noexf_ctx): Likewise.
40106         (libc_feresetround_noexl_ctx): Likewise.
40107         (libc_feholdsetround_53bit_ctx): Likewise.
40108         (libc_feresetround_53bit_ctx): Likewise.
40109         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
40110         (libc_feholdexcept_setround_sse_ctx): New function.
40111         (libc_fesetenv_sse_ctx): Likewise.
40112         (libc_feupdateenv_sse_ctx): Likewise.
40113         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
40114         (libc_feholdexcept_setround_387_ctx): Likewise.
40115         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
40116         (libc_feholdsetround_387_prec_ctx): Likewise.
40117         (libc_feholdsetround_387_ctx): Likewise.
40118         (libc_feholdsetround_387_53bit_ctx): Likewise.
40119         (libc_feholdsetround_sse_ctx): Likewise.
40120         (libc_feresetround_sse_ctx): Likewise.
40121         (libc_feresetround_387_ctx): Likewise.
40122         (libc_feupdateenv_387_ctx): Likewise.
40123         (libc_feholdexcept_setroundf_ctx): Define macro.
40124         (libc_fesetenvf_ctx): Likewise.
40125         (libc_feupdateenvf_ctx): Likewise.
40126         (libc_feholdsetroundf_ctx): Likewise.
40127         (libc_feresetroundf_ctx): Likewise.
40128         (libc_feholdexcept_setround_ctx): Likewise.
40129         (libc_fesetenv_ctx): Likewise.
40130         (libc_feupdateenv_ctx): Likewise.
40131         (libc_feholdsetround_ctx): Likewise.
40132         (libc_feresetround_ctx): Likewise.
40133         (libc_feholdexcept_setroundl_ctx): Likewise.
40134         (libc_feupdateenvl_ctx): Likewise.
40135         (libc_feholdsetroundl_ctx): Likewise.
40136         (libc_feresetroundl_ctx): Likewise.
40137         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
40138         (libc_feresetround_53bit_ctx): Likewise.
40140 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
40142         * locale/iso-639.def: Convert to UTF-8.
40144 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
40146         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
40147         (EXCEPTION_TESTS_double): Likewise.
40148         (EXCEPTION_TESTS_long_double): Likewise.
40149         (EXCEPTION_TESTS): Likewise.
40150         * math/libm-test.inc (test_exceptions): Only test exceptions if
40151         EXCEPTION_TESTS (FLOAT).
40153 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
40155         * benchtests/Makefile (string-bench): Add strcpy_chk and
40156         stpcpy_chk.
40157         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
40158         * benchtests/bench-stpcpy_chk.c: New file.
40159         * benchtests/bench-strcpy_chk-ifunc.c: New file.
40160         * benchtests/bench-strcpy_chk.c: New file.
40161         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
40162         code.
40163         (do_test): Likewise.
40165 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
40167         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
40168         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
40169         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
40170         with tabs where appropriate.
40171         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
40172         dl-procinfo.h.
40173         [PPC_PLATFORM_PPC440]: Likewise.
40174         [PPC_PLATFORM_PPC464]: Likewise.
40175         [PPC_PLATFORM_PPC476]: Likewise.
40176         (_dl_string_platform): Add support for detecting ppc405, ppc440,
40177         ppc464, and ppc476 platform strings merging from ports/
40178         dl-procinfo.h.
40180 2013-06-11  Andreas Schwab  <schwab@suse.de>
40182         [BZ #14991]
40183         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
40184         (from_ucs4_idx): Regenerate.
40185         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
40186         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
40187         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
40188         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
40189         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
40190         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
40191         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
40192         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
40193         from FROM_LOOP and TO_LOOP specific macros.
40194         (BODY): Handle combining characters.
40195         * iconvdata/BIG5HKSCS.irreversible: Update.
40196         * iconvdata/BIG5HKSCS.precomposed: New file.
40197         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
40198         characters.
40199         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
40201 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
40203         * include/sys/time.h: Fix indentation and add copyright header.
40205         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
40206         (do_test): Likewise.
40207         * string/test-memchr.c (do_one_test): Likewise.
40208         (do_test): Likewise.
40209         * string/test-memcmp.c (do_one_test): Likewise.
40210         (do_test): Likewise.
40211         * string/test-memcpy.c (do_one_test): Likewise.
40212         (do_test): Likewise.
40213         * string/test-memmem.c (do_one_test): Likewise.
40214         (do_test): Likewise.
40215         (do_random_tests): Likewise.
40216         * string/test-memmove.c (do_one_test): Likewise.
40217         (do_test): Likewise.
40218         * string/test-memset.c (do_one_test): Likewise.
40219         (do_test): Likewise.
40220         * string/test-rawmemchr.c (do_one_test): Likewise.
40221         (do_test): Likewise.
40222         * string/test-strcasecmp.c (do_one_test): Likewise.
40223         (do_test): Likewise.
40224         * string/test-strcasestr.c (do_one_test): Likewise.
40225         (do_test): Likewise.
40226         * string/test-strcat.c (do_one_test): Likewise.
40227         (do_test): Likewise.
40228         * string/test-strchr.c (do_one_test): Likewise.
40229         (do_test): Likewise.
40230         * string/test-strcmp.c (do_one_test): Likewise.
40231         (do_test): Likewise.
40232         * string/test-strcpy.c (do_one_test): Likewise.
40233         (do_test): Likewise.
40234         * string/test-string.h: Likewise.
40235         (test_init): Likewise.
40236         * string/test-strlen.c (do_one_test): Likewise.
40237         (do_test): Likewise.
40238         * string/test-strncasecmp.c (do_one_test): Likewise.
40239         (do_test): Likewise.
40240         * string/test-strncat.c (do_one_test): Likewise.
40241         (do_test): Likewise.
40242         * string/test-strncmp.c (do_one_test): Likewise.
40243         (do_test_limit): Likewise.
40244         (do_test): Likewise.
40245         * string/test-strncpy.c (do_one_test): Likewise.
40246         (do_test): Likewise.
40247         * string/test-strnlen.c (do_one_test): Likewise.
40248         (do_test): Likewise.
40249         * string/test-strpbrk.c (do_one_test): Likewise.
40250         (do_test): Likewise.
40251         * string/test-strrchr.c (do_one_test): Likewise.
40252         (do_test): Likewise.
40253         * string/test-strspn.c (do_one_test): Likewise.
40254         (do_test): Likewise.
40255         * string/test-strstr.c (do_one_test): Likewise.
40256         (do_test): Likewise.
40258         * benchtests/Makefile (string-bench): Add string benchmarks.
40259         * benchtests/bench-bcopy-ifunc.c: New file.
40260         * benchtests/bench-bcopy.c: New file.
40261         * benchtests/bench-bzero-ifunc.c: New file.
40262         * benchtests/bench-bzero.c: New file.
40263         * benchtests/bench-memccpy-ifunc.c: New file.
40264         * benchtests/bench-memccpy.c: New file.
40265         * benchtests/bench-memchr-ifunc.c: New file.
40266         * benchtests/bench-memchr.c: New file.
40267         * benchtests/bench-memcmp-ifunc.c: New file.
40268         * benchtests/bench-memcmp.c: New file.
40269         * benchtests/bench-memmem-ifunc.c: New file.
40270         * benchtests/bench-memmem.c: New file.
40271         * benchtests/bench-memmove-ifunc.c: New file.
40272         * benchtests/bench-memmove.c: New file.
40273         * benchtests/bench-mempcpy-ifunc.c: New file.
40274         * benchtests/bench-mempcpy.c: New file.
40275         * benchtests/bench-memset-ifunc.c: New file.
40276         * benchtests/bench-memset.c: New file.
40277         * benchtests/bench-rawmemchr-ifunc.c: New file.
40278         * benchtests/bench-rawmemchr.c: New file.
40279         * benchtests/bench-stpcpy-ifunc.c: New file.
40280         * benchtests/bench-stpcpy.c: New file.
40281         * benchtests/bench-stpncpy-ifunc.c: New file.
40282         * benchtests/bench-stpncpy.c: New file.
40283         * benchtests/bench-strcasecmp-ifunc.c: New file.
40284         * benchtests/bench-strcasecmp.c: New file.
40285         * benchtests/bench-strcasestr-ifunc.c: New file.
40286         * benchtests/bench-strcasestr.c: New file.
40287         * benchtests/bench-strcat-ifunc.c: New file.
40288         * benchtests/bench-strcat.c: New file.
40289         * benchtests/bench-strchr-ifunc.c: New file.
40290         * benchtests/bench-strchr.c: New file.
40291         * benchtests/bench-strchrnul-ifunc.c: New file.
40292         * benchtests/bench-strchrnul.c: New file.
40293         * benchtests/bench-strcmp-ifunc.c: New file.
40294         * benchtests/bench-strcmp.c: New file.
40295         * benchtests/bench-strcpy-ifunc.c: New file.
40296         * benchtests/bench-strcpy.c: New file.
40297         * benchtests/bench-strcspn-ifunc.c: New file.
40298         * benchtests/bench-strcspn.c: New file.
40299         * benchtests/bench-strlen-ifunc.c: New file.
40300         * benchtests/bench-strlen.c: New file.
40301         * benchtests/bench-strncasecmp-ifunc.c: New file.
40302         * benchtests/bench-strncasecmp.c: New file.
40303         * benchtests/bench-strncat-ifunc.c: New file.
40304         * benchtests/bench-strncat.c: New file.
40305         * benchtests/bench-strncmp-ifunc.c: New file.
40306         * benchtests/bench-strncmp.c: New file.
40307         * benchtests/bench-strncpy-ifunc.c: New file.
40308         * benchtests/bench-strncpy.c: New file.
40309         * benchtests/bench-strnlen-ifunc.c: New file.
40310         * benchtests/bench-strnlen.c: New file.
40311         * benchtests/bench-strpbrk-ifunc.c: New file.
40312         * benchtests/bench-strpbrk.c: New file.
40313         * benchtests/bench-strrchr-ifunc.c: New file.
40314         * benchtests/bench-strrchr.c: New file.
40315         * benchtests/bench-strspn-ifunc.c: New file.
40316         * benchtests/bench-strspn.c: New file.
40317         * benchtests/bench-strstr-ifunc.c: New file.
40318         * benchtests/bench-strstr.c: New file.
40320         * benchtests/Makefile: Disable parallel execution of targets.
40321         (string-bench): Add memcpy.
40322         (benchset): New variable to store a list of benchmark sets.
40323         (bench-func): Renamed from bench.
40324         (bench-set): New target.
40325         (bench): Depend on bench-func and bench-set.
40326         * benchtests/README: Add section on benchmark sets.
40327         * benchtests/bench-memcpy-ifunc.c: New file.
40328         * benchtests/bench-memcpy.c: New file.
40329         * benchtests/bench-string.h: New file.
40331 2013-06-11  Andreas Schwab  <schwab@suse.de>
40333         [BZ #15577]
40334         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
40335         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
40336         values in the triple.
40337         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
40338         terminator in the group key.
40340 2013-06-11  Andreas Jaeger  <aj@suse.de>
40342         * po/zh_TW.po: Update Chinese (traditional) translation from
40343         translation project.
40345 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
40347         * include/time.h (__clock_gettime): Add libc_hidden_proto.
40348         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
40349         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
40350         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
40351         (clock_getcpuclockid): Likewise.
40352         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
40353         Add weak_alias and libc_hidden_def.
40354         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
40355         * rt/clock_gettime.c (clock_gettime): Rename to
40356         __clock_gettime.  Add weak_alias and libc_hidden_def.
40357         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
40358         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
40359         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
40360         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
40361         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
40362         Likewise.
40363         * rt/clock_settime.c (clock_settime): Rename to
40364         __clock_settime.  Add weak_alias and libc_hidden_def.
40365         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
40367 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
40369         * mach/err_boot.sub: Remove trailing whitespace.
40370         * mach/err_ipc.sub: Likewise.
40371         * mach/err_mach.sub: Likewise.
40373         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
40374         (ROUNDING_TESTS_double): Likewise.
40375         (ROUNDING_TESTS_long_double): Likewise.
40376         (ROUNDING_TESTS): Likewise.
40377         * math/libm-test.inc: Include <math-tests.h>.
40378         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
40379         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
40380         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
40381         (IF_ROUND_INIT_FE_UPWARD): Likewise.
40383 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
40385         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
40386         of assigning.
40388 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
40390         * sysdeps/gnu/errlist.awk: Do not generate space at end of
40391         otherwise empty TRANS lines.
40392         * sysdeps/gnu/errlist.c: Regenerated.
40394         * catgets/gencat.c (error_print): Use (void) in function
40395         definition.
40396         * crypt/crypt_util.c (__init_des): Likewise.
40397         * crypt/speeds.c (Stop): Likewise.
40398         (main): Likewise.
40399         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
40400         * inet/ruserpass.c (token): Likewise.
40401         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
40402         * intl/localealias.c (extend_alias_table): Likewise.
40403         * intl/plural-exp.c (init_germanic_plural): Likewise.
40404         * libio/fcloseall.c (__fcloseall): Likewise.
40405         * libio/genops.c (_IO_flush_all): Likewise.
40406         (_IO_flush_all_linebuffered): Likewise.
40407         (_IO_cleanup): Likewise.
40408         (_IO_iter_begin): Likewise.
40409         (_IO_iter_end): Likewise.
40410         (_IO_list_lock): Likewise.
40411         (_IO_list_unlock): Likewise.
40412         (_IO_list_resetlock): Likewise.
40413         * libio/getchar.c (getchar): Likewise.
40414         * libio/getchar_u.c (getchar_unlocked): Likewise.
40415         * libio/getwchar.c (getwchar): Likewise.
40416         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
40417         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
40418         * login/getpt.c (__getpt): Likewise.
40419         * login/tst-utmp.c (main): Likewise.
40420         * malloc/hooks.c (__malloc_check_init): Likewise.
40421         * malloc/malloc.c (__malloc_stats): Likewise.
40422         * malloc/mtrace.c (tr_break): Likewise.
40423         (mtrace): Likewise.
40424         (muntrace): Likewise.
40425         * misc/fstab.c (endfsent): Likewise.
40426         * misc/getclktck.c (__getclktck): Likewise.
40427         * misc/getdtsz.c (__getdtablesize): Likewise.
40428         * misc/gethostid.c (gethostid): Likewise.
40429         * misc/getpagesize.c (__getpagesize): Likewise.
40430         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
40431         (__get_nprocs): Likewise.
40432         (__get_phys_pages): Likewise.
40433         (__get_avphys_pages): Likewise.
40434         * misc/getttyent.c (getttyent): Likewise.
40435         (setttyent): Likewise.
40436         (endttyent): Likewise.
40437         * misc/getusershell.c (getusershell): Likewise.
40438         (endusershell): Likewise.
40439         (setusershell): Likewise.
40440         (initshells): Likewise.
40441         * misc/hsearch.c (__hdestroy): Likewise.
40442         * misc/sync.c (sync): Likewise.
40443         * misc/syslog.c (closelog_internal): Likewise.
40444         (closelog): Likewise.
40445         * misc/ttyslot.c (ttyslot): Likewise.
40446         * misc/vhangup.c (vhangup): Likewise.
40447         * posix/fork.c (__fork): Likewise.
40448         * posix/getegid.c (__getegid): Likewise.
40449         * posix/geteuid.c (__geteuid): Likewise.
40450         * posix/getgid.c (__getgid): Likewise.
40451         * posix/getpid.c (__getpid): Likewise.
40452         * posix/getppid.c (__getppid): Likewise.
40453         * posix/getuid.c (__getuid): Likewise.
40454         * posix/pause.c (pause): Likewise.
40455         * posix/setpgrp.c (setpgrp): Likewise.
40456         * posix/setsid.c (__setsid): Likewise.
40457         * posix/test-vfork.c (noop): Likewise.
40458         * resolv/gethnamaddr.c (_endhtent): Likewise.
40459         (_gethtent): Likewise.
40460         (ht_endhostent): Likewise.
40461         (gethostent): Likewise.
40462         (dns_service): Likewise.
40463         * stdlib/drand48.c (drand48): Likewise.
40464         * stdlib/lrand48.c (lrand48): Likewise.
40465         * stdlib/mrand48.c (mrand48): Likewise.
40466         * stdlib/rand.c (rand): Likewise.
40467         * stdlib/random.c (__random): Likewise.
40468         * stdlib/setenv.c (clearenv): Likewise.
40469         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
40470         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
40471         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
40472         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
40473         (__get_nprocs): Likewise.
40474         (__get_phys_pages): Likewise.
40475         (__get_avphys_pages): Likewise.
40476         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
40477         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
40478         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
40479         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
40480         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
40481         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
40482         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
40483         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
40484         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
40485         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
40486         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
40487         * sysdeps/mach/hurd/sync.c (sync): Likewise.
40488         * sysdeps/posix/clock.c (clock): Likewise.
40489         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
40490         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
40491         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
40492         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
40493         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
40494         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
40495         (__get_nprocs_conf): Likewise.
40496         (__get_phys_pages): Likewise.
40497         (__get_avphys_pages): Likewise.
40498         * time/clock.c (clock): Likewise.
40499         * time/tzset.c (__tzname_max): Likewise.
40501 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
40503         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
40504         (__bswap_32): Do not use "register".
40505         * crypt/crypt.c (_ufc_doit_r): Likewise.
40506         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
40507         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
40508         * gmon/gmon.c (__monstartup): Likewise.
40509         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
40510         * hurd/hurdmalloc.c (more_memory): Likewise.
40511         (malloc): Likewise.
40512         (free): Likewise.
40513         (realloc): Likewise.
40514         (malloc_fork_prepare): Likewise.
40515         (malloc_fork_parent): Likewise.
40516         (malloc_fork_child): Likewise.
40517         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
40518         (_svcauth_des): Likewise.
40519         * inet/inet_lnaof.c (inet_lnaof): Likewise.
40520         * inet/inet_net.c (inet_network): Likewise.
40521         * inet/inet_netof.c (inet_netof): Likewise.
40522         * inet/rcmd.c (__validuser2_sa): Likewise.
40523         * io/fts.c (fts_open): Likewise.
40524         (fts_load): Likewise.
40525         (fts_close): Likewise.
40526         (fts_read): Likewise.
40527         (fts_children): Likewise.
40528         (fts_build): Likewise.
40529         (fts_stat): Likewise.
40530         (fts_sort): Likewise.
40531         (fts_alloc): Likewise.
40532         (fts_lfree): Likewise.
40533         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
40534         (_IO_file_xsgetn): Likewise.
40535         (_IO_file_xsgetn_mmap): Likewise.
40536         * libio/iofopncook.c (_IO_cookie_read): Likewise.
40537         (_IO_cookie_write): Likewise.
40538         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
40539         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
40540         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
40541         * malloc/obstack.c (_obstack_begin): Likewise.
40542         (_obstack_begin_1): Likewise.
40543         (_obstack_newchunk): Likewise.
40544         (_obstack_allocated_p): Likewise.
40545         (obstack_free): Likewise.
40546         (_obstack_memory_used): Likewise.
40547         * misc/getttyent.c (getttynam): Likewise.
40548         (getttyent): Likewise.
40549         (skip): Likewise.
40550         (value): Likewise.
40551         * misc/getusershell.c (initshells): Likewise.
40552         * misc/syslog.c (__vsyslog_chk): Likewise.
40553         * misc/ttyslot.c (ttyslot): Likewise.
40554         * nis/nis_hash.c (__nis_hash): Likewise.
40555         * posix/fnmatch_loop.c (FCT): Likewise.
40556         * posix/getconf.c (print_all): Likewise.
40557         (main): Likewise.
40558         * posix/getopt.c (exchange): Likewise.
40559         * posix/glob.c (globfree): Likewise.
40560         (prefix_array): Likewise.
40561         (__glob_pattern_type): Likewise.
40562         * resolv/arpa/nameser.h (NS_GET16): Likewise.
40563         (NS_GET32): Likewise.
40564         (NS_PUT16): Likewise.
40565         (NS_PUT32): Likewise.
40566         * resolv/gethnamaddr.c (getanswer): Likewise.
40567         (gethostbyname2): Likewise.
40568         (gethostbyaddr): Likewise.
40569         (_gethtent): Likewise.
40570         (_gethtbyname2): Likewise.
40571         (_gethtbyaddr): Likewise.
40572         * resolv/ns_print.c (dst_s_get_int16): Likewise.
40573         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
40574         * resolv/res_init.c (__res_vinit): Likewise.
40575         (net_mask): Likewise.
40576         * resolv/res_mkquery.c (outchar): Likewise.
40577         (PRINT): Likewise.
40578         * stdio-common/printf_fp.c (outchar): Likewise.
40579         (PRINT): Likewise.
40580         * stdio-common/printf_fphex.c (outchar): Likewise.
40581         (PRINT): Likewise.
40582         * stdio-common/printf_size.c (outchar): Likewise.
40583         (PRINT): Likewise.
40584         * stdio-common/test_rdwr.c (main): Likewise.
40585         * stdio-common/tfformat.c (matches): Likewise.
40586         * stdio-common/vfprintf.c (outchar): Likewise.
40587         (printf_unknown): Likewise.
40588         (buffered_vfprintf): Likewise.
40589         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
40590         * stdio-common/xbug.c (AppendToBuffer): Likewise.
40591         (ReadFile): Likewise.
40592         * stdlib/qsort.c (SWAP): Likewise.
40593         (_quicksort): Likewise.
40594         * stdlib/setenv.c (__add_to_environ): Likewise.
40595         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
40596         * stdlib/strtol_l.c (__strtol_l): Likewise.
40597         * stdlib/tst-strtod.c (main): Likewise.
40598         * stdlib/tst-strtol.c (main): Likewise.
40599         * stdlib/tst-strtoll.c (main): Likewise.
40600         * string/bits/string2.h (__strcmp_cc): Likewise.
40601         (__strcmp_cg): Likewise.
40602         (__strcspn_c1): Likewise.
40603         (__strcspn_c2): Likewise.
40604         (__strcspn_c3): Likewise.
40605         (__strspn_c1): Likewise.
40606         (__strspn_c2): Likewise.
40607         (__strspn_c3): Likewise.
40608         (__strsep_1c): Likewise.
40609         (__strsep_2c): Likewise.
40610         (__strsep_3c): Likewise.
40611         * string/memccpy.c (__memccpy): Likewise.
40612         * string/stpcpy.c (__stpcpy): Likewise.
40613         * string/strcmp.c (strcmp): Likewise.
40614         * string/strrchr.c (strrchr): Likewise.
40615         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
40616         Likewise.
40617         * sysdeps/mach/hurd/getcwd.c
40618         (_hurd_canonicalize_directory_name_internal): Likewise.
40619         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
40620         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
40621         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
40622         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
40623         Likewise, in both definitions.
40624         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
40625         definitions.
40626         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
40627         64] (__bswap_64): Likewise.
40628         * time/test_time.c (main): Likewise.
40629         * time/tzfile.c (__tzfile_read): Likewise.
40630         (__tzfile_compute): Likewise.
40631         * time/tzset.c (__tzset_parse_tz): Likewise.
40632         (tzset_internal): Likewise.
40633         (compute_change): Likewise.
40634         * wcsmbs/wcscat.c (__wcscat): Likewise.
40635         * wcsmbs/wcschr.c (wcschr): Likewise.
40636         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
40637         * wcsmbs/wcscspn.c (wcscspn): Likewise.
40638         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
40639         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
40640         * wcsmbs/wcsspn.c (wcsspn): Likewise.
40641         * wcsmbs/wcsstr.c (wcsstr): Likewise.
40642         * wcsmbs/wmemchr.c (wmemchr): Likewise.
40643         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
40644         * wcsmbs/wmemset.c (wmemset): Likewise.
40646 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
40648         * scripts/config.guess: Update to version 2013-05-16.
40649         * scripts/config.sub: Update to version 2013-04-24.
40650         * scripts/install-sh: Update to version 2011-11-20.07.
40651         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
40652         * scripts/move-if-change: Update to version 2012-01-06 07:23.
40654 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
40656         * debug/fgetws_u_chk.c: Fix leading whitespaces.
40657         * elf/sln.c: Likewise.
40658         * hurd/hurd/ioctl.h: Likewise.
40659         * hurd/hurdmalloc.c: Likewise.
40660         * hurd/xattr.c: Likewise.
40661         * include/shlib-compat.h: Likewise.
40662         * inet/ruserpass.c: Likewise.
40663         * libio/iofgets_u.c: Likewise.
40664         * libio/iofgetws_u.c: Likewise.
40665         * locale/programs/ld-identification.c: Likewise.
40666         * locale/programs/ld-time.c: Likewise.
40667         * mach/msg-destroy.c: Likewise.
40668         * nss/nss_files/files-netgrp.c: Likewise.
40669         * resolv/res_data.c: Likewise.
40670         * soft-fp/op-1.h: Likewise.
40671         * soft-fp/op-2.h: Likewise.
40672         * soft-fp/op-4.h: Likewise.
40673         * soft-fp/op-common.h: Likewise.
40674         * stdio-common/printf_fphex.c: Likewise.
40675         * stdlib/strtod_l.c: Likewise.
40676         * sunrpc/rpc/clnt.h: Likewise.
40677         * sysdeps/generic/framestate.c: Likewise.
40678         * sysdeps/i386/bsd-_setjmp.S: Likewise.
40679         * sysdeps/i386/bsd-setjmp.S: Likewise.
40680         * sysdeps/i386/__longjmp.S: Likewise.
40681         * sysdeps/i386/setjmp.S: Likewise.
40682         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
40683         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
40684         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
40685         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
40686         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
40687         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
40688         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
40689         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
40690         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
40691         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
40692         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
40693         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
40694         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
40695         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
40696         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
40697         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
40698         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
40699         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
40700         * sysdeps/ieee754/support.c: Likewise.
40701         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
40702         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
40703         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
40704         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
40705         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
40706         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
40707         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
40708         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
40709         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
40710         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
40711         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
40712         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
40713         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
40714         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
40715         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
40716         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
40717         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
40718         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
40720 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
40722         * posix/transbug.c: Remove executable mode.
40724 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
40726         * crypt/speeds.c: Remove trailing whitespace.
40727         * dlfcn/default.c: Likewise.
40728         * elf/ifuncdep2.c: Likewise.
40729         * elf/ifuncmain1.c: Likewise.
40730         * elf/ifuncmain1vis.c: Likewise.
40731         * elf/testobj.h: Likewise.
40732         * elf/tst-stackguard1.c: Likewise.
40733         * gmon/sys/gmon.h: Likewise.
40734         * hurd/hurdmsg.c: Likewise.
40735         * hurd/new-fd.c: Likewise.
40736         * hurd/ports-get.c: Likewise.
40737         * iconvdata/ibm1008_420.c: Likewise.
40738         * inet/tst-getni1.c: Likewise.
40739         * inet/tst-getni2.c: Likewise.
40740         * libio/ioungetc.c: Likewise.
40741         * libio/wfiledoalloc.c: Likewise.
40742         * manual/libm-err-tab.pl: Likewise.
40743         * math/w_dremf.c: Likewise.
40744         * misc/ftruncate.c: Likewise.
40745         * posix/bug-glob2.c: Likewise.
40746         * posix/tst-pcre.c: Likewise.
40747         * posix/wait4.c: Likewise.
40748         * resolv/README: Likewise.
40749         * resolv/res_debug.h: Likewise.
40750         * resolv/tst-inet_ntop.c: Likewise.
40751         * setjmp/bug269-setjmp.c: Likewise.
40752         * soft-fp/extended.h: Likewise.
40753         * soft-fp/op-1.h: Likewise.
40754         * soft-fp/op-2.h: Likewise.
40755         * soft-fp/op-4.h: Likewise.
40756         * soft-fp/op-8.h: Likewise.
40757         * soft-fp/testit.c: Likewise.
40758         * stdio-common/bug16.c: Likewise.
40759         * stdlib/random.c: Likewise.
40760         * sunrpc/rpcsvc/rquota.x: Likewise.
40761         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
40762         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
40763         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
40764         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
40765         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
40766         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
40767         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
40768         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
40769         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
40770         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
40771         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
40772         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
40773         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
40774         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
40775         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
40776         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
40777         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
40778         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
40779         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
40780         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
40781         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
40782         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
40783         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
40784         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
40785         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
40786         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
40787         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
40788         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
40789         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
40790         * sysdeps/ieee754/s_lib_version.c: Likewise.
40791         * sysdeps/mach/hurd/check_fds.c: Likewise.
40792         * sysdeps/mach/hurd/getsockname.c: Likewise.
40793         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
40794         * sysdeps/mach/hurd/recvfrom.c: Likewise.
40795         * sysdeps/powerpc/bits/link.h: Likewise.
40796         * sysdeps/powerpc/dl-procinfo.c: Likewise.
40797         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
40798         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
40799         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
40800         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
40801         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
40802         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
40803         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
40804         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
40805         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
40806         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
40807         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
40808         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
40809         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
40810         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
40811         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
40812         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
40813         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
40814         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
40815         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
40816         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
40817         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
40818         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
40819         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
40820         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
40821         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
40822         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
40823         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
40824         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
40825         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
40826         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
40827         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
40828         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
40829         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
40830         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
40831         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
40832         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
40833         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
40834         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
40835         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
40836         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
40837         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
40838         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
40839         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
40840         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
40841         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
40842         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
40843         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
40844         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
40845         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
40846         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
40847         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
40848         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
40849         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
40850         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
40851         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
40852         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
40853         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
40854         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
40855         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
40856         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
40857         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
40858         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
40859         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
40860         * sysdeps/powerpc/sysdep.h: Likewise.
40861         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
40862         * sysdeps/s390/s390-64/sub_n.S: Likewise.
40863         * sysdeps/sh/dl-trampoline.S: Likewise.
40864         * sysdeps/sh/memset.S: Likewise.
40865         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
40866         * sysdeps/sh/strlen.S: Likewise.
40867         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
40868         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
40869         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
40870         * sysdeps/sparc/sparc32/rem.S: Likewise.
40871         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
40872         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
40873         * sysdeps/sparc/sparc32/strchr.S: Likewise.
40874         * sysdeps/sparc/sparc32/udiv.S: Likewise.
40875         * sysdeps/sparc/sparc32/urem.S: Likewise.
40876         * sysdeps/sparc/sparc64/add_n.S: Likewise.
40877         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
40878         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
40879         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
40880         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
40881         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
40882         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
40883         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
40884         * sysdeps/unix/bsd/times.c: Likewise.
40885         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
40886         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
40887         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
40888         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
40889         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
40890         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
40891         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
40892         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
40893         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
40894         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
40895         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
40896         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
40897         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
40898         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
40899         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
40900         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
40901         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
40902         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
40903         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
40904         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
40905         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
40906         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
40907         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
40908         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
40909         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
40910         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
40911         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
40912         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
40913         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
40914         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
40915         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
40916         * sysdeps/x86_64/strcspn.S: Likewise.
40918 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
40920         * locale/C-translit.h: Revert #include <stdint.h> because this is a
40921         generated file.  Regenerate properly from gen-translit.pl.
40922         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
40923         locale/C-translit.h.
40925 2013-06-05  Andreas Schwab  <schwab@suse.de>
40927         [BZ #15100]
40928         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
40929         week as 6 instead of -1.
40930         * time/tst-strptime.c (day_tests): Add test case.
40932 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
40934         * sysdeps/generic/math_private.h
40935         (libc_feholdexcept_setround_53bit): Replace with
40936         libc_feholdsetround_53bit.
40937         (libc_feupdateenv_53bit): Replace with
40938         libc_feresetround_53bit.
40939         (SET_RESTORE_ROUND_53BIT): Adjust.
40941 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
40943         * string/test-strchrnul.c: Add copyright header.
40945         * posix/tst-getaddrinfo4.c: Increase test timeout.
40947 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
40949         [BZ #15536]
40950         * math/libm-test.inc (MAX_EXP): Remove
40951         (MIN_EXP): Define.
40952         (ulp): Use MIN_EXP - MANT_DIG.
40953         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
40955 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
40957         * po/be.po: Revert last change.
40958         * po/zh_CN.po: Likewise.
40959         * po/header.pot: Likewise.
40961 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
40963         * Makefile ($(common-objpfx)linkobj/libc.so): Define
40964         link-libc-deps to empty as target-specific variable.
40965         * Makerules (link-libc-args): New variable.
40966         (libc-for-link): Likewise.
40967         (link-libc-deps): Likewise.
40968         (lib%.so): Depend on $(link-libc-deps).  Link with
40969         $(link-libc-args).
40970         (build-module): Link with $(link-libc-args).
40971         (build-module-asneeded): Likewise.
40972         (build-module-helper-objlist): Filter out $(link-libc-deps) from
40973         list of objects.
40974         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
40975         target-specific variable.
40976         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
40977         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
40978         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
40979         libc.
40980         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
40981         libc and ld.so.
40982         ($(objpfx)libpcprofile.so): Likewise.
40983         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
40984         libc_nonshared.a.
40985         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
40986         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
40987         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
40988         $(link-libc-deps).
40989         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
40990         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
40991         * login/Makefile ($(objpfx)libutil.so): Likewise.
40992         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
40993         * math/Makefile ($(objpfx)libm.so): Likewise.
40994         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
40995         $(objpfx)libnsl.so): Define libc-for-link as target-specific
40996         variable instead of depending directly on libc.
40997         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
40998         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
40999         $(link-libc-deps).
41000         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
41001         libc.
41002         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
41003         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
41004         ($(objpfx)libanl.so): Likewise.
41005         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
41006         ld.so.
41007         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
41008         $(link-libc-deps).
41009         * sysdeps/i386/fpu/Makefile: Remove file.
41010         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
41011         ($(objpfx)libm.so): Remove dependency on ld.so.
41013 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
41015         [BZ # 15553]
41016         * nis/yp_xdr.c (XDRMAXNAME): Define.
41017         (XDRMAXRECORD): Define.
41018         (xdr_domainname): Use XDRMAXNAME.
41019         (xdr_mapname): Likewise.
41020         (xdr_peername): Likewise.
41021         (xdr_keydat): Use XDRMAXRECORD.
41022         (xdr_valdat): Likewise.
41024 2013-05-30  Jeff Law  <law@redhat.com>
41026         [BZ #14256]
41027         * manual/errno.texi (ESTALE): Update to account for more than
41028         just NFS file systems.
41029         * sysdeps/gnu/errlist.c: Regenerated.
41031 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
41033         [BZ #15465]
41034         * elf/Makefile (tests): Add tst-null-argv.
41035         (modules-names):  Add tst-null-argv-lib.
41036         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
41037         (tst-null-argv-ENV): Set environment for tst-null-argv.
41038         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
41039         (RTLD_PROGNAME): New macro.
41040         * elf/tst-null-argv.c: New test case.
41041         * elf/tst-null-argv-lib.c: Library for test case.
41042         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
41043         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
41044         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
41045         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
41046         * elf/dl-init.c (call_init): Likewise.
41047         (_dl_init): Likewise.
41048         * elf/dl-load.c (print_search_path): Likewise.
41049         (_dl_map_object): Likewise.
41050         * elf/dl-lookup.c (do_lookup_x): Likewise.
41051         (add_dependency): Likewise.
41052         (_dl_lookup_symbol_x): Likewise.
41053         (_dl_debug_bindings): Likewise.
41054         * elf/dl-open.c (_dl_show_scope): Likewise.
41055         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
41056         * elf/dl-version.c (match_symbol): Likewise.
41057         (_dl_check_map_versions): Likewise.
41058         * elf/rtld.c (dl_main): Likewise.
41059         (print_unresolved): Use RTLD_PROGNAME.
41060         (print_missing_version): Likewise.
41061         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
41062         (elf_machine_rela): Likewise.
41063         * sysdeps/powerpc/powerpc32/dl-machine.c
41064         (__process_machine_rela): Likewise.
41065         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
41066         Likewise.
41067         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
41068         Likewise.
41069         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
41070         Likewise.
41071         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
41072         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
41073         Likewise.
41074         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
41075         Likewise.
41076         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
41078 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
41080         * po/be.po: Add descriptive title.
41081         * po/zh_CN.po: Likewise.
41082         * po/header.pot: Likewise.
41084 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
41086         * locale/programs/locarchive.c (create_archive): Inlucde fname in
41087         error message.
41088         (enlarge_archive): Likewise.
41090 2013-05-28  Ben North  <ben@redfrontdoor.org>
41092         * manual/arith.texi (frexp): It is the magnitude of the return
41093         value which lies in [0.5, 1), not the return value itself.
41095 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41097         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41099 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
41101         * stdio-common/bug26.c (main): Correct fscanf template.
41103         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
41104         declare _dl_skip_args.
41106         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
41107         Don't declare.
41109         * manual/platform.texi: Add missing @end deftypefun.
41111 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
41113         [BZ #15529]
41114         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
41115         bit of mantissa of 2^16382.
41116         * math/libm-test.inc (hypot_test_data): Add more tests.
41118         * math/libm-test.inc: Add drem and pow10 to list of tested
41119         functions.
41120         (pow10_test): New function.
41121         (drem_test): Likewise.
41122         (drem_test_tonearest): Likewise.
41123         (drem_test_towardzero): Likewise.
41124         (drem_test_downward): Likewise.
41125         (drem_test_upward): Likewise.
41126         (main): Call the new functions.
41128         * math/libm-test.inc (finite_test_data): Remove.
41129         (finite_test): Run tests from isfinite_test_data.
41130         (gamma_test_data): Remove.
41131         (gamma_test): Run tests from lgamma_test_data.
41132         * sysdeps/i386/fpu/libm-test-ulps: Update.
41133         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41135 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41137         * manual/platform.texi: Add PowerPC PPR function set documentation.
41138         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
41139         implementation.
41141 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
41143         * math/libm-test.inc (MAX_EXP): Define.
41144         (ULPDIFF): Define.
41145         (ulp): New function.
41146         (check_float_internal): Use ULPDIFF.
41147         (cpow_test): Disable failing test.
41148         (check_ulp): Test ulp() implemetnation.
41149         (main): Call check_ulp before starting tests.
41151 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
41153         * math/gen-libm-test.pl (generate_testfile): Do not handle
41154         START_DATA and END_DATA.
41155         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
41156         END_DATA.
41157         (acos_tonearest_test_data): Likewise.
41158         (acos_towardzero_test_data): Likewise.
41159         (acos_downward_test_data): Likewise.
41160         (acos_upward_test_data): Likewise.
41161         (acosh_test_data): Likewise.
41162         (asin_test_data): Likewise.
41163         (asin_tonearest_test_data): Likewise.
41164         (asin_towardzero_test_data): Likewise.
41165         (asin_downward_test_data): Likewise.
41166         (asin_upward_test_data): Likewise.
41167         (asinh_test_data): Likewise.
41168         (atan_test_data): Likewise.
41169         (atanh_test_data): Likewise.
41170         (atan2_test_data): Likewise.
41171         (cabs_test_data): Likewise.
41172         (cacos_test_data): Likewise.
41173         (cacosh_test_data): Likewise.
41174         (carg_test_data): Likewise.
41175         (casin_test_data): Likewise.
41176         (casinh_test_data): Likewise.
41177         (catan_test_data): Likewise.
41178         (catanh_test_data): Likewise.
41179         (cbrt_test_data): Likewise.
41180         (ccos_test_data): Likewise.
41181         (ccosh_test_data): Likewise.
41182         (ceil_test_data): Likewise.
41183         (cexp_test_data): Likewise.
41184         (cimag_test_data): Likewise.
41185         (clog_test_data): Likewise.
41186         (clog10_test_data): Likewise.
41187         (conj_test_data): Likewise.
41188         (copysign_test_data): Likewise.
41189         (cos_test_data): Likewise.
41190         (cos_tonearest_test_data): Likewise.
41191         (cos_towardzero_test_data): Likewise.
41192         (cos_downward_test_data): Likewise.
41193         (cos_upward_test_data): Likewise.
41194         (cosh_test_data): Likewise.
41195         (cosh_tonearest_test_data): Likewise.
41196         (cosh_towardzero_test_data): Likewise.
41197         (cosh_downward_test_data): Likewise.
41198         (cosh_upward_test_data): Likewise.
41199         (cpow_test_data): Likewise.
41200         (cproj_test_data): Likewise.
41201         (creal_test_data): Likewise.
41202         (csin_test_data): Likewise.
41203         (csinh_test_data): Likewise.
41204         (csqrt_test_data): Likewise.
41205         (ctan_test_data): Likewise.
41206         (ctan_tonearest_test_data): Likewise.
41207         (ctan_towardzero_test_data): Likewise.
41208         (ctan_downward_test_data): Likewise.
41209         (ctan_upward_test_data): Likewise.
41210         (ctanh_test_data): Likewise.
41211         (ctanh_tonearest_test_data): Likewise.
41212         (ctanh_towardzero_test_data): Likewise.
41213         (ctanh_downward_test_data): Likewise.
41214         (ctanh_upward_test_data): Likewise.
41215         (erf_test_data): Likewise.
41216         (erfc_test_data): Likewise.
41217         (exp_test_data): Likewise.
41218         (exp_tonearest_test_data): Likewise.
41219         (exp_towardzero_test_data): Likewise.
41220         (exp_downward_test_data): Likewise.
41221         (exp_upward_test_data): Likewise.
41222         (exp10_test_data): Likewise.
41223         (exp2_test_data): Likewise.
41224         (expm1_test_data): Likewise.
41225         (fabs_test_data): Likewise.
41226         (fdim_test_data): Likewise.
41227         (finite_test_data): Likewise.
41228         (floor_test_data): Likewise.
41229         (fma_test_data): Likewise.
41230         (fma_towardzero_test_data): Likewise.
41231         (fma_downward_test_data): Likewise.
41232         (fma_upward_test_data): Likewise.
41233         (fmax_test_data): Likewise.
41234         (fmin_test_data): Likewise.
41235         (fmod_test_data): Likewise.
41236         (fpclassify_test_data): Likewise.
41237         (frexp_test_data): Likewise.
41238         (gamma_test_data): Likewise.
41239         (hypot_test_data): Likewise.
41240         (ilogb_test_data): Likewise.
41241         (isfinite_test_data): Likewise.
41242         (isgreater_test_data): Likewise.
41243         (isgreaterequal_test_data): Likewise.
41244         (isinf_test_data): Likewise.
41245         (isless_test_data): Likewise.
41246         (islessequal_test_data): Likewise.
41247         (islessgreater_test_data): Likewise.
41248         (isnan_test_data): Likewise.
41249         (isnormal_test_data): Likewise.
41250         (issignaling_test_data): Likewise.
41251         (isunordered_test_data): Likewise.
41252         (j0_test_data): Likewise.
41253         (j1_test_data): Likewise.
41254         (jn_test_data): Likewise.
41255         (ldexp_test_data): Likewise.
41256         (lgamma_test_data): Likewise.
41257         (lrint_test_data): Likewise.
41258         (lrint_tonearest_test_data): Likewise.
41259         (lrint_towardzero_test_data): Likewise.
41260         (lrint_downward_test_data): Likewise.
41261         (lrint_upward_test_data): Likewise.
41262         (llrint_test_data): Likewise.
41263         (llrint_tonearest_test_data): Likewise.
41264         (llrint_towardzero_test_data): Likewise.
41265         (llrint_downward_test_data): Likewise.
41266         (llrint_upward_test_data): Likewise.
41267         (log_test_data): Likewise.
41268         (log10_test_data): Likewise.
41269         (log1p_test_data): Likewise.
41270         (log2_test_data): Likewise.
41271         (logb_test_data): Likewise.
41272         (logb_downward_test_data): Likewise.
41273         (lround_test_data): Likewise.
41274         (llround_test_data): Likewise.
41275         (modf_test_data): Likewise.
41276         (nearbyint_test_data): Likewise.
41277         (nextafter_test_data): Likewise.
41278         (nexttoward_test_data): Likewise.
41279         (pow_test_data): Likewise.
41280         (pow_tonearest_test_data): Likewise.
41281         (pow_towardzero_test_data): Likewise.
41282         (pow_downward_test_data): Likewise.
41283         (pow_upward_test_data): Likewise.
41284         (remainder_test_data): Likewise.
41285         (remainder_tonearest_test_data): Likewise.
41286         (remainder_towardzero_test_data): Likewise.
41287         (remainder_downward_test_data): Likewise.
41288         (remainder_upward_test_data): Likewise.
41289         (remquo_test_data): Likewise.
41290         (rint_test_data): Likewise.
41291         (rint_tonearest_test_data): Likewise.
41292         (rint_towardzero_test_data): Likewise.
41293         (rint_downward_test_data): Likewise.
41294         (rint_upward_test_data): Likewise.
41295         (round_test_data): Likewise.
41296         (scalb_test_data): Likewise.
41297         (scalbn_test_data): Likewise.
41298         (scalbln_test_data): Likewise.
41299         (signbit_test_data): Likewise.
41300         (sin_test_data): Likewise.
41301         (sin_tonearest_test_data): Likewise.
41302         (sin_towardzero_test_data): Likewise.
41303         (sin_downward_test_data): Likewise.
41304         (sin_upward_test_data): Likewise.
41305         (sincos_test_data): Likewise.
41306         (sinh_test_data): Likewise.
41307         (sinh_tonearest_test_data): Likewise.
41308         (sinh_towardzero_test_data): Likewise.
41309         (sinh_downward_test_data): Likewise.
41310         (sinh_upward_test_data): Likewise.
41311         (sqrt_test_data): Likewise.
41312         (tan_test_data): Likewise.
41313         (tan_tonearest_test_data): Likewise.
41314         (tan_towardzero_test_data): Likewise.
41315         (tan_downward_test_data): Likewise.
41316         (tan_upward_test_data): Likewise.
41317         (tanh_test_data): Likewise.
41318         (tgamma_test_data): Likewise.
41319         (trunc_test_data): Likewise.
41320         (y0_test_data): Likewise.
41321         (y1_test_data): Likewise.
41322         (yn_test_data): Likewise.
41323         (significand_test_data): Likewise.
41325         * math/gen-libm-test.pl (@functions): Remove variable.
41326         (generate_testfile): Don't handle START and END lines.
41327         * math/libm-test.inc (START): New macro.
41328         (END): Likewise.
41329         (END_COMPLEX): Likewise.
41330         (acos_test): Use END macro without arguments.
41331         (acos_test_tonearest): Likewise.
41332         (acos_test_towardzero): Likewise.
41333         (acos_test_downward): Likewise.
41334         (acos_test_upward): Likewise.
41335         (acosh_test): Likewise.
41336         (asin_test): Likewise.
41337         (asin_test_tonearest): Likewise.
41338         (asin_test_towardzero): Likewise.
41339         (asin_test_downward): Likewise.
41340         (asin_test_upward): Likewise.
41341         (asinh_test): Likewise.
41342         (atan_test): Likewise.
41343         (atanh_test): Likewise.
41344         (atan2_test): Likewise.
41345         (cabs_test): Likewise.
41346         (cacos_test): Use END_COMPLEX macro without arguments.
41347         (cacosh_test): Likewise.
41348         (carg_test): Use END macro without arguments.
41349         (casin_test): Use END_COMPLEX macro without arguments.
41350         (casinh_test): Likewise.
41351         (catan_test): Likewise.
41352         (catanh_test): Likewise.
41353         (cbrt_test): Use END macro without arguments.
41354         (ccos_test): Use END_COMPLEX macro without arguments.
41355         (ccosh_test): Likewise.
41356         (ceil_test): Use END macro without arguments.
41357         (cexp_test): Use END_COMPLEX macro without arguments.
41358         (cimag_test): Use END macro without arguments.
41359         (clog_test): Use END_COMPLEX macro without arguments.
41360         (clog10_test): Likewise.
41361         (conj_test): Likewise.
41362         (copysign_test): Use END macro without arguments.
41363         (cos_test): Likewise.
41364         (cos_test_tonearest): Likewise.
41365         (cos_test_towardzero): Likewise.
41366         (cos_test_downward): Likewise.
41367         (cos_test_upward): Likewise.
41368         (cosh_test): Likewise.
41369         (cosh_test_tonearest): Likewise.
41370         (cosh_test_towardzero): Likewise.
41371         (cosh_test_downward): Likewise.
41372         (cosh_test_upward): Likewise.
41373         (cpow_test): Use END_COMPLEX macro without arguments.
41374         (cproj_test): Likewise.
41375         (creal_test): Use END macro without arguments.
41376         (csin_test): Use END_COMPLEX macro without arguments.
41377         (csinh_test): Likewise.
41378         (csqrt_test): Likewise.
41379         (ctan_test): Likewise.
41380         (ctan_test_tonearest): Likewise.
41381         (ctan_test_towardzero): Likewise.
41382         (ctan_test_downward): Likewise.
41383         (ctan_test_upward): Likewise.
41384         (ctanh_test): Likewise.
41385         (ctanh_test_tonearest): Likewise.
41386         (ctanh_test_towardzero): Likewise.
41387         (ctanh_test_downward): Likewise.
41388         (ctanh_test_upward): Likewise.
41389         (erf_test): Use END macro without arguments.
41390         (erfc_test): Likewise.
41391         (exp_test): Likewise.
41392         (exp_test_tonearest): Likewise.
41393         (exp_test_towardzero): Likewise.
41394         (exp_test_downward): Likewise.
41395         (exp_test_upward): Likewise.
41396         (exp10_test): Likewise.
41397         (exp2_test): Likewise.
41398         (expm1_test): Likewise.
41399         (fabs_test): Likewise.
41400         (fdim_test): Likewise.
41401         (finite_test): Likewise.
41402         (floor_test): Likewise.
41403         (fma_test): Likewise.
41404         (fma_test_towardzero): Likewise.
41405         (fma_test_downward): Likewise.
41406         (fma_test_upward): Likewise.
41407         (fmax_test): Likewise.
41408         (fmin_test): Likewise.
41409         (fmod_test): Likewise.
41410         (fpclassify_test): Likewise.
41411         (frexp_test): Likewise.
41412         (gamma_test): Likewise.
41413         (hypot_test): Likewise.
41414         (ilogb_test): Likewise.
41415         (isfinite_test): Likewise.
41416         (isgreater_test): Likewise.
41417         (isgreaterequal_test): Likewise.
41418         (isinf_test): Likewise.
41419         (isless_test): Likewise.
41420         (islessequal_test): Likewise.
41421         (islessgreater_test): Likewise.
41422         (isnan_test): Likewise.
41423         (isnormal_test): Likewise.
41424         (issignaling_test): Likewise.
41425         (isunordered_test): Likewise.
41426         (j0_test): Likewise.
41427         (j1_test): Likewise.
41428         (jn_test): Likewise.
41429         (ldexp_test): Likewise.
41430         (lgamma_test): Likewise.
41431         (lrint_test): Likewise.
41432         (lrint_test_tonearest): Likewise.
41433         (lrint_test_towardzero): Likewise.
41434         (lrint_test_downward): Likewise.
41435         (lrint_test_upward): Likewise.
41436         (llrint_test): Likewise.
41437         (llrint_test_tonearest): Likewise.
41438         (llrint_test_towardzero): Likewise.
41439         (llrint_test_downward): Likewise.
41440         (llrint_test_upward): Likewise.
41441         (log_test): Likewise.
41442         (log10_test): Likewise.
41443         (log1p_test): Likewise.
41444         (log2_test): Likewise.
41445         (logb_test): Likewise.
41446         (logb_test_downward): Likewise.
41447         (lround_test): Likewise.
41448         (llround_test): Likewise.
41449         (modf_test): Likewise.
41450         (nearbyint_test): Likewise.
41451         (nextafter_test): Likewise.
41452         (nexttoward_test): Likewise.
41453         (pow_test): Likewise.
41454         (pow_test_tonearest): Likewise.
41455         (pow_test_towardzero): Likewise.
41456         (pow_test_downward): Likewise.
41457         (pow_test_upward): Likewise.
41458         (remainder_test): Likewise.
41459         (remainder_test_tonearest): Likewise.
41460         (remainder_test_towardzero): Likewise.
41461         (remainder_test_downward): Likewise.
41462         (remainder_test_upward): Likewise.
41463         (remquo_test): Likewise.
41464         (rint_test): Likewise.
41465         (rint_test_tonearest): Likewise.
41466         (rint_test_towardzero): Likewise.
41467         (rint_test_downward): Likewise.
41468         (rint_test_upward): Likewise.
41469         (round_test): Likewise.
41470         (scalb_test): Likewise.
41471         (scalbn_test): Likewise.
41472         (scalbln_test): Likewise.
41473         (signbit_test): Likewise.
41474         (sin_test): Likewise.
41475         (sin_test_tonearest): Likewise.
41476         (sin_test_towardzero): Likewise.
41477         (sin_test_downward): Likewise.
41478         (sin_test_upward): Likewise.
41479         (sincos_test): Likewise.
41480         (sinh_test): Likewise.
41481         (sinh_test_tonearest): Likewise.
41482         (sinh_test_towardzero): Likewise.
41483         (sinh_test_downward): Likewise.
41484         (sinh_test_upward): Likewise.
41485         (sqrt_test): Likewise.
41486         (tan_test): Likewise.
41487         (tan_test_tonearest): Likewise.
41488         (tan_test_towardzero): Likewise.
41489         (tan_test_downward): Likewise.
41490         (tan_test_upward): Likewise.
41491         (tanh_test): Likewise.
41492         (tgamma_test): Likewise.
41493         (trunc_test): Likewise.
41494         (y0_test): Likewise.
41495         (y1_test): Likewise.
41496         (yn_test): Likewise.
41497         (significand_test): Likewise.
41499 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
41501         [BZ #15381]
41502         * libio/genops.c (_IO_no_init): Initialize wide struct info.
41504 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
41506         [BZ #14894]
41507         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
41508         __ppc_mdoio and __ppc_mdoom.
41509         * manual/platform.texi: Document new functions __ppc_yield,
41510         __ppc_mdoio and __ppc_mdoom.
41512 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
41514         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
41515         (main): Mention "tls" pseudo-hwcap is legacy.
41516         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
41518 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
41520         * math/gen-libm-test.pl (parse_args): Output only string of
41521         arguments as text for test name, not full call or descriptions of
41522         tests for extra outputs.
41523         (generate_testfile): Do not pass function name to parse_args.
41524         Generate this_func variable from START.
41525         * math/libm-test.inc (struct test_f_f_data): Rename test_name
41526         field to arg_str.
41527         (struct test_ff_f_data): Likewise.
41528         (test_ff_f_data_nexttoward): Likewise.
41529         (struct test_fi_f_data): Likewise.
41530         (struct test_fl_f_data): Likewise.
41531         (struct test_if_f_data): Likewise.
41532         (struct test_fff_f_data): Likewise.
41533         (struct test_c_f_data): Likewise.
41534         (struct test_f_f1_data): Likewise.  Remove field extra_name.
41535         (struct test_fF_f1_data): Likewise.
41536         (struct test_ffI_f1_data): Likewise.
41537         (struct test_c_c_data): Rename test_name field to arg_str.
41538         (struct test_cc_c_data): Likewise.
41539         (struct test_f_i_data): Likewise.
41540         (struct test_ff_i_data): Likewise.
41541         (struct test_f_l_data): Likewise.
41542         (struct test_f_L_data): Likewise.
41543         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
41544         and extra2_name.
41545         (COMMON_TEST_SETUP): New macro.
41546         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
41547         (COMMON_TEST_CLEANUP): Likewise.
41548         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
41549         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
41550         macros.
41551         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
41552         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
41553         macros.
41554         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
41555         (RUN_TEST_fff_f): Take argument string.  Call new setup and
41556         cleanup macros.
41557         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
41558         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
41559         macros.
41560         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
41561         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
41562         macros.
41563         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
41564         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
41565         cleanup macros.
41566         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
41567         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
41568         cleanup macros.
41569         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
41570         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
41571         cleanup macros.
41572         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
41573         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
41574         macros.
41575         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
41576         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
41577         macros.
41578         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
41579         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
41580         macros.
41581         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
41582         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
41583         cleanup macros.
41584         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
41585         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
41586         cleanup macros.
41587         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
41588         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
41589         macros.
41590         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
41591         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
41592         cleanup macros.
41593         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
41594         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
41595         macros.
41596         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
41597         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
41598         macros.
41599         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
41600         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
41601         cleanup macros.
41602         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
41604 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
41606         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
41607         to _sifields.sigfault.
41608         (si_addr_lsb): Define new macro.
41609         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
41610         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
41611         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
41613 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
41615         [BZ #15441]
41616         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
41617         returns -1.
41618         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
41619         null return -1.
41620         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
41621         loading the domain.
41623 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
41625         * math/gen-libm-test.pl (parse_args): Do not include expected
41626         result in test name.
41627         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
41628         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
41629         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
41630         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
41631         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
41632         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41634 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
41636         * benchtests/Makefile: Sort function entries.
41638         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
41639         tanh, asinh, acosh, atanh.
41640         * benchtests/acos-inputs: New file.
41641         * benchtests/acosh-inputs: New file.
41642         * benchtests/asin-inputs: New file.
41643         * benchtests/asinh-inputs: New file.
41644         * benchtests/atanh-inputs: New file.
41645         * benchtests/cosh-inputs: New file.
41646         * benchtests/log-inputs: New file.
41647         * benchtests/sinh-inputs: New file.
41648         * benchtests/tanh-inputs: New file.
41650 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
41652         [BZ #15339]
41653         * posix/tst-getaddrinfo4.c: New test.
41654         * posix/Makefile (tests): Add it.
41656 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
41658         [BZ #15339]
41659         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
41660         when no services were used.
41661         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
41662         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
41664 2013-05-21  Andreas Schwab  <schwab@suse.de>
41666         [BZ #15014]
41667         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
41668         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
41669         successful.
41670         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
41671         redundant variable declarations and reallocation of buffer when
41672         parsing as IPv6 address.  Always set NSS status when called from
41673         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
41674         buffer too small.  Correct computation of needed size.
41675         * nss/Makefile (tests): Add test-digits-dots.
41676         * nss/test-digits-dots.c: New test.
41678 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
41680         * benchtests/Makefile: Remove instructions for adding
41681         benchmark tests.
41682         * benchtests/README: New file to explain how to execute and
41683         enhance the benchmark tests.
41685 2013-05-21  Andreas Schwab  <schwab@suse.de>
41687         [BZ #15493]
41688         * setjmp/Makefile (tests): Add tst-sigsetjmp.
41689         * setjmp/tst-sigsetjmp.c: New test.
41691 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
41693         * sysdeps/x86_64/memset.S (memset): New implementation.
41694         (__bzero): Likewise.
41695         (__memset_tail): New function.
41697 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
41699         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
41700         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
41701         __memcpy_sse2_unaligned ifunc selection.
41702         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
41703         Add memcpy-sse2-unaligned.S.
41704         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
41705         Add: __memcpy_sse2_unaligned.
41707 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
41709         [BZ #15490]
41710         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
41711         math_force_eval before restoring floating-point envrionment.
41712         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
41713         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
41714         Likewise.
41715         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
41716         <math_private.h>.
41717         (__nearbyintl): Use math_force_eval before restoring
41718         floating-point environment.
41719         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
41721         * math/gen-libm-test.pl (special_functions): Remove.
41722         (parse_args): Don't handle TEST_extra.  Handle functions with no
41723         return value.
41724         * math/libm-test.inc (struct test_sincos_data): Replace with
41725         struct test_fFF_11_data.
41726         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
41727         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
41728         (sincos_test_data): Change element type to struct
41729         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
41730         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
41731         RUN_TEST_LOOP_sincos.
41732         * math/README.libm-test: Don't mention special handling of
41733         individual functions.
41734         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
41735         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
41736         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
41737         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
41738         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
41739         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41741         * math/gen-libm-test.pl (get_variable): Remove function.
41742         (parse_args): Don't show pointer parameters to call in test
41743         names.  Use "extra output N" in test names for extra outputs
41744         rather than naming variables.
41746 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
41748         [BZ #15488]
41749         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
41750         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
41751         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
41752         double tests.
41753         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
41754         disable.
41755         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
41756         check_long_double.
41758         * math/gen-libm-test.pl (@tests): Remove variable.
41759         ($count): Likewise.
41760         (new_test): Remove function.
41761         (show_exceptions): New function.
41762         (special_functions): Use show_exceptions instead of new_test.
41763         (parse_args): Likewise.
41764         (generate_testfile): Pass only function name in generated call to
41765         print_max_error or print_complex_max_error.
41766         (get_ulps): Do not handle complex tests specially.
41767         (output_test): Rename to ...
41768         (get_all_ulps_for_test): ... this.  Return a string rather than
41769         printing to a file.  Require ulps to be present.
41770         (output_ulps): Generate arrays rather than #defines.
41771         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
41772         (struct ulp_data): New type.
41773         (BUILD_COMPLEX_ULP): Remove macro.
41774         (compare_ulp_data): New function.
41775         (find_ulps): Likewise.
41776         (find_test_ulps): Likewise.
41777         (find_function_ulps): Likewise.
41778         (find_complex_function_ulps): Likewise.
41779         (print_max_error): Determine allowed ulps using
41780         find_function_ulps.
41781         (print_complex_max_error): Determine allowed ulps using
41782         find_complex_function_ulps.
41783         (check_float_internal): Determine max ulps using find_test_ulps.
41784         (check_float): Do not take max_ulp parameter.  Update call to
41785         check_float_internal.
41786         (check_complex): Likewise.
41787         (check_int): Do not take max_ulp parameter.
41788         (check_long): Likewise.
41789         (check_bool): Likewise.
41790         (check_longlong): Likewise.
41791         (struct test_f_f_data): Remove max_ulp field.
41792         (struct test_ff_f_data): Likewise.
41793         (struct test_ff_f_data_nexttoward): Likewise.
41794         (struct test_fi_f_data): Likewise.
41795         (struct test_fl_f_data): Likewise.
41796         (struct test_if_f_data): Likewise.
41797         (struct test_fff_f_data): Likewise.
41798         (struct test_c_f_data): Likewise.
41799         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
41800         (struct test_fF_f1_data): Likewise.
41801         (struct test_ffI_f1_data): Likewise.
41802         (struct test_c_c_data): Remove max_ulp field.
41803         (struct test_cc_c_data): Likewise.
41804         (struct test_f_i_data): Likewise.
41805         (struct test_ff_i_data): Likewise.
41806         (struct test_f_l_data): Likewise.
41807         (struct test_f_L_data): Likewise.
41808         (struct test_sincos_data): Likewise.
41809         (RUN_TEST_f_f): Do not handle ulps.
41810         (RUN_TEST_LOOP_f_f): Likewise.
41811         (RUN_TEST_2_f): Likewise.
41812         (RUN_TEST_LOOP_2_f): Likewise.
41813         (RUN_TEST_fff_f): Likewise.
41814         (RUN_TEST_LOOP_fff_f): Likewise.
41815         (RUN_TEST_c_f): Likewise.
41816         (RUN_TEST_LOOP_c_f): Likewise.
41817         (RUN_TEST_f_f1): Likewise.
41818         (RUN_TEST_LOOP_f_f1): Likewise.
41819         (RUN_TEST_fF_f1): Likewise.
41820         (RUN_TEST_LOOP_fF_f1): Likewise.
41821         (RUN_TEST_fI_f1): Likewise.
41822         (RUN_TEST_LOOP_fI_f1): Likewise.
41823         (RUN_TEST_ffI_f1): Likewise.
41824         (RUN_TEST_LOOP_ffI_f1): Likewise.
41825         (RUN_TEST_c_c): Likewise.
41826         (RUN_TEST_LOOP_c_c): Likewise.
41827         (RUN_TEST_cc_c): Likewise.
41828         (RUN_TEST_LOOP_cc_c): Likewise.
41829         (RUN_TEST_f_i): Likewise.
41830         (RUN_TEST_LOOP_f_i): Likewise.
41831         (RUN_TEST_f_i_tg): Likewise.
41832         (RUN_TEST_LOOP_f_i_tg): Likewise.
41833         (RUN_TEST_ff_i_tg): Likewise.
41834         (RUN_TEST_LOOP_ff_i_tg): Likewise.
41835         (RUN_TEST_f_b): Likewise.
41836         (RUN_TEST_LOOP_f_b): Likewise.
41837         (RUN_TEST_f_b_tg): Likewise.
41838         (RUN_TEST_LOOP_f_b_tg): Likewise.
41839         (RUN_TEST_f_l): Likewise.
41840         (RUN_TEST_LOOP_f_l): Likewise.
41841         (RUN_TEST_f_L): Likewise.
41842         (RUN_TEST_LOOP_f_L): Likewise.
41843         (RUN_TEST_sincos): Likewise.
41844         (RUN_TEST_LOOP_sincos): Likewise.
41846 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
41848         [BZ #15480]
41849         [BZ #15485]
41850         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
41851         main case of finite arguments, set rounding mode to FE_TONEAREST
41852         and discard exceptions.
41853         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
41854         exceptions.
41855         (remainder_tonearest_test_data): New variable.
41856         (remainder_test_tonearest): New function.
41857         (remainder_towardzero_test_data): New variable.
41858         (remainder_test_towardzero): New function.
41859         (remainder_downward_test_data): New variable.
41860         (remainder_test_downward): New function.
41861         (remainder_upward_test_data): New variable.
41862         (remainder_test_upward): New function.
41863         (main): Call the new test functions.
41865         * math/libm-test.inc (struct test_f_f1_data): Remove field
41866         extra_init.
41867         (struct test_fF_f1_data): Likewise.
41868         (struct test_ffI_f1_data): Likewise.
41869         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
41870         based on value of EXTRA_EXPECTED.
41871         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
41872         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
41873         EXTRA_VAR based on value of EXTRA_EXPECTED.
41874         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
41875         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
41876         EXTRA_VAR based on value of EXTRA_EXPECTED.
41877         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
41878         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
41879         EXTRA_VAR based on value of EXTRA_EXPECTED.
41880         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
41881         * math/gen-libm-test.pl (parse_args): Don't output initializers
41882         for extra output values.
41884         * math/libm-test.inc (check_int): Expect result to be exactly
41885         equal to expected value and do not handle ulps.
41886         (check_long): Likewise.
41887         (check_longlong): Likewise.
41889         * math/libm-test.inc (ceil_test_data): Test for "inexact"
41890         exceptions.
41891         (cimag_test_data): Likewise.
41892         (conj_test_data): Likewise.
41893         (copysign_test_data): Likewise.
41894         (cproj_test_data): Likewise.
41895         (creal_test_data): Likewise.
41896         (fabs_test_data): Likewise.
41897         (fdim_test_data): Likewise.
41898         (finite_test_data): Likewise.
41899         (floor_test_data): Likewise.
41900         (fmax_test_data): Likewise.
41901         (fmin_test_data): Likewise.
41902         (fmod_test_data): Likewise.
41903         (fpclassify_test_data): Likewise.
41904         (frexp_test_data): Likewise.
41905         (ilogb_test_data): Likewise.
41906         (isfinite_test_data): Likewise.
41907         (isgreater_test_data): Likewise.
41908         (isgreaterequal_test_data): Likewise.
41909         (isinf_test_data): Likewise.
41910         (isless_test_data): Likewise.
41911         (islessequal_test_data): Likewise.
41912         (islessgreater_test_data): Likewise.
41913         (isnan_test_data): Likewise.
41914         (isnormal_test_data): Likewise.
41915         (issignaling_test_data): Likewise.
41916         (isunordered_test_data): Likewise.
41917         (ldexp_test_data): Likewise.
41918         (lrint_test_data): Likewise.
41919         (lrint_test_data) [TEST_FLOAT]: Disable one test.
41920         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
41921         (lrint_tonearest_test_data): Test for "inexact" exceptions.
41922         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
41923         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
41924         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
41925         test input.
41926         (lrint_towardzero_test_data): Test for "inexact" exceptions.
41927         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
41928         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
41929         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
41930         that test input.
41931         (lrint_downward_test_data): Test for "inexact" exceptions.
41932         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
41933         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
41934         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
41935         test input.
41936         (lrint_upward_test_data): Test for "inexact" exceptions.
41937         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
41938         test input.
41939         (llrint_test_data): Test for "inexact" exceptions.
41940         (llrint_test_data) [TEST_FLOAT]: Disable one test.
41941         (llrint_tonearest_test_data): Test for "inexact" exceptions.
41942         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
41943         (llrint_towardzero_test_data): Test for "inexact" exceptions.
41944         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
41945         (llrint_downward_test_data): Test for "inexact" exceptions.
41946         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
41947         (llrint_upward_test_data): Test for "inexact" exceptions.
41948         (logb_test_data): Likewise.
41949         (logb_downward_test_data): Likewise.
41950         (nextafter_test_data): Likewise.
41951         (nexttoward_test_data): Likewise.
41952         (remainder_test_data): Likewise.
41953         (remquo_test_data): Likewise.
41954         (scalbn_test_data): Likewise.
41955         (scalbln_test_data): Likewise.
41956         (signbit_test_data): Likewise.
41957         (sqrt_test_data): Likewise.
41958         (significand_test_data): Likewise.
41960 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
41962         [BZ #15424]
41963         * benchtests/bench-modf.c (struct args): Mark arg0 as
41964         volatile.
41965         * scripts/bench.pl: Mark members of struct args as volatile.
41967 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41969         [BZ # 15497]
41970         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
41971         negative infinity on POWER6 or lower.
41972         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
41974 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
41976         [BZ #15442]
41977         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
41978         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
41979         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
41980         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
41981         (_FP_SETQNAN): New macro.
41982         (_FP_SETQNAN_SEMIRAW): Likewise.
41983         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
41984         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
41985         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
41986         (FP_EXTEND): Use _FP_FRAC_SNANP.
41987         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
41988         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
41989         into account.
41990         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
41991         New macro.
41992         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
41993         Likewise.
41995 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
41997         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
41998         with DIVIDE_BY_ZERO_EXCEPTION.
41999         (gamma_test_data): Likewise.
42000         (lgamma_test_data): Likewise.
42001         (log_test_data): Likewise.
42002         (log10_test_data): Likewise.
42003         (log2_test_data): Likewise.
42004         (tgamma_test_data): Likewise.
42006         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
42007         (acos_test_tonearest): Likewise.
42008         (acos_test_towardzero): Likewise.
42009         (acos_test_downward): Likewise.
42010         (acos_test_upward): Likewise.
42011         (acosh_test): Likewise.
42012         (asin_test): Likewise.
42013         (asin_test_tonearest): Likewise.
42014         (asin_test_towardzero): Likewise.
42015         (asin_test_downward): Likewise.
42016         (asin_test_upward): Likewise.
42017         (asinh_test): Likewise.
42018         (atan_test): Likewise.
42019         (atanh_test): Likewise.
42020         (atan2_test): Likewise.
42021         (cabs_test): Likewise.
42022         (cacos_test): Likewise.
42023         (cacosh_test): Likewise.
42024         (casin_test): Likewise.
42025         (casinh_test): Likewise.
42026         (catan_test): Likewise.
42027         (catanh_test): Likewise.
42028         (cbrt_test): Likewise.
42029         (ccos_test): Likewise.
42030         (ccosh_test): Likewise.
42031         (cexp_test): Likewise.
42032         (clog_test): Likewise.
42033         (clog10_test): Likewise.
42034         (cos_test): Likewise.
42035         (cos_test_tonearest): Likewise.
42036         (cos_test_towardzero): Likewise.
42037         (cos_test_downward): Likewise.
42038         (cos_test_upward): Likewise.
42039         (cosh_test): Likewise.
42040         (cosh_test_tonearest): Likewise.
42041         (cosh_test_towardzero): Likewise.
42042         (cosh_test_downward): Likewise.
42043         (cosh_test_upward): Likewise.
42044         (cpow_test): Likewise.
42045         (csin_test): Likewise.
42046         (csinh_test): Likewise.
42047         (csqrt_test): Likewise.
42048         (ctan_test): Likewise.
42049         (ctan_test_tonearest): Likewise.
42050         (ctan_test_towardzero): Likewise.
42051         (ctan_test_downward): Likewise.
42052         (ctan_test_upward): Likewise.
42053         (ctanh_test): Likewise.
42054         (ctanh_test_tonearest): Likewise.
42055         (ctanh_test_towardzero): Likewise.
42056         (ctanh_test_downward): Likewise.
42057         (ctanh_test_upward): Likewise.
42058         (erf_test): Likewise.
42059         (erfc_test): Likewise.
42060         (exp_test): Likewise.
42061         (exp_test_tonearest): Likewise.
42062         (exp_test_towardzero): Likewise.
42063         (exp_test_downward): Likewise.
42064         (exp_test_upward): Likewise.
42065         (exp10_test): Likewise.
42066         (exp2_test): Likewise.
42067         (expm1_test): Likewise.
42068         (fmod_test): Likewise.
42069         (gamma_test): Likewise.
42070         (hypot_test): Likewise.
42071         (j0_test): Likewise.
42072         (j1_test): Likewise.
42073         (jn_test): Likewise.
42074         (lgamma_test): Likewise.
42075         (log_test): Likewise.
42076         (log10_test): Likewise.
42077         (log1p_test): Likewise.
42078         (log2_test): Likewise.
42079         (logb_test_downward): Likewise.
42080         (pow_test): Likewise.
42081         (pow_test_tonearest): Likewise.
42082         (pow_test_towardzero): Likewise.
42083         (pow_test_downward): Likewise.
42084         (pow_test_upward): Likewise.
42085         (remainder_test): Likewise.
42086         (remquo_test): Likewise.
42087         (sin_test): Likewise.
42088         (sin_test_tonearest): Likewise.
42089         (sin_test_towardzero): Likewise.
42090         (sin_test_downward): Likewise.
42091         (sin_test_upward): Likewise.
42092         (sincos_test): Likewise.
42093         (sinh_test): Likewise.
42094         (sinh_test_tonearest): Likewise.
42095         (sinh_test_towardzero): Likewise.
42096         (sinh_test_downward): Likewise.
42097         (sinh_test_upward): Likewise.
42098         (sqrt_test): Likewise.
42099         (tan_test): Likewise.
42100         (tan_test_tonearest): Likewise.
42101         (tan_test_towardzero): Likewise.
42102         (tan_test_downward): Likewise.
42103         (tan_test_upward): Likewise.
42104         (tanh_test): Likewise.
42105         (tgamma_test): Likewise.
42106         (y0_test): Likewise.
42107         (y1_test): Likewise.
42108         (yn_test): Likewise.
42110         * math/gen-libm-test.pl (adjust_arg): Remove function.
42111         (special_function): Remove argument $in_func.  Only handle
42112         generating output for tables of tests, not inside functions.
42113         (parse_args): Likewise.
42114         (generate_testfile): Remove variable $in_func.  Update call to
42115         parse_args.
42116         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
42117         (MINUS_ZERO_INIT): Rename macro to minus_zero.
42118         (PLUS_INFTY_INIT): Rename macro to plus_infty.
42119         (MINUS_INFTY_INIT): Rename macro to minus_infty.
42120         (QNAN_VALUE_INIT): Rename macro to qnan_value.
42121         (MAX_VALUE_INIT): Rename macro to max_value.
42122         (MIN_VALUE_INIT): Rename macro to min_value.
42123         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
42124         (plus_zero): Remove variable.
42125         (minus_zero): Likewise.
42126         (plus_infty): Likewise.
42127         (minus_infty): Likewise.
42128         (qnan_value): Likewise.
42129         (max_value): Likewise.
42130         (min_value): Likewise.
42131         (min_subnorm_value): Likewise.
42133 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
42135         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
42136         uint64_t or uint32_t usage.
42137         * crypt/sha256-block.c: Likewise.
42138         * crypt/sha256-crypt.c: Likewise.
42139         * crypt/sha256.c: Likewise.
42140         * crypt/sha512-block.c: Likewise.
42141         * crypt/sha512-crypt.c: Likewise.
42142         * crypt/sha512.c: Likewise.
42143         * debug/backtrace-tst.c: Likewise.
42144         * debug/pcprofiledump.c: Likewise.
42145         * elf/cache.c: Likewise.
42146         * elf/dl-cache.c: Likewise.
42147         * elf/dl-misc.c: Likewise.
42148         * elf/dl-profile.c: Likewise.
42149         * elf/dl-support.c: Likewise.
42150         * elf/ldconfig.c: Likewise.
42151         * elf/sprof.c: Likewise.
42152         * iconv/dummy-repertoire.c: Likewise.
42153         * iconv/iconv_charmap.c: Likewise.
42154         * iconv/skeleton.c: Likewise.
42155         * iconvdata/8bit-generic.c: Likewise.
42156         * iconvdata/cp737.h: Likewise.
42157         * iconvdata/cp775.h: Likewise.
42158         * iconvdata/ibm1008.h: Likewise.
42159         * iconvdata/ibm1025.h: Likewise.
42160         * iconvdata/ibm1046.h: Likewise.
42161         * iconvdata/ibm1097.h: Likewise.
42162         * iconvdata/ibm1112.h: Likewise.
42163         * iconvdata/ibm1122.h: Likewise.
42164         * iconvdata/ibm1123.h: Likewise.
42165         * iconvdata/ibm1124.h: Likewise.
42166         * iconvdata/ibm1129.h: Likewise.
42167         * iconvdata/ibm1130.h: Likewise.
42168         * iconvdata/ibm1132.h: Likewise.
42169         * iconvdata/ibm1133.h: Likewise.
42170         * iconvdata/ibm1137.h: Likewise.
42171         * iconvdata/ibm1140.h: Likewise.
42172         * iconvdata/ibm1141.h: Likewise.
42173         * iconvdata/ibm1142.h: Likewise.
42174         * iconvdata/ibm1143.h: Likewise.
42175         * iconvdata/ibm1144.h: Likewise.
42176         * iconvdata/ibm1145.h: Likewise.
42177         * iconvdata/ibm1146.h: Likewise.
42178         * iconvdata/ibm1147.h: Likewise.
42179         * iconvdata/ibm1148.h: Likewise.
42180         * iconvdata/ibm1149.h: Likewise.
42181         * iconvdata/ibm1153.h: Likewise.
42182         * iconvdata/ibm1154.h: Likewise.
42183         * iconvdata/ibm1155.h: Likewise.
42184         * iconvdata/ibm1156.h: Likewise.
42185         * iconvdata/ibm1157.h: Likewise.
42186         * iconvdata/ibm1158.h: Likewise.
42187         * iconvdata/ibm1160.h: Likewise.
42188         * iconvdata/ibm1161.h: Likewise.
42189         * iconvdata/ibm1162.h: Likewise.
42190         * iconvdata/ibm1163.h: Likewise.
42191         * iconvdata/ibm1164.h: Likewise.
42192         * iconvdata/ibm1166.h: Likewise.
42193         * iconvdata/ibm1167.h: Likewise.
42194         * iconvdata/ibm12712.h: Likewise.
42195         * iconvdata/ibm1390.h: Likewise.
42196         * iconvdata/ibm1399.h: Likewise.
42197         * iconvdata/ibm16804.h: Likewise.
42198         * iconvdata/ibm4517.h: Likewise.
42199         * iconvdata/ibm4899.h: Likewise.
42200         * iconvdata/ibm4909.h: Likewise.
42201         * iconvdata/ibm4971.h: Likewise.
42202         * iconvdata/ibm5347.h: Likewise.
42203         * iconvdata/ibm803.h: Likewise.
42204         * iconvdata/ibm856.h: Likewise.
42205         * iconvdata/ibm901.h: Likewise.
42206         * iconvdata/ibm902.h: Likewise.
42207         * iconvdata/ibm9030.h: Likewise.
42208         * iconvdata/ibm9066.h: Likewise.
42209         * iconvdata/ibm921.h: Likewise.
42210         * iconvdata/ibm922.h: Likewise.
42211         * iconvdata/ibm9448.h: Likewise.
42212         * iconvdata/isiri-3342.h: Likewise.
42213         * iconvdata/jis0201.h: Likewise.
42214         * include/link.h: Likewise.
42215         * include/netdb.h: Likewise.
42216         * inet/check_native.c: Likewise.
42217         * inet/check_pf.c: Likewise.
42218         * inet/getipv4sourcefilter.c: Likewise.
42219         * inet/getnameinfo.c: Likewise.
42220         * inet/getsourcefilter.c: Likewise.
42221         * inet/htonl.c: Likewise.
42222         * inet/setipv4sourcefilter.c: Likewise.
42223         * inet/setsourcefilter.c: Likewise.
42224         * inet/test-inet6_opt.c: Likewise.
42225         * inet/tst-network.c: Likewise.
42226         * locale/C-collate.c: Likewise.
42227         * locale/C-ctype.c: Likewise.
42228         * locale/C-time.c: Likewise.
42229         * locale/C-translit.h: Likewise.
42230         * locale/loadarchive.c: Likewise.
42231         * locale/programs/3level.h: Likewise.
42232         * locale/programs/charmap.c: Likewise.
42233         * locale/programs/charmap.h: Likewise.
42234         * locale/programs/ld-address.c: Likewise.
42235         * locale/programs/ld-collate.c: Likewise.
42236         * locale/programs/ld-ctype.c: Likewise.
42237         * locale/programs/ld-identification.c: Likewise.
42238         * locale/programs/ld-measurement.c: Likewise.
42239         * locale/programs/ld-messages.c: Likewise.
42240         * locale/programs/ld-monetary.c: Likewise.
42241         * locale/programs/ld-name.c: Likewise.
42242         * locale/programs/ld-numeric.c: Likewise.
42243         * locale/programs/ld-paper.c: Likewise.
42244         * locale/programs/ld-telephone.c: Likewise.
42245         * locale/programs/ld-time.c: Likewise.
42246         * locale/programs/linereader.c: Likewise.
42247         * locale/programs/locale.c: Likewise.
42248         * locale/programs/locarchive.c: Likewise.
42249         * locale/programs/locfile.h: Likewise.
42250         * locale/programs/repertoire.c: Likewise.
42251         * locale/programs/simple-hash.c: Likewise.
42252         * locale/programs/simple-hash.h: Likewise.
42253         * malloc/memusage.c: Likewise.
42254         * malloc/memusagestat.c: Likewise.
42255         * nis/nis_defaults.c: Likewise.
42256         * nis/nis_hash.c: Likewise.
42257         * nis/nis_print.c: Likewise.
42258         * nis/nis_xdr.c: Likewise.
42259         * nscd/connections.c: Likewise.
42260         * nscd/hstcache.c: Likewise.
42261         * nscd/nscd_gethst_r.c: Likewise.
42262         * nscd/nscd_getserv_r.c: Likewise.
42263         * nscd/nscd_helper.c: Likewise.
42264         * nscd/servicescache.c: Likewise.
42265         * nss/makedb.c: Likewise.
42266         * nss/nss_db/db-XXX.c: Likewise.
42267         * nss/nss_db/db-initgroups.c: Likewise.
42268         * nss/nss_db/db-netgrp.c: Likewise.
42269         * nss/nss_files/files-network.c: Likewise.
42270         * nss/nss_files/files-parse.c: Likewise.
42271         * posix/bug-regex5.c: Likewise.
42272         * posix/fnmatch_loop.c: Likewise.
42273         * posix/regcomp.c: Likewise.
42274         * posix/regexec.c: Likewise.
42275         * posix/tst-rfc3484-2.c: Likewise.
42276         * posix/tst-rfc3484-3.c: Likewise.
42277         * posix/tst-rfc3484.c: Likewise.
42278         * resolv/nss_dns/dns-canon.c: Likewise.
42279         * resolv/nss_dns/dns-network.c: Likewise.
42280         * resolv/res_init.c: Likewise.
42281         * resolv/res_mkquery.c: Likewise.
42282         * resolv/tst-aton.c: Likewise.
42283         * stdlib/cxa_atexit.c: Likewise.
42284         * stdlib/cxa_finalize.c: Likewise.
42285         * stdlib/gen-fpioconst.c: Likewise.
42286         * stdlib/strtol_l.c: Likewise.
42287         * string/tst-endian.c: Likewise.
42288         * sunrpc/auth_des.c: Likewise.
42289         * sunrpc/clnt_udp.c: Likewise.
42290         * sunrpc/rtime.c: Likewise.
42291         * sunrpc/svcauth_des.c: Likewise.
42292         * sunrpc/xdr.c: Likewise.
42293         * sunrpc/xdr_intXX_t.c: Likewise.
42294         * sunrpc/xdr_rec.c: Likewise.
42295         * sysdeps/generic/ldconfig.h: Likewise.
42296         * sysdeps/generic/ldsodefs.h: Likewise.
42297         * sysdeps/generic/memusage.h: Likewise.
42298         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
42299         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
42300         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
42301         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
42302         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
42303         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
42304         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
42305         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
42306         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
42307         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
42308         * sysdeps/posix/getaddrinfo.c: Likewise.
42309         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
42310         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
42311         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
42312         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
42313         * sysdeps/powerpc/test-gettimebase.c: Likewise.
42314         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
42315         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
42316         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
42317         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
42318         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
42319         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
42320         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
42321         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
42322         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
42323         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
42324         * sysdeps/x86_64/dl-tls.h: Likewise.
42325         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
42326         * time/alt_digit.c: Likewise.
42327         * time/era.c: Likewise.
42328         * wcsmbs/tst-c16c32-1.c: Likewise.
42330 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
42332         * math/libm-test.inc (struct test_sincos_data): New type.
42333         (RUN_TEST_LOOP_sincos): New macro.
42334         (sincos_test_data): New variable.
42335         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
42337 2013-05-16  Richard Henderson  <rth@redhat.com>
42339         * math/atest-exp2.c (LIMB64): New macro.
42340         (CONSTSZ): New macro.
42341         (mp_exp1, mp_exp_m1, mp_log2): New variables.
42342         (hexdig): Move ...
42343         (print_mpn_fp): ... to function scope.
42344         (read_mpn_hex): Remove.
42345         (get_log2): Remove.
42346         (exp2_mpn): Use mp_log2.
42347         (main): Use mp_exp1.
42349 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
42351         * math/libm-test.inc: Remove comment about not testing "inexact"
42352         exceptions.
42353         (INEXACT_EXCEPTION): New macro.
42354         (NO_INEXACT_EXCEPTION): Likewise.
42355         (INVALID_EXCEPTION_OK): Update value.
42356         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
42357         (OVERFLOW_EXCEPTION_OK): Likewise.
42358         (UNDERFLOW_EXCEPTION_OK): Likewise.
42359         (IGNORE_ZERO_INF_SIGN): Likewise.
42360         (ERRNO_UNCHANGED): Likewise.
42361         (ERRNO_EDOM): Likewise.
42362         (ERRNO_ERANGE): Likewise.
42363         (test_exceptions): Handle testing "inexact" exceptions.
42364         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
42365         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
42366         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
42367         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
42368         INEXACT_EXCEPTION.
42369         (rint_towardzero_test_data): Likewise.
42370         (rint_downward_test_data): Likewise.
42371         (rint_upward_test_data): Likewise.
42373         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
42374         with OVERFLOW_EXCEPTION.
42375         (exp10_test_data): Likewise.
42376         (exp2_test_data): Likewise.
42377         (expm1_test_data): Likewise.
42378         (lgamma_test_data): Likewise.
42379         (pow_test_data): Likewise.
42380         (tgamma_test_data): Likewise.
42381         (yn_test_data): Remove duplicate test of overflow.
42383         * math/libm-test.inc (struct test_cc_c_data): New type.
42384         (RUN_TEST_LOOP_cc_c): New macro.
42385         (cpow_test_data): New variable.
42386         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
42388         * math/libm-test.inc (struct test_f_L_data): New type.
42389         (RUN_TEST_LOOP_f_L): New macro.
42390         (llrint_test_data): New variable.
42391         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
42392         (llrint_tonearest_test_data): New variable.
42393         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
42394         (llrint_towardzero_test_data): New variable.
42395         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
42396         (llrint_downward_test_data): New variable.
42397         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
42398         (llrint_upward_test_data): New variable.
42399         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
42400         (llround_test_data): New variable.
42401         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
42403 2013-05-13  Peter Collingbourne  <pcc@google.com>
42405         * math/atest-exp2.c (get_log2): Remove const attribute.
42407 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
42409         * math/libm-test.inc (struct test_f_l_data): New type.
42410         (RUN_TEST_LOOP_f_l): New macro.
42411         (lrint_test_data): New variable.
42412         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
42413         (lrint_tonearest_test_data): New variable.
42414         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
42415         (lrint_towardzero_test_data): New variable.
42416         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
42417         (lrint_downward_test_data): New variable.
42418         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
42419         (lrint_upward_test_data): New variable.
42420         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
42421         (lround_test_data): New variable.
42422         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
42424 2013-05-15  Peter Collingbourne  <pcc@google.com>
42426         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
42427         (EXTRACT_WORDS64) Use where appropriate.
42428         (INSERT_WORDS64) Likewise.
42430         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
42431         constraints with x constraints.
42432         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
42434         * malloc/obstack.c (_obstack_compat): Add initializer.
42436 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
42438         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
42439         si_trapno and add si_addr_lsb to _sifields.sigfault.
42440         (si_trapno): Remove macro.
42441         (si_addr_lsb): Define new macro.
42442         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
42444 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
42446         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
42447         instead of TEST_f_l.
42448         (llrint_test_tonearest): Likewise.
42449         (llrint_test_towardzero): Likewise.
42450         (llrint_test_downward): Likewise.
42451         (llrint_test_upward): Likewise.
42452         (llround_test): Likewise.
42454         * math/libm-test.inc (struct test_f_i_data): Add comment.
42455         (RUN_TEST_LOOP_f_b): New macro.
42456         (RUN_TEST_LOOP_f_b_tg): Likewise.
42457         (finite_test_data): New variable.
42458         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
42459         (isfinite_test_data): New variable.
42460         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
42461         (isinf_test_data): New variable.
42462         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
42463         (isnan_test_data): New variable.
42464         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
42465         (isnormal_test_data): New variable.
42466         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
42467         (issignaling_test_data): New variable.
42468         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
42469         (signbit_test_data): New variable.
42470         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
42472         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
42473         with INVALID_EXCEPTION.
42474         (acosh_test_data): Likewise.
42475         (asin_test_data): Likewise.
42476         (atanh_test_data): Likewise.
42477         (fmod_test_data): Likewise.
42478         (log_test_data): Likewise.
42479         (log10_test_data): Likewise.
42480         (log2_test_data): Likewise.
42481         (pow_test_data): Likewise.
42482         (sqrt_test_data): Likewise.
42483         (y0_test_data): Likewise.
42484         (y1_test_data): Likewise.
42485         (yn_test_data): Likewise.
42487         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
42488         function contents.
42490         * math/libm-test.inc (struct test_ff_i_data): New type.
42491         (RUN_TEST_LOOP_ff_i_tg): New macro.
42492         (isgreater_test_data): New variable.
42493         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
42494         (isgreaterequal_test_data): New variable.
42495         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
42496         (isless_test_data): New variable.
42497         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
42498         (islessequal_test_data): New variable.
42499         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
42500         (islessgreater_test_data): New variable.
42501         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
42502         (isunordered_test_data): New variable.
42503         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
42505 2013-05-14  David S. Miller  <davem@davemloft.net>
42507         * sysdeps/sparc/fpu/libm-test-ulps: Update.
42509 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
42511         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
42513         * math/libm-test.inc (struct test_fF_f1_data): Change type of
42514         extra_test to int.
42515         (struct test_f_i_data): Change type of max_ulp to int.
42517         * math/libm-test.inc (test_ffI_f1_data): New type.
42518         (RUN_TEST_LOOP_ffI_f1): New macro.
42519         (remquo_test_data): New variable.
42520         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
42522         * setjmp/tst-setjmp-fp.c: New file.
42523         * setjmp/Makefile (tests): Add tst-setjmp-fp.
42524         (link-libm): New variable.
42525         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
42527         * math/libm-test.inc (struct test_f_i_data): New type.
42528         (RUN_TEST_LOOP_f_i): New macro.
42529         (RUN_TEST_LOOP_f_i_tg): Likewise.
42530         (fpclassify_test_data): New variable.
42531         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
42532         (ilogb_test_data): New variable.
42533         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
42535         * math/libm-test.inc (scalbln_test): Correct function name in END
42536         call.
42538         * math/libm-test.inc (struct test_f_f1_data): Add comment.
42539         (RUN_TEST_LOOP_fI_f1): New macro.
42540         (frexp_test_data): New variable.
42541         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
42543         * math/libm-test.inc (struct test_fF_f1_data): New type.
42544         (RUN_TEST_LOOP_fF_f1): New macro.
42545         (modf_test_data): New variable.
42546         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
42548         * math/libm-test.inc (struct test_f_f1_data): New type.
42549         (RUN_TEST_LOOP_f_f1): New macro.
42550         (gamma_test_data): New variable.
42551         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
42552         (lgamma_test_data): New variable.
42553         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
42555 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
42557         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
42558         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
42559         (main): Comment "tls" pseudo-hwcap.
42561 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
42563         * math/libm-test.inc (struct test_fl_f_data): New type.
42564         (RUN_TEST_LOOP_fl_f): New variable.
42565         (scalbln_test_data): New variable.
42566         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
42568         * math/libm-test.inc (struct test_fi_f_data): New type.
42569         (RUN_TEST_LOOP_fi_f): New macro.
42570         (ldexp_test_data): New variable.
42571         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
42572         (scalbn_test_data): New variable.
42573         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
42575         * math/libm-test.inc (struct test_c_f_data): New type.
42576         (RUN_TEST_LOOP_c_f): New macro.
42577         (cabs_test_data): New variable.
42578         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
42579         (carg_test_data): New variable.
42580         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
42581         (cimag_test_data): New variable.
42582         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
42583         (creal_test_data): New variable.
42584         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
42586         * math/libm-test.inc (struct test_if_f_data): New type.
42587         (RUN_TEST_LOOP_if_f): New macro.
42588         (jn_test_data): New variable.
42589         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
42590         (yn_test_data): New variable.
42591         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
42593         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
42595 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42597         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
42598         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
42600 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
42602         * benchtests/Makefile (CPPFLAGS-nonlib): Add
42603         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
42604         (bench-deps): Add bench-timing.h.
42605         * benchtests-bench-skeleton.c: Include bench-timing.h.
42606         (main): Use TIMING_* macros instead of clock_gettime.
42607         * benchtests/bench-timing.h: New file.
42609         [BZ #14582]
42610         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
42611         Renamed from _LIB_VERSION.
42612         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
42614 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
42616         * math/libm-test.inc (struct test_fff_f_data): New type.
42617         (RUN_TEST_LOOP_fff_f): New macro.
42618         (fma_test_data): New variable.
42619         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
42620         (fma_towardzero_test_data): New variable.
42621         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
42622         (fma_downward_test_data): New variable.
42623         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
42624         (fma_upward_test_data): New variable.
42625         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
42627         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
42628         (struct test_c_c_data): New type.
42629         (RUN_TEST_LOOP_c_c): New macro.
42630         (cacos_test_data): New variable.
42631         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
42632         (cacosh_test_data): New variable.
42633         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
42634         (casin_test_data): New variable.
42635         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
42636         (casinh_test_data): New variable.
42637         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
42638         (catan_test_data): New variable.
42639         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
42640         (catanh_test_data): New variable.
42641         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
42642         (ccos_test_data): New variable.
42643         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
42644         (ccosh_test_data): New variable.
42645         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
42646         (cexp_test_data): New variable.
42647         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
42648         (clog_test_data): New variable.
42649         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
42650         (clog10_test_data): New variable.
42651         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
42652         (conj_test_data): New variable.
42653         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
42654         (cproj_test_data): New variable.
42655         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
42656         (csin_test_data): New variable.
42657         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
42658         (csinh_test_data): New variable.
42659         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
42660         (csqrt_test_data): New variable.
42661         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
42662         (ctan_test_data): New variable.
42663         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
42664         (ctan_tonearest_test_data): New variable.
42665         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
42666         (ctan_towardzero_test_data): New variable.
42667         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
42668         (ctan_downward_test_data): New variable.
42669         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
42670         (ctan_upward_test_data): New variable.
42671         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
42672         (ctanh_test_data): New variable.
42673         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
42674         (ctanh_tonearest_test_data): New variable.
42675         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
42676         (ctanh_towardzero_test_data): New variable.
42677         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
42678         (ctanh_downward_test_data): New variable.
42679         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
42680         (ctanh_upward_test_data): New variable.
42681         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
42682         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
42683         of BUILD_COMPLEX.
42685         * math/libm-test.inc (struct test_ff_f_data): New type.
42686         (struct test_ff_f_data_nexttoward): Likewise.
42687         (RUN_TEST_LOOP_2_f): New macro.
42688         (RUN_TEST_LOOP_ff_f): Likewise.
42689         (atan2_test_data): New variable.
42690         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
42691         (copysign_test_data): New variable.
42692         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
42693         (fdim_test_data): New variable.
42694         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
42695         (fmax_test_data): New variable.
42696         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
42697         (fmin_test_data): New variable.
42698         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
42699         (fmod_test_data): New variable.
42700         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
42701         (hypot_test_data): New variable.
42702         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
42703         (nextafter_test_data): New variable.
42704         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
42705         (nexttoward_test_data): New variable.
42706         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
42707         (pow_test_data): New variable.
42708         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
42709         (pow_tonearest_test_data): New variable.
42710         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
42711         (pow_towardzero_test_data): New variable.
42712         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
42713         (pow_downward_test_data): New variable.
42714         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
42715         (pow_upward_test_data): New variable.
42716         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
42717         (remainder_test_data): New variable.
42718         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
42719         (scalb_test_data): New variable.
42720         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
42721         * sysdeps/i386/fpu/libm-test-ulps: Update.
42723 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
42725         * math/libm-test.inc (fma_test): Use max_value instead of local
42726         variable fltmax.
42727         (nextafter_test): Likewise.
42729         * math/libm-test.inc (acos_towardzero_test_data): New variable.
42730         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
42731         (acos_downward_test_data): New variable.
42732         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
42733         (acos_upward_test_data): New variable.
42734         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
42735         (acosh_test_data): New variable.
42736         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
42737         (asin_test_data): New variable.
42738         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
42739         (asin_tonearest_test_data): New variable.
42740         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
42741         (asin_towardzero_test_data): New variable.
42742         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
42743         (asin_downward_test_data): New variable.
42744         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
42745         (asin_upward_test_data): New variable.
42746         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
42747         (asinh_test_data): New variable.
42748         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
42749         (atan_test_data): New variable.
42750         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
42751         (atanh_test_data): New variable.
42752         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
42753         (cbrt_test_data): New variable.
42754         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
42755         (ceil_test_data): New variable.
42756         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
42757         (cos_test_data): New variable.
42758         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
42759         (cos_tonearest_test_data): New variable.
42760         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
42761         (cos_towardzero_test_data): New variable.
42762         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
42763         (cos_downward_test_data): New variable.
42764         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
42765         (cos_upward_test_data): New variable.
42766         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
42767         (cosh_test_data): New variable.
42768         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
42769         (cosh_tonearest_test_data): New variable.
42770         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
42771         (cosh_towardzero_test_data): New variable.
42772         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
42773         (cosh_downward_test_data): New variable.
42774         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
42775         (cosh_upward_test_data): New variable.
42776         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
42777         (erf_test_data): New variable.
42778         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
42779         (erfc_test_data): New variable.
42780         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
42781         (exp_test_data): New variable.
42782         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
42783         (exp_tonearest_test_data): New variable.
42784         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
42785         (exp_towardzero_test_data): New variable.
42786         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
42787         (exp_downward_test_data): New variable.
42788         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
42789         (exp_upward_test_data): New variable.
42790         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
42791         (exp10_test_data): New variable.
42792         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
42793         (exp2_test_data): New variable.
42794         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
42795         (expm1_test_data): New variable.
42796         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
42797         (fabs_test_data): New variable.
42798         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
42799         (floor_test_data): New variable.
42800         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
42801         (j0_test_data): New variable.
42802         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
42803         (j1_test_data): New variable.
42804         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
42805         (log_test_data): New variable.
42806         (log_test): Run tests with RUN_TEST_LOOP_f_f.
42807         (log10_test_data): New variable.
42808         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
42809         (log1p_test_data): New variable.
42810         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
42811         (log2_test_data): New variable.
42812         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
42813         (logb_test_data): New variable.
42814         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
42815         (logb_downward_test_data): New variable.
42816         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
42817         (nearbyint_test_data): New variable.
42818         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
42819         (rint_test_data): New variable.
42820         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
42821         (rint_tonearest_test_data): New variable.
42822         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
42823         (rint_towardzero_test_data): New variable.
42824         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
42825         (rint_downward_test_data): New variable.
42826         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
42827         (rint_upward_test_data): New variable.
42828         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
42829         (round_test_data): New variable.
42830         (round_test): Run tests with RUN_TEST_LOOP_f_f.
42831         (sin_test_data): New variable.
42832         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
42833         (sin_tonearest_test_data): New variable.
42834         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
42835         (sin_towardzero_test_data): New variable.
42836         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
42837         (sin_downward_test_data): New variable.
42838         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
42839         (sin_upward_test_data): New variable.
42840         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
42841         (sinh_test_data): New variable.
42842         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
42843         (sinh_tonearest_test_data): New variable.
42844         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
42845         (sinh_towardzero_test_data): New variable.
42846         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
42847         (sinh_downward_test_data): New variable.
42848         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
42849         (sinh_upward_test_data): New variable.
42850         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
42851         (sqrt_test_data): New variable.
42852         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
42853         (tan_test_data): New variable.
42854         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
42855         (tan_tonearest_test_data): New variable.
42856         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
42857         (tan_towardzero_test_data): New variable.
42858         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
42859         (tan_downward_test_data): New variable.
42860         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
42861         (tan_upward_test_data): New variable.
42862         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
42863         (tanh_test_data): New variable.
42864         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
42865         (tgamma_test_data): New variable.
42866         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
42867         (trunc_test_data): New variable.
42868         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
42869         (y0_test_data): New variable.
42870         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
42871         (y1_test_data): New variable.
42872         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
42873         (significand_test_data): New variable.
42874         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
42876 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
42878         [BZ #12387]
42879         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
42881 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
42883         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
42885 2013-05-10  Andreas Jaeger  <aj@suse.de>
42887         [BZ #15448]
42888         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
42889         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
42891 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
42893         * math/gen-libm-test.pl (adjust_arg): New function.
42894         (special_functions): Handle generating output in both functions
42895         and arrays.
42896         (parse_args): Likewise.
42897         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
42898         $in_func argument to parse_args.
42899         * math/libm-test.inc (struct test_f_f_data): New type.
42900         (IF_ROUND_INIT_): New macro.
42901         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
42902         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
42903         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
42904         (IF_ROUND_INIT_FE_UPWARD): Likewise.
42905         (ROUND_RESTORE_): Likewise.
42906         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
42907         (ROUND_RESTORE_FE_TONEAREST): Likewise.
42908         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
42909         (ROUND_RESTORE_FE_UPWARD): Likewise.
42910         (RUN_TEST_LOOP_f_f): New macro.
42911         (acos_test_data): New variable.
42912         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
42913         (acos_tonearest_test_data): New variable.
42914         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
42916 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
42918         * benchtests/bench-skeleton.c (startup): Fix coding style.
42920 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
42922         [BZ #6809]
42923         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
42924         negative infinity argument.
42925         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
42926         negative infinity argument.
42927         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
42928         negative infinity argument.
42929         * math/libm-test.inc (tgamma_test): Expect errno to be set for
42930         domain errors.
42932 2013-05-10  Florian Weimer  <fweimer@redhat.com>
42934         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
42935         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
42936         * iconv/iconv_prog.c (main): Likewise.
42937         * locale/programs/charmap-dir.c (charmap_readdir)
42938         (fopen_uncompressed): Likewise.
42939         * locale/programs/locfile.c (siblings_uncached)
42940         (write_locale_data): Use lstat64 instead of lstat.
42941         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
42942         stat.
42944 2013-05-10  Andreas Jaeger  <aj@suse.de>
42946         [BZ #15395]
42947         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
42948         localization.
42949         Include <locale.h>.
42951 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
42953         * elf/dl-close.c (_dl_close_worker): Add comments.
42955 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
42957         [BZ #15359]
42958         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
42959         high part of pi/2.
42960         (__ieee754_rem_pio2l): Update comments.
42962         [BZ #15429]
42963         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
42964         high part of pi/2.
42965         (__ieee754_rem_pio2l): Update comments.
42967         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
42968         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
42970         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
42971         M_PI_4l.
42973         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
42974         (M_PI_34_LOG10El): Likewise.
42975         (M_PI2_LOG10El): Likewise.
42976         (M_PI4_LOG10El): Likewise.
42977         (M_PI_LOG10El): Likewise.
42979 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42981         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42983 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
42985         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
42986         (MINUS_ZERO_INIT): Likewise.
42987         (PLUS_INFTY_INIT): Likewise.
42988         (MINUS_INFTY_INIT): Likewise.
42989         (QNAN_VALUE_INIT): Likewise.
42990         (MAX_VALUE_INIT): Likewise.
42991         (MIN_VALUE_INIT): Likewise.
42992         (MIN_SUBNORM_VALUE_INIT): Likewise.
42993         (plus_zero): Initialize with PLUS_ZERO_INIT.
42994         (minus_zero): Initialize with MINUS_ZERO_INIT.
42995         (plus_infty): Initialize with PLUS_INFTY_INIT.
42996         (minus_infty): Initialize with MINUS_INFTY_INIT.
42997         (qnan_value): Initialize with QNAN_VALUE_INIT.
42998         (max_value): Initialize with MAX_VALUE_INIT.
42999         (min_value): Initialize with MIN_VALUE_INIT.
43000         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
43002         * math/libm-test.inc (RUN_TEST_if_f): New macro.
43003         (jn_test): Use TEST_if_f instead of TEST_ff_f.
43004         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
43005         (yn_test): Use TEST_if_f instead of TEST_ff_f.
43007         * math/libm-test.inc (RUN_TEST_f_f): New macro.
43008         (RUN_TEST_2_f): Likewise.
43009         (RUN_TEST_ff_f): Likewise.
43010         (RUN_TEST_fi_f): Likewise.
43011         (RUN_TEST_fl_f): Likewise.
43012         (RUN_TEST_fff_f): Likewise.
43013         (RUN_TEST_c_f): Likewise.
43014         (RUN_TEST_f_f1): Likewise.
43015         (RUN_TEST_fF_f1): Likewise.
43016         (RUN_TEST_fI_f1): Likewise.
43017         (RUN_TEST_ffI_f1): Likewise.
43018         (RUN_TEST_c_c): Likewise.
43019         (RUN_TEST_cc_c): Likewise.
43020         (RUN_TEST_f_i): Likewise.
43021         (RUN_TEST_f_i_tg): Likewise.
43022         (RUN_TEST_ff_i_tg): Likewise.
43023         (RUN_TEST_f_b): Likewise.
43024         (RUN_TEST_f_b_tg): Likewise.
43025         (RUN_TEST_f_l): Likewise.
43026         (RUN_TEST_f_L): Likewise.
43027         (RUN_TEST_sincos): Likewise.
43028         * math/gen-libm-test.pl (new_test): Take new argument to indicate
43029         whether to show exceptions.  Do not include ");\n" in return
43030         value.
43031         (special_functions): Output call to RUN_TEST_sincos instead of
43032         check_float calls.  Update calls to new_test.
43033         (parse_args): Output call to single RUN_TEST_* macro instead of
43034         check_* calls and other assignments.  Update calls to new_test.
43036         [BZ #2546]
43037         [BZ #2560]
43038         [BZ #5159]
43039         [BZ #15426]
43040         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
43041         input to result for tgamma overflow.
43042         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
43043         (gamma_coeff): New variable.
43044         (NCOEFF): New macro.
43045         (gamma_positive): New function.
43046         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
43047         underflow here.  Use gamma_positive instead of exp (lgamma) for
43048         other arguments.
43049         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
43050         (gamma_coeff): New variable.
43051         (NCOEFF): New macro.
43052         (gammaf_positive): New function.
43053         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
43054         underflow here.  Use gamma_positive instead of exp (lgamma) for
43055         other arguments.
43056         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
43057         (gamma_coeff): New variable.
43058         (NCOEFF): New macro.
43059         (gammal_positive): New function.
43060         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
43061         underflow here.  Use gamma_positive instead of exp (lgamma) for
43062         other arguments.
43063         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
43064         (gamma_coeff): New variable.
43065         (NCOEFF): New macro.
43066         (gammal_positive): New function.
43067         (__ieee754_gammal_r): Handle positive infinity, overflow and
43068         underflow here.  Handle NaN the same as positive infinity.  Remove
43069         check x < 0xffffffff for negative integers.  Use gamma_positive
43070         instead of exp (lgamma) for other arguments.
43071         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
43072         (gamma_coeff): New variable.
43073         (NCOEFF): New macro.
43074         (gammal_positive): New function.
43075         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
43076         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
43077         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
43078         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
43079         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
43080         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
43081         * sysdeps/generic/math_private.h (__gamma_productf): New
43082         prototype.
43083         (__gamma_product): Likewise.
43084         (__gamma_productl): Likewise.
43085         * math/Makefile (libm-calls): Add gamma_product.
43086         * math/libm-test.inc (tgamma_test): Add more tests.
43087         * sysdeps/i386/fpu/libm-test-ulps: Update.
43088         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43090 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
43092         * benchtests/bench-skeleton.c (main): Preheat CPU.
43094 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
43096         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
43098 2013-05-07  Roland McGrath  <roland@hack.frob.com>
43100         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
43101         and _dl_skip_args_internal.
43103 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
43105         * manual/message.texi (Message Translation): Talk about users.
43106         Message to key mapping impacts design.
43108 2013-05-06  Roland McGrath  <roland@hack.frob.com>
43110         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
43112         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
43114         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
43115         * sysdeps/wordsize-64/glob64.c: ... here.
43117         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
43118         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
43119         New macros.
43121         * debug/getlogin_r_chk.c: Moved to ...
43122         * login/getlogin_r_chk.c: ... here.
43123         * debug/Makefile (routines): Move getlogin_r_chk to ...
43124         * login/Makefile (routines): ... here.
43125         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
43126         * login/Versions (libc: GLIBC_2.4): ... here.
43128         * io/poll.c (__poll): Renamed from poll.
43129         Add libc_hidden_def.
43130         (poll): Define as weak alias.
43132         * debug/ptsname_r_chk.c: Moved to ...
43133         * login/ptsname_r_chk.c: ... here.
43134         * debug/Makefile (routines): Move ptsname_r_chk to ...
43135         * login/Makefile (routines): ... here.
43136         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
43137         * login/Versions (libc: GLIBC_2.4): ... here.
43139         * posix/getlogin.c: Moved to ...
43140         * login/getlogin.c: ... here.
43141         * posix/getlogin_r.c: Moved to ...
43142         * login/getlogin_r.c: ... here.
43143         * posix/getlogin_r.c: Moved to ...
43144         * login/getlogin_r.c: ... here.
43145         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
43146         * login/Makefile (routines): ... here.
43147         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
43148         * login/Versions (libc: GLIBC_2.0): ... here.
43150         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
43151         (setrlimit): Define as weak alias.
43153         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
43154         Call __ names for open, ftruncate, and close.
43155         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
43156         (truncate): Define as weak alias.
43158 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
43160         * math/gen-libm-test.pl (parse_args): Initialize x before each
43161         test of frexp, modf and remquo.
43163         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
43164         test signgam value.
43166 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43168         [BZ #15418]
43169         [BZ #15419]
43170         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
43171         internal tests.
43172         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
43174 2013-05-06  Roland McGrath  <roland@hack.frob.com>
43176         * elf/dl-writev.h: New file.
43177         * elf/dl-misc.c: Include it.
43178         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
43179         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
43181 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
43183         * math/libm-test.inc (noXFails): Remove variable.
43184         (noXPasses): Likewise.
43185         (BUILD_COMPLEX_INT): Remove macro.
43186         (print_screen): Remove xfail argument.
43187         (print_screen_max_error): Likewise.
43188         (update_stats): Likewise.
43189         (print_max_error): Likewise.  Update calls to other affected
43190         functions.
43191         (print_complex_max_error): Likewise.
43192         (test_single_exception): Update calls to print_screen.
43193         (test_single_errno): Likewise.
43194         (check_float_internal): Remove xfail argument.  Update calls to
43195         other affected functions.
43196         (check_float): Likewise.
43197         (check_complex): Likewise.
43198         (check_int): Likewise.
43199         (check_long): Likewise.
43200         (check_bool): Likewise.
43201         (check_longlong): Likewise.
43202         (main): Don't print noXFails and noXPasses.
43203         * math/gen-libm-test.pl (top level): Don't mention expected
43204         failure handling in comment.
43205         (new_test): Don't handle expected failures.
43206         (parse_args): Don't mention expected failure handling in comment.
43207         (generate_testfile): Don't handle expected failures.
43208         (parse_ulps): Likewise.
43209         (print_ulps_file): Likewise.
43210         (get_failure): Remove function.
43211         (output_test): Don't handle expected failures.
43212         * make/README.libm-test: Don't mention expected failure handling.
43214         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
43215         (minus_zero): Likewise.
43216         (plus_infty): Likewise.
43217         (minus_infty): Likewise.
43218         (qnan_value): Likewise.
43219         (max_value): Likewise.
43220         (min_value): Likewise.
43221         (min_subnorm_value): Likewise.
43222         (initialize): Do not initialize those variables dynamically.
43224 2013-05-03  Roland McGrath  <roland@hack.frob.com>
43226         * io/open.c (__open_2): Moved to ...
43227         * io/open_2.c: ... this new file.
43228         * io/open64.c (__open64_2): Moved to ...
43229         * io/open64_2.c: ... this new file.
43230         * io/openat.c (__openat_2): Moved to ...
43231         * io/openat_2.c: ... this new file.
43232         * io/openat64.c (__openat64_2): Moved to ...
43233         * io/openat64_2.c: ... this new file.
43234         * io/Makefile (routines): Add them.
43235         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
43236         * sysdeps/unix/sysv/linux/open_2.c: File removed.
43237         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
43238         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
43239         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
43240         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
43241         (__openat64): Add hidden_ver.
43242         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
43243         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
43245         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
43246         Separately conditionalize setting of GLRO(dl_sysinfo) so
43247         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
43248         as well, but the actual setting is only under [NEED_DL_SYSINFO].
43250 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43252         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
43253         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
43254         definition.
43255         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
43256         * sysdeps/unix/sysv/linux/powerpc/init-first.c
43257         (_libc_vdso_platform_setup): Add __vdso_time initialization.
43258         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
43259         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
43261 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
43263         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
43264         test signgam value.
43266         * math/libm-test.inc (hypot_test): Do not use
43267         IGNORE_ZERO_INF_SIGN.
43269 2013-05-03  Andreas Jaeger  <aj@suse.de>
43271         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
43272         Linux 3.9.
43273         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
43274         (PF_MAX): Adjust for VSOCK change.
43276 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43278         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43280 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
43282         [BZ #15264]
43283         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
43284         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
43285         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
43287 2013-05-02  David S. Miller  <davem@davemloft.net>
43289         * sysdeps/sparc/fpu/libm-test-ulps: Update.
43291 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
43293         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
43295 2013-05-01  Roland McGrath  <roland@hack.frob.com>
43297         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
43299 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
43301         [BZ #14952]
43302         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
43303         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
43304         Use __attribute__ ((__gnu_inline__)).
43305         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
43306         Don't use __attribute__ ((__gnu_inline__)).
43308 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
43310         [BZ #15423]
43311         * math/s_catan.c (__catan): Handle small real or imaginary part of
43312         input specially to avoid spurious underflow.
43313         * math/s_catanf.c (__catanf): Likewise.
43314         * math/s_catanh.c (__catanh): Likewise.
43315         * math/s_catanhf.c (__catanhf): Likewise.
43316         * math/s_catanhl.c (__catanhl): Likewise.
43317         * math/s_catanl.c (__catanl): Likewise.
43318         * math/libm-test.inc (catan_test): Add more tests.
43319         (catanh_test): Likewise.
43320         * sysdeps/i386/fpu/libm-test-ulps: Update.
43321         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43323 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43325         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43327 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
43329         [BZ #15416]
43330         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
43331         accurately for denominator in atan2.
43332         * math/s_catanf.c (__catanf): Likewise.
43333         * math/s_catanh.c (__catanh): Likewise.
43334         * math/s_catanhf.c (__catanhf): Likewise.
43335         * math/s_catanhl.c (__catanhl): Likewise.
43336         * math/s_catanl.c (__catanl): Likewise.
43337         * math/libm-test.inc (catan_test): Add more tests.
43338         (catanh_test): Likewise.
43339         * sysdeps/i386/fpu/libm-test-ulps: Update.
43340         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43342 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
43344         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
43346         * benchtests/Makefile (bench): Remove slow benchmarks.
43347         * benchtests/atan-inputs: Add slow benchmark inputs.
43348         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
43349         (BENCH_FUNC): Accept variant offset.
43350         (VARIANT): Define.
43351         * benchtests/bench-skeleton.c (main): Run benchmark for each
43352         variant.
43353         * benchtests/cos-inputs: Add slow benchmark inputs.
43354         * benchtests/exp-inputs: Likewise.
43355         * benchtests/pow-inputs: Likewise.
43356         * benchtests/sin-inputs: Likewise.
43357         * benchtests/slowatan-inputs: Remove.
43358         * benchtests/slowatan.c: Remove.
43359         * benchtests/slowcos-inputs: Remove.
43360         * benchtests/slowcos.c: Remove.
43361         * benchtests/slowexp-inputs: Remove.
43362         * benchtests/slowexp.c: Remove.
43363         * benchtests/slowpow-inputs: Remove.
43364         * benchtests/slowpow.c: Remove.
43365         * benchtests/slowsin-inputs: Remove.
43366         * benchtests/slowsin.c: Remove.
43367         * benchtests/slowtan-inputs: Remove.
43368         * benchtests/slowtan.c: Remove.
43369         * benchtests/tan-inputs: Add slow benchmark inputs.
43370         * scripts/bench.pl: Parse comments and directives.
43372         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
43373         in CPPFLAGS.
43374         ($(objpfx)bench-%.c): Remove *-ITER.
43375         * benchtests/bench-modf.c: Remove definition of ITER.
43376         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
43377         (main): Loop for DURATION seconds instead of fixed number of
43378         iterations.
43379         * scripts/bench.pl: Don't expect iterations in parameters.
43381 2013-04-29  Roland McGrath  <roland@hack.frob.com>
43383         * io/fchdir.c (__fchdir): Renamed from fchdir.
43384         (fchdir): Define as weak alias.
43386 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
43388         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
43389         (ERRNO_EDOM): Likewise.
43390         (ERRNO_ERANGE): Likewise.
43391         (noErrnoTests): New variable.
43392         (init_max_error): Set errno to 0.
43393         (test_single_errno): New function.
43394         (test_errno): Likewise.
43395         (check_float_internal): Call test_errno.  Set errno to 0.
43396         (check_complex): Refer to errno tests in comment.
43397         (check_int): Call test_errno.  Set errno to 0.
43398         (check_long): Likewise.
43399         (check_bool): Likewise.
43400         (check_longlong): Likewise.
43401         (cos_test): Use ERRNO_* flags for errno tests instead of
43402         check_int.
43403         (expm1_test): Likewise.
43404         (fmod_test): Likewise.
43405         (ilogb_test): Likewise.
43406         (lgamma_test): Likewise.
43407         (pow_test): Likewise.
43408         (remainder_test): Likewise.
43409         (sin_test): Likewise.
43410         (tan_test): Likewise.
43411         (yn_test): Likewise.
43412         (initialize): Set errno to 0.
43413         (main): Print number of errno tests.
43414         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
43416 2013-04-29  Andreas Jaeger  <aj@suse.de>
43418         [BZ #15084]
43419         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
43420         and RES_USEVC.
43422         [BZ #15085]
43423         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
43424         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
43425         unimplemented.
43427         [BZ #15380]
43428         * stdlib/random.c (__initstate): Return NULL if
43429         __initstate fails.
43431         [BZ #15086]
43432         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
43433         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
43434         RES_SNGLKUPREOP.
43436 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43438         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43440 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
43442         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
43443         of individual tests.
43444         (casin_test): Likewise.
43445         (casinh_test): Likewise.
43447 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
43449         [BZ #15409]
43450         * math/s_catan.c (__catan): Handle arguments with large real or
43451         imaginary part separately without squaring.
43452         * math/s_catanf.c (__catanf): Likewise.
43453         * math/s_catanh.c (__catanh): Likewise.
43454         * math/s_catanhf.c (__catanhf): Likewise.
43455         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
43456         and redefine.
43457         (__catanhl): Handle arguments with large real or imaginary part
43458         separately without squaring.
43459         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
43460         and redefine.
43461         (__catanl): Handle arguments with large real or imaginary part
43462         separately without squaring.
43463         * math/libm-test.inc (catan_test): Add more tests.
43464         (catanh_test): Likewise.
43465         * sysdeps/i386/fpu/libm-test-ulps: Update.
43466         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43468 2013-04-27  Andreas Jaeger  <aj@suse.de>
43470         [BZ #15007]
43471         * stdlib/stdlib.h: Update guards for qecvt.
43472         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
43473         <stdlib.h>.
43475 2013-04-27  Allan McRae  <allan@archlinux.org>
43477         * sysdeps/i386/fpu/libm-test-ulps: Update.
43479 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
43481         [BZ #15406]
43482         * math/s_catan.c: Include <float.h>.
43483         (__catan): Ensure underflow exception occurs for underflowed
43484         result.
43485         * math/s_catanf.c: Include <float.h>.
43486         (__catanf): Ensure underflow exception occurs for underflowed
43487         result.
43488         * math/s_catanh.c: Include <float.h>.
43489         (__catanh): Ensure underflow exception occurs for underflowed
43490         result.
43491         * math/s_catanhf.c: Include <float.h>.
43492         (__catanhf): Ensure underflow exception occurs for underflowed
43493         result.
43494         * math/s_catanhl.c: Include <float.h>.
43495         (__catanhl): Ensure underflow exception occurs for underflowed
43496         result.
43497         * math/s_catanl.c: Include <float.h>.
43498         (__catanl): Ensure underflow exception occurs for underflowed
43499         result.
43500         * math/libm-test.inc (catan_test): Add more tests.
43501         (catanh_test): Likewise.
43503         [BZ #15405]
43504         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
43505         underflowed result.
43506         * math/s_ccoshf.c (__ccoshf): Likewise.
43507         * math/s_ccoshl.c (__ccoshl): Likewise.
43508         * math/s_csin.c (__csin): Likewise.
43509         * math/s_csinf.c (__csinf): Likewise.
43510         * math/s_csinh.c (__csinh): Likewise.
43511         * math/s_csinhf.c (__csinhf): Likewise.
43512         * math/s_csinhl.c (__csinhl): Likewise.
43513         * math/s_csinl.c (__csinl): Likewise.
43514         * math/libm-test.inc (ccos_test): Add more tests.
43515         (ccosh_test): Likewise.
43516         (csin_test): Likewise.
43517         (csinh_test): Likewise.
43519 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43521         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
43522         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
43523         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
43524         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
43525         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
43526         powerpc/power5+/fpu folders.
43527         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
43530 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
43532         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43534 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
43536         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
43537         additions to variable.
43538         [$(config-machine) = x86_64] (modules-names): Likewise.
43539         ($(objpfx)tst-audit3): Remove dependency.
43540         ($(objpfx)tst-audit3.out): Likewise.
43541         ($(objpfx)tst-audit4): Likewise.
43542         ($(objpfx)tst-audit4.out): Likewise.
43543         ($(objpfx)tst-audit5): Likewise.
43544         ($(objpfx)tst-audit5.out): Likewise.
43545         ($(objpfx)tst-audit6): Likewise.
43546         ($(objpfx)tst-audit6.out): Likewise.
43547         ($(objpfx)tst-audit7): Likewise.
43548         ($(objpfx)tst-audit7.out): Likewise.
43549         (tst-audit3-ENV): Remove variable.
43550         (tst-audit4-ENV): Likewise.
43551         (tst-audit5-ENV): Likewise.
43552         (tst-audit6-ENV): Likewise.
43553         (tst-audit7-ENV): Likewise.
43554         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
43555         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
43556         addition to variable.
43557         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
43558         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
43559         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
43560         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
43561         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
43562         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
43563         tst-audit3, tst-audit4 and tst-audit5.
43564         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
43565         tst-audit6 and tst-audit7.
43566         [$(subdir) = elf] (modules-names): Add audit modules for those
43567         tests.
43568         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
43569         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
43570         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
43571         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
43572         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
43573         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
43574         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
43575         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
43576         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
43577         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
43578         [$(subdir) = elf] (tst-audit3-ENV): New variable.
43579         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
43580         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
43581         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
43582         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
43583         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
43584         Likewise.
43585         [$(subdir) = elf && $(config-cflags-avx) = yes]
43586         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
43587         [$(subdir) = elf && $(config-cflags-avx) = yes]
43588         (CFLAGS-tst-auditmod4a.c): Likewise.
43589         [$(subdir) = elf && $(config-cflags-avx) = yes]
43590         (CFLAGS-tst-auditmod4b.c): Likewise.
43591         [$(subdir) = elf && $(config-cflags-avx) = yes]
43592         (CFLAGS-tst-auditmod6b.c): Likewise.
43593         [$(subdir) = elf && $(config-cflags-avx) = yes]
43594         (CFLAGS-tst-auditmod6c.c): Likewise.
43595         [$(subdir) = elf && $(config-cflags-avx) = yes]
43596         (CFLAGS-tst-auditmod7b.c): Likewise.
43597         * elf/tst-audit3.c: Move to ...
43598         * sysdeps/x86_64/tst-audit3.c: ... here.
43599         * elf/tst-audit4.c: Move to ...
43600         * sysdeps/x86_64/tst-audit4.c: ... here.
43601         * elf/tst-audit5.c: Move to ...
43602         * sysdeps/x86_64/tst-audit5.c: ... here.
43603         * elf/tst-audit6.c: Move to ...
43604         * sysdeps/x86_64/tst-audit6.c: ... here.
43605         * elf/tst-audit7.c: Move to ...
43606         * sysdeps/x86_64/tst-audit7.c: ... here.
43607         * elf/tst-auditmod3a.c: Move to ...
43608         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
43609         * elf/tst-auditmod3b.c: Move to ...
43610         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
43611         * elf/tst-auditmod4a.c: Move to ...
43612         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
43613         * elf/tst-auditmod4b.c: Move to ...
43614         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
43615         * elf/tst-auditmod5a.c: Move to ...
43616         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
43617         * elf/tst-auditmod5b.c: Move to ...
43618         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
43619         * elf/tst-auditmod6a.c: Move to ...
43620         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
43621         * elf/tst-auditmod6b.c: Move to ...
43622         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
43623         * elf/tst-auditmod6c.c: Move to ...
43624         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
43625         * elf/tst-auditmod7a.c: Move to ...
43626         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
43627         * elf/tst-auditmod7b.c: Move to ...
43628         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
43630 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
43632         [BZ #15366]
43633         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
43634         define unconditionally.
43635         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
43636         define unconditionally.
43637         (INT8_C, INT16_C, etc.): Likewise.
43639 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
43641         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
43642         __ehdr_start with hidden visibility.
43644         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
43646 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
43648         * math/libm-test.inc (cos_test): Use accurate hex constants.
43649         (sincost_test): Likewise.
43651 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
43653         * math/libm-test.inc (catan_test): Add more tests.
43654         (catanh_test): Likewise.
43656         * math/s_catanf.c (__catanf): Use suffixed floating-point
43657         constants.
43658         * math/s_catanhf.c (__catanhf): Likewise.
43659         * math/s_catanhl.c (__catanhl): Likewise.
43660         * math/s_catanl.c (__catanl): Likewise.
43662         [BZ #15394]
43663         * math/s_catan.c (__catan): Calculate imaginary part of result
43664         with log1p not log unless computing log of number close to 0.
43665         * math/s_catanf.c (__catanf): Likewise.
43666         * math/s_catanl.c (__catanl): Likewise.
43667         * math/s_catanh.c (__catanh): Calculate real part of result with
43668         log1p not log unless computing log of number close to 0.
43669         * math/s_catanhf.c (__catanhf): Likewise.
43670         * math/s_catanhl.c (__catanhl): Likewise.
43671         * math/libm-test.inc (catan_test): Add more tests.
43672         (catanh_test): Likewise.
43673         * sysdeps/i386/fpu/libm-test-ulps: Update.
43674         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43676 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
43678         * benchtests/Makefile: Mention files in which fast and slow
43679         paths of math functions are implemented.
43681 2013-04-23  Roland McGrath  <roland@hack.frob.com>
43683         * sysdeps/posix/timespec_get.c: New file.
43685 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43687         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
43688         POWER.
43689         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
43690         for POWER.
43691         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
43692         powerpc/power5/fpu folders.
43693         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
43694         * benchtests/Makefile: Add modf testcase.
43695         * benchtests/bench-modf.c: New file: Benchmark test for mo
43697 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
43699         [BZ #14888]
43700         * time/Makefile (tests): Add tst-strptime-whitespace.
43701         * time/strptime_l.c (get_number): Use ISSPACE.
43702         (__strptime_internal): Likewise.
43703         * time/tst-strptime-whitespace.c: New test case.
43705 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
43707         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
43708         member.
43709         (_nss_files_init): Set it here.
43711 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
43713         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
43714         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
43715         unsigned.
43717 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
43719         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
43721 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
43723         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
43724         size just once.
43726 2013-04-21  David S. Miller  <davem@davemloft.net>
43728         * po/ru.po: Update Russion translation from translation project.
43730 2013-04-17  Adam Conrad  <adconrad@0c3.net>
43732         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
43733         and setfsgid.
43735 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
43737         * configure.in: Remove i386 configure warning. Remove i386 case.
43738         * configure: Regenerate.
43739         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
43740         Add example to error message.
43741         * sysdeps/i386/configure: Regenerate.
43743 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
43745         * benchtests/Makefile (bench): Add cos, tan, slowcos and
43746         slowtan.
43747         * benchtests/cos-inputs: New file.
43748         * benchtests/slowcos-inputs: New file.
43749         * benchtests/slowcos.c: New file.
43750         * benchtests/slowtan-inputs: New file.
43751         * benchtests/slowtan.c: New file.
43752         * benchtests/tan-inputs: New file.
43754 2013-04-16  Roland McGrath  <roland@hack.frob.com>
43756         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
43757         considered kosher.
43759 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
43761         * benchtests/Makefile: Include cppflags-iterator.mk to add
43762         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
43764         * Makefile.in (bench-clean): New target.
43765         * benchtests/Makefile (bench-clean): Likewise.
43767 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
43769         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
43771 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
43773         * stdio-common/tstdiomisc.c: Fix coding-style violation.
43775 2013-04-15  Andreas Schwab  <schwab@suse.de>
43777         * nscd/grpcache.c (cache_addgr): Properly check for short write.
43778         * nscd/initgrcache.c (addinitgroupsX): Likewise.
43779         * nscd/pwdcache.c (cache_addpw): Likewise.
43780         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
43781         more than recsize.
43783 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
43785         * benchtests/Makefile (bench): Write all output to
43786         bench-out.tmp together.
43788 2013-04-15  Andreas Schwab  <schwab@suse.de>
43790         * nscd/nscd.c (main): Don't fork again after closing files.
43792 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
43794         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
43796         * benchtests/Rules (bench-deps): Collect dependencies into a
43797         single variable.  Add Makefile to dependencies.
43798         ($(objpfx)bench-%.c): Depend on bench-deps.
43800 2013-04-12  Roland McGrath  <roland@hack.frob.com>
43801             Xavier Roche  <roche+kml2@exalead.com>
43803         [BZ #15361]
43804         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
43805         just that it's a file descriptor.
43806         * manual/llio.texi (Synchronizing AIO Operations): Update description
43807         for EBADF error from aio_fsync.
43809 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
43811         * Rules (bench): Move target definition...
43812         * benchtests/Makefile: ... here.
43814 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
43816         * math/libm-test.inc (cos_test): Fix PI/2 test.
43817         (sincos_test): Likewise.
43818         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
43819         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
43821 2013-04-11  Andreas Schwab  <schwab@suse.de>
43823         [BZ #13988]
43824         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
43825         accept exponent character only when digits were seen.
43826         * stdio-common/Makefile (tests): Add bug26.
43827         * stdio-common/bug26.c: New file.
43829         [BZ #14293]
43830         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
43831         non-freeable.
43833 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
43835         * Makeconfig (rtld-prefix): Define built linker prefix.
43836         * Rules (run-bench): Use it.
43837         * math/Makefile (run-regen-ulps): Likewise.
43839         * Rules (bench): Remove eval.
43841 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
43842             Roland McGrath  <roland@hack.frob.com>
43843             Ondrej Bilka  <neleai@seznam.cz>
43845         [BZ #15346]
43846         * time/getdate.c: Include ctype.h and alloca.h.
43847         (__getdate_r): Trim leading and trailing spaces of input.
43848         * time/tst-getdate.c (tests): Add tests with leading and
43849         trailing spaces.
43851 2013-04-08  Roland McGrath  <roland@hack.frob.com>
43853         [BZ #14280]
43854         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
43855         when computing value.
43857 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
43859         * math/README.libm-test (How can I generate "libm-test-ulps"?):
43860         Use testrun.sh to run libm tests.
43862         [BZ #15309]
43863         * elf/dl-open.c (dl_open_worker): memset all of seen array.
43865 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
43867         [BZ #15264]
43868         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
43870 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
43872         * Makefile.in (regen-ulps): New target.
43873         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
43874         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
43875         [ifneq (no,$(PERL)] (regen-ulps): New target.
43876         [ifeq (no,$(PERL)] (regen-ulps): New target.
43877         * math/libm-test.inc (ulps_file_name): Define.
43878         (output_dir): New variable.
43879         (options): Add "output-dir" option.
43880         (parse_opt): Handle 'o' case.
43881         (main): If output_dir is non-NULL use it as a prefix
43882         otherwise use "".
43883         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
43885 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
43887         [BZ #10060, #10062]
43888         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
43889         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
43890         fail configure if __sync_val_compare_and_swap is not inlined.
43891         * sysdeps/i386/configure: Regenerate.
43892         * configure.in: Build for i686 when configured for i386.
43893         * configure: Regenerate.
43894         * README: Remove i386 reference.
43896 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
43898         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
43899         * sysdeps/s390/s390-64/sysdep.h: Likewise.
43901 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
43903         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
43904         (lmsnanval): New variables.
43905         (F): Add conversion tests.
43906         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
43907         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
43909         * stdio-common/tstdiomisc.c (F): Properly collect individual
43910         tests' results.
43912         [BZ #14686, #15336]
43913         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
43914         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
43915         Instead, use input NaN values or generate a qNaN by arithmetic
43916         operation.  Also fix bugs to comply with the standard.
43917         * math/libm-test.inc (remainder_test): Add more tests.
43919         [BZ #15335, #15342]
43920         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
43921         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
43922         input NaN values or generate a qNaN by arithmetic operation.
43924         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
43925         unreachable code.
43927         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
43928         definitions.
43930 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
43932         [BZ #14478]
43933         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
43934         underflowed result.
43935         * math/s_cexpf.c (__cexpf): Likewise.
43936         * math/s_cexpl.c (__cexpl): Likewise.
43937         * math/libm-test.inc (cexp_test): Add more tests.
43939 2013-04-03  Andreas Schwab  <schwab@suse.de>
43941         [BZ #15330]
43942         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
43943         order arrays from heap if bigger than alloca cutoff.
43945 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
43947         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
43948         (SNAN_TESTS_double): Refer to GCC PR56831.
43949         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
43950         GCC PR56828.
43952 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
43954         * Rules (bench): Move bench.out after the run is complete.
43956         * Rules (bench): Echo currently running benchmark.
43958         * benchtests/Makefile (bench): Add atan and slowatan.
43959         * benchtests/atan-inputs: New file.
43960         * benchtests/slowatan-inputs: New file.
43961         * benchtests/slowatan.c: New file.
43963         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
43964         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
43965         its value.
43967         [BZ #15305]
43968         * sysdeps/unix/sysv/linux/kernel-features.h
43969         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
43970         __ASSUME_XFS_RESTRICTED_CHOWN.
43971         * sysdeps/unix/sysv/linux/pathconf.c
43972         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
43973         Save and restore errno.
43975 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
43977         [BZ #15327]
43978         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
43979         arguments using __kernel_casinh.
43980         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
43981         arguments using __kernel_casinhf.
43982         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
43983         arguments using __kernel_casinhl.
43984         * math/libm-test.inc (cacosh_test): Add more tests.
43985         * sysdeps/i386/fpu/libm-test-ulps: Update.
43986         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43988 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
43990         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
43991         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
43993         * bench/Makefile (bench): Add sin and slowsin.
43994         * benchtests/sin-inputs: New file.
43995         * benchtests/slowsin-inputs: New file.
43996         * benchtests/slowsin.c: New file.
43998         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
43999         (bench): Add slowexp and slowpow.
44000         (exp-ITER): Increase iterations.
44001         (pow-ITER): Likewise.
44002         * benchtests/exp-inputs: Change input.
44003         * benchtests/pow-inputs: Likewise.
44004         * benchtests/slowexp-inputs: New file.
44005         * benchtests/slowexp.c: New file.
44006         * benchtests/slowpow-inputs: New file.
44007         * benchtests/slowpow.c: New file.
44009 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44011         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
44012         instructions.
44013         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
44014         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
44015         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
44016         * benchtests/Makefile: Add rint benchtest.
44017         * benchtests/rint-inputs: Input for rint benchtest.
44019 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
44021         * Versions.def (libm): Add GLIBC_2.18.
44022         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
44023         hidden libm prototypes.
44024         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
44025         * math/Makefile (libm-calls): Add s_issignaling.
44026         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
44027         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
44028         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
44029         declaration.
44030         * math/math.h [__USE_GNU] (issignaling): New macro.
44031         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
44032         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
44033         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
44034         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
44035         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
44036         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
44037         * manual/arith.texi (issignaling): New section.
44038         * manual/libm-err-tab.pl (@all_functions): Update comment.
44039         * math/gen-libm-test.pl (parse_args): Apply special handling for
44040         issignaling.
44041         * math/libm-test.inc (print_float, issignaling_test): New
44042         functions.
44043         (check_float_internal): Add issignaling checks.
44044         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
44045         default definition.
44046         * sysdeps/powerpc/math-tests.h: New file.
44047         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
44048         tests.
44049         * math/test-snan.c (TEST_FUNC): Likewise.
44051 2013-03-30  David S. Miller  <davem@davemloft.net>
44053         * po/de.po: Update from translation team.
44055 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
44057         [BZ #10357]
44058         * math/k_casinh.c (__kernel_casinh): Handle arguments with
44059         imaginary part less than 1.0 and real part less than 0.5
44060         specially.
44061         * math/k_casinhf.c (__kernel_casinhf): Likewise.
44062         * math/k_casinhl.c (__kernel_casinhl): Likewise.
44063         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
44064         (cacos_test): Add more tests.
44065         (casin_test): Likewise.
44066         (casinh_test): Likewise.
44067         * sysdeps/i386/fpu/libm-test-ulps: Update.
44068         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44070 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
44072         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
44073         ONE with its value.
44075         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
44076         (__pow_mp): Replace ONE and MONE with their values.
44077         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
44078         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
44079         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
44080         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
44081         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
44082         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
44084         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
44086         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
44087         (__pow_mp): Replace ZERO and MZERO with their values.
44088         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
44089         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
44090         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
44091         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
44092         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
44093         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
44094         (__sqr): Likewise.
44096         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
44098         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
44100 2013-03-28  Roland McGrath  <roland@hack.frob.com>
44102         * include/stdlib.h [!SHARED] (__call_tls_dtors):
44103         Declare with __attribute__ ((weak)).
44104         * stdlib/exit.c (__libc_atexit) [!SHARED]:
44105         Call __call_tls_dtors only if it's not NULL.
44107 2013-03-28  Roland McGrath  <roland@hack.frob.com>
44109         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
44110         didn't do it already, then set _dl_phdr and _dl_phnum based on the
44111         magic __ehdr_start linker symbol if it's defined.
44112         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
44113         them up here if it was already done.
44115         * elf/dl-support.c (_dl_phdr): Make pointer to const.
44116         (_dl_aux_init): Use const in cast when setting it.
44117         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
44118         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
44119         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
44121         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
44122         Declare them here.
44123         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
44124         * csu/libc-tls.c: Nor here.
44125         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
44127         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
44128         (__libc_message): Never call vsyslog.
44130 2013-03-28  Alan Modra  <amodra@gmail.com>
44132         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
44133         Define as empty.
44134         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
44135         Likewise.
44137 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44139         [BZ #15214]
44140         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
44141         underflow.
44142         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44144 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
44146         [BZ #15304]
44147         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
44148         Don't add gid passed as argument.
44150         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
44152 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
44154         [BZ #15307]
44155         * math/k_casinh.c (__kernel_casinh): Handle arguments with
44156         imaginary part between 1.0 and 1.5 and real part less than 0.5
44157         specially.
44158         * math/k_casinhf.c (__kernel_casinhf): Likewise.
44159         * math/k_casinhl.c (__kernel_casinhl): Likewise.
44160         * math/libm-test.inc (cacos_test): Add more tests.
44161         (casin_test): Likewise.
44162         (casinh_test): Likewise.
44163         * sysdeps/i386/fpu/libm-test-ulps: Update.
44164         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44166 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
44168         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
44169         constants.
44170         (norm): Likewise.
44171         (denorm): Likewise.
44172         (__dbl_mp): Likewise.
44173         (add_magnitudes): Likewise.
44174         (sub_magnitudes): Likewise.
44175         (__add): Likewise.
44176         (__sub): Likewise.
44177         (__mul): Likewise.
44178         (__sqr): Likewise.
44179         (__inv): Likewise.
44180         (__dvd): Likewise.
44182         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
44183         commented code.
44184         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
44185         (__dubcos): Likewise.
44186         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
44187         (__ieee754_acos): Likewise.
44188         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
44189         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
44190         (__exp1): Likewise.
44191         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
44192         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
44193         (log1): Likewise.
44194         (my_log2): Likewise.
44195         (checkint): Likewise.
44196         * sysdeps/ieee754/dbl-64/e_remainder.c
44197         (__ieee754_remainder): Likewise.
44198         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
44199         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
44200         (bsloww): Likewise.
44201         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
44203         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
44204         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
44205         MANTISSA_STORE_T to store computations on mantissa.  Use
44206         macros for rounding and division.
44207         (denorm): Likewise.
44208         (__dbl_mp): Likewise.
44209         (add_magnitudes): Likewise.
44210         (sub_magnitudes): Likewise.
44211         (__mul): Likewise.
44212         (__sqr): Likewise.
44213         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
44214         powers of two in terms of TWOPOW macro.
44215         (mp_no): Make type of mantissa as MANTISSA_T.
44216         [!RADIXI]: Define RADIXI.
44217         [!TWO52]: Define TWO52.
44218         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
44220 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44222         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
44223         llroundl symbol when building for PPC32.
44225 2013-03-24  Mark H Weaver  <mhw@netris.org>
44227         * manual/arith.texi (Normalization Functions): Fix prototypes for
44228         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
44230 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44232         [BZ #13889]
44233         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
44234         high value to check if expl overflow.
44235         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
44236         to check for underflow and overflow.
44237         * math/libm-test.inc: Add exp test.
44239 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
44241         [BZ #11120]
44242         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
44243         with NOT_IN_libc.
44245 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44247         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
44248         symbol.
44250 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
44252         * math/gen-libm-test.pl (parse_args, special_functions): Properly
44253         wrap blocks consisting of several statements.
44255         * sysdeps/generic/math-tests.h: New file.
44256         * sysdeps/i386/fpu/math-tests.h: Likewise.
44257         * math/test-snan.c: Include it.
44258         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
44260 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
44262         [BZ #15285]
44263         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
44264         (__ieee754_j0l): Do not improve calculations using cos of twice
44265         input for inputs above LDBL_MAX / 2.0L.
44266         (__ieee754_y0l): Likewise.
44267         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
44268         (__ieee754_j1l): Do not improve calculations using cos of twice
44269         input for inputs above LDBL_MAX / 2.0L.
44270         (__ieee754_y1l): Likewise.
44271         * math/libm-test.inc (j0_test): Add another test.
44272         (j1_test): Likewise.
44273         (y0_test): Likewise.
44274         (y1_test): Likewise.
44275         * sysdeps/i386/fpu/libm-test-ulps: Update.
44277 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
44279         * Rules ($(objpfx)bench-%.c): Include code from a C source
44280         file.
44282 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
44284         [BZ #15287]
44285         * math/k_casinh.c (__kernel_casinh): Handle arguments with
44286         imaginary part 1.0 and real part less than 0.5 specially.
44287         * math/k_casinhf.c (__kernel_casinhf): Likewise.
44288         * math/k_casinhl.c (__kernel_casinhl): Likewise.
44289         * math/libm-test.inc (cacos_test): Add more tests.
44290         (casin_test): Likewise.
44291         (casinh_test): Likewise.
44292         * sysdeps/i386/fpu/libm-test-ulps: Update.
44293         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44295 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
44297         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
44298         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
44300 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
44302         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
44303         * config.make.in (config-cflags-sse4): Remove variable.
44304         (config-cflags-avx): Likewise.
44305         (config-cflags-sse2avx): Likewise.
44306         (config-cflags-novzeroupper): Likewise.
44307         (config-asflags-i686): Likewise.
44308         (have-mfma4): Likewise.
44309         (have-as-vis3): Likewise.
44310         (MIG): Likewise.
44311         * configure.in (MIG): Do not AC_SUBST.
44312         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
44313         (libc_cv_cc_sse4): Do not AC_SUBST.
44314         (libc_cv_cc_avx): Likewise.
44315         (libc_cv_cc_sse2avx): Likewise.
44316         (libc_cv_cc_novzeroupper): Likewise.
44317         (libc_cv_cc_fma4): Likewise.
44318         (libc_cv_as_i686): Likewise.
44319         (libc_cv_sparc_as_vis3): Likewise.
44320         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
44321         LIBC_CONFIG_VAR.
44322         (config-asflags-i686): Likewise.
44323         (config-cflags-avx): Likewise.
44324         (config-cflags-sse2avx): Likewise.
44325         (have-mfma4): Likewise.
44326         (config-cflags-novzeroupper): Likewise.
44327         * sysdeps/mach/configure.in (MIG): Likewise.
44328         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
44329         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
44330         LIBC_CONFIG_VAR.
44331         (config-cflags-avx): Likewise.
44332         (config-cflags-sse2avx): Likewise.
44333         (have-mfma4): Likewise.
44334         (config-cflags-novzeroupper): Likewise.
44335         * configure: Regenerated.
44336         * sysdeps/i386/configure: Likewise.
44337         * sysdeps/mach/configure: Likewise.
44338         * sysdeps/sparc/configure: Likewise.
44339         * sysdeps/x86_64/configure: Likewise.
44341 2013-03-20  Roland McGrath  <roland@hack.frob.com>
44343         [BZ #14812]
44344         * locale/programs/localedef.c (options): Put N_ translation marker
44345         on argument names, not just descriptions.
44347 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
44349         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
44351 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
44353         [BZ #14176]
44354         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
44356 2013-03-19  Roland McGrath  <roland@hack.frob.com>
44358         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
44359         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
44360         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
44361         [!BEFORE_ABORT] (before_abort): New function.
44362         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
44363         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
44364         (writev_for_fatal): New function.
44365         (WRITEV_FOR_FATAL): New macro; call that.
44366         (backtrace_and_maps): New function.
44367         (BEFORE_ABORT): New macro; call that.
44368         (struct str_list): Type removed.
44369         (__libc_message, __libc_fatal): Functions removed.
44370         Include <sysdeps/posix/libc_fatal.c> instead.
44372 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
44374         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
44375         constants.
44376         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
44377         double constants.
44379 2013-03-19  Andreas Schwab  <schwab@suse.de>
44381         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
44382         * sysdeps/gnu/configure: Regenerate.
44384         * configure.in: Substitute libc_cv_rtlddir.
44385         * configure: Regenerate.
44386         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
44387         * Makeconfig (rtlddir, inst_rtlddir): New variables.
44388         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
44389         * elf/Makefile (install-others, CFLAGS-interp.c)
44390         (ldso_install, common-ldd-rewrite): Likewise.
44391         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
44392         $(inst_slibdir)/$(rtld-installed-name).
44393         * scripts/rellns-sh: Add -p option.
44394         * Makerules (make-shlib-link): Use rellns-sh to get relative name
44395         for source.
44397 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
44399         * manual/nptl.texi: Renamed to ...
44400         * manual/threads.texi: ... this.
44401         * manual/Makefile (chapters): Update.
44403 2013-03-18  Roland McGrath  <roland@hack.frob.com>
44405         [BZ #14812]
44406         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
44407         on argument names, not just descriptions.
44408         * malloc/memusagestat.c (options): Likewise.
44409         * nss/getent.c (options): Likewise.
44411 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
44413         [BZ #14812]
44414         * iconv/iconv_prog.c (options): Put N_ translation marker
44415         on argument names, not just descriptions.
44416         * iconv/iconvconfig.c (options): Likewise.
44418 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
44420         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
44421         implementation which is faster on all x86_64 architectures.
44422         Tested on AMD, Intel Nehalem, SNB, IVB.
44423         * sysdeps/x86_64/strnlen.S: Likewise.
44425         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
44426         Remove all multiarch strlen and strnlen versions.
44427         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
44428         Remove strlen and strnlen related parts.
44430         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
44431         Inline strlen part.
44432         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
44434         * sysdeps/x86_64/multiarch/strlen.S: Remove.
44435         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
44436         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
44437         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
44438         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
44439         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
44441 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
44443         * manual/memory.texi (Malloc Tunable Parameters):
44444         Sort parameters alphabetically. Add comments for missing entries.
44446 2013-03-17  David S. Miller  <davem@davemloft.net>
44448         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44450 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
44452         [BZ #15283]
44453         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
44454         for arguments at most half maximum finite value.
44455         * math/libm-test.inc (j0_test): Add more tests.
44456         (j1_test): Likewise.
44457         (y0_test): Likewise.
44458         (y1_test): Likewise.
44459         * sysdeps/i386/fpu/libm-test-ulps: Update.
44460         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44462         [BZ #14155]
44463         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
44464         1 / x and functions P and Q for arguments above 0x1p256L.
44465         (__ieee754_y0l): Likewise.
44466         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
44467         (__ieee754_y1l): Likewise.
44468         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
44469         (j1_test): Likewise.
44470         (y0_test): Likewise.
44471         (y1_test): Likewise.
44473 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
44475         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
44476         variable.
44478 2013-03-15  Roland McGrath  <roland@hack.frob.com>
44480         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
44481         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
44482         zero since it's initialized to EXEC_PAGESIZE.
44484         * sysdeps/unix/sysv/linux/ldsodefs.h
44485         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
44486         * sysdeps/generic/ldsodefs.h: ... here.
44488 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
44490         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
44492         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
44493         math/test-snan.c.
44494         * math/test-snan.c: Renamed from
44495         sysdeps/powerpc/fpu/test-powerpc-snan.c.
44496         * math/Makefile (tests): Add test-snan.
44497         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
44498         test-powerpc-snan.
44500         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
44501         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
44502         functions.
44503         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
44504         __builtin_nan family of functions.
44505         * math/libm-test.inc (initialize): Initialize qnan_value with
44506         __builtin_nan family of functions.
44507         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
44508         Remove variables.
44509         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
44510         Remove functions.
44511         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
44512         storage class.  Initialize qNaN_var and sNaN_var with
44513         __builtin_nan and __builtin_nans families of functions,
44514         respectively.
44516         * math/libm-test.inc (acosh_test): Also test with qNaN input.
44517         (sqrt_test): Remove duplicate test with qNaN input.
44518         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
44519         (round_test, signbit_test, significand_test): Note missing +/-Inf
44520         as well as qNaN tests.
44522         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
44523         qNaN_var.  Fix a few strings, too.
44524         * math/libm-test.inc (nan_value): Rename to qnan_value.
44525         * math/gen-libm-test.pl (%beautify): Adjust to that.
44526         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
44527         * math/test-misc.c (main): Likewise.
44528         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
44529         to __qnan_bytes, and __qnan_union, respectively.
44530         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
44531         Likewise.
44532         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
44533         and lqnanval, respectively.
44534         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
44535         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
44536         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
44537         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
44539         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
44540         * math/test-misc.c (main) [__x86_64__]: Enable test for long
44541         doubles.
44543         * math/test-misc.c (main): Fix copy'n'pastos.
44544         * misc/tst-efgcvt.c (special): Likewise.
44546         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
44547         Remove declarations.
44549 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
44551         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
44552         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
44553         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
44554         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
44556 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44558         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
44559         macro to return vdso values correctly in IFUNC implementations.
44560         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
44561         Optimization by using IFUNC.
44563 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
44564             Richard Henderson  <rth@redhat.com>
44565             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
44567         * Makefile.in (bench): New target.
44568         * NEWS: Mention the benchmark framework.
44569         * Rules (bench): Likewise.
44570         (binaries-bench): Generate binaries for functions to
44571         benchmark.
44572         * benchtests/Makefile: New makefile for benchmark tests.
44573         * benchtests/bench-skeleton.c: New skeleton file for benchmark
44574         programs.
44575         * benchtests/exp-inputs: New input file for EXP function.
44576         * benchtests/pow-inputs: New input file for POW function.
44577         * scripts/bench.pl: New script to generate source files for
44578         benchmark programs.
44580 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
44582         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
44583         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
44584         computations on mantissa.  Use macros for rounding and
44585         division.
44586         (denorm): Likewise.
44587         (__dbl_mp): Likewise.
44588         (add_magnitudes): Likewise.
44589         (sub_magnitudes): Likewise.
44590         (__mul): Likewise.
44591         (__sqr): Likewise.
44592         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
44593         powers of two in terms of TWOPOW macro.
44594         (mp_no): Make type of mantissa as MANTISSA_T.
44595         [!RADIXI]: Define RADIXI.
44596         [!TWO52]: Define TWO52.
44597         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
44599         * manual/nptl.texi (cindex): Modify threads to pthreads.
44601 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
44603         * sysdeps/x86_64/preconfigure: Regenerated.
44605 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
44607         [BZ #14155]
44608         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
44609         0x1p28 and above.
44610         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
44611         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
44612         0x1p28 and above.
44613         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
44614         * math/libm-test.inc (j0_test): Do not allow one spurious
44615         underflow exception.
44616         (y1_test): Likewise.
44618 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
44620         * manual/Makefile (chapters): Add nptl.
44621         * manual/debug.texi (Debugging Support): Add link to Threads
44622         chapter.
44623         * manual/nptl.texi: New file.
44625         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
44627 2013-03-14  Petr Baudis  <pasky@ucw.cz>
44629         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
44630         for non-NULL pointer before the memory validity test. Pointed
44631         out by Holger Brunck <holger.brunck@keymile.com>.
44633 2013-03-13  Andreas Schwab  <schwab@suse.de>
44635         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
44636         instead of .os.
44638 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
44640         * timezone/zic.c: Update from tzcode 2013b.
44642 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
44644         * manual/install.texi (Configuring and compiling):
44645         Mention i686 and i586.
44646         * INSTALL: Regenerate.
44648 2013-03-12  Roland McGrath  <roland@hack.frob.com>
44650         * sysdeps/init_array/elf-init.c: New file.
44651         * csu/elf-init.c
44652         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
44653         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
44655         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
44656         __gmon_start__ as global, but as static with a .preinit_array pointer.
44657         * sysdeps/init_array/gmon-start.c: New file.  Use that.
44658         * sysdeps/init_array/crti.S: New file, empty except for comments.
44659         * sysdeps/init_array/crtn.S: Likewise.
44661 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
44663         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
44664         definining bcopy.
44665         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44666         Remove Prefer_SSE_for_memop.
44667         * sysdeps/x86_64/multiarch/init-arch.h: Remove
44668         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
44669         HAS_PREFER_SSE_FOR_MEMOP.
44670         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
44671         memset-x86-64.
44672         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
44673         Remove bzero, memset ifunc support.
44674         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
44675         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
44676         * sysdeps/x86_64/multiarch/memset.S: Likewise.
44677         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
44679 2013-03-11  Andreas Schwab  <schwab@suse.de>
44681         [BZ #15234]
44682         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
44683         by SHLIB_COMPAT.
44684         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
44685         (GLIBC_2.16): Remove pthread_atfork.
44687 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
44689         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
44690         (ptestcases.h): Likewise.
44692 2013-03-08  Roland McGrath  <roland@hack.frob.com>
44694         * Makeconfig ($(common-objpfx)config.status): Depend on
44695         sysdeps/*/preconfigure{,.in} too.
44697 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
44699         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
44700         (__free_hook): Use void * instead of __malloc_ptr_t.
44701         (__malloc_hook): Likewise.
44702         (__realloc_hook): Likewise.
44703         (__memalign_hook): Likewise.
44704         (__after_morecore_hook): Likewise.
44705         * malloc/arena.c (save_malloc_hook): Likewise.
44706         (save_free_hook): Likewise.
44707         * malloc/hooks.c (malloc_hook_ini): Likewise.
44708         (realloc_hook_ini): Likewise.
44709         (memalign_hook_ini): Likewise.
44710         * malloc/malloc.c (malloc_hook_ini): Likewise.
44711         (realloc_hook_ini): Likewise.
44712         (memalign_hook_ini): Likewise.
44713         (__free_hook): Likewise.
44714         (__malloc_hook): Likewise.
44715         (__realloc_hook): Likewise.
44716         (__memalign_hook): Likewise.
44717         (__libc_malloc): Likewise.
44718         (__libc_free): Likewise.
44719         (__libc_realloc): Likewise.
44720         (__libc_memalign): Likewise.
44721         (__libc_valloc): Likewise.
44722         (__libc_pvalloc): Likewise.
44723         (__libc_calloc): Likewise.
44724         (__posix_memalign): Likewise.
44725         * malloc/morecore.c (__sbrk): Likewise.
44726         (__default_morecore): Likewise.
44728         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
44730         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
44731         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
44732         __malloc_ptrdiff_t.
44734         * malloc/malloc.h (__malloc_size_t): Remove macro.
44735         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
44736         __malloc_size_t.
44737         (old_memalign_hook): Likewise.
44738         (old_realloc_hook): Likewise.
44739         (struct hdr): Likewise.
44740         (flood): Likewise.
44741         (mallochook): Likewise.
44742         (memalignhook): Likewise.
44743         (reallochook): Likewise.
44744         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
44745         (tr_old_realloc_hook): Likewise.
44746         (tr_old_memalign_hook): Likewise.
44747         (tr_mallochook): Likewise.
44748         (tr_reallochook): Likewise.
44749         (tr_memalignhook): Likewise.
44751 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44753         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
44754         default_ldbl_pack and using as default implementation.
44755         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
44756         implementation.
44757         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
44758         redundant definition.
44759         (ldbl_insert_mantissa): Likewise.
44760         (ldbl_canonicalize): Likewise.
44761         (ldbl_nearbyint): Likewise.
44762         (ldbl_pack): Rename to ldbl_pack_ppc.
44763         (ldbl_unpack): Rename to ldbl_unpack_ppc.
44764         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
44765         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
44767 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
44769         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
44770         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
44771         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
44772         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
44773         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
44774         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
44775         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
44776         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
44778 2013-03-07  Andreas Jaeger  <aj@suse.de>
44780         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
44781         bits/mman-linux.h.
44783 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
44785         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
44786         Include mpa.h and declare __MPEXP.
44787         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
44788         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
44789         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
44790         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
44791         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
44792         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
44793         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
44795         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
44796         (__slowpow): Use long double EXPL and LOGL functions to
44797         compute POW.
44798         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
44799         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
44800         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
44801         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
44802         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
44803         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
44805         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
44806         intermediate variable to calculate exponent.
44807         (__sqr): Likewise.
44808         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
44809         Likewise.
44810         (__sqr): Likewise.
44812         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
44813         [!NO__SQR]: Define __sqr.
44814         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
44815         and NO__SQR.  Remove all code except __mul and __sqr.  Include
44816         sysdeps/ieee754/dbl-64/mpa.c.
44817         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
44819         [BZ #12723]
44820         * posix/Makefile (tests): Add tst-pathconf.
44821         * posix/tst-pathconf.c: New test case.
44822         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
44823         _PC_PIPE_BUF.
44824         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
44826 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
44828         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
44830 2013-03-06  Andreas Jaeger  <aj@suse.de>
44832         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
44833         definition via __MAP_ANONYMOUS.
44835         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
44836         it's not part of Linux headers.
44838         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
44839         (MAP_HUGE_MASK): Define.
44841         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
44842         Define.
44843         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
44844         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
44845         Define.
44846         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
44847         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
44848         Define.
44849         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
44850         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
44851         Define.
44852         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
44854         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
44855         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
44856         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
44857         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
44858         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
44859         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
44861         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
44862         Handle f2fs.
44864         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
44865         Handle f2fs and efivarfs.
44867         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
44868         f2fs.
44870         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
44871         (EFIVARFS_MAGIC): Add.
44872         (F2FS_LINK_MAX): Add.
44874 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
44876         * stdio-common/vfprintf.c: Replace __builtin_expect with
44877         __glibc_unlikely.
44879 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
44881         [BZ #13550]
44882         * sysdeps/generic/bp-sym.h: Remove file.
44883         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
44884         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
44885         <bp-sym.h> and <bp-asm.h>.
44886         (__longjmp): Don't use BP_SYM.
44887         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
44888         and <bp-asm.h>.
44889         (memcpy): Don't use BP_SYM.
44890         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
44891         <bp-sym.h> and <bp-asm.h>.
44892         (memcpy): Don't use BP_SYM.
44893         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
44894         <bp-asm.h>.
44895         (memcpy): Don't use BP_SYM.
44896         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
44897         <bp-asm.h>.
44898         (memset): Don't use BP_SYM.
44899         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
44900         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
44901         (__bzero): Don't use BP_SYM.
44902         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
44903         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
44904         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
44905         <bp-sym.h> and <bp-asm.h>.
44906         (memcmp): Don't use BP_SYM.  Remove comment about bounded
44907         pointers.
44908         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
44909         <bp-sym.h> and <bp-asm.h>.
44910         (memcpy): Don't use BP_SYM.
44911         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
44912         <bp-sym.h> and <bp-asm.h>.
44913         (memset): Don't use BP_SYM.
44914         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
44915         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
44916         (__bzero): Don't use BP_SYM.
44917         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
44918         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
44919         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
44920         <bp-sym.h> and <bp-asm.h>.
44921         (strncmp): Don't use BP_SYM.  Remove comment about bounded
44922         pointers.
44923         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
44924         <bp-sym.h> and <bp-asm.h>.
44925         (memcpy): Don't use BP_SYM.
44926         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
44927         <bp-sym.h> and <bp-asm.h>.
44928         (memset): Don't use BP_SYM.
44929         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
44930         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
44931         (__bzero): Don't use BP_SYM.
44932         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
44933         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
44934         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
44935         <bp-sym.h> and <bp-asm.h>.
44936         (__memchr): Don't use BP_SYM.
44937         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
44938         <bp-sym.h> and <bp-asm.h>.
44939         (memcmp): Don't use BP_SYM.  Remove comment about bounded
44940         pointers.
44941         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
44942         <bp-sym.h> and <bp-asm.h>.
44943         (memcpy): Don't use BP_SYM.
44944         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
44945         <bp-sym.h> and <bp-asm.h>.
44946         (__mempcpy): Don't use BP_SYM.
44947         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
44948         <bp-sym.h> and <bp-asm.h>.
44949         (__memrchr): Don't use BP_SYM.
44950         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
44951         <bp-sym.h> and <bp-asm.h>.
44952         (memset): Don't use BP_SYM.
44953         (__bzero): Likewise.
44954         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
44955         <bp-sym.h> and <bp-asm.h>.
44956         (__rawmemchr): Don't use BP_SYM.
44957         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
44958         <bp-sym.h> and <bp-asm.h>.
44959         (__STRCMP): Don't use BP_SYM.
44960         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
44961         <bp-sym.h> and <bp-asm.h>.
44962         (strchr): Don't use BP_SYM.
44963         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
44964         <bp-sym.h> and <bp-asm.h>.
44965         (__strchrnul): Don't use BP_SYM.
44966         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
44967         <bp-sym.h> and <bp-asm.h>.
44968         (strlen): Don't use BP_SYM.
44969         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
44970         <bp-sym.h> and <bp-asm.h>.
44971         (strncmp): Don't use BP_SYM.  Remove comment about bounded
44972         pointers.
44973         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
44974         <bp-sym.h> and <bp-asm.h>.
44975         (__strnlen): Don't use BP_SYM.
44976         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
44977         <bp-sym.h> and <bp-asm.h>.
44978         (__GI__setjmp): Don't use BP_SYM.
44979         (_setjmp): Likewise.
44980         (__sigsetjmp): Likewise.
44981         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
44982         (L(start_addresses)): Don't use BP_SYM.
44983         (_start): Likewise.
44984         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
44985         <bp-asm.h>.
44986         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
44987         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
44988         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
44989         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
44990         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
44991         <bp-asm.h>.
44992         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
44993         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
44994         about bounded pointers.
44995         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
44996         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
44997         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
44998         <bp-asm.h>.
44999         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
45000         about bounded pointers.  Remove GKM FIXME comments.
45001         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
45002         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
45003         <bp-asm.h>.
45004         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
45005         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
45006         Remove GKM FIXME comments.
45007         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
45008         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
45009         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
45010         <bp-asm.h>.
45011         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
45012         about bounded pointers.  Remove GKM FIXME comment.
45013         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
45014         and <bp-asm.h>.
45015         (strncmp): Don't use BP_SYM.  Remove comment about bounded
45016         pointers.
45017         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
45018         <bp-sym.h> and <bp-asm.h>.
45019         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
45020         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
45021         <bp-sym.h> and <bp-asm.h>.
45022         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
45023         comment.
45025 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
45027         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
45028         call free(NULL).
45030 2013-03-05  David S. Miller  <davem@davemloft.net>
45032         * po/es.po: Update from translation team.
45034 2013-03-05  Andreas Jaeger  <aj@suse.de>
45036         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
45037         <bits/mman-linux.h>.
45038         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
45039         is fine.
45040         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
45041         <bits/mman-linux.h> to end of file.
45042         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
45043         is fine.
45044         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
45045         <bits/mman-linux.h> to end of file.
45046         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
45047         is fine.
45048         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
45049         <bits/mman-linux.h> to end of file.
45051         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
45052         (MCL_CURRENT, MCL_FUTURE): Define here.
45054 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45056         [BZ #15232]
45057         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
45058         attribute_hidden.
45059         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
45061 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45063         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
45064         fourth parameter needed for rt_sigprocmask syscall.
45065         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
45066         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
45067         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
45068         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
45069         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
45070         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
45072 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
45074         [BZ #13550]
45075         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
45076         comment about bounded pointers.
45077         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
45078         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
45080 2013-03-04  Andreas Jaeger  <aj@suse.de>
45082         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
45083         common definitions.
45085         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
45086         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
45087         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
45088         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
45089         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
45090         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
45092 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45094         [BZ #15055]
45095         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
45096         __ieee754_sqrl instead of __sqrl.
45098 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
45100         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
45101         * sysdeps/powerpc/fpu_control.h: ... here.
45102         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
45103         * sysdeps/powerpc/bits/fenvinline.h: ... here.
45104         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
45105         * sysdeps/powerpc/bits/mathinline.h: ... here.
45107 2013-03-01  Roland McGrath  <roland@hack.frob.com>
45109         * elf/dl-hwcaps.c (_dl_important_hwcaps):
45110         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
45111         to just [NEED_DL_SYSINFO_DSO].
45112         * elf/dl-support.c: Likewise.
45113         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
45114         * elf/rtld.c (dl_main): Likewise.
45115         * elf/setup-vdso.h (setup_vdso): Likewise.
45116         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
45117         * sysdeps/unix/sysv/linux/dl-sysdep.c
45118         (_dl_discover_osversion): Likewise.
45120 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
45122         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
45123         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
45125 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
45127         * NEWS: Mention libm performance improvements and non-x86 PI
45128         futex support.
45130         * csu/libc-start.c (__pthread_initialize_minimal): Change
45131         function arguments.
45132         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
45134 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
45136         [BZ #13550]
45137         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
45138         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
45139         <bp-sym.h> and <bp-asm.h>.
45140         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
45141         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
45142         and <bp-asm.h>.
45143         (memcpy): Don't use BP_SYM.
45144         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
45145         <bp-asm.h>.
45146         (__mpn_add_n): Don't use BP_SYM.
45147         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
45148         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
45149         and <bp-asm.h>.
45150         (__mpn_addmul_1): Don't use BP_SYM.
45151         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
45152         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
45153         <bp-sym.h>.
45154         (_setjmp): Don't use BP_SYM.
45155         (__novmx_setjmp): Likewise.
45156         (__GI__setjmp): Likewise.
45157         (__vmx_setjmp): Likewise.
45158         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
45159         <bp-sym.h>.
45160         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
45161         (__bzero): Don't use BP_SYM.
45162         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
45163         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
45164         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
45165         <bp-sym.h> and <bp-asm.h>.
45166         (memcpy): Don't use BP_SYM.
45167         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
45168         <bp-sym.h> and <bp-asm.h>.
45169         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
45170         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
45171         <bp-sym.h> and <bp-asm.h>.
45172         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
45173         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
45174         <bp-asm.h>.
45175         (__mpn_lshift): Don't use BP_SYM.
45176         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
45177         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
45178         <bp-asm.h>.
45179         (memset): Don't use BP_SYM.
45180         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
45181         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
45182         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
45183         <bp-asm.h>.
45184         (__mpn_mul_1): Don't use BP_SYM.
45185         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
45186         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
45187         <bp-sym.h> and <bp-asm.h>.
45188         (memcmp): Don't use BP_SYM.
45189         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
45190         <bp-sym.h> and <bp-asm.h>.
45191         (memcpy): Don't use BP_SYM.
45192         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
45193         <bp-sym.h> and <bp-asm.h>.
45194         (memset): Don't use BP_SYM.
45195         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
45196         <bp-sym.h> and <bp-asm.h>.
45197         (strncmp): Don't use BP_SYM.
45198         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
45199         <bp-sym.h> and <bp-asm.h>.
45200         (memcpy): Don't use BP_SYM.
45201         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
45202         <bp-sym.h> and <bp-asm.h>.
45203         (memset): Don't use BP_SYM.
45204         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
45205         <bp-sym.h> and <bp-asm.h>.
45206         (__memchr): Don't use BP_SYM.
45207         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
45208         <bp-sym.h> and <bp-asm.h>.
45209         (memcmp): Don't use BP_SYM.
45210         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
45211         <bp-sym.h> and <bp-asm.h>.
45212         (memcpy): Don't use BP_SYM.
45213         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
45214         <bp-sym.h> and <bp-asm.h>.
45215         (__mempcpy): Don't use BP_SYM.
45216         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
45217         <bp-sym.h> and <bp-asm.h>.
45218         (__memrchr): Don't use BP_SYM.
45219         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
45220         <bp-sym.h> and <bp-asm.h>.
45221         (memset): Don't use BP_SYM.
45222         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
45223         <bp-sym.h> and <bp-asm.h>.
45224         (__rawmemchr): Don't use BP_SYM.
45225         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
45226         <bp-sym.h> and <bp-asm.h>.
45227         (__STRCMP): Don't use BP_SYM.
45228         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
45229         <bp-sym.h> and <bp-asm.h>.
45230         (strchr): Don't use BP_SYM.
45231         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
45232         <bp-sym.h> and <bp-asm.h>.
45233         (__strchrnul): Don't use BP_SYM.
45234         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
45235         <bp-sym.h> and <bp-asm.h>.
45236         (strlen): Don't use BP_SYM.
45237         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
45238         <bp-sym.h> and <bp-asm.h>.
45239         (strncmp): Don't use BP_SYM.
45240         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
45241         <bp-sym.h> and <bp-asm.h>.
45242         (__strnlen): Don't use BP_SYM.
45243         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
45244         <bp-asm.h>.
45245         (__mpn_rshift): Don't use BP_SYM.
45246         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
45247         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
45248         <bp-sym.h> and <bp-asm.h>.
45249         (__sigsetjmp): Don't use BP_SYM.
45250         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
45251         (L(start_addresses)): Don't use BP_SYM.
45252         (_start): Likewise.
45253         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
45254         <bp-asm.h>.
45255         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
45256         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
45257         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
45258         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
45259         <bp-asm.h>.
45260         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
45261         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
45262         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
45263         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
45264         <bp-asm.h>.
45265         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
45266         comments.
45267         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
45268         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
45269         <bp-asm.h>.
45270         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
45271         FIXME comments.
45272         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
45273         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
45274         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
45275         <bp-asm.h>.
45276         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
45277         comment.
45278         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
45279         and <bp-asm.h>.
45280         (strncmp): Don't use BP_SYM,
45281         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
45282         <bp-asm.h>.
45283         (__mpn_sub_n): Don't use BP_SYM.
45284         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
45285         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
45286         and <bp-asm.h>.
45287         (__mpn_submul_1): Don't use BP_SYM.
45288         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
45289         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
45290         <bp-sym.h> and <bp-asm.h>.
45291         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
45292         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
45293         <bp-sym.h> and <bp-asm.h>.
45294         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
45295         comment.
45297 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
45299         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
45300         Use ZK to minimize writes to Z.
45301         (sub_magnitudes): Simplify code a bit.
45302         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
45303         Use ZK to minimize writes to Z.
45304         (sub_magnitudes): Simplify code a bit.
45306 2013-02-27  Roland McGrath  <roland@hack.frob.com>
45308         * csu/gmon-start.c: Add special exception to license text.
45310 2013-02-27  Richard Henderson  <rth@redhat.com>
45312         * scripts/config.guess: Update from config.git.
45313         * scripts/config.sub: Likewise.
45315 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
45317         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
45319         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
45321         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
45323         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
45325         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
45327 2013-02-26  Roland McGrath  <roland@hack.frob.com>
45329         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
45330         [$(build-shared = yes].
45332 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
45334         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
45335         (__mul): Reduce iterations for calculating mantissa.
45337         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
45338         MPTWO.
45339         (__mpranred): Likewise.
45341         [BZ #15160]
45342         * malloc/memusagestat.c (main): Draw graphs for heap and stack
45343         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
45345 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
45347         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
45348         Define __attribute__.
45350 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
45352         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
45353         unused.
45354         * posix/regex_internal.h (__attribute): Remove.
45355         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
45356         (re_string_context_at): Likewise.
45357         (bitset_not): Use __attribute__ and mark function as possibly
45358         unused.
45359         (bitset_merge): Likewise.
45360         (bitset_mask): Likewise.
45361         (re_string_char_size_at): Likewise.
45362         (re_string_wchar_at): Likewise.
45363         (re_string_elem_size_at): Likewise.
45365 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
45367         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
45368         code.
45369         (cc32): Likewise.
45371         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
45372         (__acr): Likewise.
45373         (__cpy): Likewise.
45374         (norm): Likewise.
45375         (denorm): Likewise.
45376         (__dbl_mp): Likewise.
45377         (add_magnitudes): Likewise.
45378         (sub_magnitudes): Likewise.
45379         (__mul): Likewise.
45380         (__inv): Likewise.
45382         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
45383         style.
45385         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
45386         style.
45388         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
45389         code.
45391         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
45392         up changes with default code.
45393         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
45394         Likewise.
45396 2013-02-24  Allan McRae  <allan@archlinux.org>
45398         * manual/socket.texi (The Internet Namespace): Order menu items
45399         to match that in the file.
45401         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
45402         node listing of the info page menu.
45404 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
45406         [BZ #13550]
45407         * sysdeps/i386/bp-asm.h: Remove file.
45408         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
45409         (PARMS): Do not use macros from bp-asm.h.
45410         (S1): Likewise.
45411         (S2): Likewise.
45412         (SIZE): Likewise.
45413         (__mpn_add_n): Do not use BP_SYM
45414         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
45415         "bp-asm.h".
45416         (PARMS): Do not use macros from bp-asm.h.
45417         (S1): Likewise.
45418         (SIZE): Likewise.
45419         (__mpn_addmul_1): Do not use BP_SYM
45420         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
45421         "bp-asm.h".
45422         (PARMS): Do not use macros from bp-asm.h.
45423         (SIGMSK): Likewise.
45424         (_setjmp): Likewise.  Do not use BP_SYM.
45425         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
45426         "bp-asm.h".
45427         (PARMS): Do not use macros from bp-asm.h.
45428         (SIGMSK): Likewise.
45429         (setjmp): Likewise.  Do not use BP_SYM.
45430         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
45431         "bp-asm.h".
45432         (PARMS): Do not use macros from bp-asm.h.
45433         (__frexp): Do not use BP_SYM.
45434         (frexp): Likewise.
45435         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
45436         "bp-asm.h".
45437         (PARMS): Do not use macros from bp-asm.h.
45438         (__frexpf): Do not use BP_SYM.
45439         (frexpf): Likewise.
45440         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
45441         "bp-asm.h".
45442         (PARMS): Do not use macros from bp-asm.h.
45443         (__frexpl): Do not use BP_SYM.
45444         (frexpl): Likewise.
45445         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
45446         "bp-asm.h".
45447         (PARMS): Do not use macros from bp-asm.h.
45448         (__remquo): Do not use BP_SYM.
45449         (remquo): Likewise.
45450         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
45451         "bp-asm.h".
45452         (PARMS): Do not use macros from bp-asm.h.
45453         (__remquof): Do not use BP_SYM.
45454         (remquof): Likewise.
45455         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
45456         "bp-asm.h".
45457         (PARMS): Do not use macros from bp-asm.h.
45458         (__remquol): Do not use BP_SYM.
45459         (remquol): Likewise.
45460         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
45461         "bp-asm.h".
45462         (PARMS): Do not use macros from bp-asm.h.
45463         (DEST): Likewise.
45464         (SRC): Likewise.
45465         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
45466         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
45467         "bp-asm.h".
45468         (PARMS): Do not use macros from bp-asm.h.
45469         (strlen): Do not use BP_SYM.
45470         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
45471         "bp-asm.h".
45472         (PARMS): Do not use macros from bp-asm.h.
45473         (S1): Likewise.
45474         (S2): Likewise.
45475         (SIZE): Likewise.
45476         (__mpn_add_n): Do not use BP_SYM.
45477         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
45478         "bp-asm.h".
45479         (PARMS): Do not use macros from bp-asm.h.
45480         (S1): Likewise.
45481         (SIZE): Likewise.
45482         (__mpn_addmul_1): Do not use BP_SYM.
45483         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
45484         weak_alias.
45485         (bzero): Likewise.
45486         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
45487         "bp-asm.h".
45488         (PARMS): Do not use macros from bp-asm.h.
45489         (S): Likewise.
45490         (SIZE): Likewise.
45491         (__mpn_lshift): Do not use BP_SYM.
45492         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
45493         "bp-asm.h".
45494         (PARMS): Do not use macros from bp-asm.h.
45495         (DEST): Likewise.
45496         (SRC): Likewise.
45497         (LEN): Likewise.
45498         (memcpy): Likewise.  Do not use BP_SYM.
45499         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
45500         libc_hidden_def and weak_alias.
45501         (mempcpy): Do not use BP_SYM in weak_alias.
45502         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
45503         "bp-asm.h".
45504         (PARMS): Do not use macros from bp-asm.h.
45505         (DEST): Likewise.
45506         (LEN): Likewise.
45507         [!BZERO_P] (CHR): Likewise.
45508         (memset): Likewise.  Do not use BP_SYM.
45509         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
45510         "bp-asm.h".
45511         (PARMS): Do not use macros from bp-asm.h.
45512         (S1): Likewise.
45513         (SIZE): Likewise.
45514         (__mpn_mul_1): Do not use BP_SYM.
45515         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
45516         "bp-asm.h".
45517         (PARMS): Do not use macros from bp-asm.h.
45518         (S): Likewise.
45519         (SIZE): Likewise.
45520         (__mpn_rshift): Do not use BP_SYM.
45521         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
45522         "bp-asm.h".
45523         (PARMS): Do not use macros from bp-asm.h.
45524         (STR): Likewise.
45525         (CHR): Likewise.
45526         (strchr): Likewise.  Do not use BP_SYM.
45527         (index): Do not use BP_SYM in weak_alias.
45528         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
45529         "bp-asm.h".
45530         (PARMS): Do not use macros from bp-asm.h.
45531         (DEST): Likewise.
45532         (SRC): Likewise.
45533         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
45534         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
45535         "bp-asm.h".
45536         (PARMS): Do not use macros from bp-asm.h.
45537         (strlen): Do not use BP_SYM.
45538         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
45539         "bp-asm.h".
45540         (PARMS): Do not use macros from bp-asm.h.
45541         (S1): Likewise.
45542         (S2): Likewise.
45543         (SIZE): Likewise.
45544         (__mpn_sub_n): Do not use BP_SYM.
45545         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
45546         "bp-asm.h".
45547         (PARMS): Do not use macros from bp-asm.h.
45548         (S1): Likewise.
45549         (SIZE): Likewise.
45550         (__mpn_submul_1): Do not use BP_SYM.
45551         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
45552         "bp-asm.h".
45553         (PARMS): Do not use macros from bp-asm.h.
45554         (S1): Likewise.
45555         (S2): Likewise.
45556         (SIZE): Likewise.
45557         (__mpn_add_n): Do not use BP_SYM.
45558         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
45559         weak_alias.
45560         (bzero): Likewise.
45561         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
45562         "bp-asm.h".
45563         (PARMS): Do not use macros from bp-asm.h.
45564         (BLK2): Likewise.
45565         (LEN): Likewise.
45566         (memcmp): Do not use BP_SYM.
45567         (bcmp): Do not use BP_SYM in weak_alias.
45568         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
45569         "bp-asm.h".
45570         (PARMS): Do not use macros from bp-asm.h.
45571         (DEST): Likewise.
45572         (SRC): Likewise.
45573         (LEN): Likewise.
45574         (memcpy): Likewise.  Do not use BP_SYM.
45575         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
45576         "bp-asm.h".
45577         (PARMS): Do not use macros from bp-asm.h.
45578         (DEST): Likewise.
45579         (SRC): Likewise.
45580         (LEN): Likewise.
45581         (memmove): Likewise.  Do not use BP_SYM.
45582         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
45583         "bp-asm.h".
45584         (PARMS): Do not use macros from bp-asm.h.
45585         (DEST): Likewise.
45586         (SRC): Likewise.
45587         (LEN): Likewise.
45588         (__mempcpy): Likewise.  Do not use BP_SYM.
45589         (mempcpy): Do not use BP_SYM in weak_alias.
45590         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
45591         "bp-asm.h".
45592         (PARMS): Do not use macros from bp-asm.h.
45593         (DEST): Likewise.
45594         (LEN): Likewise.
45595         [!BZERO_P] (CHR): Likewise.
45596         (memset): Likewise.  Do not use BP_SYM.
45597         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
45598         "bp-asm.h".
45599         (PARMS): Do not use macros from bp-asm.h.
45600         (STR2): Likewise.
45601         (strcmp): Do not use BP_SYM.
45602         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
45603         "bp-asm.h".
45604         (PARMS): Do not use macros from bp-asm.h.
45605         (STR): Likewise.
45606         (DELIM): Likewise.
45607         [USE_AS_STRTOK_R] (SAVE): Likewise.
45608         (FUNCTION): Likewise.  Do not use BP_SYM.
45609         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
45610         aliases.
45611         (strtok_r): Likewise.
45612         (__GI___strtok_r): Likewise.
45613         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
45614         (PARMS): Do not use macros from bp-asm.h.
45615         (S): Likewise.
45616         (SIZE): Likewise.
45617         (__mpn_lshift): Do not use BP_SYM.
45618         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
45619         (PARMS): Do not use macros from bp-asm.h.
45620         (STR): Likewise.
45621         (CHR): Likewise.
45622         (__memchr): Do not use BP_SYM.
45623         (memchr): Do not use BP_SYM in weak_alias.
45624         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
45625         (PARMS): Do not use macros from bp-asm.h.
45626         (BLK2): Likewise.
45627         (LEN): Likewise.
45628         (memcmp): Do not use BP_SYM.
45629         (bcmp): Do not use BP_SYM in weak_alias.
45630         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
45631         (PARMS): Do not use macros from bp-asm.h.
45632         (S1): Likewise.
45633         (SIZE): Likewise.
45634         (__mpn_mul_1): Do not use BP_SYM.
45635         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
45636         "bp-asm.h".
45637         (PARMS): Do not use macros from bp-asm.h.
45638         (STR): Likewise.
45639         (CHR): Likewise.
45640         (__rawmemchr): Do not use BP_SYM.
45641         (rawmemchr): Do not use BP_SYM in weak_alias.
45642         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
45643         (PARMS): Do not use macros from bp-asm.h.
45644         (S): Likewise.
45645         (SIZE): Likewise.
45646         (__mpn_rshift): Do not use BP_SYM.
45647         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
45648         (PARMS): Do not use macros from bp-asm.h.
45649         (SIGMSK): Likewise.
45650         (__sigsetjmp): Likewise.  Do not use BP_SYM.
45651         * sysdeps/i386/start.S: Do not include "bp-sym.h".
45652         (_start): Do not use BP_SYM.
45653         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
45654         (PARMS): Do not use macros from bp-asm.h.
45655         (DEST): Likewise.
45656         (SRC): Likewise.
45657         (__stpcpy): Likewise.  Do not use BP_SYM.
45658         (stpcpy): Do not use BP_SYM in weak_alias.
45659         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
45660         "bp-asm.h".
45661         (PARMS): Do not use macros from bp-asm.h.
45662         (DEST): Likewise.
45663         (SRC): Likewise.
45664         (LEN): Likewise.
45665         (__stpncpy): Likewise.  Do not use BP_SYM.
45666         (stpncpy): Do not use BP_SYM in weak_alias.
45667         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
45668         (PARMS): Do not use macros from bp-asm.h.
45669         (STR): Likewise.
45670         (CHR): Likewise.
45671         (strchr): Likewise.  Do not use BP_SYM.
45672         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
45673         "bp-asm.h".
45674         (PARMS): Do not use macros from bp-asm.h.
45675         (STR): Likewise.
45676         (CHR): Likewise.
45677         (__strchrnul): Likewise.  Do not use BP_SYM.
45678         (strchrnul): Do not use BP_SYM in weak_alias.
45679         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
45680         "bp-asm.h".
45681         (PARMS): Do not use macros from bp-asm.h.
45682         (STOP): Likewise.
45683         (strcspn): Do not use BP_SYM.
45684         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
45685         "bp-asm.h".
45686         (PARMS): Do not use macros from bp-asm.h.
45687         (STR): Likewise.
45688         (STOP): Likewise.
45689         (strpbrk): Likewise.  Do not use BP_SYM.
45690         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
45691         "bp-asm.h".
45692         (PARMS): Do not use macros from bp-asm.h.
45693         (STR): Likewise.
45694         (CHR): Likewise.
45695         (strrchr): Likewise.  Do not use BP_SYM.
45696         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
45697         (PARMS): Do not use macros from bp-asm.h.
45698         (SKIP): Likewise.
45699         (strspn): Do not use BP_SYM.
45700         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
45701         (PARMS): Do not use macros from bp-asm.h.
45702         (STR): Likewise.
45703         (DELIM): Likewise.
45704         (SAVE): Likewise.
45705         (FUNCTION): Likewise.  Do not use BP_SYM.
45706         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
45707         aliases.
45708         (strtok_r): Likewise.
45709         (__GI___strtok_r): Likewise.
45710         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
45711         (PARMS): Do not use macros from bp-asm.h.
45712         (S1): Likewise.
45713         (S2): Likewise.
45714         (SIZE): Likewise.
45715         (__mpn_sub_n): Do not use BP_SYM.
45716         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
45717         "bp-asm.h".
45718         (PARMS): Do not use macros from bp-asm.h.
45719         (S1): Likewise.
45720         (SIZE): Likewise.
45721         (__mpn_submul_1): Do not use BP_SYM.
45722         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
45723         <bp-sym.h>.
45724         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
45725         and <bp-asm.h>.
45726         (PARMS): Do not use macros from bp-asm.h.
45727         (FLAGS): Likewise.
45728         (PTID): Likewise.
45729         (TLS): Likewise.
45730         (CTID): Likewise.
45731         (__clone): Do not use BP_SYM.
45732         (clone): Do not use BP_SYM in weak_alias.
45733         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
45734         and <bp-asm.h>.
45735         (PARMS): Do not use macros from bp-asm.h.
45736         (LEN): Likewise.
45737         (__mmap64): Do not use BP_SYM.
45738         (mmap64): Do not use BP_SYM in weak_alias.
45739         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
45740         <bp-sym.h> and <bp-asm.h>.
45741         (PARMS): Do not use macros from bp-asm.h.
45742         (__posix_fadvise64_l64): Do not use BP_SYM.
45743         * sysdeps/unix/sysv/linux/i386/semtimedop.S
45744         (PARMS): Do not use macros from bp-asm.h.
45745         (NSOPS): Likewise.
45746         (semtimedop): Do not use BP_SYM.
45747         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
45748         and <bp-asm.h>.
45750 2013-02-21  Allan McRae  <allan@archlinux.org>
45752         * manual/message.texi (Charset conversion in gettext):
45753         Move @end statement to beginning of line.
45755 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
45757         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
45758         static.
45759         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
45760         Likewise.
45762         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
45763         (denorm): Likewise.
45764         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
45765         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
45767 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45769         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
45770         tail-call to the resolved function if pltexit isn't needed.
45772 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
45774         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
45775         or Y being zero as being unlikely.
45776         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
45777         Likewise.
45779 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
45781         * manual/nss.texi (System Databases and Name Service Switch):
45782         Remove frobnicate @pxref.
45784 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
45786         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
45787         __attribute__ ((unused)) to __attribute__ ((__unused__)).
45789 2013-02-20  Petr Machata  <pmachata@redhat.com>
45791         * elf/elf.h (R_ARM_TARGET1): New macro.
45792         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
45793         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
45794         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
45795         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
45796         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
45797         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
45798         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
45799         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
45800         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
45801         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
45802         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
45803         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
45804         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
45805         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
45806         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
45807         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
45808         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
45809         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
45810         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
45811         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
45812         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
45813         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
45814         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
45815         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
45816         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
45817         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
45818         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
45819         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
45820         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
45821         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
45822         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
45823         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
45824         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
45825         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
45826         (R_ARM_THM_GOT_BREL12): Likewise.
45827         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
45828         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
45829         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
45830         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
45831         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
45832         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
45833         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
45834         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
45835         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
45837 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
45839         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
45840         __attribute_used__ to __attribute__ ((unused)).
45842 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
45844         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
45845         powerpc mpa.c.
45846         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
45847         comment formatting.
45848         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
45850 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
45852         [BZ #13550]
45853         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
45854         Remove macro.
45855         (ENTER): Remove both macro definitions.
45856         (LEAVE): Likewise.
45857         (CHECK_BOUNDS_LOW): Likewise.
45858         (CHECK_BOUNDS_HIGH): Likewise.
45859         (CHECK_BOUNDS_BOTH): Likewise.
45860         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
45861         (RETURN_BOUNDED_POINTER): Likewise.
45862         (RETURN_NULL_BOUNDED_POINTER): Likewise.
45863         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
45864         (POP_ERRNO_LOCATION_RETURN): Likewise.
45865         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
45866         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
45867         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
45868         macros.
45869         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
45870         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
45871         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
45872         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
45873         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
45874         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
45875         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
45876         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
45877         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
45878         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
45879         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
45880         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
45881         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
45882         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
45883         removed macros.
45884         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
45885         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
45886         macros.
45887         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
45888         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
45889         * sysdeps/i386/i586/memset.S (memset): Likewise.
45890         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
45891         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
45892         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
45893         macros.
45894         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
45895         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
45896         Change uses of L(2) to L(out).
45897         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
45898         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
45899         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
45900         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
45901         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
45902         removed macros.
45903         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
45904         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
45905         macros.
45906         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
45907         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
45908         (RETURN): Do not use macro LEAVE.
45909         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
45910         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
45911         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
45912         * sysdeps/i386/i686/memset.S (memset): Likewise.
45913         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
45914         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
45915         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
45916         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
45917         Likewise.
45918         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
45919         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
45920         L(1_2) and L(1_3) into L(1).
45921         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
45922         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
45923         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
45924         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
45925         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
45926         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
45927         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
45928         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
45929         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
45930         macros.
45931         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
45932         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
45933         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
45934         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
45935         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
45936         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
45937         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
45938         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
45939         * sysdeps/i386/strcspn.S (strcspn): Likewise.
45940         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
45941         * sysdeps/i386/strrchr.S (strrchr): Likewise.
45942         * sysdeps/i386/strspn.S (strspn): Likewise.
45943         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
45944         conditional code.
45945         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
45946         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
45947         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
45948         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
45949         L(1_3) into L(1_1).
45950         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
45951         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
45952         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
45953         macros.
45954         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
45956 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
45958         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
45959         macro.
45961 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
45963         * math/atest-exp.c (exp_mpn): Remove ROUND.
45964         * math/atest-exp2.c (exp_mpn): Likewise.
45965         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
45967         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
45968         * stdlib/tst-tls-atexit-lib.c: Likewise.
45969         * stdlib/tst-tls-atexit.c: Likewise.
45971 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
45973         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
45974         and __attribute_alloc_size__.
45976 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
45978         * include/programs/xmalloc.h: Change __attribute_alloc_size to
45979         __attribute_alloc_size__.
45980         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
45981         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
45983 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
45985         * include/programs/xmalloc.h: New file.
45986         * catgets/gencat.c: Include it.
45987         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
45988         * elf/pldd.c: Likewise.
45989         * iconv/iconv_charmap.c: Likewise.
45990         * iconv/iconvconfig.c: Likewise.
45991         * iconv/strtab.c: Likewise.
45992         * locale/programs/locale.c: Likewise.
45993         * locale/programs/localedef.h: Likewise.
45994         * locale/programs/simple-hash.c: Likewise.
45995         * nscd/nscd.h: Likewise.
45996         * nss/makedb.c: Likewise.
45997         * sysdeps/generic/ldconfig.h: Likewise.
45999 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
46001         * Versions.def: Add GLIBC_2.18.
46002         * include/link.h (struct link_map): New member l_tls_dtor_count.
46003         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
46004         (__call_tls_dtors): Likewise.
46005         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
46006         __cxa_thread_atexit_impl.
46007         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
46008         Likewise.
46009         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
46010         Likewise.
46011         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
46012         Likewise.
46013         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
46014         Likewise.
46015         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
46016         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
46017         Likewise.
46018         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
46019         Likewise.
46020         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
46021         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
46022         Likewise.
46023         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
46024         (tests): Add test case tst-tls-atexit.
46025         (modules-names): Add shared library for tst-tls-atexit.
46026         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
46027         (GLIBC_PRIVATE): Add __call_tls_dtors.
46028         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
46029         for libstdc++.
46030         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
46031         * stdlib/tst-tls-atexit.c: New test case.
46032         * stdlib/tst-tls-atexit-lib.c: New test case.
46034         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
46036         * elf/Versions (ld): Add _dl_find_dso_for_object.
46037         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
46038         * elf/dl-open.c (_dl_find_dso_for_object): New function.
46039         (dl_open_worker): Use _dl_find_dso_for_object.
46040         * elf/dl-sym.c (do_sym): Likewise.
46041         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
46043 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
46045         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
46046         Syntactic changes only.
46047         (_dl_runtime_profile): Do a tail-call to the resolved function.
46049 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
46051         [BZ #13550]
46052         * sysdeps/x86_64/bp-asm.h: Remove file.
46053         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
46054         <bp-sym.h> and <bp-asm.h>.
46055         (__clone): Do not use BP_SYM.
46056         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
46057         <bp-sym.h> and <bp-asm.h>.
46058         * sysdeps/unix/x86_64/sysdep.S: Likewise.
46059         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
46060         "bp-asm.h".
46061         (_setjmp): Do not use BP_SYM.
46062         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
46063         "bp-asm.h".
46064         (setjmp): Do not use BP_SYM.
46065         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
46066         libc_hidden_def.
46067         (mempcpy): Do not use BP_SYM in weak_alias.
46068         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
46069         "bp-asm.h".
46070         (strchr): Do not use BP_SYM.
46071         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
46072         "bp-asm.h".
46073         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
46074         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
46075         (_start): Do not use BP_SYM.
46076         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
46077         "bp-asm.h".
46078         (strcat): Do not use BP_SYM.
46079         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
46080         "bp-asm.h".
46081         (STRCMP): Do not use BP_SYM.
46082         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
46083         "bp-asm.h".
46084         (STRCPY): Do not use BP_SYM.
46085         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
46086         "bp-asm.h".
46087         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
46088         "bp-asm.h".
46089         (FUNCTION): Do not use BP_SYM.
46090         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
46091         weak_alias.
46092         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
46094 2013-02-17  Andreas Jaeger  <aj@suse.de>
46096         * time/Versions: Sort entries.
46097         * string/Versions: Likewise.
46098         * resolv/Versions: Likewise.
46099         * posix/Versions: Likewise.
46100         * iconv/Versions: Likewise.
46101         * elf/Versions: Likewise.
46102         * wcsmbs/Versions: Likewise.
46104 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
46106         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
46107         loop termination condition.
46109         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
46110         variable to calculate EZ.
46111         (__sqr): Likewise.
46113         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
46114         the lower precision input.
46116 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
46118         [BZ #13550]
46119         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
46120         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
46121         (run-via-rtld-prefix): Do not handle %-bp tests.
46122         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
46123         (all-object-suffixes): Remove .ob.
46124         (bppfx): Remove variable.
46125         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
46126         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
46127         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
46128         [$(build-bounded) = yes] (libtype.ob): Likewise.
46129         * Makerules (elide-routines.ob): Remove variable.
46130         (do-tests-clean): Do not handle *-bp.out.
46131         (common-mostlyclean): Do not handle *-bp and *-bp.out.
46132         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
46133         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
46134         (tests): Do not include $(tests-bp.out).
46135         (xtests): Do not include $(xtests-bp.out).
46136         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
46137         [$(build-bounded) = yes] ($(addprefix
46138         $(objpfx),$(binaries-bounded))): Remove rule.
46139         ($(objpfx)%-bp.out): Remove rule.
46140         * config.make.in (build-bounded): Remove variable.
46141         * crypt/Makefile [$(build-bounded) = yes]
46142         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
46143         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
46144         append to variable.
46145         [$(build-bounded) = yes] (install-lib): Likewise.
46146         [$(build-bounded) = yes] (generated): Likewise.
46147         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
46148         Remove rule.
46149         * intl/Makefile [$(build-bounded) = yes]
46150         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
46151         * math/Makefile [$(build-bounded) = yes]
46152         ($(tests:%=$(objpfx)%-bp): Likewise.
46153         * misc/Makefile [$(build-bounded) = yes]
46154         ($(objpfx)tst-tsearch-bp): Likewise.
46155         * nptl/Makeconfig (bounded-thread-library): Remove variable.
46156         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
46157         Remove dependency.
46158         * string/Makefile (o-objects.ob): Remove variable.
46159         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
46160         (CFLAGS-.ob): Remove variable.
46161         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
46162         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
46163         both definitions of variable.
46164         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
46165         (ASFLAGS-.ob): Remove variable.
46167 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
46169         [BZ #13550]
46170         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
46171         Remove __BOUNDED_POINTERS__ from condition.
46172         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
46173         * string/bits/string2.h [!__NO_STRING_INLINES &&
46174         !__BOUNDED_POINTERS__]: Likewise.
46175         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
46176         Likewise.
46177         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
46178         Remove conditional code.
46179         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
46180         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
46181         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
46182         condition.
46184         [BZ #13550]
46185         * csu/libc-start.c: Do not include <bp-sym.h>.
46186         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
46187         * elf/dl-open.c: Do not include <bp-sym.h>.
46188         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
46189         * math/fegetenv.c: Do not include <bp-sym.h>.
46190         (fegetenv): Do not use BP_SYM in versioned symbols.
46191         * nptl/sysdeps/pthread/bits/libc-lockP.h
46192         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
46193         <bp-sym.h>.
46194         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
46195         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
46196         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
46197         (__pthread_mutex_destroy): Likewise.
46198         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
46199         (__pthread_mutex_lock): Likewise.
46200         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
46201         (__pthread_mutex_trylock): Likewise.
46202         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
46203         (__pthread_mutex_unlock): Likewise.
46204         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
46205         (__pthread_mutexattr_init): Likewise.
46206         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
46207         (__pthread_mutexattr_destroy): Likewise.
46208         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
46209         (__pthread_mutexattr_settype): Likewise.
46210         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
46211         (__pthread_rwlock_init): Likewise.
46212         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
46213         (__pthread_rwlock_destroy): Likewise.
46214         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
46215         (__pthread_rwlock_rdlock): Likewise.
46216         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
46217         (__pthread_rwlock_tryrdlock): Likewise.
46218         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
46219         (__pthread_rwlock_wrlock): Likewise.
46220         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
46221         (__pthread_rwlock_trywrlock): Likewise.
46222         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
46223         (__pthread_rwlock_unlock): Likewise.
46224         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
46225         (__pthread_key_create): Likewise.
46226         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
46227         (__pthread_setspecific): Likewise.
46228         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
46229         (__pthread_getspecific): Likewise.
46230         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
46231         Likewise.
46232         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
46233         (_pthread_cleanup_push_defer): Likewise.
46234         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
46235         (_pthread_cleanup_pop_restore): Likewise.
46236         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
46237         (pthread_setcancelstate): Likewise.
46238         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
46239         <bp-sym.h>.
46240         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
46241         (memchr): Do not use BP_SYM in weak_alias.
46242         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
46243         (fegetenv): Do not use BP_SYM in versioned symbols.
46244         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
46245         (fesetenv): Do not use BP_SYM in versioned symbols.
46246         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
46247         (feupdateenv): Do not use BP_SYM in versioned symbols.
46248         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
46249         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
46250         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
46251         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
46252         (open64): Do not use BP_SYM in weak_alias.
46253         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
46254         (fegetenv): Do not use BP_SYM in versioned symbols.
46255         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
46256         (fesetenv): Do not use BP_SYM in versioned symbols.
46257         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
46258         (feupdateenv): Do not use BP_SYM in versioned symbols.
46259         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
46260         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
46261         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
46262         (feraiseexcept): Do not use BP_SYM in versioned symbols.
46263         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
46264         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
46265         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
46266         <bp-sym.h>.
46267         (__libc_start_main): Do not use BP_SYM.
46269 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
46271         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
46272         redundant return line.
46273         (norm): Likewise.
46274         (denorm): Likewise.
46275         (dbl_mp): Likewise.
46276         (sub_magnitudes): Likewise.
46277         (__add): Likewise.
46278         (__sub): Likewise.
46279         (__mul): Likewise.
46280         (__inv): Likewise.
46281         (__dvd): Likewise.
46282         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
46283         (norm): Likewise.
46284         (denorm): Likewise.
46285         (dbl_mp): Likewise.
46286         (sub_magnitudes): Likewise.
46287         (__add): Likewise.
46288         (__sub): Likewise.
46289         (__mul): Likewise.
46290         (__inv): Likewise.
46291         (__dvd): Likewise.
46293         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
46294         instead of __mul.
46295         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
46296         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
46297         (cc32): Likewise.
46299         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
46300         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
46301         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
46302         of __mul for squares.
46303         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
46304         function
46305         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
46306         Likewise.
46307         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
46308         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
46310 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
46312         [BZ #13550]
46313         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
46314         code.
46315         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
46316         prototype or function definition.  Rename ubp_* variables and
46317         parameters.  Remove argv definitions conditional on
46318         [__BOUNDED_POINTERS__].
46319         * debug/backtrace.c (__backtrace): Do not use __unbounded.
46320         * elf/dl-runtime.c (_dl_fixup): Likewise.
46321         * include/set-hooks.h (RUN_HOOK): Likewise.
46322         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
46323         definition.
46324         * string/strcpy.c (strcpy): Do not use __unbounded.
46325         * sysdeps/generic/frame.h (struct layout): Likewise.
46326         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
46327         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
46328         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
46329         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
46330         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
46331         (__backtrace): Likewise.
46332         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
46333         use __ptrvalue.
46334         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
46335         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
46336         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
46337         Likewise.
46338         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
46339         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
46340         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
46341         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
46342         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
46343         Do not use __unbounded.
46344         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
46345         Rename __unboundedrlimits parameter to rlimits in prototype.
46346         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
46347         Do not use __unbounded.
46348         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
46349         not use __ptrvalue.
46350         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
46351         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
46352         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
46353         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
46354         __ptrvalue or __unbounded.
46355         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
46356         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
46357         use __unbounded.
46358         (__new_msgctl): Do not use __ptrvalue.
46359         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
46360         __unbounded.
46361         (__libc_msgrcv): Do not use __ptrvalue.
46362         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
46363         startup_info): Do not use __unbounded.
46364         (__libc_start_main): Likewise.  Rename ubp_* variables and
46365         parameters.  Remove argv definitions conditional on
46366         [__BOUNDED_POINTERS__].
46367         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
46368         __ptrvalue.
46369         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
46370         use __unbounded.
46371         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
46372         or __ptrvalue.
46373         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
46374         use __unbounded.
46375         (__new_shmctl): Do not use __ptrvalue.
46376         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
46377         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
46378         Likewise.
46379         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
46380         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
46381         (__libc_sigaction): Likewise.
46382         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
46383         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
46384         Likewise.
46385         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
46387 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
46389         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
46391         * string/mempcpy.c: Implement by calling memcpy.
46393 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
46395         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
46397         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
46398         evaluation.
46400         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
46401         values in the mantissa.
46403         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
46404         minimize writes to Z.
46405         (sub_magnitudes): Simplify code a bit.
46407 2013-02-12  Roland McGrath  <roland@hack.frob.com>
46409         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
46410         from the message.  The linker prefixes all warnings with that already.
46412 2013-02-12  Andreas Schwab  <schwab@suse.de>
46414         [BZ #15078]
46415         * posix/regexec.c (extend_buffers): Add parameter min_len.
46416         (check_matching): Pass minimum needed length.
46417         (clean_state_log_if_needed): Likewise.
46418         (get_subexp): Likewise.
46419         * posix/Makefile (tests): Add bug-regex34.
46420         (bug-regex34-ENV): Define.
46421         * posix/bug-regex34.c: New file.
46423         [BZ #11561]
46424         * posix/regcomp.c (parse_bracket_exp): When looking up collating
46425         elements compare against the byte sequence of it, not its name.
46426         * posix/Makefile (tests): Add bug-regex35.
46427         (bug-regex35-ENV): Define.
46428         * posix/bug-regex35.c: New file.
46430 2013-02-11  Tom de Vries  <tom@codesourcery.com>
46432         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
46433         comment.
46434         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
46435         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
46436         (CHECK_EOL): Add undef.
46438 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
46440         * bits/stdlib-bsearch.h: New file.
46441         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
46442         * stdlib/stdlib.h: Likewise.
46444 2013-02-11  Roland McGrath  <roland@hack.frob.com>
46446         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
46447         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
46448         declaration.
46449         * manual/search.texi (Array Search Function): Add missing const in
46450         lfind prototype.
46451         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
46452         declaration to use rlim_t.
46453         (Basic Scheduling Functions): Remove erroneous const from
46454         sched_getparam prototype.  Remove erroneous * from
46455         sched_get_priority_max and sched_get_priority_min prototypes.
46456         (Resource Usage): Fix summary @comment on vtimes to refer to
46457         sys/vtimes.h rather than vtimes.h.
46458         Add missing *s in vtimes prototype.
46459         (Limits on Resources): Fix ulimit prototype to return long int.
46460         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
46461         prototypes to use long int rather than double.
46462         (BSD Random): Fix initstate and setstate to use char *, not void *.
46463         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
46464         prototype to make second argument 'struct aiocb64 *const[]'.
46465         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
46466         (Status of AIO Operations): Remove erroneous const in aio_return and
46467         aio_return64 prototypes.
46468         (Synchronizing I/O): Fix sync prototype to return void.
46469         * manual/startup.texi (Suboptions): Remove an erroneous const in
46470         getsubopt prototype.
46471         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
46472         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
46473         use size_t rather than int.
46474         (Scanning All Users): Likewise for getpwent_r.
46475         (Setting Groups): Add missing const to setgroups prototype.
46476         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
46477         * manual/socket.texi (Host Names): Fix gethostbyaddr and
46478         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
46479         'const void *' rather than 'const char *'.
46480         (Host Address Functions): Likewise for inet_ntop.
46481         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
46482         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
46483         ssize_t for return value.
46484         (Sending Data): Likewise for send, sendto, sendmsg.
46485         (Socket Option Functions): Add a missing const in setsockopt prototype.
46486         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
46487         use wchar_t for the argument.
46488         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
46489         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
46490         take no arguments.
46491         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
46492         double/float/long double for second argument.
46493         Fix return types of significand, significandf, significandl.
46494         * manual/filesys.texi (Setting Permissions): Use mode_t for second
46495         argument in fchmod prototype.
46496         (File Owner): Use uid_t and gid_t in fchown prototype.
46497         (File Times): Add const to utimes, futimes, and lutimes prototypes.
46498         (Making Special Files): Use mode_t and dev_t in mknod prototype.
46499         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
46500         use 'const struct dirent **' as argument types to CMP function pointer
46501         argument.
46502         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
46503         (File Times): Fix summary magic @comment for struct utimbuf and utime
46504         to refer to utime.h, not time.h.
46505         * manual/string.texi (Argz Functions): Add missing const in
46506         argz_extract and argz_next prototypes.
46507         (Finding Tokens in a String): Likewise for basename.
46508         (String/Array Comparison): Fix typo in wcscasecmp prototype.
46509         (Copying and Concatenation): Fix typo in wmemmove prototype.
46510         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
46511         (Signal Stack): Remove erroneous const in sigstack prototype.
46512         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
46513         prototype.
46514         (Simple Calendar Time): Likewise for stime.
46515         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
46516         prototype.
46517         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
46518         say sys/sysctl.h instead.
46519         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
46520         and vsyslog prototypes.
46522 2013-02-11  Tom de Vries  <tom@codesourcery.com>
46524         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
46525         Remove.
46527 2013-02-11  Roland McGrath  <roland@hack.frob.com>
46529         * misc/sys/mman.h: Fix typo in mremap comment.
46531 2013-02-08  Roland McGrath  <roland@hack.frob.com>
46533         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
46534         the '\0' terminator.
46536 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
46538         [BZ #13550]
46539         * debug/segfault.c: Don't include <bp-checks.h>.
46540         * sysdeps/generic/bp-checks.h: Remove file.
46541         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
46542         (__GETDENTS): Don't use CHECK_N.
46543         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
46544         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
46545         (__getgroups): Don't use CHECK_N.
46546         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
46547         (setgroups): Don't use CHECK_N.
46548         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
46549         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
46550         (__libc_msgrcv): Don't use CHECK_N.
46551         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
46552         (__libc_msgsnd): Don't use CHECK_N.
46553         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
46554         <bp-checks.h>.
46555         (__libc_pread): Don't use CHECK_N.
46556         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
46557         include <bp-checks.h>.
46558         (__libc_pread64): Don't use CHECK_N.
46559         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
46560         include <bp-checks.h>.
46561         (__libc_pwrite): Don't use CHECK_N.
46562         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
46563         include <bp-checks.h>.
46564         (__libc_pwrite64): Don't use CHECK_N.
46565         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
46566         <bp-checks.h>.
46567         (__libc_pread): Don't use CHECK_N.
46568         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
46569         include <bp-checks.h>.
46570         (__libc_pread64): Don't use CHECK_N.
46571         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
46572         include <bp-checks.h>.
46573         (__libc_pwrite): Don't use CHECK_N.
46574         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
46575         include <bp-checks.h>.
46576         (__libc_pwrite64): Don't use CHECK_N.
46577         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
46578         (do_pread): Don't use CHECK_N.
46579         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
46580         (do_pread64): Don't use CHECK_N.
46581         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
46582         (do_pwrite): Don't use CHECK_N.
46583         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
46584         (do_pwrite64): Don't use CHECK_N.
46585         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
46586         (__libc_readv): Don't use CHECK_N.
46587         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
46588         (semop): Don't use CHECK_N.
46589         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
46590         <bp-checks.h>.
46591         (semtimedop): Don't use CHECK_N.
46592         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
46593         (__libc_pread): Don't use CHECK_N.
46594         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
46595         <bp-checks.h>.
46596         (__libc_pread64): Don't use CHECK_N.
46597         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
46598         <bp-checks.h>.
46599         (__libc_pwrite): Don't use CHECK_N.
46600         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
46601         <bp-checks.h>.
46602         (__libc_pwrite64): Don't use CHECK_N.
46603         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
46604         <bp-checks.h>.
46605         (__libc_msgrcv): Don't use CHECK_N.
46606         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
46607         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
46608         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
46609         (__libc_writev): Don't use CHECK_N.
46611 2013-02-08  Roland McGrath  <roland@hack.frob.com>
46613         * string/strcpy.c: Removed unused variable.
46615         * Makeconfig (+sysdep-includes): Define with := rather than =.
46616         Use an existing include/ subdir of each sysdeps dir before it.
46618 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
46620         * nscd/connection.c (register_traced_file): Comment function.
46621         [HAVE_INOTIFY] (union __inev): Define.
46622         [HAVE_INOTIFY] (inotify_check_files): New function.
46623         [HAVE_INOTIFY] (clear_db_cache): Likewise.
46624         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
46625         clear_db_cache.
46626         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
46628 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
46630         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
46631         loaded if not already and that a failure is permanent.
46633 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
46635         [BZ #15006]
46636         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
46637         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
46639 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
46641         [BZ #13550]
46642         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
46643         (CHECK_1_NULL_OK): Likewise.
46644         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
46645         (__fxstat): Do not use CHECK_1.
46646         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
46647         <bp-checks.h>.
46648         (___fxstat64): Do not use CHECK_1.
46649         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
46650         <bp-checks.h>.
46651         (__fxstatat): Do not use CHECK_1.
46652         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
46653         <bp-checks.h>.
46654         (__fxstatat64): Do not use CHECK_1.
46655         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
46656         <bp-checks.h>.
46657         (__fxstat): Do not use CHECK_1.
46658         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
46659         <bp-checks.h>.
46660         (__fxstatat): Do not use CHECK_1.
46661         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
46662         <bp-checks.h>.
46663         (__getresgid): Do not use CHECK_1.
46664         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
46665         <bp-checks.h>.
46666         (__getresuid): Do not use CHECK_1.
46667         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
46668         <bp-checks.h>.
46669         (__lxstat): Do not use CHECK_1.
46670         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
46671         <bp-checks.h>.
46672         (__old_msgctl): Do not use CHECK_1.
46673         (__new_msgctl): Likewise.
46674         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
46675         <bp-checks.h>.
46676         (__new_setrlimit): Do not use CHECK_1.
46677         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
46678         <bp-checks.h>.
46679         (__old_shmctl): Do not use CHECK_1.
46680         (__new_shmctl): Likewise.
46681         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
46682         <bp-checks.h>.
46683         (__xstat): Do not use CHECK_1.
46684         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
46685         (__lxstat): Do not use CHECK_1.
46686         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
46687         <bp-checks.h>.
46688         (___lxstat64): Do not use CHECK_1.
46689         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
46690         (__old_msgctl): Do not use CHECK_1.
46691         (__new_msgctl): Likewise.
46692         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
46693         <bp-checks.h>.
46694         (__gettimeofday): Do not use CHECK_1.
46695         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
46696         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
46697         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
46698         <bp-checks.h>.
46699         (__gettimeofday): Do not use CHECK_1.
46700         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
46701         (__old_shmctl): Do not use CHECK_1_NULL_OK.
46702         (__new_shmctl): Do not use CHECK_1.
46703         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
46704         <bp-checks.h>.
46705         (do_sigtimedwait): Do not use CHECK_1.
46706         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
46707         <bp-checks.h>.
46708         (do_sigwaitinfo): Do not use CHECK_1.
46709         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
46710         <bp-checks.h>.
46711         (msgctl): Do not use CHECK_1.
46712         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
46713         <bp-checks.h>.
46714         (shmctl): Do not use CHECK_1.
46715         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
46716         (ustat): Do not use CHECK_1.
46717         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
46718         <bp-checks.h>.
46719         (__fxstat): Do not use CHECK_1.
46720         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
46721         <bp-checks.h>.
46722         (__fxstatat): Do not use CHECK_1.
46723         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
46724         <bp-checks.h>.
46725         (__lxstat): Do not use CHECK_1.
46726         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
46727         <bp-checks.h>.
46728         (__xstat): Do not use CHECK_1.
46729         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
46730         (__xstat): Do not use CHECK_1.
46731         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
46732         (___xstat64): Do not use CHECK_1.
46734         [BZ #13550]
46735         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
46736         definitions.
46737         (CHECK_BOUNDS_HIGH): Likewise.
46738         * string/strcpy.c: Do not include <bp-checks.h>.
46739         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
46741 2013-02-07  Roland McGrath  <roland@hack.frob.com>
46743         * nscd/nscd-client.h (__nscd_drop_map_ref):
46744         Add __attribute__ ((unused)).
46745         * nis/nss-nisplus.h (niserr2nss): Likewise.
46747         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
46748         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
46750         * csu/libc-tls.c (init_static_tls, init_slotinfo):
46751         Remove inline keyword.
46752         * include/rounding-mode.h (round_away): Likewise.
46753         * libio/wfileops.c (adjust_wide_data): Likewise.
46754         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
46755         (__m128i_strloadu_tolower): Likewise.
46756         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
46757         (__m128i_strloadu_tolower): Likewise.
46758         * time/mktime.c (ydhms_diff): Likewise.
46759         * locale/elem-hash.h (elem_hash): Likewise.
46760         * locale/setlocale.c (setdata): Likewise.
46761         * posix/regex_internal.h (re_string_char_size_at): Likewise.
46762         (re_string_wchar_at): Likewise.
46763         (bitset_not, bitset_merge, bitset_mask): Likewise.
46764         [!(__GNUC__ > 3)] (inline): Remove macro.
46765         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
46766         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
46767         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
46768         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
46769         * string/memcmp.c (memcmp_bytes): Likewise.
46770         * locale/programs/locarchive.c (compute_hashval): Likewise.
46771         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
46772         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
46773         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
46774         * nss/getent.c (print_rpc, print_protocols): Likewise.
46775         (print_passwd, print_group, print_aliases): Likewise.
46776         * nis/nss-nisplus.h (niserr2nss): Likewise.
46777         * nscd/connections.c (restart_p): Likewise.
46778         Change return type to bool.
46780 2013-02-05  Roland McGrath  <roland@hack.frob.com>
46782         * Makeconfig (all-Depend-files): Add existing
46783         $(sorted-subdirs:=/Depend) files.
46784         (all-subdirs): Remove nss.
46785         * sysdeps/unix/inet/Subdirs: Add it here instead.
46786         * hesiod/Depend: New file.
46788         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
46789         instead of calling alloca.
46791         * io/lseek.c (__lseek): Rename to __libc_lseek.
46792         Define __lseek as an alias.
46794         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
46796 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
46798         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
46799         else clause and remove check for non-standard endianness.
46801 2013-02-04  David S. Miller  <davem@davemloft.net>
46803         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46805 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
46807         [BZ #13550]
46808         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
46809         (__ubp_memchr): Remove prototype.
46810         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
46811         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
46812         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
46813         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
46814         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
46815         Remove alias.
46816         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
46817         (__ubp_memchr): Likewise.
46818         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
46819         (__ubp_memchr): Likewise.
46820         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
46821         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
46822         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
46823         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
46824         CHECK_STRING.
46825         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
46826         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
46827         (__getcwd): Do not use CHECK_STRING.
46828         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
46829         <bp-checks.h>.
46830         (__real_chown): Do not use CHECK_STRING.
46831         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
46832         <bp-checks.h>.
46833         (fchownat): Do not use CHECK_STRING.
46834         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
46835         CHECK_STRING.
46836         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
46837         <bp-checks.h>.
46838         (__lchown): Do not use CHECK_STRING.
46839         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
46840         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
46841         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
46842         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
46843         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
46844         include <bp-checks.h>.
46845         (truncate64): Do not use CHECK_STRING.
46846         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
46847         <bp-checks.h>.
46848         (__real_chown): Do not use CHECK_STRING.
46849         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
46850         <bp-checks.h>.
46851         (__lchown): Do not use CHECK_STRING.
46852         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
46853         <bp-checks.h>.
46854         (__chown): Do not use CHECK_STRING.
46855         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
46856         <bp-checks.h>.
46857         (truncate64): Do not use CHECK_STRING.
46858         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
46859         Likewise.
46860         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
46861         (__xmknod): Do not use CHECK_STRING.
46862         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
46863         <bp-checks.h>.
46864         (__xmknodat): Do not use CHECK_STRING.
46865         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
46866         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
46868 2013-02-04  Andreas Schwab  <schwab@suse.de>
46870         [BZ #14142]
46871         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
46872         * include/netdb.h: Likewise for h_errno.
46873         * elf/tst-stackguard1.c: Include <tls.h>.
46875 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
46877         * elf/link.h (struct link_map): Extend the l_addr comment.
46878         * include/link.h (struct link_map): Likewise.
46880 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
46882         [BZ #13550]
46883         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
46884         (BOUNDED_1): Remove macro.
46885         * debug/backtrace.c: Don't include <bp-checks.h>.
46886         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
46887         (__backtrace): Likewise.
46888         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
46889         <bp-checks.h>.
46890         (__backtrace): Don't use BOUNDED_1.
46891         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
46892         <bp-checks.h>.
46893         (__backtrace): Don't use BOUNDED_1.
46894         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
46895         (__backtrace): Don't use BOUNDED_1.
46896         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
46897         (shmat): Don't use BOUNDED_N.
46899 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
46901         [BZ #13550]
46902         * sysdeps/generic/bp-start.h: Remove file.
46903         * csu/libc-start.c: Don't include <bp-start.h>.
46904         (LIBC_START_MAIN): Set up __environ directly instead of using
46905         INIT_ARGV_and_ENVIRON.
46906         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
46907         <bp-start.h>.
46909         [BZ #13550]
46910         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
46911         definitions.
46912         (CHECK_FCNTL): Likewise.
46913         (CHECK_N_PAGES): Likewise.
46915         [BZ #13550]
46916         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
46917         definitions.
46918         (CHECK_SIGSET_NULL_OK): Likewise.
46919         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
46920         <bp-checks.h>.
46921         (sigpending): Don't use CHECK_SIGSET.
46922         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
46923         <bp-checks.h>.
46924         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
46925         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
46926         <bp-checks.h>.
46927         (do_sigsuspend): Don't use CHECK_SIGSET.
46928         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
46929         use CHECK_SIGSET.
46930         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
46931         (do_sigwait): Don't use CHECK_SIGSET.
46932         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
46933         use CHECK_SIGSET.
46934         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
46935         include <bp-checks.h>.
46936         (sigpending): Don't use CHECK_SIGSET.
46937         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
46938         include <bp-checks.h>.
46939         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
46940         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
46941         <bp-checks.h>.
46942         (sigpending): Don't use CHECK_SIGSET.
46943         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
46944         <bp-checks.h>.
46945         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
46947         [BZ #13550]
46948         * sysdeps/generic/bp-semctl.h: Remove file.
46949         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
46950         <bp-checks.h> and <bp-semctl.h>.
46951         (__old_semctl): Don't use CHECK_SEMCTL.
46952         (__new_semctl): Likewise.
46953         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
46954         and <bp-semctl.h>.
46955         (__old_semctl): Don't use CHECK_SEMCTL.
46956         (__new_semctl): Likewise.
46957         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
46958         <bp-checks.h> and <bp-semctl.h>.
46959         (__old_semctl): Don't use CHECK_SEMCTL.
46960         (__new_semctl): Likewise.
46961         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
46962         <bp-checks.h> and <bp-semctl.h>.
46963         (semctl): Don't use CHECK_SEMCTL.
46965         [BZ #13550]
46966         * Makerules (elide-bp-thunks): Remove variable.
46967         (elide-routines.oS): Don't use $(elide-bp-thunks).
46968         (elide-routines.os): Likewise.
46969         (elide-routines.o): Likewise.
46970         (elide-routines.op): Likewise.
46971         (elide-routines.og): Likewise.
46972         (objects): Don't use $(bp-thunks).
46973         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
46974         include.
46975         (common-generated): Do not add s-proto-bp.d.
46976         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
46977         (int): Likewise.
46978         (typ): Likewise.
46979         Do not generate makefile rules for bounded-pointer thunks.
46980         * sysdeps/generic/bp-thunks.h: Remove file.
46981         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
46982         * sysdeps/unix/s-proto-bp.S: Likewise.
46984         [BZ #15062]
46985         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
46986         parts of result separately when argument is not close to line from
46987         -i to i and one part of argument is small.
46988         * math/k_casinhf.c (__kernel_casinhf): Likewise.
46989         * math/k_casinhl.c (__kernel_casinhl): Likewise.
46990         * math/libm-test.inc (cacos_test): Add more tests.
46991         (casin_test): Likewise.
46992         (casinh_test): Likewise.
46993         * sysdeps/i386/fpu/libm-test-ulps: Update.
46994         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46996 2013-01-31  David S. Miller  <davem@davemloft.net>
46998         * po/de.po: Update from translation team.
47000 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
47002         * time/tzfile.c: Include stdint.h for SIZE_MAX.
47004 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
47006         * configure.in (_AC_PROG_CC_C89): New definition.
47007         * configure: Regenerate.
47009         * configure.in (AC_PROG_CPP): New definition.
47010         * configure: Regenerate.
47012 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
47014         * debug/tst-backtrace.h: New file.
47015         * debug/tst-backtrace2.c: Include tst-backtrace.h.
47016         (ret): Remove variable.
47017         (x): Likewise.
47018         (FAIL): Remove macro.
47019         (NO_INLINE): Likewise.
47020         (fn1): Use match function instead of strstr.
47021         * debug/tst-backtrace3.c: Include tst-backtrace.h.
47022         (ret): Remove variable.
47023         (x): Likewise.
47024         (FAIL): Remove macro.
47025         (NO_INLINE): Likewise.
47026         (fn): Use match function instead of strstr.
47027         * debug/tst-backtrace4.c: Include tst-backtrace.h.
47028         (ret): Remove variable.
47029         (x): Likewise.
47030         (FAIL): Remove macro.
47031         (NO_INLINE): Likewise.
47032         (handle_signal): Use match function instead of strstr.
47033         * debug/tst-backtrace5.c: Include tst-backtrace.h.
47034         (ret): Remove variable.
47035         (x): Likewise.
47036         (FAIL): Remove macro.
47037         (NO_INLINE): Likewise.
47038         (handle_signal): Use match function instead of strstr.
47040 2013-01-23  Roland McGrath  <roland@hack.frob.com>
47042         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
47044 2013-01-23  David S. Miller  <davem@davemloft.net>
47046         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
47047         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
47048         argument of CAS if possible.
47049         * sysdeps/sparc/sparc64/bits/atomic.h
47050         (__arch_compare_and_exchange_val_32_acq): Likewise.
47051         (__arch_compare_and_exchange_val_64_acq): Likewise.
47053 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
47055         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
47056         * sysdeps/posix/ulimit.c: ... this.
47057         Include <limits.h>.
47058         * sysdeps/unix/bsd/ulimit.c: Remove file.
47060 2013-01-23  Adam Conrad  <adconrad@0c3.net>
47062         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
47063         (LDFLAGS-tst-array5): Likewise.
47065 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
47067         [BZ #15036]
47068         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
47069         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
47070         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
47071         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
47073 2013-01-21  David S. Miller  <davem@davemloft.net>
47075         * sysdeps/sparc/backtrace.c: New file.
47076         * sysdeps/sparc/sparc32/backtrace.h: New file.
47077         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
47078         * sysdeps/sparc/sparc64/backtrace.h: New file.
47079         * sysdeps/sparc/sparc64/backtrace.c: Delete.
47080         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
47081         -funwind-tables.
47083 2013-01-21  Andreas Schwab  <schwab@suse.de>
47085         [BZ #15020]
47086         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
47087         closed its stdout.
47089 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
47091         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
47092         "mpa2.h".
47093         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
47095 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
47096             Mark Mitchell  <mark@codesourcery.com>
47097             Tom de Vries  <tom@codesourcery.com>
47098             Paul Pluzhnikov  <ppluzhnikov@google.com>
47100         * debug/tst-backtrace2.c: New file.
47101         * debug/tst-backtrace3.c: Likewise.
47102         * debug/tst-backtrace4.c: Likewise.
47103         * debug/tst-backtrace5.c: Likewise.
47104         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
47105         (CFLAGS-tst-backtrace3.c): Likewise.
47106         (CFLAGS-tst-backtrace4.c): Likewise.
47107         (CFLAGS-tst-backtrace5.c): Likewise.
47108         (LDFLAGS-tst-backtrace2): Likewise.
47109         (LDFLAGS-tst-backtrace3): Likewise.
47110         (LDFLAGS-tst-backtrace4): Likewise.
47111         (LDFLAGS-tst-backtrace5): Likewise.
47112         (tests): Add new tests tst-backtrace2, tst-backtrace3,
47113         tst-backtrace4 and tst-backtrace5.
47115 2013-01-18  Anton Blanchard  <anton@samba.org>
47116             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
47118         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
47119         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
47120         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
47121         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
47122         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
47123         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
47124         "+r" and remove output regs list as redundant.  Add explicit inline
47125         asm to specify register of return val to work around compiler codegen
47126         bug.  Remove (int) cast on return value.  Add return type parameter to
47127         use in macro so that this macro does not truncate return value for
47128         64-bit values.
47129         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
47130         pass to INTERNAL_VSYSCALL_NCS.
47131         (INLINE_VSYSCALL): Add 'long int' as return type to
47132         INTERNAL_VSYSCALL_NCS macro invocation.
47133         (INTERNAL_VSYSCALL): Add 'long int' as return type to
47134         INTERNAL_VSYSCALL_NCS macro invocation.
47135         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
47137 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
47139         [BZ #14496]
47140         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
47141         Fix application of SIMD FP exception mask.
47143         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
47144         mp_no from a power of two.
47145         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
47146         __mpexp_twomm1.  Use __pow_mp.
47148         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
47149         multiplication.
47151 2013-01-17  David S. Miller  <davem@davemloft.net>
47153         * sysdeps/sparc/fpu/libm-test-ulps: Update.
47155 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
47157         [BZ #15023]
47158         * include/complex.h: Condition contents on [!_COMPLEX_H].
47159         (__kernel_casinhf): New prototype.
47160         (__kernel_casinh): Likewise.
47161         (__kernel_casinhl): Likewise.
47162         * math/Makefile (libm_calls): Add k_casinh.
47163         * math/k_casinh.c: New file.
47164         * math/k_casinhf.c: Likewise.
47165         * math/k_casinhl.c: Likewise.
47166         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
47167         finite nonzero arguments.
47168         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
47169         finite nonzero arguments.
47170         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
47171         finite nonzero arguments.
47172         * math/s_casinh.c: Do not include <float.h>.
47173         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
47174         * math/s_casinhf.c: Do not include <float.h>.
47175         (__casinhf): Move code for finite nonzero arguments to
47176         k_casinhf.c.
47177         * math/s_casinhl.c: Do not include <float.h>.
47178         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
47179         redefine.
47180         (__casinhl): Move code for finite nonzero arguments to
47181         k_casinhl.c.
47182         * math/libm-test.inc (cacos_test): Add more tests.
47183         * sysdeps/i386/fpu/libm-test-ulps: Update.
47184         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47186 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
47188         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
47189         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
47190         [!HAVE_MREMAP]: Remove [defined linux] case.
47191         * malloc/arena.c: Do not include <malloc-sysdep.h>.
47193 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
47195         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
47197 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
47199         * elf/elf.h (R_386_SIZE32): New relocation.
47200         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
47201         R_386_SIZE32.
47202         (elf_machine_rela): Likewise.
47203         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
47204         R_X86_64_SIZE64 and R_X86_64_SIZE32.
47206 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
47208         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
47209         (FP_FAST_FMA): Do not define.
47210         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
47211         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
47212         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
47213         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
47214         !_SOFT_FLOAT]: Likewise.
47215         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
47216         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
47217         value.
47218         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
47219         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
47220         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
47221         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
47222         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
47223         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
47224         file.
47226 2013-01-16  Andreas Schwab  <schwab@suse.de>
47228         [BZ #14327]
47229         * include/stdlib.h (__mktemp): Add declaration.
47230         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
47231         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
47233 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
47235         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
47236         definitions.
47237         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
47238         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
47239         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
47240         definitions here.
47241         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
47242         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
47243         definitions.
47244         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
47245         and ONE.
47246         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
47247         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
47248         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
47249         definitions.
47250         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
47251         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
47252         definitions.
47253         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
47255         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
47257 2013-01-15  David S. Miller  <davem@davemloft.net>
47259         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
47260         trunc{,f} to libm-sysdep_routes.
47261         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
47262         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
47263         file.
47264         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
47265         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
47266         file.
47267         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
47268         file.
47269         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
47270         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
47271         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
47272         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
47273         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
47274         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
47275         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
47276         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
47278         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
47279         nearbyint{,f} to libm-sysdep_routes.
47280         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
47281         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
47282         New file.
47283         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
47284         file.
47285         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
47286         New file.
47287         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
47288         file.
47289         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
47290         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
47291         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
47292         file.
47293         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
47294         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
47295         file.
47296         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
47297         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
47298         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
47300         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
47301         libc_feholdexcept and libc_fesetenv.
47303 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
47305         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
47307 2013-01-14  David S. Miller  <davem@davemloft.net>
47309         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
47310         (SPARC_ASM_VIS2_IFUNC): Likewise.
47311         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
47312         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
47313         use of 'siam' instruction.
47314         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
47315         Likewise.
47316         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
47317         Likewise.
47318         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
47319         Likewise.
47320         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
47321         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
47322         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
47323         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
47324         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
47325         file.
47326         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
47327         file.
47328         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
47329         file.
47330         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
47331         file.
47332         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
47333         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
47334         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
47335         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
47336         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
47337         new VIS2 routines.
47338         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
47339         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
47340         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
47341         Likewise.
47342         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
47343         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
47344         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
47345         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
47346         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
47347         routines to libm-sysdep_routines.
47348         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
47350         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
47351         fdim/fdimf to libm-sysdep_routines.
47352         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
47353         file.
47354         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
47355         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
47356         file.
47357         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
47358         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
47359         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
47360         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
47361         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
47362         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
47363         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
47365 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
47367         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
47368         to optimize copies.
47370         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
47371         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
47372         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
47374         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
47375         local variable MPTWO.
47376         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
47377         Likewise.
47379 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
47381         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
47382         GLOB_NOESCAPE.
47384 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
47386         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
47388 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
47390         * manual/pattern.texi (glob_t): Document gl_flags.
47391         (glob64_t): Likewise.
47393 2013-01-11  David S. Miller  <davem@davemloft.net>
47395         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
47396         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
47397         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
47398         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
47399         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
47400         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
47401         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
47402         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
47403         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
47404         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
47405         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
47406         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
47407         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
47409         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
47410         sparc V9 rather than using V8 code.
47411         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
47412         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
47414         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
47415         Move to...
47416         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
47417         Here.
47419 2013-01-11  Roland McGrath  <roland@hack.frob.com>
47421         [BZ #14941]
47422         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
47423         not in the main loop.
47424         * configure: Regenerated.
47426 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
47428         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
47429         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
47430         to just #else.
47431         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
47432         [!__GLIBC_HAVE_LONG_LONG] case.
47433         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
47434         condition to just #else.
47435         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
47436         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
47437         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
47438         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
47439         unconditional.
47440         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
47441         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
47442         #elif condition to just #else.
47443         * sysdeps/unix/sysv/linux/sys/sysmacros.h
47444         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
47445         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
47446         #elif condition to just #else.
47448 2013-01-11  Steve Ellcey  <sellcey@mips.com>
47450         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
47451         (EF_MIPS_ARCH_64): Fix value.
47452         (EF_MIPS_ARCH_32R2): New.
47453         (EF_MIPS_ARCH_64R2): New.
47455 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
47457         * Makeconfig (+link-pie-before-libc): New.
47458         (+link-pie-after-libc): Likewise.
47459         (+link-pie-tests): Likewise.
47460         (+link-pie): Rewritten.
47461         (link-before-libc): Remove $(config-LDFLAGS).
47462         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
47463         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
47464         (config-LDFLAGS): Renamed to ...
47465         (rtld-LDFLAGS): This.
47466         (rtld-tests-LDFLAGS): New macro.
47467         (link-libc-rpath-link): Likewise.
47468         (link-libc-tests-rpath-link): Likewise.
47469         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
47470         (link-libc): Prepand $(link-libc-rpath-link).
47471         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
47472         (test-program-prefix): New macro.
47473         (test-via-rtld-prefix): Likewise.
47474         (test-program-cmd): Likewise.
47475         (host-test-program-cmd): Likewise.
47476         * Makefile ($(common-objpfx)testrun.sh): Replace
47477         $(run-program-prefix) with $(test-program-prefix).
47478         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
47479         $(rtld-LDFLAGS).
47480         ($(common-objpfx)shlib.lds): Likewise.
47481         (build-module-helper): Likewise.
47482         ($(common-objpfx)format.lds): Likewise.
47483         * Rules (binaries-pie-tests): New.
47484         (binaries-pie-notests): Likewise.
47485         (binaries-pie): Rewritten.
47486         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
47487         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
47488         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
47489         (make-test-out): Replace $(host-built-program-cmd) with
47490         $(host-test-program-cmd).
47491         * config.make.in (build-hardcoded-path-in-tests): New variable.
47492         * configure.in (--enable-hardcoded-path-in-tests): New configure
47493         option.
47494         (hardcoded_path_in_tests): New AC_SUBST.
47495         * configure: Regenerated.
47496         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
47497         $(built-program-cmd) with $(test-program-cmd).
47498         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
47499         (test_program_cmd): This.
47500         * elf/Makefile ($(objpfx)order.out): Run test with
47501         $(test-program-prefix).
47502         ($(objpfx)order2.out): Likewise.
47503         ($(objpfx)tst-initorder.out): Likewise.
47504         ($(objpfx)tst-initorder2.out): Likewise.
47505         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
47506         $(test-program-cmd).
47507         ($(objpfx)tst-array1-static.out): Likewise.
47508         ($(objpfx)tst-array2.out): Likewise.
47509         ($(objpfx)tst-array3.out): Likewise.
47510         ($(objpfx)tst-array4.out): Likewise.
47511         ($(objpfx)tst-array5.out): Likewise.
47512         ($(objpfx)tst-array5-static.out): Likewise.
47513         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
47514         $(test-program-cmd).
47515         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
47516         $(run-program-prefix) with $(test-program-prefix).
47517         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
47518         (test_program_prefix): This.
47519         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
47520         $(run-program-prefix) with $(test-program-prefix).
47521         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
47522         (test_program_prefix): This.
47523         * iconvdata/tst-tables.sh: Likewise.
47524         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
47525         $(run-program-prefix) with $(test-program-prefix).
47526         ($(objpfx)tst-translit.out): Likewise.
47527         ($(objpfx)tst-gettext2.out): Likewise.
47528         ($(objpfx)tst-gettext4.out): Likewise.
47529         ($(objpfx)tst-gettext6.out): Likewise.
47530         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
47531         (test_program_prefix): This.
47532         * intl/tst-gettext2.sh: Likewise.
47533         * intl/tst-gettext4.sh  Likewise.
47534         * intl/tst-gettext6.sh: Likewise.
47535         * intl/tst-translit.sh: Likewise.
47536         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
47537         with $(test-program-cmd).
47538         * libio/Makefile ($(objpfx)test-freopen.out): Replace
47539         $(run-program-prefix) with $(test-program-prefix).
47540         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
47541         (test_program_prefix): This.
47542         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
47543         $(run-program-prefix) with $(test-program-prefix).
47544         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
47545         (test_program_prefix): This.
47546         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
47547         * posix/Makefile ($(objpfx)globtest.out): Replace
47548         $(run-via-rtld-prefix) and $(test-wrapper) with
47549         $(test-program-prefix) and $(test-via-rtld-prefix).
47550         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
47551         $(test-program-prefix).
47552         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
47553         $(host-test-program-cmd).
47554         (tst-spawn-ARGS): Likewise.
47555         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
47556         $(test-program-prefix).
47557         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
47558         (test_via_rtld_prefix): This.
47559         (test_wrapper): Renamed to ...
47560         (test_program_prefix): This.
47561         (run_program_prefix): Replaced by test_program_prefix.
47562         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
47563         (test_program_prefix): This.
47564         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
47565         with $(host-test-program-cmd).
47566         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
47567         $(run-program-prefix) with $(test-program-prefix).
47568         ($(objpfx)tst-printf.out): Likewise.
47569         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
47570         $(test-program-cmd).
47571         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
47572         (test_program_prefix): This.
47573         * stdio-common/tst-unbputc.sh: Likewise.
47574         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
47575         $(run-program-prefix) with $(test-program-prefix).
47576         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
47577         (test_program_prefix): This.
47578         * string/Makefile ($(objpfx)tst-svc.out):  Replace
47579         $(built-program-cmd) with $(test-program-cmd).
47581 2013-01-11  Andreas Jaeger  <aj@suse.de>
47583         [BZ #15003]
47584         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
47585         value. Sync with Linux 3.7.
47587 2013-01-10  David S. Miller  <davem@davemloft.net>
47589         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
47590         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
47591         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
47593 2013-01-10  Roland McGrath  <roland@hack.frob.com>
47595         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
47596         never set.
47597         * configure: Regenerated.
47599 2013-01-10  David S. Miller  <davem@davemloft.net>
47601         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
47602         sparc V9 rather than using V8 code.
47603         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
47604         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
47606 2013-01-10  Roland McGrath  <roland@hack.frob.com>
47608         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
47609         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
47610         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
47611         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
47612         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
47613         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
47614         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
47615         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
47616         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
47617         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
47618         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
47619         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
47620         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
47621         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
47622         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
47623         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
47624         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
47625         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
47626         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
47627         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
47628         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
47629         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
47630         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
47631         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
47632         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
47633         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
47634         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
47636 2013-01-10  David S. Miller  <davem@davemloft.net>
47638         * sysdeps/sparc/fpu/libm-test-ulps: Update.
47640 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
47642         * posix/Makefile (tests-static): New variable.
47643         (tests): Add $(tests-static).
47644         (tst-exec-static-ARGS): New variable.
47645         (tst-spawn-static-ARGS): Likewise.
47646         * posix/tst-exec-static.c: New file.
47647         * posix/tst-spawn-static.c: Likewise.
47648         * posix/tst-exec.c: Support run directly.
47649         * posix/tst-spawn.c: Likewise.
47651 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
47653         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
47654         long.
47655         * math/bits/mathcalls.h (llrint): Likewise.
47656         (llround): Likewise.
47657         * stdlib/stdlib.h (struct drand48_data): Likewise.
47658         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
47659         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
47660         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
47661         Likewise.
47662         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
47663         Likewise.
47664         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
47665         (elf_greg_t): Likewise.
47666         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
47667         (__jmp_buf): Likewise.
47668         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
47669         definitions.
47670         (llrint): Likewise, for all definitions.
47671         (llrintl): Likewise.
47673         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
47674         Remove [__GNUC__] condition.
47675         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
47676         condition to just [__USE_ISOC99].
47677         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
47679 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
47681         [BZ #14200]
47682         * sysdeps/unix/sysv/linux/x86/bits/environments.h
47683         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
47684         defined.
47685         (_POSIX_V6_ILP32_OFF32): Likewise.
47686         (_XBS5_ILP32_OFF32): Likewise.
47687         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
47688         (__ILP32_OFFBIG_LDFLAGS): Likewise.
47690 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
47692         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
47694         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
47695         doubles __mpexp_twomm1.  Adjust usage.
47696         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
47697         Remove.
47699 2013-01-10  Andreas Schwab  <schwab@suse.de>
47701         [BZ #14964]
47702         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
47703         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
47705 2013-01-09  David S. Miller  <davem@davemloft.net>
47707         [BZ #15003]
47708         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
47709         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
47710         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
47711         (TCP_FASTOPEN): Define.
47712         (tcp_repair_opt): New structure.
47713         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
47714         enum values.
47715         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
47716         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
47717         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
47718         (tcp_cookie_transactions): New structure.
47720 2013-01-09  Anton Blanchard  <anton@samba.org>
47722         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
47723         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
47724         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
47725         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
47727 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
47729         * include/features.h (__USE_ANSI): Remove.
47731 2013-01-09  Roland McGrath  <roland@hack.frob.com>
47733         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
47735         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
47737 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
47739         * sysdeps/s390/fpu/libm-test-ulps: Update.
47741         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47743         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
47744         (__acr): Likewise.
47745         (__cpy): Likewise.
47746         (norm): Likewise.
47747         (denorm): Likewise.
47748         (__mp_dbl): Likewise.
47749         (__dbl_mp): Likewise.
47750         (add_magnitudes): Likewise.
47751         (sub_magnitudes): Likewise.
47752         (__add): Likewise.
47753         (__sub): Likewise.
47754         (__mul): Likewise.
47755         (__inv): Likewise.
47756         (__dvd): Likewise.
47757         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
47758         (__acr): Likewise.
47759         (__cpy): Likewise.
47760         (norm): Likewise.
47761         (denorm): Likewise.
47762         (__mp_dbl): Likewise.
47763         (__dbl_mp): Likewise.
47764         (add_magnitudes): Likewise.
47765         (sub_magnitudes): Likewise.
47766         (__add): Likewise.
47767         (__sub): Likewise.
47768         (__mul): Likewise.
47769         (__inv): Likewise.
47770         (__dvd): Likewise.
47771         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
47772         (__acr): Likewise.
47773         (__cpy): Likewise.
47774         (norm): Likewise.
47775         (denorm): Likewise.
47776         (__mp_dbl): Likewise.
47777         (__dbl_mp): Likewise.
47778         (add_magnitudes): Likewise.
47779         (sub_magnitudes): Likewise.
47780         (__add): Likewise.
47781         (__sub): Likewise.
47782         (__mul): Likewise.
47783         (__inv): Likewise.
47784         (__dvd): Likewise.
47786 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
47788         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
47789         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
47790         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
47791         2 && __USE_EXTERN_INLINES]: Likewise.
47793 2013-01-08  Andreas Jaeger  <aj@suse.de>
47795         [BZ# 14985]
47796         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
47797         Remove.
47798         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
47799         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
47801 2013-01-07  Anton Blanchard  <anton@samba.org>
47803         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
47804         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
47805         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
47806         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
47807         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
47808         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
47809         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
47810         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
47811         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
47812         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
47813         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
47814         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
47815         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
47816         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
47817         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
47818         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
47819         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
47820         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
47821         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
47822         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
47823         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
47824         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
47825         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
47826         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
47827         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
47828         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
47829         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
47830         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
47831         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
47832         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
47833         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
47834         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
47835         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
47836         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
47837         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
47838         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
47839         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
47840         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
47841         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
47842         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
47843         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
47844         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
47845         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
47847 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
47849         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
47850         (__MALLOC_PMT): Likewise.
47851         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
47852         [__GNUC__], only on [_LIBC].
47853         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
47854         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
47855         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
47856         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
47857         forward declaration.
47858         (realloc_hook_ini): Likewise.
47859         (memalign_hook_ini): Likewise.
47860         (__libc_memalign): Do not use __MALLOC_PMT in variable
47861         declaration.
47862         (__libc_valloc): Likewise.
47863         (__libc_pvalloc): Likewise.
47864         (__libc_calloc): Likewise.
47865         (__posix_memalign): Likewise.
47867         [BZ #14996]
47868         * math/s_casinh.c: Include <float.h>.
47869         (__casinh): Do not do computation with squaring and square root
47870         for large arguments.
47871         * math/s_casinhf.c: Include <float.h>.
47872         (__casinhf): Do not do computation with squaring and square root
47873         for large arguments.
47874         * math/s_casinhl.c: Include <float.h>.
47875         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
47876         (__casinhl): Do not do computation with squaring and square root
47877         for large arguments.
47878         * math/libm-test.inc (casin_test): Add more tests.
47879         (casinh_test): Likewise.
47880         * sysdeps/i386/fpu/libm-test-ulps: Update.
47881         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47883 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
47885         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
47886         (__x86_64_raw_data_cache_size): Likewise.
47887         (__x86_64_data_cache_size_half): Likewise.
47888         (__x86_64_raw_data_cache_size_half): Likewise.
47889         (__x86_64_shared_cache_size): Likewise.
47890         (__x86_64_raw_shared_cache_size): Likewise.
47891         (__x86_64_shared_cache_size_half): Likewise.
47892         (__x86_64_raw_shared_cache_size_half): Likewise.
47893         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
47894         to ...
47895         (__x86_data_cache_size): This.
47896         (__x86_64_raw_data_cache_size): Renamed to ...
47897         (__x86_raw_data_cache_size): This.
47898         (__x86_64_data_cache_size_half): Renamed to ...
47899         (__x86_data_cache_size_half): This.
47900         (__x86_64_raw_data_cache_size_half): Renamed to ...
47901         (__x86_raw_data_cache_size_half): This.
47902         (__x86_64_shared_cache_size): Renamed to ...
47903         (__x86_shared_cache_size): This.
47904         (__x86_64_raw_shared_cache_size): Renamed to ...
47905         (__x86_raw_shared_cache_size): This.
47906         (__x86_64_shared_cache_size_half): Renamed to ...
47907         (__x86_shared_cache_size_half): This.
47908         (__x86_64_raw_shared_cache_size_half): Renamed to ...
47909         (__x86_raw_shared_cache_size_half): This.
47910         * sysdeps/x86_64/memcpy.S: Updated.
47911         * sysdeps/x86_64/memset.S: Likewise.
47912         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
47913         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
47914         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
47916 2013-01-04  David S. Miller  <davem@davemloft.net>
47918         * sysdeps/sparc/fpu/libm-test-ulps: Update.
47920 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
47922         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
47923         1 to avoid redefinition warning.
47924         (__USE_GNU): Don't define.
47925         (init_signaling_nan): Protoize.
47927         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47929 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
47931         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
47932         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
47933         (__cpymn): Likewise.
47934         (norm): Remove commented code.
47935         (denorm): Likewise.
47936         (__mp_dbl): Likewise.
47937         (__inv): Likewise.
47938         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
47939         (__cpymn): Likewise.
47940         (norm): Remove commented code.
47941         (denorm): Likewise.
47942         (__mp_dbl): Likewise.
47943         (__inv): Likewise.
47945         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
47946         mp_no value for 1.0 and 2.0.
47947         (norm): Use RADIXI instead of radixi.d.
47948         (denorm): Likewise.
47949         (__mul): Use 0.0 instead of zero.d.
47950         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
47951         mp_no value for 1.0 and 2.0.
47952         (norm): Use RADIXI instead of radixi.d.
47953         (denorm): Likewise.
47954         (__mul): Use 0.0 instead of zero.d.
47956 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
47958         [BZ #14994]
47959         * math/s_casinh.c (__casinh): Reduce finite argument to first
47960         quadrant then set signs of results at the end.
47961         * math/s_casinhf.c (__casinhf): Likewise.
47962         * math/s_casinhl.c (__casinhl): Likewise.
47963         * math/libm-test.inc (casin_test): Add more tests.
47964         (casinh_test): Likewise.
47965         * sysdeps/i386/fpu/libm-test-ulps: Update.
47966         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47968 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
47970         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
47972         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
47974         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
47975         declarations.
47976         (denorm): Likewise.
47977         (__mp_dbl): Likewise.
47978         (__inv): Likewise.
47980         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
47981         and adjust the header comment.
47983         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
47984         variable name from declaration.
47986 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
47988         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47989         Initialize COMMON_CPUID_INDEX_7 element.
47990         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
47991         (CPUID_RTM): Likewise.
47992         (HAS_RTM): Likewise.
47993         (COMMON_CPUID_INDEX_7): New enum.
47995 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
47997         [BZ #14981]
47998         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
47999         size is zero, record memory as freed.
48001 2013-01-03  Andreas Jaeger  <aj@suse.de>
48003         * po/ia.po: Add new Interlingua translation.
48005 2012-01-03  Allan McRae  <allan@archlinux.org>
48007         * locale/programs/localedef.c: Fix description of '--posix' flag.
48009 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
48011         * NEWS: Update dates in second copyright notice.
48012         * README: Update copyright dates in example.
48013         * manual/libc.texinfo: Update copyright dates.
48014         * scripts/test-installation.pl: Update copyright date in --version
48015         output.
48017         * hurd/ctty-input.c: Fix copyright notice formatting.
48018         * hurd/ctty-output.c: Likewise.
48019         * hurd/dtable.c: Likewise.
48020         * hurd/hurd-raise.c: Likewise.
48021         * hurd/hurdprio.c: Likewise.
48022         * hurd/msgportdemux.c: Likewise.
48023         * misc/sys/file.h: Likewise.
48024         * misc/sys/ioctl.h: Likewise.
48025         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
48026         * sysdeps/mach/hurd/chdir.c: Likewise.
48027         * sysdeps/mach/hurd/fchdir.c: Likewise.
48028         * sysdeps/mach/hurd/rename.c: Likewise.
48029         * sysdeps/mach/hurd/rmdir.c: Likewise.
48030         * sysdeps/mach/hurd/seekdir.c: Likewise.
48031         * sysdeps/mach/hurd/setsid.c: Likewise.
48032         * sysdeps/posix/wait3.c: Likewise.
48034         * All files with FSF copyright notices: Update copyright dates
48035         using scripts/update-copyrights.
48036         * intl/plural.c: Regenerated.
48037         * locale/programs/charmap-kw.h: Likewise.
48038         * locale/programs/locfile-kw.h: Likewise.
48040 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
48042         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
48043         four values.
48045         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
48046         calculation loop and add branch prediction.
48048         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
48049         check access beyond bounds of m1np.
48051         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
48052         MPTWO.
48053         (__inv): Remove local variable MPTWO to use the global
48054         constant.
48055         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
48056         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
48057         variable MPTWO.
48058         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
48059         MP3HALFS static const.
48061 2013-01-01  David S. Miller  <davem@davemloft.net>
48063         * po/ca.po: Update from translation team.
48065 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
48067         * scripts/update-copyrights: New file.
48068         * Makeconfig: Reformat copyright notice.
48069         * ctype/ctype.h: Likewise.
48070         * debug/swprintf_chk.c: Likewise.
48071         * elf/dl-cache.c: Likewise.
48072         * elf/dl-debug.c: Likewise.
48073         * elf/dl-object.c: Likewise.
48074         * grp/initgroups.c: Likewise.
48075         * hurd/Makefile: Likewise.
48076         * hurd/hurd/signal.h: Likewise.
48077         * hurd/hurdfault.c: Likewise.
48078         * hurd/hurdioctl.c: Likewise.
48079         * hurd/hurdlookup.c: Likewise.
48080         * hurd/intr-msg.c: Likewise.
48081         * iconv/gconv_open.c: Likewise.
48082         * libio/swprintf.c: Likewise.
48083         * locale/lc-ctype.c: Likewise.
48084         * locale/nl_langinfo.c: Likewise.
48085         * mach/Machrules: Likewise.
48086         * mach/Makefile: Likewise.
48087         * malloc/obstack.h: Likewise.
48088         * manual/Makefile: Likewise.
48089         * manual/tsort.awk: Likewise.
48090         * misc/bits/stab.def: Likewise.
48091         * nis/nis_print_group_entry.c: Likewise.
48092         * nis/nis_table.c: Likewise.
48093         * nis/nss_compat/compat-pwd.c: Likewise.
48094         * nis/nss_compat/compat-spwd.c: Likewise.
48095         * po/Makefile: Likewise.
48096         * posix/fnmatch.c: Likewise.
48097         * posix/regex.h: Likewise.
48098         * resolv/Makefile: Likewise.
48099         * resolv/nss_dns/dns-network.c: Likewise.
48100         * resolv/res_hconf.c: Likewise.
48101         * scripts/gen-sorted.awk: Likewise.
48102         * soft-fp/soft-fp.h: Likewise.
48103         * stdio-common/printf.h: Likewise.
48104         * stdlib/monetary.h: Likewise.
48105         * stdlib/random.c: Likewise.
48106         * stdlib/random_r.c: Likewise.
48107         * sysdeps/generic/Makefile: Likewise.
48108         * sysdeps/gnu/Makefile: Likewise.
48109         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
48110         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
48111         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
48112         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
48113         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
48114         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
48115         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
48116         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
48117         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
48118         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
48119         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
48120         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
48121         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
48122         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
48123         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
48124         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
48125         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
48126         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
48127         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
48128         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
48129         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
48130         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
48131         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
48132         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
48133         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
48134         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
48135         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
48136         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
48137         * sysdeps/mach/hurd/errnos.awk: Likewise.
48138         * sysdeps/mach/hurd/fork.c: Likewise.
48139         * sysdeps/mach/hurd/getcwd.c: Likewise.
48140         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
48141         * sysdeps/mach/hurd/mmap.c: Likewise.
48142         * sysdeps/mach/hurd/utimes.c: Likewise.
48143         * sysdeps/mach/hurd/xmknod.c: Likewise.
48144         * sysdeps/posix/profil.c: Likewise.
48145         * sysdeps/posix/readdir_r.c: Likewise.
48146         * sysdeps/powerpc/bits/mathdef.h: Likewise.
48147         * sysdeps/powerpc/bits/setjmp.h: Likewise.
48148         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
48149         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
48150         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
48151         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
48152         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
48153         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
48154         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
48155         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
48156         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
48157         * sysdeps/pthread/lio_listio.c: Likewise.
48158         * sysdeps/sparc/dl-procinfo.h: Likewise.
48159         * sysdeps/unix/i386/sysdep.S: Likewise.
48160         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
48161         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
48162         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
48163         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
48164         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
48165         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
48166         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
48167         * sysdeps/unix/sysv/linux/speed.c: Likewise.
48168         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
48169         * sysdeps/wordsize-32/divdi3.c: Likewise.
48170         * time/sys/time.h: Likewise.
48171         * wcsmbs/Makefile: Likewise.
48173 2013-01-01  David S. Miller  <davem@davemloft.net>
48175         * po/fr.po: Update from translation team.
48177         * catgets/gencat.c: Update copyright year.
48178         * csu/version.c: Likewise.
48179         * debug/catchsegv.sh: Likewise.
48180         * debug/pcprofiledump.c: Likewise.
48181         * debug/xtrace.sh: Likewise.
48182         * elf/ldconfig.c: Likewise.
48183         * elf/ldd.bash.in: Likewise.
48184         * elf/pldd.c: Likewise.
48185         * elf/sotruss.ksh: Likewise.
48186         * elf/sprof.c: Likewise.
48187         * iconv/iconv_prog.c: Likewise.
48188         * iconv/iconvconfig.c: Likewise.
48189         * locale/programs/locale.c: Likewise.
48190         * locale/programs/localedef.c: Likewise.
48191         * login/programs/pt_chown.c: Likewise.
48192         * malloc/memusage.sh: Likewise.
48193         * malloc/memusagestat.c: Likewise.
48194         * malloc/mtrace.pl: Likewise.
48195         * nscd/nscd.c: Likewise.
48196         * nss/getent.c: Likewise.
48197         * nss/makedb.c: Likewise.
48198         * posix/getconf.c: Likewise.
48200 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
48202         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
48203         numbers.
48205 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
48207         * math/bits/mathcalls.h (modf): Use __nonnull.
48209 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
48211         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
48212         (split): Use macro CN instead of the bare value.
48213         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
48214         could be used.
48215         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
48216         instead of the bare value.
48217         (power1): Likewise.
48219 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
48221         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
48222         __ATAN_TWOM.
48223         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
48225         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
48226         their values.
48227         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
48228         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
48229         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
48230         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
48232 2012-12-28  Andreas Jaeger  <aj@suse.de>
48234         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
48235         values are from Linux 3.7.
48237         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
48238         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
48240 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
48242         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
48243         TRUE case.
48245         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
48246         (norm): Likewise.
48247         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
48248         variables with preprocessor constants.
48249         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
48250         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
48251         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
48253 2012-12-27  Bruno Haible  <bruno@clisp.org>
48255         [BZ #14317]
48256         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
48257         only if needed.
48259 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
48261         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
48262         and use variable directly.
48263         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
48265         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
48266         MPONE.
48267         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
48268         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
48269         variable MPONE.
48270         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
48271         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
48272         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
48273         include directive.  Remove local variable MPONE.
48274         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
48275         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
48276         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
48278 2012-12-25  David S. Miller  <davem@davemloft.net>
48280         * version.h (RELEASE): Set to "development".
48281         (VERSION): Set to "2.17.90".
48282         * NEWS: Add 2.18 section.
48284 2012-12-21  David S. Miller  <davem@davemloft.net>
48286         * po/hr.po: Update from translation team.
48288 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
48290         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
48292 2012-12-19  Steve Ellcey  <sellcey@mips.com>
48294         * NEWS:  Mention new memcpy for MIPS.
48296 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
48298         * manual/contrib.texi (Contributors): Spelling correction.
48300 2012-12-15  David S. Miller  <davem@davemloft.net>
48302         * po/ru.po: Update from translation team.
48304 2012-12-13  David S. Miller  <davem@davemloft.net>
48306         * NEWS: Mention IFUNC testsuite enhancements.
48308         * po/pl.po: Update from translation team.
48309         * po/bg.po: Likewise.
48311         * manual/contrib.texi (Contributors): Update entries for Hongjiu
48312         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
48314 2012-12-11  David S. Miller  <davem@davemloft.net>
48316         * po/sv.po: Update from translation team.
48318         * po/vi.po: Update from translation team.
48320         * po/cs.po: Update from translation team.
48322         * po/de.po: Update from translation team.
48323         * po/eo.po: Likewise.
48324         * po/nl.po: Likewise.
48326 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
48328         [BZ #14246]
48329         * manual/argp.texi (Argp Helper Functions): Move node to follow
48330         Argp Parsing State.
48332         [BZ #14872]
48333         * manual/conf.texi (Limits on File System Capacity): Mention if
48334         terminating null is included in the max size.
48336 2012-12-10  Andreas Jaeger  <aj@suse.de>
48338         * po/cs.po: Update from translation team.
48340 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
48342         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
48343         void pointer and cast to uintptr_t.
48344         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
48345         path.
48346         * sysdeps/s390/s390-64/memcpy.S: Likewise.
48347         * sysdeps/s390/s390-64/memset.S: Likewise.
48349 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
48351         [BZ #14833]
48352         * menual/message.texi (Message Translation): Fix typos.
48353         (Helper programs for gettext): Likewise.
48355 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
48357         [BZ #14898]
48358         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
48359         Change to -1.
48361 2012-12-07  David S. Miller  <davem@davemloft.net>
48363         * po/libc.pot: Update.
48365 2012-12-07  Richard Henderson  <rth@redhat.com>
48367         [BZ #10114]
48368         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
48369         normal/normal case to before the switch.
48370         (_FP_DIV): Likewise.
48372 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
48373             Mike Frysinger  <vapier@gentoo.org>
48375         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
48376         check for __NR_fadvise64_64.
48378 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
48380         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
48381         0, not just to plain "0" as a statement.
48382         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
48383         with cw.
48385 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
48387         * NEWS: Use sourceware.org in Bugzilla URL.
48389 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
48391         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
48392         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
48394         * stdio-common/tst-put-error.c (do_test): Add newline to the
48395         padded test to ensure flush.
48397 2012-12-05  Jeff Law  <law@redhat.com>
48399         * sunrpc/etc.rpc (fedfs_admin): Add entry.
48401 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
48403         * README: Don't refer to ports add-on as distributed separately.
48404         Mention AArch64 in list of systems supported in the ports add-on.
48406         * LICENSES: Add more non-FSF copyright and license notices.
48408         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
48409         ((unused)).
48411         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
48413         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
48414         10000 as width of padded output.
48416 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
48418         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
48420         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
48421         variable LX with __attribute__ ((unused)).
48422         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
48423         Likewise.
48424         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
48425         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
48426         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
48427         with __attribute__ ((unused)).
48429 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
48431         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
48433 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
48435         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
48436         (CFLAGS-nldbl-acos.c): New variable.
48437         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
48438         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
48439         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
48440         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
48441         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
48442         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
48443         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
48444         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
48445         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
48446         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
48447         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
48448         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
48449         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
48450         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
48451         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
48452         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
48453         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
48454         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
48455         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
48456         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
48457         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
48458         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
48459         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
48460         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
48461         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
48462         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
48463         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
48464         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
48465         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
48466         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
48467         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
48468         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
48469         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
48470         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
48471         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
48472         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
48473         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
48474         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
48475         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
48476         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
48477         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
48478         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
48479         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
48480         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
48481         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
48482         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
48483         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
48484         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
48485         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
48486         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
48487         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
48488         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
48489         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
48490         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
48491         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
48492         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
48493         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
48494         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
48495         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
48496         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
48497         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
48498         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
48499         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
48500         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
48501         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
48502         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
48503         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
48504         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
48505         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
48506         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
48507         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
48508         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
48509         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
48510         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
48511         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
48512         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
48513         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
48514         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
48515         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
48516         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
48517         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
48518         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
48519         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
48520         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
48521         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
48522         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
48523         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
48524         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
48525         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
48526         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
48527         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
48528         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
48529         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
48530         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
48531         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
48532         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
48533         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
48535         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
48536         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
48538         [BZ #14914]
48539         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
48540         whole low double instead of just low 47 bits when splitting values
48541         into two parts.
48543 2012-12-03  Allan McRae  <allan@archlinux.org>
48545         * manual/stdio.texi (Predefined Printf Handlers): Remove
48546         @hsep and @vsep usage.
48548 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
48550         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
48551         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
48553 2012-12-03  Jeff Law  <law@redhat.com>
48555         * time/sys/time.h (settimeofday): Do not mark TV argument
48556         as __nonnull.
48558 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
48560         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
48561         when currently writing and seek to current position when not.
48562         * libio/Makefile (tests): Remove bug-fclose1.
48563         * libio/bug-fclose1.c: Delete.
48565 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
48567         * manual/arith.texi (feenableexcept): Fix typo.
48568         (fedisableexcept): Likewise.
48570 2012-11-30  Roland McGrath  <roland@hack.frob.com>
48572         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
48573         second, differently-typed declaration, rather than a cast.
48575 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
48577         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
48578         * include/rpc/svc.h: ... here.
48580 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
48582         [BZ #13013]
48583         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
48584         depending n and resplen2 to catch cases where answer
48585         equals answerp2.
48587 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
48589         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
48590         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
48592 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
48594         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
48596 2012-11-29  Roland McGrath  <roland@hack.frob.com>
48598         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
48600 2012-11-28  Jeff Law  <law@redhat.com>
48602         [BZ #13761]
48603         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
48604         dataset_temporary.  Track alloca usage into alloca_used.
48605         If dataset is large allocate and release it via malloc/free.
48607 2012-06-04  Florian Weimer  <fweimer@redhat.com>
48609         [BZ #14197]
48610         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
48612 2012-11-28  David S. Miller  <davem@davemloft.net>
48614         * sysdeps/sparc/fpu/libm-test-ulps: Update.
48616 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
48618         [BZ #14803]
48619         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
48620         of pi/2 rounded to nearest to 64 bits.
48621         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
48622         nearest to 64 bits.
48623         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
48624         bits.
48626 2012-11-28  Jeff Law <law@redhat.com>
48627             Martin Osvald <mosvald@redhat.com>
48629         [BZ #14889]
48630         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
48631         * sunrpc/svc.c: Include time.h.
48632         (__svc_accept_failed): New function.
48633         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
48634         any reason other than EINTR, call __svc_accept_failed.
48635         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
48636         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
48638 2012-11-28  Andreas Schwab  <schwab@suse.de>
48640         * scripts/abilist.awk: Also handle indirect functions in .opd
48641         section.
48643 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
48645         [BZ #13881]
48646         * sysdeps/x86/fpu/powl_helper.c: New file.
48647         * sysdeps/x86/fpu/Makefile: Likewise.
48648         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
48649         (p3): New object.
48650         (__ieee754_powl): Use __powl_helper for finite arguments except
48651         integer exponents below 8.
48652         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
48653         (p3): New object.
48654         (__ieee754_powl): Use __powl_helper for finite arguments except
48655         integer exponents below 8.
48656         * math/libm-test.inc (pow_test): Add more tests and enable some
48657         previously disabled tests.
48658         * sysdeps/i386/fpu/libm-test-ulps: Update.
48659         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48661 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
48662             Carlos O'Donell  <carlos_odonell@mentor.com>
48664         * nss/makedb.c (is_prime): Assert that input is odd and greater
48665         than 4.  Note that fact in a comment too.
48666         (next_prime): Add 4 to input.
48668 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
48670         [BZ #11741]
48671         * libio/Makefile (tests): Add test case tst-fwrite-error.
48672         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
48673         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
48674         * libio/tst-fwrite-error.c: New test case.
48676 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
48678         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
48679         before casting to void *.
48680         * include/libc-internal.h (__pointer_type): New macro.
48681         (__integer_if_pointer_type_sub): Likewise.
48682         (__integer_if_pointer_type): Likewise.
48683         (cast_to_integer): Likewise.
48684         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
48685         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
48686         before casting to atomic64_t.
48687         (atomic_exchange_acq): Likewise.
48688         (__arch_exchange_and_add_body): Likewise.
48689         (__arch_add_body): Likewise.
48690         (atomic_add_negative): Likewise.
48691         (atomic_add_zero): Likewise.
48693 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
48695         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
48696         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
48697         (add_fdes): Likewise.
48698         (linear_search_fdes): Likewise.
48699         (binary_search_unencoded_fdes): Likewise.
48701 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
48703         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
48705 2012-11-24  Adam Conrad  <adconrad@0c3.net>
48707         * configure.in: Autodetect C++ header directories.
48708         * configure: Regenerated.
48710 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
48712         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
48714 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
48716         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48718 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
48720         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
48721         LDBL_MANT_DIG == 106]: Disable some tests.
48722         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
48723         Likewise.
48724         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
48725         Likewise.
48727         [BZ #14871]
48728         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
48729         input for small inputs.  Return +/- pi/2 for large inputs.
48730         * math/libm-test.inc (atan_test): Add more tests.
48732         * sysdeps/generic/unwind-dw2-fde-glibc.c
48733         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
48734         __attribute__ ((unused)).
48736         [BZ #14645]
48737         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
48738         x * y if x and y are nonzero and z is zero.
48740         [BZ #14811]
48741         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
48742         nonzero exponents with absolute value below 0x1p-117 to +/-
48743         0x1p-117.
48745         [BZ #14869]
48746         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
48747         up arguments below 2**-450, not just those below 2**-500.
48748         * math/libm-test.inc (hypot_test): Add another test.
48750         [BZ #14868]
48751         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
48752         Return a+b for ratio over 2**120, not 2**60.
48753         * math/libm-test.inc (hypot_test): Add another test.
48755         * math/libm-test.inc (clog_test): Use
48756         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
48757         (clog10_test): Likewise.
48759         [BZ #6778]
48760         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
48762 2012-11-22  Andreas Schwab  <schwab@suse.de>
48764         * sysdeps/i386/fpu/libm-test-ulps: Update.
48766 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
48768         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
48769         printf output with newline.
48771 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
48773         [BZ #14865]
48774         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
48775         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
48776         -z nodlopen, -z initfirst and -z execstack support.
48777         * configure: Regenerated.
48779         * elf/elf.h (DF_1_NODIRECT): New macro.
48780         (DF_1_IGNMULDEF): Likewise.
48781         (DF_1_NOKSYMS): Likewise.
48782         (DF_1_NOHDR): Likewise.
48783         (DF_1_EDITED): Likewise.
48784         (DF_1_NORELOC): Likewise.
48785         (DF_1_SYMINTPOSE): Likewise.
48786         (DF_1_GLOBAUDIT): Likewise.
48787         (DF_1_SINGLETON): Likewise.
48788         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
48789         DT_1_SUPPORTED_MASK bits.
48790         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
48792 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
48794         * sysdeps/unix/make-syscalls.sh: Document prefixes.
48796 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
48798         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
48799         macro.
48801         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
48802         (sendmmsg): Move declarations...
48803         * socket/sys/socket.h: ... here.
48804         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
48805         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
48806         include it from...
48807         * socket/recvmmsg.c: ... this new file.
48808         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
48809         (sendmmsg): Rename to __sendmmsg, create weak alias and make
48810         definition of __sendmmsg hidden.
48811         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
48812         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
48813         Move ENOSYS stub into and include it from...
48814         * socket/sendmmsg.c: ... this new file.
48815         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
48816         (sysdep_routines): Move recvmmsg and sendmmsg...
48817         * socket/Makefile (routines): ... here.
48818         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
48819         (GLIBC_PRIVATE): Add __sendmmsg.
48820         * include/sys/socket.h (__sendmmsg): Add declarations.
48821         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
48822         sendmmsg.
48824 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
48826         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
48827         variable I1 with __attribute__ ((unused)).
48828         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
48830 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
48832         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
48833         DUMMY variables with __attribute__ ((unused)).
48835         * bits/byteswap.h: Include <bits/types.h>.
48836         (__bswap_64): Use __uint64_t instead of unsigned long long int.
48838 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
48840         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
48841         string_t.  Do not manually set errno.
48842         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
48843         length with __strnlen.  Make sure to both set errno and return it on
48844         failure.
48846 2012-11-19  David S. Miller  <davem@davemloft.net>
48848         With help from Joseph Myers.
48849         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
48850         very large arguments properly.
48851         * math/libm-test.inc (atan_test): New tests.
48852         (atan2_test): New tests.
48853         * sysdeps/sparc/fpu/libm-test-ulps: Update.
48854         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
48856 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
48858         [BZ #14856]
48859         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
48860         Define to 3.
48862         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
48863         [POSIX] (EADDRNOTAVAIL): Likewise.
48864         [POSIX] (EAFNOSUPPORT): Likewise.
48865         [POSIX] (EALREADY): Likewise.
48866         [POSIX] (ECONNABORTED): Likewise.
48867         [POSIX] (ECONNREFUSED): Likewise.
48868         [POSIX] (ECONNRESET): Likewise.
48869         [POSIX] (EDESTADDRREQ): Likewise.
48870         [POSIX] (EDQUOT): Likewise.
48871         [POSIX] (EHOSTUNREACH): Likewise.
48872         [POSIX] (EIDRM): Likewise.
48873         [POSIX] (EISCONN): Likewise.
48874         [POSIX] (ELOOP): Likewise.
48875         [POSIX] (EMULTIHOP): Likewise.
48876         [POSIX] (ENETDOWN): Likewise.
48877         [POSIX] (ENETUNREACH): Likewise.
48878         [POSIX] (ENOBUFS): Likewise.
48879         [POSIX] (ENODATA): Likewise.
48880         [POSIX] (ENOLINK): Likewise.
48881         [POSIX] (ENOMSG): Likewise.
48882         [POSIX] (ENOPROTOOPT): Likewise.
48883         [POSIX] (ENOSR): Likewise.
48884         [POSIX] (ENOSTR): Likewise.
48885         [POSIX] (ENOTCONN): Likewise.
48886         [POSIX] (ENOTSOCK): Likewise.
48887         [POSIX] (EOPNOTSUPP): Likewise.
48888         [POSIX] (EOVERFLOW): Likewise.
48889         [POSIX] (EPROTO): Likewise.
48890         [POSIX] (EPROTONOSUPPORT): Likewise.
48891         [POSIX] (EPROTOTYPE): Likewise.
48892         [POSIX] (ESTALE): Likewise.
48893         [POSIX] (ETIME): Likewise.
48894         [POSIX] (ETXTBSY): Likewise.
48895         [POSIX] (EWOULDBLOCK): Likewise.
48896         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
48897         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
48898         [POSIX] (SEEK_CUR): Likewise.
48899         [POSIX] (SEEK_END): Likewise.
48900         [POSIX || UNIX98] (mode_t): Do not require.
48901         [POSIX] (off_t): Likewise.
48902         [POSIX] (pid_t): Likewise.
48903         [POSIX] (sys/stat.h): Do not allow header.
48904         [POSIX] (unistd.h): Likewise.
48905         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
48906         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
48907         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
48908         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
48909         require.
48910         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
48911         sigevent): Specify elements.
48912         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
48913         entry.
48914         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
48915         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
48917         * conform/data/cpio.h-data [POSIX]: Disable whole file.
48918         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
48919         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
48920         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
48921         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
48922         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
48923         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
48924         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
48925         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
48926         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
48927         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
48928         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
48929         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
48930         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
48931         Likewise.
48932         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
48933         Likewise.
48934         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
48935         Likewise.
48936         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
48937         Likewise.
48938         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
48939         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
48940         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
48941         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
48942         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
48943         Specify lower bound on value.
48944         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
48945         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
48946         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
48947         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
48948         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
48949         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
48950         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
48951         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
48952         value.
48953         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
48954         as optional.
48955         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
48956         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
48957         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
48958         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
48959         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
48960         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
48961         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
48962         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
48963         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
48964         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
48965         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
48966         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
48967         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
48968         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
48969         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
48970         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
48971         entry.
48972         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
48973         optional.
48974         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
48975         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
48976         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
48977         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
48978         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
48979         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
48980         Likewise.
48981         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
48982         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
48983         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
48984         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
48985         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
48986         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
48987         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
48988         as optional.
48989         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
48990         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
48991         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
48992         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
48993         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
48994         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
48995         specify as optional.
48996         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
48997         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
48998         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
48999         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
49000         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
49001         [XPG3] (NL_LANGMAX): Likewise.
49002         [POSIX || XPG3] (NL_MSGMAX): Likewise.
49003         [POSIX || XPG3] (NL_NMAX): Likewise.
49004         [POSIX || XPG3] (NL_SETMAX): Likewise.
49005         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
49006         [XPG3] (NZERO): Likewise.
49007         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
49008         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
49009         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
49010         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
49011         (REG_ERANGE): Expect.
49012         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
49013         optional-constant.
49014         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
49015         Use (void) in prototype.
49016         [POSIX] (*_t): Allow.
49017         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
49018         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
49019         (WRDE_BADVAL): Expect.
49021         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
49022         expect.
49023         [XPG3 || XPG4] (O_RSYNC): Likewise.
49024         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
49025         Likewise.
49026         [XPG3 || XPG4] (pthread_sigmask): Likewise.
49027         [XPG3 || XPG4] (sigqueue): Likewise.
49028         [XPG3 || XPG4] (sigtimedwait): Likewise.
49029         [XPG3 || XPG4] (sigwaitinfo): Likewise.
49030         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
49031         [XPG3 || XPG4] (vsnprintf): Likewise.
49032         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
49033         Likewise.
49034         [XPG3 || XPG4] (blksize_t): Likewise.
49035         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
49036         Likewise.
49037         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
49038         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
49039         [XPG3 || XPG4] (struct itimerspec): Likewise.
49040         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
49041         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
49042         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
49043         [XPG3 || XPG4] (clockid_t): Likewise.
49044         [XPG3 || XPG4] (timer_t): Likewise.
49045         [XPG3 || XPG4] (clock_getres): Likewise.
49046         [XPG3 || XPG4] (clock_gettime): Likewise.
49047         [XPG3 || XPG4] (clock_settime): Likewise.
49048         [XPG3 || XPG4] (nanosleep): Likewise.
49049         [XPG3 || XPG4] (timer_create): Likewise.
49050         [XPG3 || XPG4] (timer_delete): Likewise.
49051         [XPG3 || XPG4] (timer_gettime): Likewise.
49052         [XPG3 || XPG4] (timer_getoverrun): Likewise.
49053         [XPG3 || XPG4] (timer_settime): Likewise.
49054         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
49055         [XPG3 || XPG4] (getlogin_r): Likewise.
49056         [XPG3 || XPG4] (pread): Likewise.
49057         [XPG3 || XPG4] (pthread_atfork): Likewise.
49058         [XPG3 || XPG4] (pwrite): Likewise.
49060         [BZ #14835]
49061         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
49062         <bits/siginfo.h>.
49064 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
49066         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
49067         finalizing MALLSTREAM.
49069         * sysdeps/mach/hurd/syncfs.c: New file.
49071 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
49073         [BZ #14719]
49074         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
49075         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
49076         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
49077         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
49078         (_nss_dns_gethostbyname4_r): Likewise.
49079         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
49080         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
49082 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
49084         [BZ #13763]
49085         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
49087 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
49089         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
49090         * elf/cache.c (print_entry): Print ",AArch64" for
49091         FLAG_AARCH64_LIB64
49093         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
49094         * elf/cache.c (print_entry): Print ",hard-float" for
49095         FLAG_ARM_LIBHF.
49097 2012-11-18  David S. Miller  <davem@davemloft.net>
49099         With help from Joseph Myers.
49100         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
49101         cutoff to 2**-13.
49102         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
49103         cutoff to 2**-25.
49104         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
49105         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
49106         small.
49107         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
49108         * math/libm-test.inc (y0_test): New tests.
49109         (y1_test): New tests.
49110         * sysdeps/i386/fpu/libm-test-ulps: Update.
49111         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
49112         * sysdeps/sparc/fpu/libm-test-ulps: Update.
49114 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
49116         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
49117         64-bit targets.
49118         * configure: Regenerated.
49120 2012-11-17  David S. Miller  <davem@davemloft.net>
49122         [BZ #14811]
49123         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
49124         nonzero exponents with absolute value below 0x1p-128 to +/-
49125         0x1p-128.
49127 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
49129         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
49131         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
49133         * posix/getconf-speclist.c: New file.
49134         * posix/posix-envs.def: Likewise.
49135         * posix/confstr.c (START_ENV_GROUP): New macro.
49136         (END_ENV_GROUP): Likewise.
49137         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
49138         (KNOWN_PRESENT_ENV_STRING): Likewise.
49139         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
49140         (UNKNOWN_ENVIRONMENT): Likewise.
49141         (confstr): Include posix-envs.def instead of handling
49142         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
49143         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
49144         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
49145         (END_ENV_GROUP): Likewise.
49146         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
49147         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
49148         (UNKNOWN_ENVIRONMENT): Likewise.
49149         (__sysconf): Include posix-envs.def instead of handling associated
49150         cases directly here.
49151         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
49152         preprocessing getconf-speclist.c rather than running getconf or
49153         generating empty file.
49155 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
49157         * scripts/check-local-headers.sh: Ignore 'mach' headers.
49159 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
49161         [BZ #14672]
49162         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
49164 2012-11-16  David S. Miller  <davem@davemloft.net>
49166         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
49167         smaller than LDBL_EPSILON/2.0L, just return xm1.
49169 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
49171         * elf/tst-array1.c (init): Set constructor priority to 1000.
49172         (fini): Set destructor priority to 1000.
49173         * elf/tst-array2dep.c: Likewise.
49175 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
49177         [BZ #11741]
49178         * libio/fileops.c (_IO_new_file_write): Correctly return error.
49179         (_IO_new_file_xsputn): Also return EOF if none of the input
49180         data was written when overflow failed.
49181         * libio/iopadn.c (_IO_padn): Likewise.
49182         * libio/iowpadn.c (_IO_wpadn): Likewise.
49183         * stdio-common/tst-put-error.c: Add copyright notice.
49184         (do_test): Add case for printing padded string.
49185         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
49186         _IO_padn returned error.
49187         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
49188         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
49189         return EOF.
49191 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
49193         * libio/libioP.h: Add comment note that the references to C++
49194         bits are now obsolete.
49196 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
49198         * math/libm-test.inc (check_complex): Use asprintf.
49200 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
49202         * debug/pcprofiledump.c (print_version): Update copyright year.
49203         * malloc/memusagestat.c (print_version): Likewise.
49205 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
49207         [BZ #14831]
49208         * elf/Makefile (tests): Add tst-audit8.
49209         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
49210         ($(objpfx)tst-audit8.out): New target.
49211         (tst-audit8-ENV): New variable.
49212         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
49213         audit if l_reloc_result is NULL.
49214         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
49215         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
49216         * elf/tst-audit8.c: New file.
49218 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
49220         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
49221         * misc/Makefile (CFLAGS-select.c): Define.
49222         * posix/Makefile (CFLAGS-pause.c): Define.
49224 2012-11-13  David S. Miller  <davem@davemloft.net>
49226         * crypt/Makefile: Move test targets after toplevel Rules
49227         inclusion.  Grab any necessary sysdep routines when linking.
49228         * crypt/md5.c (md5_process_block): Remove define, we will always
49229         name it __md5_process_block.
49230         (md5_finish_ctx): Update md5_process_block call.
49231         (md5_stream): Likewise.
49232         (md5_process_bytes): Likewise.
49233         (md5_process_block): Rename to __md5_process_block and move to ...
49234         * crypt/md5-block.c: ... here.
49235         * crypt/sha256.c (sha256_process_block): Move to ...
49236         * crypt/sha256-block.c: ... here.
49237         * crypt/sha512.c (sha512_process_block): Move to ...
49238         * crypt/sha512-block.c: ... here.
49239         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
49240         path.
49241         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
49242         * sysdeps/sparc/sparc64/multiarch/Makefile
49243         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
49244         crypt subdir.
49245         (localedef-aux): Add md5 crypto assembler when in locale subdir.
49246         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
49247         multiarch changes.
49248         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
49249         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
49250         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
49251         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
49252         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
49253         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
49254         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
49255         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
49256         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
49257         file.
49258         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
49259         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
49260         file.
49261         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
49263 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
49265         * timezone/tzselect.ksh: Update from tzcode git revision
49266         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
49267         * timezone/zdump.c: Likewise.
49268         * timezone/zic.c: Likewise.
49269         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
49270         in TZVERSION setting, not $(PKGVERSION).
49271         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
49272         REPORT_BUGS_TO settings.
49274         [BZ #14838]
49275         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
49276         macro.
49278 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
49280         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
49281         detection to immediately after _FP_ROUND().
49282         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
49283         bits are 0.
49285 2012-11-11  David S. Miller  <davem@davemloft.net>
49287         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
49288         inttypes.h
49289         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
49290         __close rather than their public counterparts.
49292 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
49294         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
49295         file.
49296         [UNIX98] (sem_timedwait): Do not expect.
49297         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
49298         [XPG4 || UNIX98] (sockatmark): Do not expect.
49299         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
49300         (clock_getcpuclockid): Do not expect.
49301         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
49302         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
49303         Do not expect.
49304         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
49305         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
49306         [UNIX98] (vwscanf): Likewise.
49307         [UNIX98] (vswscanf): Likewise.
49309 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
49311         * timezone/version.h: Remove file.
49312         * timezone/README: Do not refer to version.h.
49313         * timezone/Makefile ($(objpfx)zic.o): New dependency on
49314         $(objpfx)version.h.
49315         ($(objpfx)zdump.o): Likewise.
49316         ($(objpfx)version.h): New target.
49318         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
49319         2012i.
49320         * timezone/README: Don't mention modification to tzselect.ksh.
49321         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
49322         work on unmodified tzselect.ksh.  Substitute version numbers in
49323         tzselect.ksh.
49325         * Makefile (format-me): Remove.
49326         (INSTALL): Adjust indentation.  Use commands directly instead of
49327         using $(format-me).
49329         * aclocal.m4 (ACX_PKGVERSION): New macro.
49330         (ACX_BUGURL): Likewise.
49331         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
49332         (PKGVERSION): New AC_DEFINE_UNQUOTED.
49333         (REPORT_BUGS_TO): Likewise.
49334         * configure: Regenerated.
49335         * config.h.in (PKGVERSION): New macro.
49336         (REPORT_BUGS_TO): Likewise.
49337         * config.make.in (PKGVERSION): New variable.
49338         (PKGVERSION_TEXI): Likewise.
49339         (REPORT_BUGS_TO): Likewise.
49340         (REPORT_BUGS_TEXI): Likewise.
49341         * Makefile (format-me): Use -I$(common-objpfx)manual.
49342         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
49343         ($(common-objpfx)manual/%): New target.
49344         (manual/%): Remove target.
49345         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
49346         (print_version): Use PKGVERSION.
49347         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
49348         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
49349         and REPORT_BUGS_TO.
49350         ($(objpfx)xtrace): Likewise.
49351         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
49352         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
49353         (print_version): Use PKGVERSION.
49354         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
49355         (do_version): Use PKGVERSION.
49356         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
49357         REPORT_BUGS_TO.
49358         (common-ldd-rewrite): Likewise.
49359         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
49360         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
49361         (print_version): Use PKGVERSION.
49362         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
49363         * elf/pldd.c (argp_program_bug_address): Remove variable.
49364         (more_help): New function.
49365         (argp): Use more_help.
49366         (print_version): Use PKGVERSION.
49367         * elf/sln.c (main): Use PKGVERSION.
49368         (usage): Use REPORT_BUGS_TO.
49369         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
49370         (top level): Use PKGVERSION.
49371         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
49372         (print_version): Use PKGVERSION.
49373         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
49374         (print_version): Use PKGVERSION.
49375         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
49376         (print_version): Use PKGVERSION.
49377         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
49378         (print_version): Use PKGVERSION.
49379         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
49380         (print_version): Use PKGVERSION.
49381         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
49382         (print_version): Use PKGVERSION.
49383         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
49384         and BUGURL.
49385         ($(objpfx)memusage): Likewise.
49386         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
49387         (do_version): Use PKGVERSION.
49388         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
49389         (print_version): Use PKGVERSION.
49390         * malloc/mtrace.pl ($PACKAGE): Remove variable.
49391         ($PKGVERSION): New variable.
49392         ($REPORT_BUGS_TO): Likewise.
49393         (usage): Use $REPORT_BUGS_TO.
49394         (top level): Use $PKGVERSION.
49395         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
49396         ($(objpfx)pkgvers.texi): New rule.
49397         ($(objpfx)stamp-pkgvers): Likewise.
49398         * manual/install.texi: Include pkgvers.texi.
49399         (--with-pkgversion): Document new configure option.
49400         (--with-bugurl): Likewise.
49401         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
49402         than necessarily for this particular distribution.  Use
49403         REPORT_BUGS_TO for where to report bugs.
49404         * INSTALL: Regenerated.
49405         * manual/libc.texinfo: Include pkgvers.texi.
49406         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
49407         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
49408         (print_version): Use PKGVERSION.
49409         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
49410         (print_version): Use PKGVERSION.
49411         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
49412         (print_version): Use PKGVERSION.
49413         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
49414         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
49415         macro.
49416         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
49417         (print_version): Use PKGVERSION.
49418         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
49419         (print_version): Use PKGVERSION.
49420         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
49421         and PKGVERSION.
49423         * timezone/checktab.awk: Update from tzcode 2012i.
49424         * timezone/ialloc.c: Likewise.
49425         * timezone/private.h: Likewise.
49426         * timezone/scheck.c: Likewise.
49427         * timezone/tzfile.h: Likewise.
49428         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
49429         (TZVERSION): Hardcode tzcode version number.
49430         * timezone/zdump.c: Update from tzcode 2012i.
49431         * timezone/zic.c: Likewise.
49432         * timezone/version.h: New file.
49433         * timezone/README: Describe version.h.  Update upstream location.
49435         [BZ #14824]
49436         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
49437         (mktemp): Enable declaration.
49438         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
49439         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
49440         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
49441         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
49442         Likewise.
49443         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
49444         Likewise.
49445         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
49446         Likewise.
49447         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
49448         Likewise.
49449         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
49450         Likewise.
49451         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
49452         Likewise.
49454         [BZ #14821]
49455         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
49456         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
49457         for copies of such integer values.
49458         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
49459         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
49461 2012-11-09  Andreas Jaeger  <aj@suse.de>
49463         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
49464         definitions and declarations that are provided by
49465         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
49467 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
49469         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
49470         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
49471         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
49472         definition.
49474 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
49476         * elf/elf.h: Update comment before AArch64 relocations.
49478 2012-11-07  David S. Miller  <davem@davemloft.net>
49480         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
49481         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
49482         (__start_context): Declare.
49483         (__makecontext_ret): Delete.
49484         (__makecontext): Hook up __start_context instead of
49485         __makecontext_ret.
49486         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
49487         (sysdep_routines): Add __start_context when in stdlib.
49489 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
49491         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
49492         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
49493         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
49494         hardcoded "nm".
49495         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
49496         (READELF): New variable.  Use it instead of hardcoded "readelf".
49498 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
49500         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
49501         * sysdeps/x86/Makefile: Here.
49502         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
49503         * sysdeps/x86/tst-xmmymm.sh: This.
49505 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
49507         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
49508         expectations.
49509         [UNIX98] (pthread_barrier_t): Do not expect.
49510         [UNIX98] (pthread_barrierattr_t): Likewise.
49511         [UNIX98] (pthread_spinlock_t): Likewise.
49512         [UNIX98] (pthread_barrier_destroy): Likewise.
49513         [UNIX98] (pthread_barrier_init): Likewise.
49514         [UNIX98] (pthread_barrier_wait): Likewise.
49515         [UNIX98] (pthread_barrierattr_destroy): Likewise.
49516         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
49517         [UNIX98] (pthread_barrierattr_init): Likewise.
49518         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
49519         [UNIX98] (pthread_getcpuclockid): Likewise.
49520         [UNIX98] (pthread_mutex_timedlock): Likewise.
49521         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
49522         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
49523         [UNIX98] (pthread_sigmask): Likewise.
49524         [UNIX98] (pthread_spin_destroy): Likewise.
49525         [UNIX98] (pthread_spin_init): Likewise.
49526         [UNIX98] (pthread_spin_lock): Likewise.
49527         [UNIX98] (pthread_spin_trylock): Likewise.
49528         [UNIX98] (pthread_spin_unlock): Likewise.
49529         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
49530         Do not expect.
49531         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
49532         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
49533         [XPG3 || XPG4] (pthread_cond_t): Likewise.
49534         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
49535         [XPG3 || XPG4] (pthread_key_t): Likewise.
49536         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
49537         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
49538         [XPG3 || XPG4] (pthread_once_t): Likewise.
49539         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
49540         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
49541         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
49542         [XPG3 || XPG4] (pthread_t): Likewise.
49544         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
49545         not expect.
49546         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
49548         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
49549         Change function return type to int.
49551         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
49552         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
49553         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
49554         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
49555         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
49556         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
49557         [!POSIX] (posix_madvise): Likewise.
49558         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
49559         && !UNIX98].
49560         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
49561         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
49562         (mode_t): Likewise.
49563         (posix_mem_offset): Likewise.
49564         (posix_typed_mem_get_info): Likewise.
49565         (posix_typed_mem_open): Likewise.
49567         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
49568         Change condition to [XOPEN2K8].
49570         * conform/conformtest.pl: Preprocess allow-header data with -x c
49571         instead of from stdin.
49572         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
49573         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
49574         [C99-based standards] (cerfc): Likewise.
49575         [C99-based standards] (cexp2): Likewise.
49576         [C99-based standards] (cexpm1): Likewise.
49577         [C99-based standards] (clog10): Likewise.
49578         [C99-based standards] (clog1p): Likewise.
49579         [C99-based standards] (clog2): Likewise.
49580         [C99-based standards] (clgamma): Likewise.
49581         [C99-based standards] (ctgamma): Likewise.
49582         [C99-based standards] (cerff): Likewise.
49583         [C99-based standards] (cerfcf): Likewise.
49584         [C99-based standards] (cexp2f): Likewise.
49585         [C99-based standards] (cexpm1f): Likewise.
49586         [C99-based standards] (clog10f): Likewise.
49587         [C99-based standards] (clog1pf): Likewise.
49588         [C99-based standards] (clog2f): Likewise.
49589         [C99-based standards] (clgammaf): Likewise.
49590         [C99-based standards] (ctgammaf): Likewise.
49591         [C99-based standards] (cerfl): Likewise.
49592         [C99-based standards] (cerfcl): Likewise.
49593         [C99-based standards] (cexp2l): Likewise.
49594         [C99-based standards] (cexpm1l): Likewise.
49595         [C99-based standards] (clog10l): Likewise.
49596         [C99-based standards] (clog1pl): Likewise.
49597         [C99-based standards] (clog2l): Likewise.
49598         [C99-based standards] (clgammal): Likewise.
49599         [C99-based standards] (ctgammal): Likewise.
49600         * conform/data/inttypes.h-data [C99-based standards]: Include
49601         stdint.h-data.  Remove all expectations for stdint.h contents.
49602         [C99-based standards] (PRI*): Do not allow.
49603         [C99-based standards] (SCN*): Likewise.
49604         [C99-based standards] (*_t): Likewise.
49605         [C99-based-standards] (PRId8): Expect macro.
49606         [C99-based-standards] (PRIi8): Likewise.
49607         [C99-based-standards] (PRIo8): Likewise.
49608         [C99-based-standards] (PRIu8): Likewise.
49609         [C99-based-standards] (PRIx8): Likewise.
49610         [C99-based-standards] (PRIX8): Likewise.
49611         [C99-based-standards] (SCNd8): Likewise.
49612         [C99-based-standards] (SCNi8): Likewise.
49613         [C99-based-standards] (SCNo8): Likewise.
49614         [C99-based-standards] (SCNu8): Likewise.
49615         [C99-based-standards] (SCNx8): Likewise.
49616         [C99-based-standards] (PRIdLEAST8): Likewise.
49617         [C99-based-standards] (PRIiLEAST8): Likewise.
49618         [C99-based-standards] (PRIoLEAST8): Likewise.
49619         [C99-based-standards] (PRIuLEAST8): Likewise.
49620         [C99-based-standards] (PRIxLEAST8): Likewise.
49621         [C99-based-standards] (PRIXLEAST8): Likewise.
49622         [C99-based-standards] (SCNdLEAST8): Likewise.
49623         [C99-based-standards] (SCNiLEAST8): Likewise.
49624         [C99-based-standards] (SCNoLEAST8): Likewise.
49625         [C99-based-standards] (SCNuLEAST8): Likewise.
49626         [C99-based-standards] (SCNxLEAST8): Likewise.
49627         [C99-based-standards] (PRIdFAST8): Likewise.
49628         [C99-based-standards] (PRIiFAST8): Likewise.
49629         [C99-based-standards] (PRIoFAST8): Likewise.
49630         [C99-based-standards] (PRIuFAST8): Likewise.
49631         [C99-based-standards] (PRIxFAST8): Likewise.
49632         [C99-based-standards] (PRIXFAST8): Likewise.
49633         [C99-based-standards] (SCNdFAST8): Likewise.
49634         [C99-based-standards] (SCNiFAST8): Likewise.
49635         [C99-based-standards] (SCNoFAST8): Likewise.
49636         [C99-based-standards] (SCNuFAST8): Likewise.
49637         [C99-based-standards] (SCNxFAST8): Likewise.
49638         [C99-based-standards] (PRId16): Likewise.
49639         [C99-based-standards] (PRIi16): Likewise.
49640         [C99-based-standards] (PRIo16): Likewise.
49641         [C99-based-standards] (PRIu16): Likewise.
49642         [C99-based-standards] (PRIx16): Likewise.
49643         [C99-based-standards] (PRIX16): Likewise.
49644         [C99-based-standards] (SCNd16): Likewise.
49645         [C99-based-standards] (SCNi16): Likewise.
49646         [C99-based-standards] (SCNo16): Likewise.
49647         [C99-based-standards] (SCNu16): Likewise.
49648         [C99-based-standards] (SCNx16): Likewise.
49649         [C99-based-standards] (PRIdLEAST16): Likewise.
49650         [C99-based-standards] (PRIiLEAST16): Likewise.
49651         [C99-based-standards] (PRIoLEAST16): Likewise.
49652         [C99-based-standards] (PRIuLEAST16): Likewise.
49653         [C99-based-standards] (PRIxLEAST16): Likewise.
49654         [C99-based-standards] (PRIXLEAST16): Likewise.
49655         [C99-based-standards] (SCNdLEAST16): Likewise.
49656         [C99-based-standards] (SCNiLEAST16): Likewise.
49657         [C99-based-standards] (SCNoLEAST16): Likewise.
49658         [C99-based-standards] (SCNuLEAST16): Likewise.
49659         [C99-based-standards] (SCNxLEAST16): Likewise.
49660         [C99-based-standards] (PRIdFAST16): Likewise.
49661         [C99-based-standards] (PRIiFAST16): Likewise.
49662         [C99-based-standards] (PRIoFAST16): Likewise.
49663         [C99-based-standards] (PRIuFAST16): Likewise.
49664         [C99-based-standards] (PRIxFAST16): Likewise.
49665         [C99-based-standards] (PRIXFAST16): Likewise.
49666         [C99-based-standards] (SCNdFAST16): Likewise.
49667         [C99-based-standards] (SCNiFAST16): Likewise.
49668         [C99-based-standards] (SCNoFAST16): Likewise.
49669         [C99-based-standards] (SCNuFAST16): Likewise.
49670         [C99-based-standards] (SCNxFAST16): Likewise.
49671         [C99-based-standards] (PRId32): Likewise.
49672         [C99-based-standards] (PRIi32): Likewise.
49673         [C99-based-standards] (PRIo32): Likewise.
49674         [C99-based-standards] (PRIu32): Likewise.
49675         [C99-based-standards] (PRIx32): Likewise.
49676         [C99-based-standards] (PRIX32): Likewise.
49677         [C99-based-standards] (SCNd32): Likewise.
49678         [C99-based-standards] (SCNi32): Likewise.
49679         [C99-based-standards] (SCNo32): Likewise.
49680         [C99-based-standards] (SCNu32): Likewise.
49681         [C99-based-standards] (SCNx32): Likewise.
49682         [C99-based-standards] (PRIdLEAST32): Likewise.
49683         [C99-based-standards] (PRIiLEAST32): Likewise.
49684         [C99-based-standards] (PRIoLEAST32): Likewise.
49685         [C99-based-standards] (PRIuLEAST32): Likewise.
49686         [C99-based-standards] (PRIxLEAST32): Likewise.
49687         [C99-based-standards] (PRIXLEAST32): Likewise.
49688         [C99-based-standards] (SCNdLEAST32): Likewise.
49689         [C99-based-standards] (SCNiLEAST32): Likewise.
49690         [C99-based-standards] (SCNoLEAST32): Likewise.
49691         [C99-based-standards] (SCNuLEAST32): Likewise.
49692         [C99-based-standards] (SCNxLEAST32): Likewise.
49693         [C99-based-standards] (PRIdFAST32): Likewise.
49694         [C99-based-standards] (PRIiFAST32): Likewise.
49695         [C99-based-standards] (PRIoFAST32): Likewise.
49696         [C99-based-standards] (PRIuFAST32): Likewise.
49697         [C99-based-standards] (PRIxFAST32): Likewise.
49698         [C99-based-standards] (PRIXFAST32): Likewise.
49699         [C99-based-standards] (SCNdFAST32): Likewise.
49700         [C99-based-standards] (SCNiFAST32): Likewise.
49701         [C99-based-standards] (SCNoFAST32): Likewise.
49702         [C99-based-standards] (SCNuFAST32): Likewise.
49703         [C99-based-standards] (SCNxFAST32): Likewise.
49704         [C99-based-standards] (PRId64): Likewise.
49705         [C99-based-standards] (PRIi64): Likewise.
49706         [C99-based-standards] (PRIo64): Likewise.
49707         [C99-based-standards] (PRIu64): Likewise.
49708         [C99-based-standards] (PRIx64): Likewise.
49709         [C99-based-standards] (PRIX64): Likewise.
49710         [C99-based-standards] (SCNd64): Likewise.
49711         [C99-based-standards] (SCNi64): Likewise.
49712         [C99-based-standards] (SCNo64): Likewise.
49713         [C99-based-standards] (SCNu64): Likewise.
49714         [C99-based-standards] (SCNx64): Likewise.
49715         [C99-based-standards] (PRIdLEAST64): Likewise.
49716         [C99-based-standards] (PRIiLEAST64): Likewise.
49717         [C99-based-standards] (PRIoLEAST64): Likewise.
49718         [C99-based-standards] (PRIuLEAST64): Likewise.
49719         [C99-based-standards] (PRIxLEAST64): Likewise.
49720         [C99-based-standards] (PRIXLEAST64): Likewise.
49721         [C99-based-standards] (SCNdLEAST64): Likewise.
49722         [C99-based-standards] (SCNiLEAST64): Likewise.
49723         [C99-based-standards] (SCNoLEAST64): Likewise.
49724         [C99-based-standards] (SCNuLEAST64): Likewise.
49725         [C99-based-standards] (SCNxLEAST64): Likewise.
49726         [C99-based-standards] (PRIdFAST64): Likewise.
49727         [C99-based-standards] (PRIiFAST64): Likewise.
49728         [C99-based-standards] (PRIoFAST64): Likewise.
49729         [C99-based-standards] (PRIuFAST64): Likewise.
49730         [C99-based-standards] (PRIxFAST64): Likewise.
49731         [C99-based-standards] (PRIXFAST64): Likewise.
49732         [C99-based-standards] (SCNdFAST64): Likewise.
49733         [C99-based-standards] (SCNiFAST64): Likewise.
49734         [C99-based-standards] (SCNoFAST64): Likewise.
49735         [C99-based-standards] (SCNuFAST64): Likewise.
49736         [C99-based-standards] (SCNxFAST64): Likewise.
49737         [C99-based-standards] (PRIdMAX): Likewise.
49738         [C99-based-standards] (PRIiMAX): Likewise.
49739         [C99-based-standards] (PRIoMAX): Likewise.
49740         [C99-based-standards] (PRIuMAX): Likewise.
49741         [C99-based-standards] (PRIxMAX): Likewise.
49742         [C99-based-standards] (PRIXMAX): Likewise.
49743         [C99-based-standards] (SCNdMAX): Likewise.
49744         [C99-based-standards] (SCNiMAX): Likewise.
49745         [C99-based-standards] (SCNoMAX): Likewise.
49746         [C99-based-standards] (SCNuMAX): Likewise.
49747         [C99-based-standards] (SCNxMAX): Likewise.
49748         [C99-based-standards] (PRIdPTR): Likewise.
49749         [C99-based-standards] (PRIiPTR): Likewise.
49750         [C99-based-standards] (PRIoPTR): Likewise.
49751         [C99-based-standards] (PRIuPTR): Likewise.
49752         [C99-based-standards] (PRIxPTR): Likewise.
49753         [C99-based-standards] (PRIXPTR): Likewise.
49754         [C99-based-standards] (SCNdPTR): Likewise.
49755         [C99-based-standards] (SCNiPTR): Likewise.
49756         [C99-based-standards] (SCNoPTR): Likewise.
49757         [C99-based-standards] (SCNuPTR): Likewise.
49758         [C99-based-standards] (SCNxPTR): Likewise.
49759         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
49760         allow.
49761         * conform/data/stdint.h-data: Update comments to clarify
49762         requirements.
49763         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
49764         type.
49765         [C99-based standards] (INT8_MAX): Likewise.
49766         [C99-based standards] (INT16_MIN): Likewise.
49767         [C99-based standards] (INT16_MAX): Likewise.
49768         [C99-based standards] (INT32_MIN): Likewise.
49769         [C99-based standards] (INT32_MAX): Likewise.
49770         [C99-based standards] (INT64_MIN): Likewise.
49771         [C99-based standards] (INT64_MAX): Likewise.
49772         [C99-based standards] (UINT8_MAX): Likewise.
49773         [C99-based standards] (UINT16_MAX): Likewise.
49774         [C99-based standards] (UINT32_MAX): Likewise.
49775         [C99-based standards] (UINT64_MAX): Likewise.
49776         [C99-based standards] (INT_LEAST8_MIN): Likewise.
49777         [C99-based standards] (INT_LEAST8_MAX): Likewise.
49778         [C99-based standards] (INT_LEAST16_MIN): Likewise.
49779         [C99-based standards] (INT_LEAST16_MAX): Likewise.
49780         [C99-based standards] (INT_LEAST32_MIN): Likewise.
49781         [C99-based standards] (INT_LEAST32_MAX): Likewise.
49782         [C99-based standards] (INT_LEAST64_MIN): Likewise.
49783         [C99-based standards] (INT_LEAST64_MAX): Likewise.
49784         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
49785         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
49786         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
49787         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
49788         [C99-based standards] (INT_FAST8_MIN): Likewise.
49789         [C99-based standards] (INT_FAST8_MAX): Likewise.
49790         [C99-based standards] (INT_FAST16_MIN): Likewise.
49791         [C99-based standards] (INT_FAST16_MAX): Likewise.
49792         [C99-based standards] (INT_FAST32_MIN): Likewise.
49793         [C99-based standards] (INT_FAST32_MAX): Likewise.
49794         [C99-based standards] (INT_FAST64_MIN): Likewise.
49795         [C99-based standards] (INT_FAST64_MAX): Likewise.
49796         [C99-based standards] (UINT_FAST8_MAX): Likewise.
49797         [C99-based standards] (UINT_FAST16_MAX): Likewise.
49798         [C99-based standards] (UINT_FAST32_MAX): Likewise.
49799         [C99-based standards] (UINT_FAST64_MAX): Likewise.
49800         [C99-based standards] (INTPTR_MIN): Likewise.
49801         [C99-based standards] (INTPTR_MAX): Likewise.
49802         [C99-based standards] (UINTPTR_MAX): Likewise.
49803         [C99-based standards] (INTMAX_MIN): Likewise.
49804         [C99-based standards] (INTMAX_MAX): Likewise.
49805         [C99-based standards] (UINTMAX_MAX): Likewise.
49806         [C99-based standards] (PTRDIFF_MIN): Likewise.
49807         [C99-based standards] (PTRDIFF_MAX): Likewise.
49808         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
49809         [C99-based standards] (SIZE_MAX): Likewise.
49810         [C99-based standards] (WCHAR_MAX): Likewise.
49811         [C99-based standards] (WINT_MAX): Likewise.
49812         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
49813         constraint on value.
49814         [C99-based standards] (WCHAR_MIN): Likewise.
49815         [C99-based standards] (WINT_MIN): Likewise.
49816         [C99-based standards] (*_t): Allow.
49817         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
49818         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
49819         Include math.h-data and complex.h-data.  Remove all expectations
49820         of math.h and complex.h contents.
49821         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
49822         at end of line.
49823         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
49824         (struct tm): Expect tag.
49825         [C99-based-standards] (wcstof): Expect function.
49826         [C99-based-standards] (wcstold): Likewise.
49827         [C99-based-standards] (wcstoll): Likewise.
49828         [C99-based-standards] (wcstoull): Likewise.
49829         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
49830         macro-int-constant.  Specify type.
49831         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
49832         constraint on value.
49833         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
49834         Specify type.
49835         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
49836         Specify value.
49837         [ISO C standards]: Do not allow headers.
49838         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
49839         wcs[abcdefghijklmnopqrstuvwxyz]*.
49840         [ISO C standards] (*_t): Do not allow.
49841         * conform/data/wctype.h-data [C99-based standards] (iswblank):
49842         Expect function.
49843         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
49844         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
49845         Specify type.
49846         [ISO C standards]: Do not allow headers.
49847         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
49848         is[abcdefghijklmnopqrstuvwxyz]*.
49849         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
49850         to[abcdefghijklmnopqrstuvwxyz]*.
49851         [ISO C standards] (*_t): Do not allow.
49852         * conform/data/stdalign.h-data: New file.
49853         * conform/data/stdbool.h-data: Likewise.
49854         * conform/data/stdnoreturn.h-data: Likewise.
49856 2012-11-07  Roland McGrath  <roland@hack.frob.com>
49858         [BZ #14815]
49859         * manual/filesys.texi (Directory Entries): Typo fix.
49860         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
49862 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
49864         * elf/elf.h (EM_AARCH64): New macro.
49865         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
49866         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
49867         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
49868         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
49869         (R_AARCH64_TLSDESC): Likewise.
49870         (NT_ARM_TLS): Likewise.
49871         (NT_ARM_HW_BREAK): Likewise.
49872         (NT_ARM_HW_WATCH): Likewise.
49874 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
49876         [BZ #14811]
49877         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
49878         (__ieee754_powl): Saturate nonzero exponents with absolute value
49879         below 0x1p-79 to +/- 0x1p-79.
49880         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
49881         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
49882         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
49883         nonzero exponents with absolute value below 0x1p-32 to +/-
49884         0x1p-32.
49885         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
49886         (__ieee754_powl): Saturate nonzero exponents with absolute value
49887         below 0x1p-79 to +/- 0x1p-79.
49888         * math/libm-test.inc (pow_test): Add more tests.
49890 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
49892         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
49893         _dl_s390_cap_flags with kernel. Increase string length.
49894         (_dl_s390_platforms): Add z196 and zEC12.
49896 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
49898         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
49899         Change XOPEN21K to XOPEN2K.
49901 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
49903         * string/memmove.c: Use memcpy when possible.
49905 2012-11-06  Andreas Jaeger  <aj@suse.de>
49907         * po/eo.po: Update from translation team.
49909 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
49911         [BZ #14793]
49912         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
49913         exponent and small x and y exponents, scale x or y up.  Increase
49914         by 2 the exponent used in scaling up.
49915         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
49916         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
49917         * math/libm-test.inc (fma_test): Add more tests.
49918         (fma_test_towardzero): Likewise.
49919         (fma_test_downward): Likewise.
49920         (fma_test_upward): Likewise.
49922 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
49924         [BZ #14805]
49925         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
49926         fenv_t *.
49928         [BZ #14801]
49929         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
49930         namespace for names of struct fields.
49931         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
49932         fenv_t fields.
49933         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
49934         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
49936 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49938         [BZ #3665]
49939         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
49941 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
49943         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
49944         PTR_DEMANGLE.
49946         [BZ #5246]
49947         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
49948         PTR_DEMANGLE.
49950 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
49952         [BZ #14797]
49953         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
49954         definitely overflow as x * y not x * y + z.
49955         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
49956         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
49957         * math/libm-test.inc (fma_test): Add more tests.
49958         (fma_test_towardzero): Likewise.
49959         (fma_test_downward): Likewise.
49960         (fma_test_upward): Likewise.
49962 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
49964         [BZ #157]
49966         * include/stub-tag.h: Remove file.
49967         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
49968         '#include' of it.
49969         * manual/maint.texi (Porting): Don't reference it.
49970         * Makerules ($(objpfx)stubs): Likewise.
49971         * dirent/closedir.c: Don't include <stub-tag.h>.
49972         * dirent/dirfd.c: Likewise.
49973         * dirent/fdopendir.c: Likewise.
49974         * dirent/getdents.c: Likewise.
49975         * dirent/getdents64.c: Likewise.
49976         * dirent/opendir.c: Likewise.
49977         * dirent/readdir.c: Likewise.
49978         * dirent/readdir64.c: Likewise.
49979         * dirent/readdir64_r.c: Likewise.
49980         * dirent/readdir_r.c: Likewise.
49981         * dirent/rewinddir.c: Likewise.
49982         * dirent/seekdir.c: Likewise.
49983         * dirent/telldir.c: Likewise.
49984         * gmon/profil.c: Likewise.
49985         * grp/setgroups.c: Likewise.
49986         * inet/if_index.c: Likewise.
49987         * io/access.c: Likewise.
49988         * io/chdir.c: Likewise.
49989         * io/chmod.c: Likewise.
49990         * io/chown.c: Likewise.
49991         * io/close.c: Likewise.
49992         * io/dup.c: Likewise.
49993         * io/dup2.c: Likewise.
49994         * io/dup3.c: Likewise.
49995         * io/euidaccess.c: Likewise.
49996         * io/faccessat.c: Likewise.
49997         * io/fchdir.c: Likewise.
49998         * io/fchmod.c: Likewise.
49999         * io/fchmodat.c: Likewise.
50000         * io/fchown.c: Likewise.
50001         * io/fchownat.c: Likewise.
50002         * io/fcntl.c: Likewise.
50003         * io/flock.c: Likewise.
50004         * io/fstatfs.c: Likewise.
50005         * io/fstatfs64.c: Likewise.
50006         * io/fstatvfs.c: Likewise.
50007         * io/fstatvfs64.c: Likewise.
50008         * io/futimens.c: Likewise.
50009         * io/fxstat.c: Likewise.
50010         * io/fxstat64.c: Likewise.
50011         * io/fxstatat.c: Likewise.
50012         * io/fxstatat64.c: Likewise.
50013         * io/getcwd.c: Likewise.
50014         * io/isatty.c: Likewise.
50015         * io/lchmod.c: Likewise.
50016         * io/lchown.c: Likewise.
50017         * io/link.c: Likewise.
50018         * io/linkat.c: Likewise.
50019         * io/lseek.c: Likewise.
50020         * io/lseek64.c: Likewise.
50021         * io/lxstat64.c: Likewise.
50022         * io/mkdir.c: Likewise.
50023         * io/mkdirat.c: Likewise.
50024         * io/mkfifo.c: Likewise.
50025         * io/mkfifoat.c: Likewise.
50026         * io/open.c: Likewise.
50027         * io/open64.c: Likewise.
50028         * io/openat.c: Likewise.
50029         * io/openat64.c: Likewise.
50030         * io/pipe.c: Likewise.
50031         * io/pipe2.c: Likewise.
50032         * io/poll.c: Likewise.
50033         * io/posix_fadvise.c: Likewise.
50034         * io/posix_fadvise64.c: Likewise.
50035         * io/posix_fallocate.c: Likewise.
50036         * io/posix_fallocate64.c: Likewise.
50037         * io/read.c: Likewise.
50038         * io/readlink.c: Likewise.
50039         * io/readlinkat.c: Likewise.
50040         * io/rmdir.c: Likewise.
50041         * io/sendfile.c: Likewise.
50042         * io/sendfile64.c: Likewise.
50043         * io/statfs.c: Likewise.
50044         * io/statfs64.c: Likewise.
50045         * io/statvfs.c: Likewise.
50046         * io/statvfs64.c: Likewise.
50047         * io/symlink.c: Likewise.
50048         * io/symlinkat.c: Likewise.
50049         * io/ttyname.c: Likewise.
50050         * io/ttyname_r.c: Likewise.
50051         * io/umask.c: Likewise.
50052         * io/unlink.c: Likewise.
50053         * io/unlinkat.c: Likewise.
50054         * io/utime.c: Likewise.
50055         * io/utimensat.c: Likewise.
50056         * io/write.c: Likewise.
50057         * io/xmknod.c: Likewise.
50058         * io/xmknodat.c: Likewise.
50059         * io/xstat.c: Likewise.
50060         * io/xstat64.c: Likewise.
50061         * login/getpt.c: Likewise.
50062         * login/grantpt.c: Likewise.
50063         * login/unlockpt.c: Likewise.
50064         * math/e_acoshl.c: Likewise.
50065         * math/e_acosl.c: Likewise.
50066         * math/e_asinl.c: Likewise.
50067         * math/e_atan2l.c: Likewise.
50068         * math/e_atanhl.c: Likewise.
50069         * math/e_coshl.c: Likewise.
50070         * math/e_expl.c: Likewise.
50071         * math/e_fmodl.c: Likewise.
50072         * math/e_gammal_r.c: Likewise.
50073         * math/e_hypotl.c: Likewise.
50074         * math/e_j0l.c: Likewise.
50075         * math/e_j1l.c: Likewise.
50076         * math/e_jnl.c: Likewise.
50077         * math/e_lgammal_r.c: Likewise.
50078         * math/e_log10l.c: Likewise.
50079         * math/e_log2l.c: Likewise.
50080         * math/e_logl.c: Likewise.
50081         * math/e_powl.c: Likewise.
50082         * math/e_rem_pio2l.c: Likewise.
50083         * math/e_sinhl.c: Likewise.
50084         * math/e_sqrtl.c: Likewise.
50085         * math/fclrexcpt.c: Likewise.
50086         * math/fedisblxcpt.c: Likewise.
50087         * math/feenablxcpt.c: Likewise.
50088         * math/fegetenv.c: Likewise.
50089         * math/fegetexcept.c: Likewise.
50090         * math/fegetround.c: Likewise.
50091         * math/feholdexcpt.c: Likewise.
50092         * math/fesetenv.c: Likewise.
50093         * math/fesetround.c: Likewise.
50094         * math/feupdateenv.c: Likewise.
50095         * math/fgetexcptflg.c: Likewise.
50096         * math/fraiseexcpt.c: Likewise.
50097         * math/fsetexcptflg.c: Likewise.
50098         * math/ftestexcept.c: Likewise.
50099         * math/k_cosl.c: Likewise.
50100         * math/k_rem_pio2l.c: Likewise.
50101         * math/k_sinl.c: Likewise.
50102         * math/k_tanl.c: Likewise.
50103         * math/s_asinhl.c: Likewise.
50104         * math/s_atanl.c: Likewise.
50105         * math/s_cbrtl.c: Likewise.
50106         * math/s_erfl.c: Likewise.
50107         * math/s_expm1l.c: Likewise.
50108         * math/s_log1pl.c: Likewise.
50109         * math/s_tanhl.c: Likewise.
50110         * misc/acct.c: Likewise.
50111         * misc/brk.c: Likewise.
50112         * misc/chflags.c: Likewise.
50113         * misc/chroot.c: Likewise.
50114         * misc/fchflags.c: Likewise.
50115         * misc/fgetxattr.c: Likewise.
50116         * misc/flistxattr.c: Likewise.
50117         * misc/fremovexattr.c: Likewise.
50118         * misc/fsetxattr.c: Likewise.
50119         * misc/fsync.c: Likewise.
50120         * misc/ftruncate.c: Likewise.
50121         * misc/futimes.c: Likewise.
50122         * misc/futimesat.c: Likewise.
50123         * misc/getdomain.c: Likewise.
50124         * misc/getdtsz.c: Likewise.
50125         * misc/gethostid.c: Likewise.
50126         * misc/gethostname.c: Likewise.
50127         * misc/getloadavg.c: Likewise.
50128         * misc/getpagesize.c: Likewise.
50129         * misc/getsysstats.c: Likewise.
50130         * misc/getxattr.c: Likewise.
50131         * misc/gtty.c: Likewise.
50132         * misc/ioctl.c: Likewise.
50133         * misc/lgetxattr.c: Likewise.
50134         * misc/listxattr.c: Likewise.
50135         * misc/llistxattr.c: Likewise.
50136         * misc/lremovexattr.c: Likewise.
50137         * misc/lsetxattr.c: Likewise.
50138         * misc/lutimes.c: Likewise.
50139         * misc/madvise.c: Likewise.
50140         * misc/mincore.c: Likewise.
50141         * misc/mlock.c: Likewise.
50142         * misc/mlockall.c: Likewise.
50143         * misc/mmap.c: Likewise.
50144         * misc/mprotect.c: Likewise.
50145         * misc/msync.c: Likewise.
50146         * misc/munlock.c: Likewise.
50147         * misc/munlockall.c: Likewise.
50148         * misc/munmap.c: Likewise.
50149         * misc/preadv.c: Likewise.
50150         * misc/preadv64.c: Likewise.
50151         * misc/ptrace.c: Likewise.
50152         * misc/pwritev.c: Likewise.
50153         * misc/pwritev64.c: Likewise.
50154         * misc/readv.c: Likewise.
50155         * misc/reboot.c: Likewise.
50156         * misc/remap_file_pages.c: Likewise.
50157         * misc/removexattr.c: Likewise.
50158         * misc/revoke.c: Likewise.
50159         * misc/select.c: Likewise.
50160         * misc/setdomain.c: Likewise.
50161         * misc/setegid.c: Likewise.
50162         * misc/seteuid.c: Likewise.
50163         * misc/sethostid.c: Likewise.
50164         * misc/sethostname.c: Likewise.
50165         * misc/setregid.c: Likewise.
50166         * misc/setreuid.c: Likewise.
50167         * misc/setxattr.c: Likewise.
50168         * misc/sstk.c: Likewise.
50169         * misc/stty.c: Likewise.
50170         * misc/swapoff.c: Likewise.
50171         * misc/swapon.c: Likewise.
50172         * misc/sync.c: Likewise.
50173         * misc/syncfs.c: Likewise.
50174         * misc/syscall.c: Likewise.
50175         * misc/truncate.c: Likewise.
50176         * misc/ualarm.c: Likewise.
50177         * misc/usleep.c: Likewise.
50178         * misc/ustat.c: Likewise.
50179         * misc/utimes.c: Likewise.
50180         * misc/vhangup.c: Likewise.
50181         * misc/writev.c: Likewise.
50182         * posix/_exit.c: Likewise.
50183         * posix/alarm.c: Likewise.
50184         * posix/execve.c: Likewise.
50185         * posix/fexecve.c: Likewise.
50186         * posix/fork.c: Likewise.
50187         * posix/fpathconf.c: Likewise.
50188         * posix/getaddrinfo.c: Likewise.
50189         * posix/getegid.c: Likewise.
50190         * posix/geteuid.c: Likewise.
50191         * posix/getgid.c: Likewise.
50192         * posix/getgroups.c: Likewise.
50193         * posix/getlogin.c: Likewise.
50194         * posix/getlogin_r.c: Likewise.
50195         * posix/getpgid.c: Likewise.
50196         * posix/getpid.c: Likewise.
50197         * posix/getppid.c: Likewise.
50198         * posix/getresgid.c: Likewise.
50199         * posix/getresuid.c: Likewise.
50200         * posix/getsid.c: Likewise.
50201         * posix/getuid.c: Likewise.
50202         * posix/glob64.c: Likewise.
50203         * posix/nanosleep.c: Likewise.
50204         * posix/pathconf.c: Likewise.
50205         * posix/pause.c: Likewise.
50206         * posix/posix_madvise.c: Likewise.
50207         * posix/pread.c: Likewise.
50208         * posix/pread64.c: Likewise.
50209         * posix/pwrite.c: Likewise.
50210         * posix/pwrite64.c: Likewise.
50211         * posix/sched_getaffinity.c: Likewise.
50212         * posix/sched_getp.c: Likewise.
50213         * posix/sched_gets.c: Likewise.
50214         * posix/sched_primax.c: Likewise.
50215         * posix/sched_primin.c: Likewise.
50216         * posix/sched_rr_gi.c: Likewise.
50217         * posix/sched_setaffinity.c: Likewise.
50218         * posix/sched_setp.c: Likewise.
50219         * posix/sched_sets.c: Likewise.
50220         * posix/sched_yield.c: Likewise.
50221         * posix/setgid.c: Likewise.
50222         * posix/setlogin.c: Likewise.
50223         * posix/setpgid.c: Likewise.
50224         * posix/setresgid.c: Likewise.
50225         * posix/setresuid.c: Likewise.
50226         * posix/setsid.c: Likewise.
50227         * posix/setuid.c: Likewise.
50228         * posix/sleep.c: Likewise.
50229         * posix/spawni.c: Likewise.
50230         * posix/sysconf.c: Likewise.
50231         * posix/times.c: Likewise.
50232         * posix/wait.c: Likewise.
50233         * posix/wait3.c: Likewise.
50234         * posix/wait4.c: Likewise.
50235         * posix/waitpid.c: Likewise.
50236         * resolv/gai_sigqueue.c: Likewise.
50237         * resource/getpriority.c: Likewise.
50238         * resource/getrlimit.c: Likewise.
50239         * resource/getrusage.c: Likewise.
50240         * resource/nice.c: Likewise.
50241         * resource/setpriority.c: Likewise.
50242         * resource/setrlimit.c: Likewise.
50243         * resource/ulimit.c: Likewise.
50244         * rt/aio_cancel.c: Likewise.
50245         * rt/aio_fsync.c: Likewise.
50246         * rt/aio_read.c: Likewise.
50247         * rt/aio_sigqueue.c: Likewise.
50248         * rt/aio_suspend.c: Likewise.
50249         * rt/aio_write.c: Likewise.
50250         * rt/clock_getres.c: Likewise.
50251         * rt/clock_gettime.c: Likewise.
50252         * rt/clock_nanosleep.c: Likewise.
50253         * rt/clock_settime.c: Likewise.
50254         * rt/lio_listio.c: Likewise.
50255         * rt/mq_close.c: Likewise.
50256         * rt/mq_getattr.c: Likewise.
50257         * rt/mq_notify.c: Likewise.
50258         * rt/mq_open.c: Likewise.
50259         * rt/mq_receive.c: Likewise.
50260         * rt/mq_send.c: Likewise.
50261         * rt/mq_setattr.c: Likewise.
50262         * rt/mq_timedreceive.c: Likewise.
50263         * rt/mq_timedsend.c: Likewise.
50264         * rt/mq_unlink.c: Likewise.
50265         * rt/shm_open.c: Likewise.
50266         * rt/shm_unlink.c: Likewise.
50267         * rt/timer_create.c: Likewise.
50268         * rt/timer_delete.c: Likewise.
50269         * rt/timer_getoverr.c: Likewise.
50270         * rt/timer_gettime.c: Likewise.
50271         * rt/timer_settime.c: Likewise.
50272         * setjmp/__longjmp.c: Likewise.
50273         * setjmp/setjmp.c: Likewise.
50274         * signal/kill.c: Likewise.
50275         * signal/killpg.c: Likewise.
50276         * signal/raise.c: Likewise.
50277         * signal/sigaction.c: Likewise.
50278         * signal/sigaltstack.c: Likewise.
50279         * signal/sigblock.c: Likewise.
50280         * signal/sigignore.c: Likewise.
50281         * signal/sigintr.c: Likewise.
50282         * signal/signal.c: Likewise.
50283         * signal/sigpause.c: Likewise.
50284         * signal/sigpending.c: Likewise.
50285         * signal/sigqueue.c: Likewise.
50286         * signal/sigreturn.c: Likewise.
50287         * signal/sigset.c: Likewise.
50288         * signal/sigsetmask.c: Likewise.
50289         * signal/sigstack.c: Likewise.
50290         * signal/sigsuspend.c: Likewise.
50291         * signal/sigtimedwait.c: Likewise.
50292         * signal/sigvec.c: Likewise.
50293         * signal/sigwait.c: Likewise.
50294         * signal/sigwaitinfo.c: Likewise.
50295         * signal/sysv_signal.c: Likewise.
50296         * socket/accept.c: Likewise.
50297         * socket/accept4.c: Likewise.
50298         * socket/bind.c: Likewise.
50299         * socket/connect.c: Likewise.
50300         * socket/getpeername.c: Likewise.
50301         * socket/getsockname.c: Likewise.
50302         * socket/getsockopt.c: Likewise.
50303         * socket/isfdtype.c: Likewise.
50304         * socket/listen.c: Likewise.
50305         * socket/recv.c: Likewise.
50306         * socket/recvfrom.c: Likewise.
50307         * socket/recvmsg.c: Likewise.
50308         * socket/send.c: Likewise.
50309         * socket/sendmsg.c: Likewise.
50310         * socket/sendto.c: Likewise.
50311         * socket/setsockopt.c: Likewise.
50312         * socket/shutdown.c: Likewise.
50313         * socket/sockatmark.c: Likewise.
50314         * socket/socket.c: Likewise.
50315         * socket/socketpair.c: Likewise.
50316         * stdio-common/ctermid.c: Likewise.
50317         * stdio-common/cuserid.c: Likewise.
50318         * stdio-common/remove.c: Likewise.
50319         * stdio-common/rename.c: Likewise.
50320         * stdio-common/renameat.c: Likewise.
50321         * stdio-common/tempname.c: Likewise.
50322         * stdlib/getcontext.c: Likewise.
50323         * stdlib/makecontext.c: Likewise.
50324         * stdlib/setcontext.c: Likewise.
50325         * stdlib/swapcontext.c: Likewise.
50326         * stdlib/system.c: Likewise.
50327         * streams/fattach.c: Likewise.
50328         * streams/fdetach.c: Likewise.
50329         * streams/getmsg.c: Likewise.
50330         * streams/getpmsg.c: Likewise.
50331         * streams/putmsg.c: Likewise.
50332         * streams/putpmsg.c: Likewise.
50333         * sysdeps/unix/bsd/getpt.c: Likewise.
50334         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
50335         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
50336         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
50337         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
50338         Likewise.
50339         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
50340         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
50341         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
50342         * sysvipc/msgctl.c: Likewise.
50343         * sysvipc/msgget.c: Likewise.
50344         * sysvipc/msgrcv.c: Likewise.
50345         * sysvipc/msgsnd.c: Likewise.
50346         * sysvipc/semctl.c: Likewise.
50347         * sysvipc/semget.c: Likewise.
50348         * sysvipc/semop.c: Likewise.
50349         * sysvipc/semtimedop.c: Likewise.
50350         * sysvipc/shmat.c: Likewise.
50351         * sysvipc/shmctl.c: Likewise.
50352         * sysvipc/shmdt.c: Likewise.
50353         * sysvipc/shmget.c: Likewise.
50354         * termios/tcdrain.c: Likewise.
50355         * termios/tcflow.c: Likewise.
50356         * termios/tcflush.c: Likewise.
50357         * termios/tcgetattr.c: Likewise.
50358         * termios/tcgetpgrp.c: Likewise.
50359         * termios/tcsendbrk.c: Likewise.
50360         * termios/tcsetattr.c: Likewise.
50361         * termios/tcsetpgrp.c: Likewise.
50362         * time/adjtime.c: Likewise.
50363         * time/clock.c: Likewise.
50364         * time/getitimer.c: Likewise.
50365         * time/gettimeofday.c: Likewise.
50366         * time/setitimer.c: Likewise.
50367         * time/settimeofday.c: Likewise.
50368         * time/stime.c: Likewise.
50369         * time/time.c: Likewise.
50371 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
50373         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
50374         /usr/old/bin.
50376         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
50377         instead of spaces.
50378         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
50380 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
50382         [BZ #14796]
50383         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
50384         FE_TONEAREST before applying Dekker multiplication and Knuth
50385         addition.  Clear inexact exceptions and check for exact zero
50386         results afterwards.
50387         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
50388         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
50389         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
50390         * math/libm-test.inc (fma_test): Add more tests.
50391         (fma_test_towardzero): Likewise.
50392         (fma_test_downward): Likewise.
50393         (fma_test_upward): Likewise.
50394         * sysdeps/generic/math_private.h (default_libc_fesetround): New
50395         function.
50396         (libc_fesetround): New macro.
50397         (libc_fesetroundf): Likewise.
50398         (libc_fesetroundl): Likewise.
50399         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
50400         function.
50401         (libc_fesetround_387): Likewise.
50402         (libc_fesetroundf): New macro.
50403         (libc_fesetround): Likewise.
50404         (libc_fesetroundl): Likewise.
50405         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
50406         function.
50407         (libc_fesetroundf): New macro.
50408         (libc_fesetround): Likewise.
50409         (libc_fesetroundl): Likewise.
50410         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
50411         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
50412         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
50413         libm_hidden_ver.
50414         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
50415         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
50416         libm_hidden_def.
50417         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
50418         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
50419         libm_hidden_ver.
50420         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
50421         libm_hidden_def.
50423         [BZ #3439]
50424         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
50425         integer constant usable in #if and use that to give value to enum
50426         constant.
50427         (FE_DIVBYZERO): Likewise.
50428         (FE_UNDERFLOW): Likewise.
50429         (FE_OVERFLOW): Likewise.
50430         (FE_INVALID): Likewise.
50431         (FE_INVALID_SNAN): Likewise.
50432         (FE_INVALID_ISI): Likewise.
50433         (FE_INVALID_IDI): Likewise.
50434         (FE_INVALID_ZDZ): Likewise.
50435         (FE_INVALID_IMZ): Likewise.
50436         (FE_INVALID_COMPARE): Likewise.
50437         (FE_INVALID_SOFTWARE): Likewise.
50438         (FE_INVALID_SQRT): Likewise.
50439         (FE_INVALID_INTEGER_CONVERSION): Likewise.
50440         (FE_TONEAREST): Likewise.
50441         (FE_TOWARDZERO): Likewise.
50442         (FE_UPWARD): Likewise.
50443         (FE_DOWNWARD): Likewise.
50444         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
50445         (FE_DIVBYZERO): Likewise.
50446         (FE_OVERFLOW): Likewise.
50447         (FE_UNDERFLOW): Likewise.
50448         (FE_INEXACT): Likewise.
50449         (FE_TONEAREST): Likewise.
50450         (FE_DOWNWARD): Likewise.
50451         (FE_UPWARD): Likewise.
50452         (FE_TOWARDZERO): Likewise.
50453         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
50454         (FE_UNDERFLOW): Likewise.
50455         (FE_OVERFLOW): Likewise.
50456         (FE_DIVBYZERO): Likewise.
50457         (FE_INVALID): Likewise.
50458         (FE_TONEAREST): Likewise.
50459         (FE_TOWARDZERO): Likewise.
50460         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
50461         (FE_OVERFLOW): Likewise.
50462         (FE_UNDERFLOW): Likewise.
50463         (FE_DIVBYZERO): Likewise.
50464         (FE_INEXACT): Likewise.
50465         (FE_TONEAREST): Likewise.
50466         (FE_TOWARDZERO): Likewise.
50467         (FE_UPWARD): Likewise.
50468         (FE_DOWNWARD): Likewise.
50469         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
50470         (FE_DIVBYZERO): Likewise.
50471         (FE_OVERFLOW): Likewise.
50472         (FE_UNDERFLOW): Likewise.
50473         (FE_INEXACT): Likewise.
50474         (FE_TONEAREST): Likewise.
50475         (FE_DOWNWARD): Likewise.
50476         (FE_UPWARD): Likewise.
50477         (FE_TOWARDZERO): Likewise.
50479 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
50481         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
50483 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
50485         * scripts/cross-test-ssh.sh (command): Use newlines to separate
50486         commands.  Quote $PWD.
50487         (blacklist_exports): Don't use remove_newlines.  Replace "declare
50488         -x" by "export".
50489         (remove_newlines): Remove.
50491 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
50493         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
50494         * stdlib/stdlib.h (atof): Moved to ...
50495         * include/bits/stdlib-float.h: Here.  New file.
50496         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
50497         * stdlib/bits/stdlib-float.h: New file.
50498         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
50499         -mno-sse -mno-mmx.
50500         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
50501         <xmmintrin.h>.
50503 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
50505         * conform/conformtest.pl (@headers): Add fenv.h.
50506         * conform/data/fenv.h-data: New file.
50507         * include/fenv.h [_ISOMAC]: Disable all contents of file except
50508         include of <math/fenv.h>.
50510         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
50511         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
50512         && !UNIX98].  Enables tests for XOPEN2K8.
50513         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
50514         POSIX2008]: Likewise.
50516         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
50517         (struct rusage): Do not expect type or its members.
50519         [BZ #3439]
50520         * math/math.h (FP_NAN): Define macro to integer constant usable in
50521         #if and use that to give value to enum constant.
50522         (FP_INFINITE): Likewise.
50523         (FP_ZERO): Likewise.
50524         (FP_SUBNORMAL): Likewise.
50525         (FP_NORMAL): Likewise.
50527 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
50529         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
50530         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
50531         arguments.
50533 2012-11-02  Roland McGrath  <roland@hack.frob.com>
50535         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
50536         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
50537         autoconf-time if not.
50538         * configure.in: Remove AC_PREREQ.
50540 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
50542         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
50543         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
50544         of the internal implementation.
50546 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
50548         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
50549         except include of <misc/sys/syslog.h>.
50551 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
50553         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
50554         function returns with a NULL context exit with zero.
50556 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
50558         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
50560 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
50562         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
50563         (run_program_cmd): This.
50564         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
50565         (tst_langinfo): New variable.  Use it.
50567 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
50569         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
50570         floating point opcodes.
50572 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
50574         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
50575         variable.
50577         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
50579         * sysdeps/mach/hurd/powerpc: Remove directory.
50580         * sysdeps/mach/powerpc: Likewise.
50582 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
50584         * scripts/check-local-headers.sh: Ignore c++ headers.
50586 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
50588         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
50589         __libc_cleanup_region_start argument.
50591 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
50593         [BZ #14784]
50594         [BZ #14785]
50595         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
50596         x * y using scaling, not as x * y + z.
50597         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
50598         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
50599         * math/libm-test.inc (fma_test): Add more tests.
50600         (fma_test_towardzero): Likewise.
50601         (fma_test_downward): Likewise.
50602         (fma_test_upward): Likewise.
50604 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
50606         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
50608 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
50610         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
50611         New variable.
50613 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
50615         * rt/tst-shm.c (worker): Correct checking for mmap failure.
50617 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
50619         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
50620         Fix sort order.
50621         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
50622         Likewise.
50624 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
50626         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
50627         Fix the order of the list for glibc 2.17.
50628         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
50629         Likewise.
50631 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
50633         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50635 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
50637         [BZ #14610]
50638         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
50639         for low part of x being zero before using __atanl (y).
50640         * math/libm-test.inc (atan2_test): Add another test.
50642         * manual/install.texi (Configuring and compiling): Document
50643         general use of test-wrapper and test-wrapper-env.
50644         * INSTALL: Regenerated.
50646         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
50647         (__fma): Do not extract and scale down low bits on after-rounding
50648         systems when result rounded to normal precision would have normal
50649         exponent.
50650         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
50651         (__fmal): Do not extract and scale down low bits on after-rounding
50652         systems when result rounded to normal precision would have normal
50653         exponent.
50654         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
50655         (__fmal): Do not extract and scale down low bits on after-rounding
50656         systems when result rounded to normal precision would have normal
50657         exponent.
50658         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
50659         macro.
50660         (fma_test): Add more tests.
50661         (fma_test_towardzero): Likewise.
50662         (fma_test_downward): Likewise.
50663         (fma_test_upward): Likewise.
50665 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
50667         * sysdeps/i386/tininess.h: Renamed to ...
50668         * sysdeps/x86/tininess.h: This.
50669         * sysdeps/x86_64/tininess.h: Removed.
50671 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
50673         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
50674         input.  Use $(build-program-cmd).
50675         ($(objpfx)tst-array1-static.out): Likewise.
50676         ($(objpfx)tst-array2.out): Likewise.
50677         ($(objpfx)tst-array3.out): Likewise.
50678         ($(objpfx)tst-array4.out): Likewise.
50679         ($(objpfx)tst-array5.out): Likewise.
50680         ($(objpfx)tst-array5-static.out): Likewise.
50682 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
50684         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
50685         if defined.
50687         * nss/nsswitch.h (nss_interface_function): Provide new
50688         macro for use with NSS functions.
50689         * grp/initgroups.c: Use new macro.
50690         * nss/getXXbyYY.c: Likewise.
50691         * nss/getXXbyYY_r.c: Likewise.
50692         * nss/getXXent.c: Likewise.
50693         * nss/getXXent_r.c: Likewise.
50694         * sysdeps/posix/getaddrinfo.c: Likewise.
50696 2012-10-30  Andreas Jaeger  <aj@suse.de>
50698         * po/ru.po: Update Russion translation from translation project.
50700 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
50702         [BZ #14152]
50703         [BZ #14783]
50704         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
50705         result and shift together with sticky bit instead of replicating
50706         round-to-nearest rounding.
50707         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
50708         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
50709         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
50710         missing underflow exceptions.
50711         (fma_test_towardzero): Add more tests.
50712         (fma_test_downward): Likewise.
50713         (fma_test_upward): Likewise.
50715         [BZ #14047]
50716         * sysdeps/generic/tininess.h: New file.
50717         * sysdeps/i386/tininess.h: Likewise.
50718         * sysdeps/sh/tininess.h: Likewise.
50719         * sysdeps/x86_64/tininess.h: Likewise.
50720         * stdlib/tst-strtod-underflow.c: Likewise.
50721         * stdlib/tst-tininess.c: Likewise.
50722         * stdlib/strtod_l.c: Include <tininess.h>.
50723         (round_and_return): Do not set errno for exact underflow cases.
50724         Force an underflow exception when setting errno for underflow.
50725         Determine underflow based on rounding to normal precision if
50726         TININESS_AFTER_ROUNDING.
50727         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
50728         ERANGE for exact underflow cases.
50729         * stdlib/Makefile (tests): Add tst-tininess and
50730         tst-strtod-underflow.
50731         ($(objpfx)tst-tininess): Use $(link-libm).
50732         ($(objpfx)tst-strtod-underflow): Likewise.
50734 2012-10-30  Andreas Jaeger  <aj@suse.de>
50736         [BZ#14767]
50737         * elf/Makefile (tests): Remove conditional for have-initfini-array
50738         since this is now always required and the variable does not exist
50739         anymore.
50740         (tests-static): Likewise.
50741         (modules-names): Likewise.
50743         * po/eo.po: Add Esperanto translation from translation project.
50745         * elf/tst-array1.c (fini_array): Make writeable so that it can be
50746         merged with constructor/destructor.
50747         (init_array): Likewise.
50748         * elf/tst-array2dep.c (fini_array): Likewise.
50749         (init_array): Likewise.
50751 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
50753         * manual/message.texi: Delete @cartouche tags.
50755 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
50757         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
50758         EOPNOTSUPP.
50759         * sysdeps/mach/hurd/fsync.c: Likewise.
50761         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
50762         [_POSIX_REALTIME_SIGNALS]: Change condition to
50763         [_POSIX_REALTIME_SIGNALS > 0].
50765 2012-10-27  Andreas Jaeger  <aj@suse.de>
50767         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
50768         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
50769         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
50770         [__WORDSIZE != 64]: Likewise.
50772 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
50774         *  iconvdata/tst-table.sh: Remove ${SHELL}.
50775         *  iconvdata/tst-tables.sh: Likewise.
50777 2012-10-25  David S. Miller  <davem@davemloft.net>
50779         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
50780         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
50781         of strtoull.
50783         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
50784         ifunc-impl-list.c
50785         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
50786         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
50787         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
50788         file.
50790 2012-10-25  Roland McGrath  <roland@hack.frob.com>
50792         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
50793         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
50794         __getdirentries.
50796 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
50797             Jim Blandy  <jimb@codesourcery.com>
50799         * scripts/cross-test-ssh.sh: New file.
50800         * manual/install.texi (Configuring and compiling): Document use of
50801         cross-test-ssh.sh.
50802         * INSTALL: Regenerated.
50804 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
50806         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
50807         EOPNOTSUPP.
50809 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
50811         * Makeconfig (run-program-prefix): Fix comment.
50813 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
50814             Jim Blandy  <jimb@codesourcery.com>
50816         * Makeconfig (test-wrapper): New variable,
50817         (test-wrapper-env): Likewise.
50818         [$(cross-compiling) = yes && $(test-wrapper) != ""]
50819         (run-built-tests): Define to yes.
50820         (run-program-prefix): Use $(test-wrapper).
50821         (built-program-cmd): Likewise.
50822         * Rules (make-test-out): Use $(test-wrapper-env) and
50823         $(host-built-program-cmd).
50824         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
50825         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
50826         tst-pathopt.sh.
50827         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
50828         $(test-wrapper-env) to tst-rtld-load-self.sh.
50829         ($(objpfx)order2.out): Use $(test-wrapper).
50830         ($(objpfx)tst-initorder.out): Likewise.
50831         ($(objpfx)tst-initorder2.out): Likewise.
50832         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
50833         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
50834         (test_wrapper_env): New variable.  Use it to run ld.so.
50835         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
50836         Use it to run ld.so.
50837         (test_wrapper_env): Likewise.
50838         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
50839         $(test-wrapper) to run-iconv-test.sh.
50840         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
50841         (ICONV): Use $test_wrapper.
50842         * posix/Makefile ($(objpfx)globtest.out): Pass
50843         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
50844         globtest.sh, not $(run-program-prefix).
50845         * posix/globtest.sh (run_via_rtld_prefix): New variable.
50846         (test_wrapper): Likewise.
50847         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
50848         set together with run_via_rtld_prefix.
50849         (run_program_prefix): Define in terms of test_wrapper and
50850         run_via_rtld_prefix.
50852 2012-10-24  Roland McGrath  <roland@hack.frob.com>
50854         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
50855         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
50856         Targets removed.
50858         [BZ #14743]
50859         * include/time.h: Remove librt_hidden_proto (clock_gettime).
50860         Declare __clock_getres, __clock_gettime, __clock_settime,
50861         __clock_nanosleep, and __clock_getcpuclockid.
50862         * rt/clock_gettime.c: Define __clock_gettime as an alias.
50863         Remove librt_hidden_def (clock_gettime).
50864         * sysdeps/unix/clock_gettime.c: Likewise.
50865         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
50866         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
50867         * rt/clock_getres.c: Define __clock_getres as an alias.
50868         * sysdeps/posix/clock_getres.c: Likewise.
50869         * rt/clock_settime.c: Define __clock_settime as an alias.
50870         * sysdeps/unix/clock_settime.c: Likewise.
50871         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
50872         * sysdeps/unix/clock_nanosleep.c: Likewise.
50873         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
50874         * rt/clock-compat.c: New file.
50875         * rt/Makefile (librt-routines): Add clock-compat and move
50876         $(clock-routines) to ...
50877         (routines): ... here, new variable.
50878         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
50879         Don't add get_clockfreq here.
50880         * rt/Versions (libc: GLIBC_2.17): New version set.
50881         Add clock_* symbols here.
50882         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
50883         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
50884         (GLIBC_2.17): Add clock_* symbols.
50885         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
50886         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
50887         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
50888         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
50889         Likewise.
50890         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
50891         Likewise.
50892         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
50893         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
50894         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
50895         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
50896         * NEWS: Mention the move.
50898         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
50899         Use __open, __read, __close rather than their public counterparts.
50900         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
50901         (__get_clockfreq_via_cpuinfo): Likewise.
50902         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
50903         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
50905         * config.h.in (HAVE_IFUNC): New #undef.
50906         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
50907         was successful.
50908         * configure: Regenerated.
50910 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
50912         * configure.in: Move READELF check to start of file.
50913         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
50914         libc_cv_asm_gnu_indirect_function in the process.
50915         * configure: Regenerated.
50917 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
50919         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
50920         send the output to /dev/null.
50921         (libc_cv_cc_with_libunwind): Likewise.
50922         (libc_cv_as_noexecstack): Likewise.
50923         * configure: Regenerate.
50925 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
50927         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
50929         * posix/globtest.sh (TMPDIR): Do not set.
50930         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
50931         (testout): Likewise.
50933 2012-10-24  Andreas Jaeger  <aj@suse.de>
50935         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
50936         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
50937         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
50938         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
50939         posix_fadvise64, posix_fallocate64.
50941         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
50942         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
50943         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
50944         Likewise.
50945         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
50946         Likewise.
50947         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
50949         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
50950         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
50951         <bits/fcntl-linux.h>.
50952         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
50954         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
50955         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
50956         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
50957         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
50958         [__WORDSIZE != 64]: Likewise.
50960 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
50962         * Makeconfig (run-built-tests): New variable.
50963         * Rules [$(cross-compiling) = yes]: Change condition to
50964         [$(run-built-tests) = no].
50965         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
50966         to [$(run-built-tests) = yes].
50967         * elf/Makefile [$(cross-compiling) = no]: Likewise
50968         * grp/Makefile [$(cross-compiling) = no]: Likewise.
50969         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
50970         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
50971         * intl/Makefile [$(cross-compiling) = no]: Likewise.
50972         * io/Makefile [$(cross-compiling) = no]: Likewise.
50973         * libio/Makefile [$(cross-compiling) = no]: Likewise.
50974         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
50975         * misc/Makefile [$(cross-compiling) = no]: Likewise.
50976         * posix/Makefile [$(cross-compiling) = no]: Likewise.
50977         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
50978         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
50979         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
50980         * string/Makefile [$(cross-compiling) = no]: Likewise.
50982         * posix/Makefile ($(objpfx)globtest.out): Pass
50983         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
50984         $(rtld-installed-name).
50985         * posix/globtest.sh (elf_objpfx): Remove variable.
50986         (rtld_installed_name): Likewise.
50987         (library_path): Likewise.
50988         (run_program_prefix): New variable.  Use for running globtest
50989         binary.
50991 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
50992             Joseph Myers  <joseph@codesourcery.com>
50994         * Makeconfig (host-built-program-cmd): New variable.
50995         * elf/Makefile (tst-stackguard1-ARGS): Use
50996         $(host-built-program-cmd).
50997         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
50998         (tst-spawn-ARGS): Likewise.
50999         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
51001 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
51002             Jim Blandy  <jimb@codesourcery.com>
51004         * Makeconfig (run-via-rtld-prefix): New variable.
51005         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
51006         (built-program-cmd): Likewise.
51008 2012-10-22  Andreas Jaeger  <aj@suse.de>
51010         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
51011         __O_RSYNC if it exists, otherwise to O_SYNC.
51013 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
51014             Joseph Myers  <joseph@codesourcery.com>
51016         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
51017         /dev/null.
51018         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
51019         from /dev/null
51020         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
51021         /dev/null.
51023 2012-10-22  Andreas Jaeger  <aj@suse.de>
51025         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
51026         Define always.
51027         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
51029         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
51030         bits/fcntl-linux.h.
51032         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
51033         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
51035         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
51036         to __O_LARGEFILE.
51037         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
51038         to __O_LARGEFILE.
51040 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
51041             Joseph Myers  <joseph@codesourcery.com>
51043         * config.make.in (NM): New variable.
51045 2012-10-21  Andreas Jaeger  <aj@suse.de>
51047         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
51048         definitions and declarations that are provided by
51049         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
51051 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
51053         [BZ #14683]
51054         * elf/Makefile (tests-static): Add tst-leaks1-static.
51055         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
51056         ($(objpfx)tst-leaks1-static): New rule.
51057         ($(objpfx)tst-leaks1-static-mem): Likewise.
51058         (tst-leaks1-static-ENV): New macro.
51059         * elf/dl-open.c (dl_open_worker): Check the main application
51060         only if SHARED is defined.
51061         * elf/tst-leaks1-static.c: New file.
51063 2012-10-20  Andreas Jaeger  <aj@suse.de>
51065         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
51066         generic values for Linux.
51067         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
51068         and declarations that are provided by <bits/fcntl-linux.h> and
51069         include <bits/fcntl-linux.h>.
51070         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
51071         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
51073 2012-10-20  Roland McGrath  <roland@hack.frob.com>
51075         * io/fcntl.h: Move include of <bits/types.h> to the top and
51076         include it unconditionally.
51078 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
51080         * wcsmbs/Makefile (tests-ifunc): New variable.
51081         (tests): Add $(tests-ifunc).
51082         * wcsmbs/test-wcschr-ifunc.c: New file.
51083         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
51084         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
51085         * wcsmbs/test-wcslen-ifunc.c: Likewise.
51086         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
51087         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
51089         * string/Makefile (tests-ifunc): New variable.
51090         (tests): Add $(tests-ifunc).
51091         * string/test-memccpy.c (TEST_NAME): New macro.
51092         * string/test-memchr.c (TEST_NAME): Likewise.
51093         * string/test-memcmp.c (TEST_NAME): Likewise.
51094         * string/test-memcpy.c (TEST_NAME): Likewise.
51095         * string/test-memmem.c (TEST_NAME): Likewise.
51096         * string/test-memmove.c (TEST_NAME): Likewise.
51097         * string/test-memset.c (TEST_NAME): Likewise.
51098         * string/test-rawmemchr.c (TEST_NAME): Likewise.
51099         * string/test-stpcpy.c (TEST_NAME): Likewise.
51100         * string/test-stpncpy.c (TEST_NAME): Likewise.
51101         * string/test-strcasecmp.c (TEST_NAME): Likewise.
51102         * string/test-strcasestr.c (TEST_NAME): Likewise.
51103         * string/test-strcat.c (TEST_NAME): Likewise.
51104         * string/test-strchr.c (TEST_NAME): Likewise.
51105         * string/test-strcmp.c(TEST_NAME): Likewise.
51106         * string/test-strcpy.c (TEST_NAME): Likewise.
51107         * string/test-strcspn.c (TEST_NAME): Likewise.
51108         * string/test-strlen.c (TEST_NAME): Likewise.
51109         * string/test-strncasecmp.c (TEST_NAME): Likewise.
51110         * string/test-strncmp.c (TEST_NAME): Likewise.
51111         * string/test-strncpy.c (TEST_NAME): Likewise.
51112         * string/test-strnlen.c (TEST_NAME): Likewise.
51113         * string/test-strpbrk.c (TEST_NAME): Likewise.
51114         * string/test-strrchr.c (TEST_NAME): Likewise.
51115         * string/test-strspn.c (TEST_NAME): Likewise.
51116         * string/test-strstr.c (TEST_NAME): Likewise.
51117         * string/test-bcopy-ifunc.c: New file.
51118         * string/test-bzero-ifunc.c: Likewise.
51119         * string/test-memccpy-ifunc.c: Likewise.
51120         * string/test-memchr-ifunc.c: Likewise.
51121         * string/test-memcmp-ifunc.c: Likewise.
51122         * string/test-memcpy-ifunc.c: Likewise.
51123         * string/test-memmem-ifunc.c: Likewise.
51124         * string/test-memmove-ifunc.c: Likewise.
51125         * string/test-mempcpy-ifunc.c: Likewise.
51126         * string/test-memset-ifunc.c: Likewise.
51127         * string/test-rawmemchr-ifunc.c: Likewise.
51128         * string/test-stpcpy-ifunc.c: Likewise.
51129         * string/test-stpncpy-ifunc.c: Likewise.
51130         * string/test-strcasecmp-ifunc.c: Likewise.
51131         * string/test-strcasestr-ifunc.c: Likewise.
51132         * string/test-strcat-ifunc.c: Likewise.
51133         * string/test-strchr-ifunc.c: Likewise.
51134         * string/test-strchrnul-ifunc.c: Likewise.
51135         * string/test-strcmp-ifunc.c: Likewise.
51136         * string/test-strcpy-ifunc.c: Likewise.
51137         * string/test-strcspn-ifunc.c: Likewise.
51138         * string/test-strlen-ifunc.c: Likewise.
51139         * string/test-strncasecmp-ifunc.c: Likewise.
51140         * string/test-strncat-ifunc.c: Likewise.
51141         * string/test-strncmp-ifunc.c: Likewise.
51142         * string/test-strncpy-ifunc.c: Likewise.
51143         * string/test-strnlen-ifunc.c: Likewise.
51144         * string/test-strpbrk-ifunc.c: Likewise.
51145         * string/test-strrchr-ifunc.c: Likewise.
51146         * string/test-strspn-ifunc.c: Likewise.
51147         * string/test-strstr-ifunc.c: Likewise.
51149         * debug/Makefile (tests-ifunc): New variable.
51150         (tests): Add $(tests-ifunc).
51151         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
51152         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
51153         * debug/test-stpcpy_chk-ifunc.c: New file.
51154         * debug/test-strcpy_chk-ifunc.c: Likewise.
51156 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
51158         [BZ #13601]
51159         * elf/dl-load.c (open_verify): Retry read if the entire ELF
51160         header is not read in.
51162 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
51164         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
51165         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
51166         directly.  Pass built executable to script as
51167         $(built-program-cmd).
51168         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
51169         $testprogram without using LD_LIBRARY_PATH and $ldso.
51171         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
51172         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
51173         $(rtld-installed-name).
51174         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
51175         (rtld_installed_name): Likewise.
51176         (library_path): Likewise.
51177         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
51178         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
51179         $(run-program-prefix) to tst-tables.sh.
51180         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
51181         it to run tst-table-from and tst-table-to.
51182         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
51183         Pass it to tst-table.sh.
51184         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
51185         $(run-program-prefix) to tst-gettext.sh.
51186         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
51187         tst-translit.sh.
51188         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
51189         tst-gettext2.sh.
51190         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
51191         to run tst-gettext.
51192         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
51193         to run tst-gettext2.
51194         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
51195         to run tst-translit.
51196         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
51197         $(run-program-prefix) to tst-mtrace.sh.
51198         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
51199         to run tst-mtrace.
51200         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
51201         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
51202         $(rtld-installed-name).
51203         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
51204         (rtld_installed_name): Likewise.
51205         (run_program_prefix): New variable.  Use it to run wordexp-test.
51207         * Makeconfig (ARCH): Remove all definitions.
51208         (machine): Likewise.
51209         [ARCH]: Remove conditional code.
51210         [!objdir]: Give error.
51211         [!objdir] (objpfx): Remove.
51212         [!objdir] (common-objpfx): Likewise.
51213         [!objdir] (common-objdir): Likewise.
51214         * configure.in (config_makefile): Remove.  Hardcode Makefile in
51215         AC_CONFIG_FILES call.
51216         * configure: Regenerated.
51218         [BZ #13888]
51219         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
51220         or TMPDIR.
51221         (testout): Likewise.
51223         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
51224         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
51225         $(rtld-installed-name).
51226         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
51227         (rtld_installed_name): Likwise.
51228         (runit): Remove function.
51229         (run_getconf): New variable,  Use it for running getconf binary.
51231 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
51233         [BZ #14716]
51234         * string/test-memmem.c (check_result): New function.
51235         (do_one_test): Use it.
51236         (check1): New function.
51237         (test_main): Use it.
51239 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
51241         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
51243 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
51245         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
51246         (_G_LSEEK64): Likewise.
51247         (_G_MMAP64): Likewise.
51248         (_G_FSTAT64): Likewise.
51249         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
51250         (_G_LSEEK64): Likewise.
51251         (_G_MMAP64): Likewise.
51252         (_G_FSTAT64): Likewise.
51253         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
51254         unconditional.  Call __mmap64 directly.
51255         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
51256         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
51257         __lseek64 directly.
51258         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
51259         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
51260         __mmap64 directly.
51261         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
51262         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
51263         __lseek64 directly.
51264         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
51265         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
51266         __lseek64 directly.
51267         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
51268         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
51269         __lseek64 directly.
51270         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
51271         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
51272         __fxstat64 directly.
51273         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
51274         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
51275         unconditional.
51276         (freopen64) [!_G_OPEN64]: Remove conditional code.
51277         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
51278         unconditional.
51279         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
51280         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
51281         unconditional.
51282         (ftello64) [!_G_LSEEK64]: Remove conditional code.
51283         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
51284         unconditional.
51285         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
51286         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
51287         unconditional.
51288         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
51289         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
51290         unconditional.
51291         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
51292         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
51293         unconditional.
51294         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
51295         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
51296         unconditional.
51297         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
51299 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
51301         [BZ #12140]
51302         * manual/memory.texi (Malloc Tunable Parameters): Add note
51303         about free list pointers overwriting some perturb bytes.
51304         Wording suggested by Roland McGrath.
51306 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
51308         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
51309         (lgamma_test): Likewise.
51310         (tgamma_test): Likewise.
51312 2012-10-16  Florian Weimer  <fweimer@redhat.com>
51314         [BZ #14700]
51315         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
51316         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
51318 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
51320         * NEWS: Mention BZ #14716.
51321         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
51322         when removing AVAILABLE1_USES_J macro.
51324 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
51326         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
51327         (__bswap_64): __uint64_t for unsigned 64-bit int.
51329 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
51331         * include/string.h (memmem): Declare libc hidden alias.
51332         * string/memmem.c (memmem): Define libc hidden alias.
51333         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
51334         __read, __close instead of open, read, close.
51336 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
51338         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
51339         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
51340         global and hidden.
51341         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
51342         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
51343         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
51344         Likewise.
51345         (__rawmemchr_sse2): Likewise.
51346         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
51347         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
51348         (__strchr_sse2): Likewise.
51349         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
51350         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
51351         (__strcasecmp_sse2): Likewise.
51352         (__strncasecmp_sse2): Likewise.
51353         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
51354         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
51355         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
51356         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
51357         (__strrchr_sse2): Likewise.
51358         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
51359         ifunc-impl-list.c.
51360         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
51361         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
51362         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
51363         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
51364         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
51365         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
51366         * sysdeps/x86_64/multiarch/memset.S: Likewise.
51367         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
51368         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
51369         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
51370         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
51371         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
51372         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
51373         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
51374         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
51375         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
51376         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
51377         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
51378         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
51379         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
51380         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
51381         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
51382         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
51383         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
51384         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
51385         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
51386         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
51387         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
51388         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
51389         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
51391         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
51392         global and hidden.
51393         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
51394         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
51395         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
51396         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
51397         Likewise.
51398         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
51399         Likewise.
51400         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
51401         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
51402         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
51403         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
51404         ifunc-impl-list.c.
51405         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
51406         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
51407         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
51408         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
51409         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
51410         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
51411         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
51412         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
51413         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
51414         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
51415         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
51416         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
51417         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
51418         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
51419         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
51420         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
51421         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
51422         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
51423         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
51424         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
51425         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
51426         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
51427         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
51428         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
51429         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
51430         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
51431         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
51432         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
51433         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
51434         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
51435         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
51436         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
51437         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
51438         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
51439         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
51440         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
51441         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
51442         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
51443         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
51444         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
51445         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
51447         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
51448         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
51449         * include/ifunc-impl-list.h: New file.
51450         * misc/ifunc-impl-list.c: Likewise.
51451         * misc/Makefile (routines): Add ifunc-impl-list.
51452         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
51453         * string/test-string.h: Include <ifunc-impl-list.h>.
51454         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
51455         TEST_NAME]: New variables.
51456         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
51457         are defined.
51458         (test_init): Call __libc_ifunc_impl_list to initialize
51459         func_list if TEST_IFUNC and TEST_NAME are defined.
51461         * string/Makefile (strop-tests): Add bcopy and bzero.
51462         * string/test-bcopy.c: New file.
51463         * string/test-bzero.c: Likewise.
51464         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
51465         defined.
51466         * string/test-memset.c: Support bzero test if TEST_BZERO is
51467         defined.
51468         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
51469         __libc_memmove.
51470         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
51471         __libc_memset.
51472         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
51473         of memset.
51475 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
51477         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
51478         * configure: Regenerated.
51480         * Makeconfig (+link-static-before-libc): Don't include
51481         $(link-static-libc).
51483         * libio/libio.h (_IO_pos_t): Remove.
51485 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
51487         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
51488         McGrath.
51490 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
51492         * crypt/crypt-entry.c: Include fips-private.h.
51493         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
51494         * crypt/md5c-test.c (main): Tolerate disabled MD5.
51495         * sysdeps/unix/sysv/linux/fips-private.h: New file.
51496         * sysdeps/generic/fips-private.h: New file, dummy fallback.
51498 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
51500         * crypt/crypt-private.h: Include stdbool.h.
51501         (_ufc_setup_salt_r): Return bool.
51502         * crypt/crypt-entry.c: Include errno.h.
51503         (__crypt_r): Return NULL with EINVAL for bad salt.
51504         * crypt/crypt_util.c (bad_for_salt): New.
51505         (_ufc_setup_salt_r): Check that salt is long enough and within
51506         the specified alphabet.
51507         * crypt/badsalttest.c: New file.
51508         * crypt/Makefile (tests): Add it.
51509         ($(objpfx)badsalttest): New.
51511 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
51513         * NEWS: Add entry for BZ #14602.
51515 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
51517         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
51518         type-generic.
51519         * math/libm-test.inc: Update comment listing what functions and
51520         macros are tested.
51521         (isgreater_test): New function.
51522         (isgreaterequal_test): Likewise.
51523         (isless_test): Likewise.
51524         (islessequal_test): Likewise.
51525         (islessgreater_test): Likewise.
51526         (isunordered_test): Likewise.
51527         (main): Call the new functions.
51529 2012-10-09  Roland McGrath  <roland@hack.frob.com>
51531         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
51532         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
51533         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
51534         * sysdeps/i386/configure: Regenerated.
51535         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
51536         * sysdeps/mach/configure: Regenerated.
51537         * sysdeps/mach/hurd/configure: Regenerated.
51538         * sysdeps/powerpc/configure: Regenerated.
51539         * sysdeps/powerpc/powerpc32/configure: Regenerated.
51540         * sysdeps/powerpc/powerpc64/configure: Regenerated.
51541         * sysdeps/s390/s390-32/configure: Regenerated.
51542         * sysdeps/s390/s390-64/configure: Regenerated.
51543         * sysdeps/sh/configure: Regenerated.
51544         * sysdeps/sparc/configure: Regenerated.
51545         * sysdeps/unix/sysv/linux/configure: Regenerated.
51546         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
51547         * sysdeps/x86_64/configure: Regenerated.
51549         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
51550         defined.  Don't check if MAP is NULL.
51552 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
51554         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
51555         (_G_stat64): Likewise.
51556         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
51557         (_G_stat64): Likewise.
51558         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
51559         instead of struct _G_stat64.
51560         * libio/fileops.c (mmap_remap_check): Likewise.
51561         (decide_maybe_mmap): Likewise.
51562         (_IO_new_file_seekoff): Likewise.
51563         (_IO_file_stat): Likewise.
51564         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
51565         _G_off64_t.
51566         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
51567         instead of struct _G_stat64.
51568         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
51570 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
51572         [BZ #14602]
51573         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
51574         Replace with ...
51575         (CHECK_EOL): New macro.
51576         (two_way_short_needle): Check beginning of haystack for EOL.  Use
51577         CHECK_EOL.
51578         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
51579         Replace with CHECK_EOL.
51580         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
51581         Replace with CHECK_EOL.
51583 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
51585         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
51586         type-generic.
51587         * math/libm-test.inc: Update comment listing what functions and
51588         macros are tested.
51589         (finite_test): New function.
51590         (isinf_test): Likewise.
51591         (isnan_test): Likewise.
51592         (fpclassify_test): Test subnormal input.
51593         (isfinite_test): Likewise.
51594         (isnormal_test): Likewise.
51595         (main): Call the new functions.
51597 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
51599         [BZ #14660]
51600         * Makerules (%.dynsym): Force C locale when running
51601         $(OBJDUMP) --dynamic-syms.
51603 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
51605         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
51606         <stdint.h>.
51608 2012-10-06  David S. Miller  <davem@davemloft.net>
51610         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
51611         upper 32-bits of the length value in %o2 since we use branch-on-register
51612         tests which consider the entire 64-bit register.
51614 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
51616         * string/test-strstr.c (check2): Add a test for page boundary.
51618 2012-10-05  David S. Miller  <davem@davemloft.net>
51620         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
51621         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
51622         file.
51623         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
51624         sysdep_routines.
51625         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
51626         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
51627         and bzero when HWCAP_SPARC_CRYPTO is present.
51629 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
51631         [BZ #14602]
51632         * string/test-strstr.c (check2): New function.
51633         (test_main): Call check2.
51635         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
51636         and bug-strchr1.
51637         * string/bug-strcasestr1.c (do_test): Moved to ...
51638         * string/test-strcasestr.c (check1): Here.  New function.
51639         (do_one_test): Break out result checking code into ...
51640         (check_result): This.  New function.
51641         (do_one_test): Call check_result.
51642         (test_main): Call check1.
51643         * string/bug-strchr1.c (do_test): Moved to ...
51644         * string/test-strchr.c (check1): Here.  New function.
51645         (do_one_test): Break out result checking code into ...
51646         (check_result): This.  New function.
51647         (do_one_test): Call check_result.
51648         (test_main): Call check1.
51649         * string/bug-strstr1.c (main): Moved to ...
51650         * string/test-strstr.c (check1): Here.  New function.
51651         (do_one_test): Break out result checking code into ...
51652         (check_result): This.  New function.
51653         (do_one_test): Call check_result.
51654         (test_main): Call check1.
51655         * string/bug-strcasestr1.c: Removed.
51656         * string/bug-strchr1.c: Likewise.
51657         * string/bug-strstr1.c: Likewise.
51659         * elf/Makefile (dl-routines): Add hwcaps.
51660         * elf/dl-support.c (_dl_important_hwcaps): Removed.
51661         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
51662         (_dl_important_hwcaps): Moved to ...
51663         * elf/dl-hwcaps.c: Here.  New file.
51664         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
51666         [BZ #14557]
51667         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
51668         if IS_IN_rtld isn't defined.
51670         * elf/dl-support.c (_dl_sysinfo_map): New.
51671         Include "get-dynamic-info.h" and "setup-vdso.h".
51672         (_dl_non_dynamic_init): Call setup_vdso.
51673         * elf/dynamic-link.h: Don't include <assert.h>.
51674         (elf_get_dynamic_info): Moved to ...
51675         * elf/get-dynamic-info.h: Here.  New file.
51676         * elf/dynamic-link.h: Include "get-dynamic-info.h".
51677         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
51678         * elf/setup-vdso.h: Here.  New file.
51679         * elf/rtld.c: Include "setup-vdso.h".
51680         (dl_main): Call setup_vdso.
51682 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
51684         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
51685         creal in comment listing functions tested.  List finite, isinf,
51686         isnan, isless, islessequal, isgreater, isgreaterequal,
51687         islessgreater, isunordered, lgamma_r and pow10 as functions and
51688         macros not tested.  Mention which functions not tested are aliases
51689         for other functions.  Fix typo.  Note that signs of NaNs are not
51690         tested.
51692         * scripts/config.guess: Update from config.git.
51693         * scripts/config.sub: Likewise.
51695 2012-10-04  Roland McGrath  <roland@hack.frob.com>
51697         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
51698         * misc/madvise.c (madvise): Renamed to __madvise.
51699         Make madvise a weak alias.
51700         * include/sys/mman.h: Declare __madvise.
51701         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
51702         * sysdeps/unix/syscalls.list
51703         (madvise): Make __madvise the strong name, and madvise a weak alias.
51704         * sysdeps/unix/sysv/linux/syscalls.list
51705         (madvise, mmap): Remove redundant entries.
51706         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
51707         * malloc/malloc.c (mtrim): Likewise.
51708         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
51710 2012-10-03  Roland McGrath  <roland@hack.frob.com>
51712         * sysdeps/mach/hurd/dl-cache.c: File removed.
51713         * config.h.in (USE_LDCONFIG): New #undef.
51714         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
51715         * configure: Regenerated.
51716         * elf/Makefile (dl-routines): Add dl-cache only under
51717         [$(use-ldconfig) = yes].
51718         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
51719         cache on [USE_LDCONFIG].
51720         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
51721         [USE_LDCONFIG].
51722         * elf/rtld.c (dl_main): Likewise.
51724 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
51726         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
51727         _SC_LEVEL4_CACHE_LINESIZE.
51729 2012-10-03  Roland McGrath  <roland@hack.frob.com>
51731         * sysdeps/unix/bsd/confstr.h: File removed.
51733 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
51735         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
51736         sys/sdt-config.h.
51738 2012-10-02  Roland McGrath  <roland@hack.frob.com>
51740         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
51741         Make 'mapoff' field ElfW(Off) rather than off_t.
51743 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
51745         * nscd/Makefile: Remove nscd-cflags and all its users.
51746         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
51747         (CFLAGS-nonlib): Add compiler flags for nscd modules.
51749         [BZ #10631]
51750         * malloc.c (malloc_printerr): Clarify error message.
51752 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
51754         [BZ #14648]
51755         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
51756         Set bit_FMA_Usable if FMA is supported.
51757         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
51758         macro.
51759         (bit_FMA4_Usable): Updated.
51760         (index_FMA_Usable): New macro.
51761         (CPUID_FMA): Likewise
51762         (HAS_FMA): Defined with bit_FMA_Usable.
51764 2012-10-01  Roland McGrath  <roland@hack.frob.com>
51766         * bits/types.h (__swblk_t): Type removed.
51767         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
51768         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
51769         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
51770         (__SWBLK_T_TYPE): Likewise.
51771         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
51772         (__SWBLK_T_TYPE): Likewise.
51773         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
51774         (__SWBLK_T_TYPE): Likewise.
51775         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
51776         (__SWBLK_T_TYPE): Likewise.
51778 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
51779             Honza Horak <hhorak@redhat.com>
51781         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
51782         (xdr_mapname): Use YPMAXMAP as maxsize.
51783         (xdr_peername): Use YPMAXPEER as maxsize.
51784         (xdr_keydat): Use YPAXRECORD as maxsize.
51785         (xdr_valdat): Use YPMAXRECORD as maxsize.
51787 2012-10-01  Roland McGrath  <roland@hack.frob.com>
51789         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
51791         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
51792         * csu/init-first.c: ... here.
51793         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
51794         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
51795         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
51796         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
51797         * sysdeps/i386/init-first.c: File removed.
51798         * sysdeps/sh/init-first.c: File removed.
51800 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
51802         [BZ #14645]
51803         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
51804         if x * y might underflow to zero and z is zero.
51805         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
51806         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
51807         * math/libm-test.inc (min_subnorm_value): New variable.
51808         (fma_test): Add more tests.
51809         (fma_test_towardzero): Likewise.
51810         (fma_test_downward): Likewise
51811         (fma_test_upward): Likewise.
51812         (initialize): Set min_subnorm_value.
51814 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
51816         [BZ #14638]
51817         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
51818         0 + 0.
51819         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
51820         mode for addition resulting in exact zero.
51821         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
51822         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
51823         exact 0 + 0.
51824         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
51825         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
51826         * math/libm-test.inc (fma_test): Add more tests.
51827         (fma_test_towardzero): New function.
51828         (fma_test_downward): Likewise.
51829         (fma_test_upward): Likewise.
51830         (main): Call the new functions.
51832 2012-09-28  David S. Miller  <davem@davemloft.net>
51834         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
51836 2012-09-28  Roland McGrath  <roland@hack.frob.com>
51838         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
51839         instead of SIGALRM.
51841         * sysdeps/gnu/_G_config.h: Moved to ...
51842         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
51843         * sysdeps/mach/hurd/_G_config.h: Moved to ...
51844         * sysdeps/generic/_G_config.h: ... here.
51846         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
51848         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
51850         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
51851         Conditionalize target on [libnss_test1.so-version].
51853         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
51855         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
51856         (elfobjdir): Move out of conditionals.
51858         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
51859         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
51860         (__nss_lookup_function): Conditionalize label remove_from_tree on
51861         [!DO_STATIC_NSS || SHARED], matching its only use.
51863 2012-09-28  David S. Miller  <davem@davemloft.net>
51865         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
51866         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
51867         file.
51868         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
51869         sysdep_routines.
51870         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
51871         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
51872         when HWCAP_SPARC_CRYPTO is present.
51874 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
51876         * io/tst-mknodat.c: Create a FIFO instead of a socket.
51878 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
51880         [BZ #6530]
51881         * stdio-common/vfprintf.c (process_string_arg): Revert
51882         2000-07-22 change.
51884 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
51886         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
51887         for testcase.
51888         * stdio-common/tst-sprintf.c: Include <locale.h>
51889         (main): Test sprintf's handling of incomplete multibyte
51890         characters.
51892 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
51894         * elf/dl-runtime.c (VERSYMIDX): Removed.
51895         * elf/dl-version.c (VERSYMIDX): Likewise.
51896         * elf/do-rel.h (VERSYMIDX): Likewise.
51897         (VALIDX): Likewise.
51898         * elf/dynamic-link.h (VERSYMIDX): Likewise.
51899         * elf/rtld.c (VALIDX): Likewise.
51900         (ADDRIDX): Likewise.
51901         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
51902         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
51903         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
51904         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
51905         (VALIDX): Likewise.
51906         (ADDRIDX): Likewise.
51908 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
51910         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
51912 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
51914         [BZ #11438]
51915         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
51916         to global scope.
51917         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
51918         addresses are in the same scope as 192.0.2/24.
51919         * posix/gai.conf: Document new scope table defaults.
51921 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
51923         [BZ #5298]
51924         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
51925         for ftell.  Compute offsets from write pointers instead.
51926         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
51928 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
51930         [BZ #14543]
51931         * libio/Makefile (tests): New test case tst-fseek.
51932         * libio/tst-fseek.c: New test case to verify that fseek/ftell
51933         combination works in wide mode.
51934         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
51935         state when the external buffer state changes.
51937 2012-09-27  David S. Miller  <davem@davemloft.net>
51939         [BZ #14376]
51940         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
51941         pass reloc->r_addend in as the 'high' argument to
51942         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
51944         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51946 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
51948         * rt/tst-aio2.c: Include <pthread.h>.
51949         * rt/tst-aio3.c: Likewise.
51951 2012-09-27  Steve Ellcey  <sellcey@mips.com>
51953         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
51955 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
51957         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
51958         contents on [SHARED].
51960 2012-09-26  Marek Polacek  <polacek@redhat.com>
51962         [BZ #14530]
51963         [BZ #13741]
51964         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
51965         for C++ and GCC <4.3 as well as for non GCC compilers.
51967 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
51969         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
51971 2012-09-25  Roland McGrath  <roland@hack.frob.com>
51973         * Makefile.in (all, install): Declare with .PHONY.
51974         Reported by Michael Hope <michael.hope@linaro.org>.
51976 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
51978         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
51979         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
51980         system header.
51981         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
51982         Likewise.
51983         (sydep_routines): Add the new and the internal functions.
51984         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
51985         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
51986         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
51987         (GLIBC_2.17): Add the new function.
51988         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
51989         (GLIBC_2.17): Likewise.
51990         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
51991         (GLIBC_2.17): Likewise.
51992         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
51993         (GLIBC_2.17): Likewise.
51994         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
51996 2012-09-25  Alan Modra  <amodra@gmail.com>
51998         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
51999         Add release barrier before setting once_control to say
52000         initialisation is done.  Add hints on lwarx.  Use macro in
52001         place of isync.
52002         (clear_once_control): Add release barrier.
52004 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
52006         [BZ #13629]
52007         * math/s_clog.c (__clog): Handle more values close to |z| = 1
52008         specially.
52009         * math/s_clog10.c (__clog10): Likewise.
52010         * math/s_clog10f.c (__clog10f): Likewise.
52011         * math/s_clog10l.c (__clog10l): Likewise.
52012         * math/s_clogf.c (__clogf): Likewise.
52013         * math/s_clogl.c (__clogl): Likewise.
52014         * math/Makefile (libm-calls): Add x2y2m1.
52015         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
52016         (__x2y2m1): Likewise.
52017         (__x2y2m1l): Likewise.
52018         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
52019         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
52020         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
52021         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
52022         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
52023         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
52024         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
52025         * sysdeps/i386/fpu/libm-test-ulps: Update.
52026         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52028         [BZ #14621]
52029         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
52030         int as type of variable DEPTH.
52031         (glob): Use size_t instead of int as type of variables NEWCOUNT
52032         and OLD_PATHC.
52034 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
52036         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
52037         Add s_sincosf-sse2.
52038         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
52039         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
52040         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
52041         macros for using routine as __sincosf_ia32.
52042         Use macro for function declaration and weak_alias.
52043         * sysdeps/i386/fpu/libm-test-ulps: Update.
52045         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
52046         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
52048         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
52049         subnormal argument.
52050         * math/s_cexpf.c (__cexpf): Likewise.
52051         * math/s_csinf.c (__csinf): Likewise.
52052         * math/s_csinhf.c (__csinhf): Likewise.
52053         * math/s_ctanf.c (__ctanf): Likewise.
52054         * math/s_ctanhf.c (__ctanhf): Likewise.
52055         * math/s_ccosh.c (__ccoshf): Likewise.
52056         * math/s_cexp.c (__cexpl): Likewise.
52057         * math/s_csin.c (__csin): Likewise.
52058         * math/s_csinh.c (__csinh): Likewise.
52059         * math/s_ctan.c (__ctan): Likewise.
52060         * math/s_ctanh.c (ctanh): Likewise.
52061         * math/s_ccoshl.c (__ccoshl): Likewise.
52062         * math/s_cexpl.c (__cexpl): Likewise.
52063         * math/s_csinl.c (__csinl): Likewise.
52064         * math/s_csinhl.c (__csinhl): Likewise.
52065         * math/s_ctanl.c (__ctanl): Likewise.
52066         * math/s_ctanhl.c (__ctanhl): Likewise.
52068 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
52070         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
52071         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
52072         (_IO_off_t): Define to __off_t, not _G_off_t.
52073         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
52074         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
52075         (_IO_wint_t): Define to wint_t, not _G_wint_t.
52076         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
52077         type of __dummy and __dummy2 fields.
52078         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
52079         (_G_ssize_t): Likewise.
52080         (_G_off_t): Likewise.
52081         (_G_pid_t): Likewise.
52082         (_G_uid_t): Likewise.
52083         (_G_wchar_t): Likewise.
52084         (_G_wint_t): Likewise.
52085         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
52086         (_G_ssize_t): Likewise.
52087         (_G_off_t): Likewise.
52088         (_G_pid_t): Likewise.
52089         (_G_uid_t): Likewise.
52090         (_G_wchar_t): Likewise.
52091         (_G_wint_t): Likewise.
52092         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
52093         (_G_ssize_t): Likewise.
52094         (_G_off_t): Likewise.
52095         (_G_pid_t): Likewise.
52096         (_G_uid_t): Likewise.
52097         (_G_wchar_t): Likewise.
52098         (_G_wint_t): Likewise.
52100 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
52102         * malloc/arena.c: Include malloc-sysdep.h.
52103         (shrink_heap): Use check_may_shrink_heap to decide if madvise
52104         is sufficient to shrink the heap or an unmap is needed.
52105         * sysdeps/generic/malloc-sysdep.h: New file.  Define
52106         new function check_may_shrink_heap.
52107         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
52108         new function check_may_shrink_heap.
52110 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
52112         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
52113         comments.
52115 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
52117         * catgets/test-gencat.sh: Add "set -e".
52118         * elf/tst-pathopt.sh: Likewise.
52119         * grp/tst_fgetgrent.sh: Likewise.
52120         * iconvdata/run-iconv-test.sh: Likewise.
52121         * intl/tst-gettext.sh: Likewise.
52122         * intl/tst-gettext2.sh: Likewise.
52123         * intl/tst-gettext4.sh: Likewise.
52124         * intl/tst-gettext6.sh: Likewise.
52125         * intl/tst-translit.sh: Likewise.
52126         * io/ftwtest-sh: Likewise.
52127         * libio/test-freopen.sh: Likewise.
52128         * malloc/tst-mtrace.sh: Likewise.
52129         * posix/globtest.sh: Likewise.
52130         * posix/tst-getconf.sh: Likewise.
52131         * posix/wordexp-tst.sh: Likewise.
52132         * stdio-common/tst-printf.sh: Likewise.
52133         * stdio-common/tst-unbputc.sh: Likewise.
52134         * stdlib/tst-fmtmsg.sh: Likewise.
52135         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
52136         * catgets/Makefile: Do not specify -e option when running
52137         testsuite shell scripts.
52138         * elf/Makefile: Likewise.
52139         * grp/Makefile: Likewise.
52140         * iconvdata/Makefile: Likewise.
52141         * intl/Makefile: Likewise.
52142         * io/Makefile: Likewise.
52143         * libio/Makefile: Likewise.
52144         * malloc/Makefile: Likewise.
52145         * posix/Makefile: Likewise.
52146         * stdio-common/Makefile: Likewise.
52147         * stdlib/Makefile: Likewise.
52148         * sysdeps/x86_64/Makefile: Likewise.
52150         * io/ftwtest-sh: Add copyright header.
52151         * posix/globtest.sh: Likewise.
52152         * posix/tst-getconf.sh: Likewise.
52153         * posix/wordexp-tst.sh: Likewise.
52154         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
52156 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
52158         [BZ #13679]
52159         * Makeconfig (+link): Defined as $(+link-static) if
52160         $(build-shared) isn't yes.
52161         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
52162         isn't yes.
52163         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
52165         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
52167         [BZ #14562]
52168         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
52169         new chunk size with MALLOC_ALIGN_MASK.
52171 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
52173         [BZ #5044]
52174         * stdio-common/printf_fphex.c: Include <stdbool.h> and
52175         <rounding-mode.h>.
52176         (__printf_fphex): Determine rounding using get_rounding_mode and
52177         round_away.
52178         * stdio-common/tst-printf-round.c (struct hex_test): New
52179         structure.
52180         (hex_tests): New variable.
52181         (test_hex_in_one_mode): New function.
52182         (do_test): Also run tests for hex float output.
52184 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
52186         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
52187         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
52188         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
52189         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
52190         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
52191         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
52192         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
52193         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
52195 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
52197         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
52198         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
52199         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
52200         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
52202 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
52204         [BZ #14579]
52205         * elf/rtld.c (dl_main): Limit the check for self loading to normal
52206         mode only.
52207         * elf/tst-rtld-load-self.sh: New test.
52208         * elf/Makefile: Run it.
52210 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
52212         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
52213         (tst-writev-ENV): Remove.
52214         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
52216 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
52218         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
52220 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
52222         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
52223         unconditional.
52224         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
52225         Likewise.
52226         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
52227         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
52228         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
52229         Likewise.
52231 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
52233         [BZ #14587]
52234         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
52235         * config.make.in (have-cpp-asm-debuginfo): Removed.
52236         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
52237         * configure: Regenerated.
52239 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
52241         [BZ #5044]
52242         * stdio-common/printf_fp.c: Include <stdbool.h> and
52243         <rounding-mode.h>.
52244         (___printf_fp): Determine rounding using get_rounding_mode and
52245         round_away.
52246         * stdio-common/tst-printf-round.c: New file.
52247         * stdio-common/Makefile (tests): Add tst-printf-round.
52248         (link-libm): New variable.
52249         ($(objpfx)tst-printf-round): Depend in $(link-libm).
52251 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
52253         [BZ #14576]
52254         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
52255         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
52256         Likewise.
52257         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
52258         Likewise.
52260 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
52262         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
52263         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
52264         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
52265         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
52267 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
52269         [BZ #14518]
52270         * include/rounding-mode.h: New file.
52271         * sysdeps/generic/get-rounding-mode.h: Likewise.
52272         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
52273         * stdlib/strtod_l.c: Include <rounding-mode.h>.
52274         (MAX_VALUE): New macro.
52275         (MIN_VALUE): Likewise.
52276         (overflow_value): New function.
52277         (underflow_value): Likewise.
52278         (round_and_return): Use overflow_value and underflow_value to
52279         determine return values in overflow and underflow cases.  Use
52280         round_away to determine rounding depending on rounding mode.
52281         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
52282         determine return values in overflow and underflow cases.
52283         * stdlib/tst-strtod-round.c: Include <fenv.h>.
52284         (struct test_results): New structure.
52285         (struct test): Use struct test_results to store expected results
52286         for all rounding modes.
52287         (TEST): Include expected results for all rounding modes.
52288         (test_in_one_mode): New function.
52289         (do_test): Use test_in_one_mode to compute and check results.
52290         Check results for all rounding modes.
52291         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
52292         $(link-libm).
52294 2012-12-09  Allan McRae  <allan@archlinux.org>
52296         * sysdeps/i386/fpu/libm-test-ulps: Update
52298 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
52300         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
52301         (_G_int32_t): Likewise.
52302         (_G_uint16_t): Likewise.
52303         (_G_uint32_t): Likewise.
52304         (_G_HAVE_BOOL): Likewise.
52305         (_G_HAVE_ATEXIT): Likewise.
52306         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
52307         (_G_HAVE_IO_FILE_OPEN): Likewise.
52308         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
52309         (_G_int32_t): Likewise.
52310         (_G_uint16_t): Likewise.
52311         (_G_uint32_t): Likewise.
52312         (_G_HAVE_BOOL): Likewise.
52313         (_G_HAVE_ATEXIT): Likewise.
52314         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
52315         (_G_HAVE_IO_FILE_OPEN): Likewise.
52316         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
52317         (_G_int32_t): Likewise.
52318         (_G_uint16_t): Likewise.
52319         (_G_uint32_t): Likewise.
52320         (_G_HAVE_BOOL): Likewise.
52321         (_G_HAVE_ATEXIT): Likewise.
52322         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
52323         (_G_HAVE_IO_FILE_OPEN): Likewise.
52325 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
52327         * csu/libc-tls.c: Update copyright years.
52329 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
52331         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
52332         [!_G_USING_THUNKS]: Remove conditional code.
52333         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
52334         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
52336         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
52337         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
52338         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
52339         (_G_VTABLE_LABEL_PREFIX): Likewise.
52340         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
52341         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
52342         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
52343         (_G_VTABLE_LABEL_PREFIX): Likewise.
52344         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
52345         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
52346         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
52347         (_G_VTABLE_LABEL_PREFIX): Likewise.
52348         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
52350 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
52352         * libio/Makefile: Include ../Makeconfig before tests.
52353         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
52354         only if $(build-shared) is yes.
52356         * iconv/gconv_db.c: Update copyright years.
52358 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
52360         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
52361         unwind info if defined PIC. Fix special cases description.
52362         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
52364         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
52365         DP_HI_MASK entry.
52366         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
52368 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
52370         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
52372         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
52373         is NULL.
52375         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
52376         (LDLIBS-tst-chk4): This.
52377         (LDFLAGS-tst-chk5): Renamed to ...
52378         (LDLIBS-tst-chk5): This.
52379         (LDFLAGS-tst-chk6): Renamed to ...
52380         (LDLIBS-tst-chk6): This.
52381         (LDFLAGS-tst-lfschk4): Renamed to ...
52382         (LDLIBS-tst-lfschk4): This.
52383         (LDFLAGS-tst-lfschk5): Renamed to ...
52384         (LDLIBS-tst-lfschk5): This.
52385         (LDFLAGS-tst-lfschk6): Renamed to ...
52386         (LDLIBS-tst-lfschk6): This.
52388         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
52389         on $(common-objpfx)soversions.mk.
52391 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
52393         [BZ #10014]
52394         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
52395         example host name.
52397 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
52399         * malloc/arena.c (arena_get_retry): New function that gets
52400         another arena for the caller to try its request on.
52401         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
52402         current arena cannot fulfill the request.
52403         (__libc_memalign): Likewise.
52404         (__libc_memalign): Likewise.
52405         (__libc_pvalloc): Likewise.
52406         (__libc_calloc): Likewise.
52408 2012-09-05  John Tobey  <john.tobey@gmail.com>
52410         [BZ #13542]
52411         * manual/arith.texi (Operations on Complex): Fix description
52412         of carg branch cut.
52414 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
52416         [BZ #10014]
52417         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
52418         host name.
52420         [BZ #10038]
52421         * manual/memory.texi (Memory): Make order of menu items match
52422         order of sections.
52424 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
52426         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
52427         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
52428         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
52430 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
52432         * csu/libc-tls.c (static_dtv): Renamed to ...
52433         (_dl_static_dtv): This.  Make it global.
52434         (_dl_initial_dtv): Removed.
52435         (__libc_setup_tls): Updated.
52436         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
52437         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
52438         DL_INITIAL_DTV.
52440 2012-09-06  Petr Machata  <pmachata@redhat.com>
52442         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
52443         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
52444         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
52445         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
52447 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
52449         [BZ #14545]
52450         * csu/libc-tls.c (_dl_initial_dtv): New variable.
52451         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
52452         freeing dtv[-1].
52454 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
52456         [BZ #14544]
52457         * Makeconfig (link-static-before-libc): Replace $(+prector)
52458         with $(+prectorT).
52459         (link-static-after-libc): Replace $(+postctor) with
52460         $(+postctorT).
52461         (link-bounded): Replace $(+prector)/$(+postctor) with
52462         $(+prectorT)/$(+postctorT).
52463         (+prectorT): New macro.
52464         (+postctorT): Likewise.
52466 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
52468         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
52469         (round_str): Handle values above the maximum for IBM long double
52470         as inexact.
52471         * stdlib/tst-strtod-round.c (tests): Regenerated.
52473 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
52475         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
52476         assembler flag.
52477         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
52478         zarch_nohighgprs around the zarch optimized routines.
52479         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
52480         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
52481         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
52482         for zarch.
52484 2012-09-05  David S. Miller  <davem@davemloft.net>
52486         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52488         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
52489         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
52490         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
52491         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
52492         entries.
52494 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
52496         * malloc/arena.c: Fold copyright years.
52497         * malloc/mcheck.c, malloc/memusage.c: Likewise.
52499 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
52501         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
52503 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
52505         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
52507 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
52509         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
52510         change internal state upon failure.
52512 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
52514         * malloc/mcheck.c (mcheck_check_all): Fix typo.
52515         * malloc/memusage.c (mmap): Likewise.
52516         (mmap64, mremap): Likewise.  Adjust name in comment.
52518 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
52520         * libio/fileops.c: Fix typos in comments.
52521         * libio/oldfileops.c: Likewise.
52522         * libio/wfileops.c: Likewise.
52524 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
52526         [BZ #1349]
52527         * malloc/Makefile (tests): Add tst-malloc-usable test case.
52528         (tst-malloc-usable-ENV): Set environment for test case.
52529         * malloc/hooks.c (malloc_check_get_size): New function to get
52530         requested size.
52531         * malloc/malloc.c (musable): Use malloc_check_get_size.
52532         * malloc/tst-malloc-usable.c: New test case.
52534 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
52536         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
52538 2012-09-05  Allan McRae  <allan@archlinux.org>
52540         [BZ #13966]
52541         * configure.in (CXX_SYSINCLUDES): Use compiler output to
52542         determine header location.
52543         * configure: Regenerated.
52545 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
52547         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
52548         float format.
52549         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
52550         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
52551         format.
52552         (test): Regenerate.
52554 2012-09-04  David S. Miller  <davem@davemloft.net>
52556         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
52557         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
52558         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
52560 2012-09-04  Florian Weimer  <fweimer@redhat.com>
52562         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
52563         failures.
52565         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
52567 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
52569         [BZ #9914]
52570         * libio/iogetdelim.c: Include <limits.h>.
52571         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
52572         + len + 1 would overflow.
52574 2012-09-03  Andreas Jaeger  <aj@suse.de>
52576         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
52577         * sysdeps/i386/fpu/libm-test-ulps: Update.
52579 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
52581         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
52582         Add s_sinf-sse2, s_conf-sse2.
52584         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
52585         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
52586         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
52587         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
52589         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
52590         for using routine as __sinf_ia32.
52591         Use macro for function declaration and weak_alias.
52592         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
52593         for using routine as __cosf_ia32.
52594         Use macro for function declaration and weak_alias.
52596         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
52597         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
52599         * sysdeps/x86_64/fpu/s_sinf.S: New file.
52600         * sysdeps/x86_64/fpu/s_cosf.S: New file.
52601         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
52603         * math/libm-test.inc (cos_test): Add more test cases.
52604         (sin_test): Likewise.
52605         (sincos_test): Likewise.
52607 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
52609         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
52610         (IFUNC_RESOLVE): Make pointers to the specialized implementations
52611         hidden.
52612         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
52614 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
52616         [BZ #14538]
52617         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
52618         first element of the GOT.
52619         (elf_machine_load_address): Return the difference between
52620         the runtime address of _DYNAMIC and elf_machine_dynamic ().
52622 2012-09-01  Allan McRae  <allan@archlinux.org>
52624         [BZ #13412]
52625         * configure.in (AWK): Require gawk version 3.0 or later.
52626         * configure: Regenerated.
52628 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
52630         * sysdeps/unix/sysv/linux/kernel-features.h
52631         (__ASSUME_POSIX_CPU_TIMERS): Remove.
52632         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
52633         [__NR_clock_getres]: Make code unconditional.
52634         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
52635         (clock_getcpuclockid): Remove code left unreachable by removal of
52636         conditionals.
52637         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
52638         code unconditional.
52639         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
52640         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
52641         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
52642         Make code unconditional.
52643         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
52644         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
52645         * sysdeps/unix/sysv/linux/clock_settime.c
52646         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
52647         conditional code.
52648         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
52649         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
52651 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
52653         [BZ #14476]
52654         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
52655         scripts/test-installation.pl.
52657         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
52658         and $ld_so_version if it is set.
52660 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
52662         [BZ #14516]
52663         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
52664         failure if reading from procfs failed.
52665         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
52667 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
52669         * sysdeps/unix/sysv/linux/kernel-features.h
52670         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
52671         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
52672         Remove conditional code.
52673         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
52674         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
52675         Remove conditional code.
52676         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
52677         * sysdeps/unix/sysv/linux/i386/fxstat.c
52678         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
52679         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
52680         * sysdeps/unix/sysv/linux/i386/fxstatat.c
52681         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
52682         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
52683         * sysdeps/unix/sysv/linux/i386/lxstat.c
52684         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
52685         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
52686         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
52687         Remove conditional code.
52688         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
52689         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
52690         Remove conditional code.
52691         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
52692         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
52693         <kernel-features.h>.
52694         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
52695         Remove.
52696         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
52697         Remove conditional code.
52698         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
52699         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
52700         Remove conditional.
52702 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
52704         [BZ #5400]
52705         * NEWS: Add fixed bug number.
52707 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
52709         [BZ #14519]
52710         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
52711         underflowing exponent in case of negative sign.
52712         * stdlib/tst-strtod-round-data: Add more tests.
52713         * stdlib/tst-strtod-round.c (tests): Regenerated.
52715         [BZ #3479]
52716         * stdlib/strtod_l.c (NDIG): Remove.
52717         (HEXNDIG): Likewise.
52718         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
52719         smallest representable value.
52720         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
52721         lie within an exact representation of 1/2 ulp of the result.
52722         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
52723         unconditionally.
52724         (TENS_P9_IDX): Define unconditionally.
52725         (TENS_P9_SIZE): Likewise.
52726         (TENS_P10_IDX): Likewise.
52727         (TENS_P10_SIZE): Likewise.
52728         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
52729         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
52730         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
52731         entries for 10^2^13 and 10^2^14.
52732         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
52733         (TENS_P13_IDX): Define.
52734         (TENS_P13_SIZE): Likewise.
52735         (TENS_P14_IDX): Likewise.
52736         (TENS_P14_SIZE): Likewise.
52737         (_fpioconst_pow10): Change array size to
52738         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
52739         unconditional.
52740         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
52741         1024]: Add entries for 10^2^13 and 10^2^14.
52742         [LAST_POW10 > _LAST_POW10]: Remove #error.
52743         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
52744         (_fpioconst_pow10): Change array size to
52745         FPIOCONST_POW10_ARRAY_SIZE.
52746         * stdlib/gen-fpioconst.c: New file.
52747         * stdlib/gen-tst-strtod-round.c: Likewise.
52748         * stdlib/tst-strtod-round-data: Likewise.
52749         * stdlib/tst-strtod-round.c: Likewise.
52750         * stdlib/Makefile (tests): Add tst-strtod-round.
52752         [BZ #14459]
52753         * stdlib/strtod_l.c: Include <stdint.h>.
52754         (NDEBUG): Do not define.
52755         (round_and_return): Change EXPONENT parameter to type intmax_t.
52756         Rearrange calculations to avoid internal overflow possibilities.
52757         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
52758         Rearrange calculations to avoid internal overflow possibilities.
52759         Assert that number fits inside MPNSIZE limbs.
52760         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
52761         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
52762         calculations and add assertions to avoid internal overflow
52763         possibilities.  Add casts to avoid signed/unsigned operations.
52764         * stdlib/tst-strtod-overflow.c: New file.
52765         * stdlib/Makefile (tests): Add tst-strtod-overflow.
52767 2012-08-25  Marek Polacek  <polacek@redhat.com>
52769         * time/time.h: Fix some typos in comments.
52771 2012-08-23  Roland McGrath  <roland@hack.frob.com>
52773         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
52774         * posix/tst-rfc3484-2.c: Likewise.
52775         * posix/tst-rfc3484-3.c: Likewise.
52777 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
52779         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
52780         (EF_ARM_ABI_FLOAT_HARD): Likewise.
52782 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
52784         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
52785         #include of fxstatat64.c.
52787 2012-08-22  Roland McGrath  <roland@hack.frob.com>
52789         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
52790         * shadow/getspent_r.c: Likewise.
52791         * shadow/getspnam.c: Likewise.
52792         * shadow/getspnam_r.c: Likewise.
52793         * gshadow/getsgent.c: Likewise.
52794         * gshadow/getsgent_r.c: Likewise.
52795         * gshadow/getsgnam.c: Likewise.
52796         * gshadow/getsgnam_r.c: Likewise.
52797         * inet/getnetbyad.c: Likewise.
52798         * inet/getnetbyad_r.c: Likewise.
52799         * inet/getnetbynm.c: Likewise.
52800         * inet/getnetbynm_r.c: Likewise.
52801         * inet/getnetent.c: Likewise.
52802         * inet/getnetent_r.c: Likewise.
52803         * inet/getproto.c: Likewise.
52804         * inet/getproto_r.c: Likewise.
52805         * inet/getprtent.c: Likewise.
52806         * inet/getprtent_r.c: Likewise.
52807         * inet/getprtname.c: Likewise.
52808         * inet/getprtname_r.c: Likewise.
52809         * inet/getrpcbyname.c: Likewise.
52810         * inet/getrpcbyname_r.c: Likewise.
52811         * inet/getrpcbynumber.c: Likewise.
52812         * inet/getrpcbynumber_r.c: Likewise.
52813         * inet/getrpcent.c: Likewise.
52814         * inet/getrpcent_r.c: Likewise.
52815         * inet/getaliasent.c: Likewise.
52816         * inet/getaliasent_r.c: Likewise.
52817         * inet/getaliasname.c: Likewise.
52818         * inet/getaliasname_r.c: Likewise.
52819         * nscd/getgrgid_r.c: Likewise.
52820         * nscd/getgrnam_r.c: Likewise.
52821         * nscd/gethstbyad_r.c: Likewise.
52822         * nscd/gethstbynm3_r.c: Likewise.
52823         * nscd/getpwnam_r.c: Likewise.
52824         * nscd/getpwuid_r.c: Likewise.
52825         * nscd/getsrvbynm_r.c: Likewise.
52826         * nscd/getsrvbypt_r.c: Likewise.
52827         * nscd/gai.c: Likewise.
52829         * configure.in (build_nscd): New substituted variable, set
52830         by --disable-build-nscd and defaults to $use_nscd.
52831         * configure: Regenerated.
52832         * config.make.in (build-nscd): New substituted variable.
52833         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
52834         Change conditional to require [$(build-nscd) = yes] as well.
52835         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
52837         [BZ# 13696]
52838         * configure.in (use_nscd): New substituted variable, set by
52839         --disable-nscd.  If enabled, define USE_NSCD.
52840         * configure: Regenerated.
52841         * config.h.in: Add USE_NSCD.
52842         * config.make.in (use-nscd): New substituted variable.
52843         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
52844         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
52845         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
52846         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
52847         (CFLAGS-getgrnam_r.c): Likewise.
52848         (CFLAGS-initgroups.c): Likewise.
52849         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
52850         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
52851         Variables removed.
52852         * inet/getnetgrent_r.c
52853         (nscd_setnetgrent): New function, broken out of ...
52854         (setnetgrent): ... here.  Call it.
52855         (innetgr): Conditionalize nscd bits on [USE_NSCD].
52856         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
52857         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
52858         * nscd/Makefile (routines, aux): Move definitions after include of
52859         Makeconfig.  Conditionalize on [$(use-nscd) != no].
52860         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
52861         Conditionalize on [USE_NSCD].
52862         (is_nscd, nscd_init_cb): Likewise.
52863         (nss_load_library): Conditionalize init callback on [USE_NSCD].
52864         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
52865         * nss/nss_db/db-init.c: Likewise.
52866         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
52867         [USE_NSCD].
52868         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
52869         (make_request): Use it.
52870         (cache_valid_p): New function.
52871         (__check_pf): Use it.
52872         * NEWS: Add item for --disable-nscd.
52874 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
52876         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
52877         to support sed >= 4.2.1-20-ga9bf076.
52878         * configure: Regenerated.
52880 2012-08-22  Roland McGrath  <roland@hack.frob.com>
52882         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
52883         Conditionalize whole body on [IREL].
52885 2012-08-22  Jeff Law <law@redhat.com>
52887         [BZ #14505]
52888         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
52889         if the family is PF_UNSPEC.
52891 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
52893         * Makerules (lib-version): Rename from V.
52894         (install-lib-nosubdir): Change V to lib-version.
52896 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
52898         [BZ #14252]
52899         * powerpc32/power6/wcschr.c: New file.
52900         * powerpc32/power6/wcscpy.c: New file.
52901         * powerpc32/power6/wcsrchr.c: New file.
52902         * powerpc64/power6/wcschr.c: New file.
52903         * powerpc64/power6/wcscpy.c: New file.
52904         * powerpc64/power6/wcsrchr.c: New file.
52906 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
52908         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
52909         (two_way_short_needle): Use it.
52910         * string/strstr.c (AVAILABLE1_USES_J): Define.
52911         * string/strcasestr.c: Likewise.
52913         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
52914         array references.
52915         * string/strcasestr.c (TOLOWER): Make side-effect safe.
52917         [BZ #11607]
52918         * NEWS: Add an entry.
52919         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
52920         define their defaults.
52921         (two_way_short_needle): Detect end-of-string on-the-fly.
52922         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
52923         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
52924         * string/bug-strcasestr1.c: New test.
52925         * string/Makefile: Run it.
52927 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
52929         [BZ #11607]
52930         * string/str-two-way.h (two_way_short_needle): Optimize matching of
52931         the first character.
52933 2012-08-21  Roland McGrath  <roland@hack.frob.com>
52935         * csu/elf-init.c (__libc_csu_irel): Function removed.
52936         * csu/libc-start.c (apply_irel): New function.
52937         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
52939 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
52941         * sysdeps/unix/sysv/linux/kernel-features.h
52942         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
52943         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
52944         <kernel-features.h>.
52945         [__NR_fadvise64_64]: Make code unconditional.
52946         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
52947         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
52948         !__NR_fadvise64_64)]: Likewise.
52949         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
52950         !__NR_fadvise64_64))]: Likewise.
52951         [__NR_fadvise64]: Make code unconditional.
52952         [!__NR_fadvise64]: Remove conditional code.
52953         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
52954         <kernel-features.h>.
52955         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
52956         unconditional.
52957         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
52958         conditional code.
52959         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
52960         not include <kernel-features.h>.
52961         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
52962         unconditional.
52963         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
52964         conditional code.
52965         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
52966         include <kernel-features.h>.
52967         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
52968         unconditional.
52969         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
52970         conditional code.
52972 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
52974         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
52975         slight instruction rearrangements per scrollpipe analysis.
52976         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
52978 2012-08-20  Roland McGrath  <roland@hack.frob.com>
52980         * manual/syslog.texi (syslog; vsyslog, closelog):
52981         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
52982         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
52984         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
52985         DSOCAPS to match condition on defining it.
52987 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
52989         * sysdeps/unix/sysv/linux/kernel-features.h
52990         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
52991         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
52992         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
52993         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
52994         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
52995         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
52996         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
52997         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
52998         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
52999         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
53001         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
53002         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
53004         * sysdeps/unix/sysv/linux/kernel-features.h
53005         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
53006         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
53007         unconditional.
53008         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
53009         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
53010         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
53011         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
53012         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
53013         Make code unconditional.
53014         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
53015         (__mmap64) [!__NR_mmap2]: Likewise.
53016         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
53017         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
53018         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
53019         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
53020         [__NR_mmap2]: Make code unconditional.
53021         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
53022         (__mmap64) [!__NR_mmap2]: Likewise.
53024 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
53026         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
53028 2012-08-18  Andreas Jaeger  <aj@suse.de>
53030         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
53032 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
53034         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
53035         * include/unistd.h (__have_sock_cloexec): Likewise.
53036         (__have_pipe2): Likewise.
53037         (__have_dup3): Likewise.
53039 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
53041         [BZ #9685]
53042         * include/unistd.h (__have_pipe2): Change define into an extern int.
53043         (__have_dup3): Likewise.
53044         * socket/have_sock_cloexec.c: Include fcntl.h.
53045         (__have_pipe2): New variable.
53046         (__have_dup3): Likewise.
53048 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
53050         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
53052 2012-08-17  Marek Polacek  <polacek@redhat.com>
53054         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
53055         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
53057 2012-08-17  Roland McGrath  <roland@hack.frob.com>
53059         * configure.in: Add AC_SUBST for sysheaders.
53060         * configure: Regenerated.
53061         * config.make.in (sysheaders): New substituted variable.
53063         * sysdeps/unix/mkfifo.c: Moved ...
53064         * sysdeps/posix/mkfifo.c: ... here.
53065         * sysdeps/unix/mkfifoat.c: Moved ...
53066         * sysdeps/posix/mkfifoat.c: ... here.
53068         * sysdeps/unix/utime.c: Moved ...
53069         * sysdeps/posix/utime.c: ... here.
53071         * sysdeps/unix/time.c: Moved ...
53072         * sysdeps/posix/time.c: ... here.
53073         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
53074         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
53076         * sysdeps/unix/nice.c: Moved ...
53077         * sysdeps/posix/nice.c: ... here.
53079         * sysdeps/unix/alarm.c: Moved ...
53080         * sysdeps/posix/alarm.c: ... here.
53082         * intl/Makefile ($(codeset_mo)): Depend on the input file.
53084 2012-08-17  Jeff Law <law@redhat.com>
53086         * intl/Makefile (codeset_mo): New variable.
53087         ($(codeset_mo)): New target.
53088         (tst-codeset.out): Depend on that.  Remove explicit rule.
53089         (tst-gettext3.out, tst-gettext5.out): Likewise.
53090         (LOCPATH-ENV, tst-codeset-ENV): New variables.
53091         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
53092         * intl/tst-codeset.sh: Remove.
53093         * intl/tst-gettext3.sh: Likewise.
53094         * intl/tst-gettext5.sh: Likewise.
53096 2012-08-17  Roland McGrath  <roland@hack.frob.com>
53098         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
53099         * sysdeps/unix/syscalls.list: ... here.
53101         * sysdeps/posix/getaddrinfo.c
53102         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
53103         (gaiconf_init, gaiconf_reload): Use them.
53104         [!_STATBUF_ST_NSEC]
53105         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
53106         Define using time_t rather than struct timespec.
53108         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
53109         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
53110         Macros removed.
53111         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
53112         [!NO_THREADS].
53113         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
53114         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
53115         Likewise.
53117         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
53118         __libc_cleanup_push argument.
53120         * bits/param.h: New file.
53121         * misc/sys/param.h: New file.
53122         * include/sys/param.h: New file.
53123         * misc/Makefile (headers): Add bits/param.h.
53124         * sysdeps/generic/sys/param.h: File removed.
53125         * sysdeps/unix/sysv/linux/bits/param.h: New file.
53126         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
53127         * sysdeps/mach/hurd/bits/param.h: New file.
53128         * sysdeps/mach/hurd/sys/param.h: File removed.
53130         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
53131         last change.
53133         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
53134         [_IO_MTSAFE_IO].
53135         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
53136         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
53137         New macros.
53139         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
53140         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
53141         rather than -D_IO_MTSAFE_IO conditionally.
53142         * stdio-common/Makefile (CPPFLAGS): Likewise.
53143         * wcsmbs/Makefile (CPPFLAGS): Likewise.
53144         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
53145         Use $(libio-mtsafe).
53146         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
53147         of -D_IO_MTSAFE_IO.
53148         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
53149         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
53150         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
53151         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
53152         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
53153         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
53154         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
53155         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
53156         (CFLAGS-fread_u_chk.c): Likewise.
53157         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
53158         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
53159         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
53160         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
53161         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
53162         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
53163         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
53164         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
53165         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
53167         * libio/Makefile: Test [$(libc-reentrant) = yes]
53168         instead of [$(filter %REENTRANT, $(defines)) nonempty].
53170         * Makeconfig
53171         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
53172         * sysdeps/pthread/configure: File removed.
53173         * sysdeps/pthread/Makeconfig: New file.
53174         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
53175         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
53177 2012-08-16  Gary Benson  <gbenson@redhat.com>
53179         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
53180         unmapping the first object in a namespace.
53182 2012-08-16  Roland McGrath  <roland@hack.frob.com>
53184         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
53185         (__internal_setnetgrent): ... this.  Add internal_function to
53186         definition.  Add libc_hidden_def.
53187         (setnetgrent): Update caller.
53188         (internal_endnetgrent): Renamed to ...
53189         (__internal_endnetgrent): ... this.  Add internal_function to
53190         definition.  Add libc_hidden_def.
53191         (endnetgrent): Update caller.
53192         (internal_getnetgrent_r): Renamed to ...
53193         (__internal_getnetgrent_r): ... this.  Add internal_function to
53194         definition.  Add libc_hidden_def.
53195         (__getnetgrent_r): Update caller.
53196         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
53198 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
53200         * stdlib/longlong.h: Update from GCC.
53202 2012-08-16  Roland McGrath  <roland@hack.frob.com>
53204         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
53205         on _QL, which is set by umul_ppmm but never used.
53206         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
53207         variables, which are set by GMP macros but never used.
53208         * stdio-common/_itowa.c (_itowa): Likewise.
53209         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
53210         * stdlib/mod_1.c (mpn_mod_1): Likewise.
53212 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
53214         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
53215         struct La_sh_regs is not constant.
53216         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
53217         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
53218         and struct La_sparc64_regs are not constant.
53220 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
53222         * sysdeps/unix/sysv/linux/kernel-features.h
53223         (__ASSUME_POSIX_TIMERS): Remove.
53224         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
53225         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
53226         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
53227         Make code unconditional.
53228         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
53229         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
53230         Make code unconditional.
53231         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
53232         * sysdeps/unix/sysv/linux/clock_nanosleep.c
53233         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
53234         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
53235         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
53236         Make code unconditional.
53237         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
53238         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
53239         (__libc_missing_posix_timers): Remove.
53241 2012-08-15  Roland McGrath  <roland@hack.frob.com>
53243         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
53244         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
53246         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
53248         * elf/dl-sym.c: Include <stdlib.h>.
53250         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
53251         constants, which avoids warnings in 32-bit builds.
53253         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
53254         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
53256         * misc/lseek.c: File moved to ...
53257         * io/lseek.c: ... here.
53259         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
53261         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
53262         shifting LEN more than 31 bits at once.
53264 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
53266         [BZ #14195]
53267         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
53268         segmentation fault for a case of two empty input strings.
53269         * string/test-strncasecmp.c (check1): Renamed to...
53270         (bz12205): ...this.
53271         (bz14195): Add new testcase for two empty input strings and N > 0.
53272         (test_main): Call new testcase, adapt for renamed function.
53274 2012-08-15  Andreas Jaeger  <aj@suse.de>
53276         [BZ #14090]
53277         * crypt/md5test2.c: New test, based on test supplied by Serge
53278         Belyshev <belyshev@depni.sinp.msu.ru>.
53279         * crypt/Makefile (xtests): Add md5test-giant..
53280         * crypt/Makefile ($(objpfx)md5test-giant): Add.
53282 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
53284         [BZ #14090]
53285         * crypt/md5.c (md5_process_block): Don't assume the buffer
53286         length is less than 2**32.
53287         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
53288         length is less than 2**64.
53290 2012-08-15  Roland McGrath  <roland@hack.frob.com>
53292         * string/str-two-way.h: Include <sys/param.h>.
53293         (MAX): Macro removed.
53295         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
53296         Move #define and #undef of memmove to just before and after
53297         including <string.h>.
53299         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
53300         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
53301         and after including <string.h>.  Move declarations of
53302         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
53303         to before #include "string/memmove.c".
53305         * include/dirent.h: Declare __getdirentries.
53307         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
53308         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
53310 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
53312         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
53313         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
53314         * sysdeps/i386/configure: Regenerated.
53315         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
53316         STABS_CURRENT_FILE, and STABS_FUN.
53317         (END): Remove call to STABS_FUN_END.
53318         (STABS_CURRENT_FILE1): Delete.
53319         (STABS_CURRENT_FILE): Likewise.
53320         (STABS_FUN): Likewise.
53321         (STABS_FUN_END): Likewise.
53322         (STABS_FUN2): Likewise.
53323         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
53324         * sysdeps/x86_64/configure: Regenerated.
53326 2012-08-14  Roland McGrath  <roland@hack.frob.com>
53328         * elf/dl-open.c: Include <atomic.h>.
53329         * elf/dl-lookup.c: Likewise.
53331 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
53333         * sysdeps/unix/sysv/linux/kernel-features.h
53334         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
53335         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
53336         unconditionally.
53337         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
53338         unconditionally.
53339         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
53340         condition on __ASSUME_CLONE_THREAD_FLAGS.
53342 2012-08-14  Andreas Jaeger  <aj@suse.de>
53344         * sysdeps/i386/fpu/libm-test-ulps: Update.
53346 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
53348         * include/atomic.h (atomic_exchange_and_add): Split into ...
53349         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
53350         New atomic macros.
53352 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
53354         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
53356 2012-08-13  Jeff Law <law@redhat.com>
53358         * manual/stdio.texi (snprintf): Clarify handling of the trailing
53359         null byte in the output string.
53361 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
53363         * sysdeps/unix/sysv/linux/kernel-features.h
53364         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
53365         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
53366         (__ASSUME_ARG_MAX_STACK_BASED): Define.
53367         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
53368         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
53369         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
53370         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
53372 2012-08-09  Jeff Law <law@redhat.com>
53374         [BZ #13939]
53375         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
53376         When avoid_arena is set, don't retry in the that arena.  Pick the
53377         next one, whatever it might be.
53378         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
53379         (arena_lock): Pass in new parameter to arena_get2.
53380         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
53381         arena_get2.
53382         (__libc_malloc): Unify retrying after main arena failure with
53383         __libc_memalign version.
53384         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
53386 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
53388         [BZ #14166]
53389         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
53390         to __redirect_strstr.
53391         (__strstr_sse42): Use typeof __redirect_strstr.
53392         (__strstr_ia32): Likewise.
53393         (__libc_strstr): New prototype.
53394         (strstr): Renamed to ...
53395         (__libc_strstr): This.
53396         (strstr): New strong alias of __libc_strstr.
53397         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
53398         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
53399         __redirect_time.
53400         Include <time.h>.
53401         (__libc_time): New prototype.
53402         (time_ifunc): Replace time with __libc_time.
53403         (time): New strong alias and hidden definition of __libc_time.
53404         (__GI_time): Remove strong alias.
53405         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
53406         Include <stddef.h>.
53407         (memmove): Redefined to __redirect_memmove.
53408         (__memmove_sse2): Use typeof __redirect_memmove.
53409         (__memmove_ssse3): Likewise.
53410         (__memmove_ssse3_back): Likewise.
53411         (__libc_memmove): New prototype.
53412         (memmove): Renamed to ...
53413         (__libc_memmove): This.
53414         (memmove): New strong alias of __libc_memmove.
53416 2012-08-08  Mark Salter  <msalter@redhat.com>
53418         * elf/elf.h
53419         (R_MN10300_TLS_GD): Define.
53420         (R_MN10300_TLS_LD): Likewise.
53421         (R_MN10300_TLS_LDO): Likewise.
53422         (R_MN10300_TLS_GOTIE): Likewise.
53423         (R_MN10300_TLS_IE): Likewise.
53424         (R_MN10300_TLS_LE): Likewise.
53425         (R_MN10300_TLS_DTPMOD): Likewise.
53426         (R_MN10300_TLS_DTPOFF): Likewise.
53427         (R_MN10300_TLS_TPOFF): Likewise.
53428         (R_MN10300_SYM_DIFF): Likewise.
53429         (R_MN10300_ALIGN): Likewise.
53430         (R_MN10300_NUM): Update.
53432 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
53434         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
53435         Remove.
53437 2012-08-08  Roland McGrath  <roland@hack.frob.com>
53439         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
53441         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
53442         sysdeps/unix -> sysdeps/posix move.
53443         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
53445 2012-08-07      Allan McRae     <allan@archlinux.org>
53447         [BZ #14303]
53448         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
53449         (SUNOS_CPP): Likewise.
53450         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
53451         not found.
53452         (open_input): Call CPP using execvp.
53454 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
53456         * sysdeps/unix/sysv/linux/kernel-features.h
53457         (__ASSUME_PROT_GROWSUPDOWN): Remove.
53458         (__ASSUME_NO_CLONE_DETACHED): Likewise.
53459         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
53460         (__ASSUME_WAITID_SYSCALL): Likewise.
53461         * sysdeps/unix/sysv/linux/dl-execstack.c
53462         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
53463         code unconditional.
53464         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
53465         conditional code.
53466         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
53467         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
53468         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
53469         code.
53470         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
53471         unconditional.
53472         [__ASSUME_WAITID_SYSCALL]: Likewise.
53473         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
53475 2012-08-07  Roland McGrath  <roland@hack.frob.com>
53477         * sysdeps/unix/closedir.c: Renamed to ...
53478         * sysdeps/posix/closedir.c: ... here.
53479         * sysdeps/unix/dirfd.c: Renamed to ...
53480         * sysdeps/posix/dirfd.c: ... here.
53481         * sysdeps/unix/dirstream.h: Renamed to ...
53482         * sysdeps/posix/dirstream.h: ... here.
53483         * sysdeps/unix/fdopendir.c: Renamed to ...
53484         * sysdeps/posix/fdopendir.c: ... here.
53485         * sysdeps/unix/opendir.c: Renamed to ...
53486         * sysdeps/posix/opendir.c: ... here.
53487         * sysdeps/unix/readdir.c: Renamed to ...
53488         * sysdeps/posix/readdir.c: ... here.
53489         * sysdeps/unix/readdir_r.c: Renamed to ...
53490         * sysdeps/posix/readdir_r.c: ... here.
53491         * sysdeps/unix/rewinddir.c: Renamed to ...
53492         * sysdeps/posix/rewinddir.c: ... here.
53493         * sysdeps/unix/seekdir.c: Renamed to ...
53494         * sysdeps/posix/seekdir.c: ... here.
53495         * sysdeps/unix/telldir.c: Renamed to ...
53496         * sysdeps/posix/telldir.c: ... here.
53497         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
53498         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
53499         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
53500         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
53502         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
53503         * bits/fcntl.h: ... here.
53505         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
53506         not 0.
53507         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
53508         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
53509         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
53510         (struct flock): Move l_start, l_len to the beginning.
53511         Use __pid_t for l_pid.
53512         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
53513         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
53514         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
53515         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
53516         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
53517         [__USE_LARGEFILE64] (struct flock64): New type.
53518         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
53520         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
53521         * bits/dirent.h: ... here.
53523         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
53524         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
53526 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
53528         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
53529         Change from 2.6.0 to 2.6.16.
53530         * sysdeps/unix/sysv/linux/configure: Regenerated.
53531         * sysdeps/unix/sysv/linux/kernel-features.h
53532         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
53533         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
53534         version.
53535         (__ASSUME_UTIMES): Likewise.
53536         (__ASSUME_CLONE_STOPPED): Remove.
53537         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
53538         architectures, not kernel version.
53539         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
53540         (__ASSUME_NO_CLONE_DETACHED): Likewise.
53541         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
53542         (__ASSUME_WAITID_SYSCALL): Likewise.
53543         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
53544         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
53545         * README: State 2.6.16 as minimum Linux kernel version.  Do not
53546         refer to older versions.
53548 2012-08-06  Roland McGrath  <roland@hack.frob.com>
53550         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
53551         Define alphasort64 as an alias.
53552         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
53553         Define versionsort64 as an alias.
53554         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
53555         Define scandir64 as an alias.
53556         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
53557         Define scandirat64 as an alias.
53558         * dirent/alphasort64.c (alphasort64):
53559         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
53560         * dirent/versionsort64.c: Likewise.
53561         * dirent/scandir64.c: Likewise.
53562         * dirent/scandirat64.c: Likewise.
53563         * sysdeps/wordsize-64/alphasort.c: File removed.
53564         * sysdeps/wordsize-64/alphasort64.c: File removed.
53565         * sysdeps/wordsize-64/scandir.c: File removed.
53566         * sysdeps/wordsize-64/scandir64.c: File removed.
53567         * sysdeps/wordsize-64/scandirat.c: File removed.
53568         * sysdeps/wordsize-64/scandirat64.c: File removed.
53569         * sysdeps/wordsize-64/versionsort.c: File removed.
53570         * sysdeps/wordsize-64/versionsort64.c: File removed.
53571         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
53572         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
53573         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
53574         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
53575         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
53576         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
53577         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
53578         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
53580         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
53581         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
53582         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
53583         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
53584         [defined __arch64__ || defined __sparcv9]
53585         (__INO_T_MATCHES_INO64_T): New macro.
53586         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
53587         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
53588         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
53589         * sysdeps/unix/sysv/linux/bits/dirent.h
53590         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
53591         (_DIRENT_MATCHES_DIRENT64): New macro.
53593         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
53594         Define lockf64 as an alias.
53595         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
53596         Define fseeko64 as an alias.
53597         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
53598         Define ftello64 as an alias.
53599         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
53600         Define _IO_fgetpos64 and fgetpos64 as aliases.
53601         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
53602         Define _IO_fsetpos64 and fsetpos64 as aliases.
53603         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
53604         Conditionalize body on this.
53605         * libio/fseeko64.c: Likewise.
53606         * libio/ftello64.c: Likewise.
53607         * libio/iofgetpos64.c: Likewise.
53608         * libio/iofsetpos64.c: Likewise.
53609         * sysdeps/wordsize-64/lockf.c: File removed.
53610         * sysdeps/wordsize-64/lockf64.c: File removed.
53611         * sysdeps/wordsize-64/fseeko.c: File removed.
53612         * sysdeps/wordsize-64/fseeko64.c: File removed.
53613         * sysdeps/wordsize-64/ftello.c: File removed.
53614         * sysdeps/wordsize-64/ftello64.c: File removed.
53615         * sysdeps/wordsize-64/iofgetpos.c: File removed.
53616         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
53617         * sysdeps/wordsize-64/iofsetpos.c: File removed.
53618         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
53619         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
53620         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
53621         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
53622         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
53623         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
53624         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
53625         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
53626         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
53627         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
53628         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
53630         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
53631         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
53632         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
53633         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
53634         [defined __arch64__ || defined __sparcv9]
53635         (__OFF_T_MATCHES_OFF64_T): New macro.
53636         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
53637         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
53638         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
53639         (__OFF_T_MATCHES_OFF64_T): New macro.
53641 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
53643         * stdlib/secure-getenv.c (__secure_getenv): Replace
53644         GLIBC_2_16 with GLIBC_2_17.
53646 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
53648         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
53649         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
53651 2012-08-03  David S. Miller  <davem@davemloft.net>
53653         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53655 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
53657         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
53658         Remove.
53659         (__ASSUME_CORRECT_SI_PID): Likewise.
53660         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
53661         (__ASSUME_TMPFS_NAME): Likewise.
53662         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
53663         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
53664         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
53665         (HAVE_AUX_SECURE): Make definition unconditional.
53666         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
53667         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
53669 2012-08-03  Roland McGrath  <roland@hack.frob.com>
53671         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
53672         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
53673         * sysdeps/mach/hurd/eloop-threshold.h: New file.
53674         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
53675         __eloop_threshold instead of SYMLOOP_MAX.
53677         * sysdeps/generic/eloop-threshold.h: New file.
53678         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
53679         of MAXSYMLINKS.
53680         * elf/chroot_canon.c (chroot_canon): Likewise.
53682 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
53684         [BZ #13717]
53685         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
53686         Change to 2.6.0 everywhere.
53687         * sysdeps/unix/sysv/linux/configure: Regenerated.
53688         * sysdeps/unix/sysv/linux/kernel-features.h
53689         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
53690         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
53691         kernel versions.
53692         (__ASSUME_POSIX_TIMERS): Define unconditionally.
53693         (__ASSUME_FUTEX_REQUEUE): Remove.
53694         (__ASSUME_STATFS64): Define unconditionally.
53695         (__ASSUME_AT_SECURE): Likewise.
53696         (__ASSUME_CORRECT_SI_PID): Likewise.
53697         (__ASSUME_TGKILL): Define without depending on kernel version for
53698         i386.
53699         (__ASSUME_UTIMES): Likewise.
53700         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
53701         kernel version.
53702         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
53703         (__ASSUME_TMPFS_NAME): Likewise.
53704         * README: Update reference to Linux kernel versions.
53706 2012-08-02  Marek Polacek  <polacek@redhat.com>
53708         [BZ# 14150]
53709         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
53710         libc_cv_asm_type_prefix with %.
53711         * configure: Regenerated.
53712         * include/libc-symbols.h: Remove comment about
53713         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
53714         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
53715         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
53716         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
53717         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
53718         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
53719         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
53720         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
53721         * elf/tst-unique2mod1.c: Likewise.
53722         * elf/tst-unique1mod2.c: Likewise.
53723         * elf/tst-unique1mod1.c: Likewise.
53724         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
53725         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
53726         Replace ASM_TYPE_DIRECTIVE with .type.
53727         * sysdeps/s390/s390-64/sysdep.h: Likewise.
53728         * sysdeps/i386/sysdep.h: Likewise.
53729         * sysdeps/x86_64/sysdep.h: Likewise.
53730         * sysdeps/sh/sysdep.h: Likewise.
53731         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
53732         Do not define ASM_TYPE_DIRECTIVE.
53733         * sysdeps/powerpc/sysdep.h: Likewise.
53734         * sysdeps/powerpc/powerpc32/sysdep.h:
53735         Replace ASM_TYPE_DIRECTIVE with .type.
53736         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
53737         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
53738         * sysdeps/i386/fpu/e_powf.S: Likewise.
53739         * sysdeps/i386/fpu/e_expl.S: Likewise.
53740         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
53741         * sysdeps/i386/fpu/e_acosh.S: Likewise.
53742         * sysdeps/i386/fpu/e_pow.S: Likewise.
53743         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
53744         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
53745         * sysdeps/i386/fpu/s_expm1.S: Likewise.
53746         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
53747         * sysdeps/i386/fpu/e_log2.S: Likewise.
53748         * sysdeps/i386/fpu/e_log2l.S: Likewise.
53749         * sysdeps/i386/fpu/e_scalb.S: Likewise.
53750         * sysdeps/i386/fpu/e_powl.S: Likewise.
53751         * sysdeps/i386/fpu/e_log10f.S: Likewise.
53752         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
53753         * sysdeps/i386/fpu/e_logl.S: Likewise.
53754         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
53755         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
53756         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
53757         * sysdeps/i386/fpu/e_log2f.S: Likewise.
53758         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
53759         * sysdeps/i386/fpu/e_log.S: Likewise.
53760         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
53761         * sysdeps/i386/fpu/e_logf.S: Likewise.
53762         * sysdeps/i386/fpu/e_log10l.S: Likewise.
53763         * sysdeps/i386/fpu/e_atanh.S: Likewise.
53764         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
53765         * sysdeps/i386/fpu/e_log10.S: Likewise.
53766         * sysdeps/i386/fpu/s_frexp.S: Likewise.
53767         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
53768         * sysdeps/i386/fpu/s_asinh.S: Likewise.
53769         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
53770         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
53771         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
53772         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
53773         * sysdeps/i386/i686/strtok.S: Likewise.
53774         * sysdeps/i386/i386-mcount.S: Likewise.
53775         * sysdeps/i386/strtok.S: Likewise.
53776         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
53777         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
53778         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
53779         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
53780         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
53781         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
53782         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
53783         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
53784         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
53785         * sysdeps/x86_64/_mcount.S: Likewise.
53786         * sysdeps/x86_64/strtok.S: Likewise.
53787         * sysdeps/sh/_mcount.S: Likewise.
53789 2012-08-01  Roland McGrath  <roland@hack.frob.com>
53791         * libio/iofopen.c: Include <fcntl.h>.
53792         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
53793         (_IO_fopen64, fopen64): Define as aliases.
53794         * libio/iofopen64.c: Include <fcntl.h>.
53795         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
53796         Conditionalize body on this.
53797         * sysdeps/wordsize-64/iofopen.c: File removed.
53798         * sysdeps/wordsize-64/iofopen64.c: File removed.
53800 2012-08-01  Marek Polacek  <polacek@redhat.com>
53802         * libc/Makeconfig: Use elf in place of binfmt-subdir.
53803         Use dlfcn directly instead of a variable.
53804         (binfmt-subdir): Do not define.
53805         (dlfcn): Likewise.
53807 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
53809         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
53810         Remove all definitions.
53811         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
53812         <kernel-features.h>.
53813         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
53814         (miss_F_GETOWN_EX): Remove all definitions.
53815         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
53816         macro definition.
53817         [!__ASSUME_FCNTL64]: Remove conditional code.
53818         [__ASSUME_FCNTL64]: Make code unconditional.
53819         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
53820         <kernel-features.h>.
53821         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
53822         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
53823         (lockf64) [__NR_fcntl64]: Make code unconditional.
53824         (lockf64) [__ASSUME_FCNTL64]: Likewise.
53826         * sysdeps/unix/sysv/linux/kernel-features.h
53827         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
53828         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
53829         Make code unconditional.
53830         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
53831         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
53832         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
53833         [__NR_vfork]: Make code unconditional.
53834         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
53835         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
53836         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
53837         [__NR_vfork]: Make code unconditional.
53838         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
53839         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
53841 2012-08-01  Roland McGrath  <roland@hack.frob.com>
53843         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
53844         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
53846         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
53847         Define mkstemp64 as an alias.
53848         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
53849         Define mkstemps64 as an alias.
53850         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
53851         Define mkostemp64 as an alias.
53852         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
53853         Define mkostemps64 as an alias.
53854         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
53855         Conditionalize body on this.
53856         * misc/mkostemp64.c: Likewise.
53857         * misc/mkostemps64.c: Likewise.
53858         * misc/mkstemps64.c: Likewise.
53859         * sysdeps/wordsize-64/mkstemp64.c: File removed.
53860         * sysdeps/wordsize-64/mkostemp64.c: File removed.
53861         * sysdeps/wordsize-64/mkostemp.c: File removed.
53862         * sysdeps/wordsize-64/mkstemp.c: File removed.
53863         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
53864         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
53865         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
53866         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
53868         [BZ #14138]
53869         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
53870         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
53871         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
53872         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
53874         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
53875         compat_symbol macros from <shlib-compat.h> rather than the underlying
53876         default_symbol_version and symbol_version macros, so that DEFAULT
53877         lines in shlib-versions are respected.
53878         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
53880 2012-08-01  Florian Weimer  <fweimer@redhat.com>
53882         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
53883         Declare with warn_unused_result.
53884         (setgid, setregid, setegid, setresgid): Likewise.
53885         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
53886         Likewise.
53887         * WUR-REPORT: Remove set*id functions.
53889 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
53891         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
53893 2012-07-31  Roland McGrath  <roland@hack.frob.com>
53895         [BZ #10191]
53896         * include/sys/socket.h (__libc_accept, __libc_accept4):
53897         Add attribute_hidden.
53898         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
53900         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
53901         use of PTR_MANGLE.
53902         * inet/getnetgrent_r.c (setup): Likewise.
53904         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
53906 2012-07-31  David S. Miller  <davem@davemloft.net>
53908         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53910 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
53912         [BZ #13629]
53913         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
53914         value between 1.0 and 2.0 and smaller part has absolute value less
53915         than 1.0.
53916         * math/s_clog10.c (__clog10): Likewise.
53917         * math/s_clog10f.c (__clog10f): Likewise.
53918         * math/s_clog10l.c (__clog10l): Likewise.
53919         * math/s_clogf.c (__clogf): Likewise.
53920         * math/s_clogl.c (__clogl): Likewise.
53921         * math/libm-test.inc (clog_test): Add more tests.
53922         (clog10_test): Likewise.
53923         * sysdeps/i386/fpu/libm-test-ulps: Update.
53924         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53926 2012-07-31  Florian Weimer  <fweimer@redhat.com>
53928         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
53929         Exit with zero in case no suitable GID is found, and write a
53930         message to standard error.
53932 2012-07-30  Roland McGrath  <roland@hack.frob.com>
53934         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
53935         rather than to 1.
53936         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
53937         (MAXPATHLEN): Removed.
53938         (NOGROUP, NODEV): New macros.
53939         (setbit, clrbit, isset, isclr): New macros.
53940         (howmany, roundup, powerof2): New macros.
53941         (DEV_BSIZE): New macro.
53943         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
53944         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
53946         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
53947         definition on [!__NO_LONG_DOUBLE_MATH].
53949         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
53950         PTR_MANGLE and PTR_DEMANGLE.
53952         * socket/accept4.c (accept4): Rename to __libc_accept4.
53953         Define accept4 as a weak alias.
53955         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
53956         on [_DIRENT_HAVE_D_TYPE].
53957         * io/ftw.c (ftw_dir): Likewise.
53959         * io/xmknod.c (__xmknod): Don't check PATH for being null.
53961         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
53963         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
53964         Use the BSD numbers rather than the arbitrary ones we had.
53965         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
53966         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
53967         (SIGXCPU, SIGXFSZ): New macros.
53968         (_NSIG): Now 32.
53970         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
53971         initializer on [_LIBC_REENTRANT].
53973         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
53974         definitions inside [_POSIX_MAPPED_FILES].
53976         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
53978         * dirent/opendir.c: Include <fcntl.h>.
53980         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
53981         (__libc_getspecific): Likewise.
53982         (__libc_key_create): Likewise.
53984         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
53985         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
53986         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
53987         (tmpfile64): Define as alias.
53988         * sysdeps/wordsize-64/tmpfile.c: File removed.
53989         * sysdeps/wordsize-64/tmpfile64.c: File removed.
53990         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
53991         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
53993         * stdio-common/vfscanf.c: Include <stdbool.h>.
53994         * nss/makedb.c: Likewise.
53995         * stdio-common/_i18n_number.h: Likewise.
53996         * argp/argp-help.c: Likewise.
53997         * posix/wordexp.c: Likewise.
53998         * sysdeps/posix/spawni.c: Likewise.
53999         * nss/nss_files/files-initgroups.c: Likewise.
54000         * stdio-common/reg-modifier.c: Include <stdlib.h>.
54001         * nss/nss_files/files-initgroups.c: Likewise.
54002         * nss/nss_db/db-netgrp.c: Likewise.
54003         * nss/nss_db/db-initgroups.c: Likewise.
54004         * io/fchmodat.c: Include <sys/stat.h>.
54006         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
54007         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
54009         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
54010         [HAVE_MMAP].
54012         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
54013         Add multiple inclusion protection.
54015 2012-07-27  David S. Miller  <davem@davemloft.net>
54017         * sysdeps/sparc/fpu/libm-test-ulps: Update.
54019 2012-07-27  Gary Benson  <gbenson@redhat.com>
54021         [BZ #14298]
54022         * elf/rtld.c: Include <stap-probe.h>.
54023         (dl_main): Added static probes "init_start" and "init_complete".
54024         * elf/dl-load.c: Include <stap-probe.h>.
54025         (lose): Take new parameter "nsid".
54026         Added static probe "map_failed".
54027         (_dl_map_object_from_fd): Pass namespace id to lose.
54028         Added static probe "map_start".
54029         (open_verify): Pass namespace id to lose.
54030         * elf/dl-open.c: Include <stap-probe.h>.
54031         (dl_open_worker) Added static probes "map_complete", "reloc_start"
54032         and "reloc_complete".
54033         * elf/dl-close.c: Include <stap-probe.h>.
54034         (_dl_close_worker): Added static probes "unmap_start" and
54035         "unmap_complete".
54036         * elf/rtld-debugger-interface.txt: New file documenting the above.
54038 2012-07-26  Roland McGrath  <roland@hack.frob.com>
54040         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
54041         rather than a string variable.
54042         * sunrpc/rpc_main.c (h_output): Likewise.
54043         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
54045 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
54047         * inet/check_native.c: New file.
54049 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
54051         [BZ #13629]
54052         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
54053         if larger part has absolute value 1.0.
54054         * math/s_clog10.c (__clog10): Likewise.
54055         * math/s_clog10f.c (__clog10f): Likewise.
54056         * math/s_clog10l.c (__clog10l): Likewise.
54057         * math/s_clogf.c (__clogf): Likewise.
54058         * math/s_clogl.c (__clogl): Likewise.
54059         * math/libm-test.inc (clog_test): Add more tests.
54060         (clog10_test): Likewise.
54061         * sysdeps/i386/fpu/libm-test-ulps: Update.
54062         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54064         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
54065         (pltexit): Likewise.
54066         (La_regs): Likewise.
54067         (La_retval): Likewise.
54068         (int_retval): Likewise.
54069         Update #error for removed macros to refer only to definitions in
54070         tst-audit.h.
54071         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
54072         macro.
54073         (pltexit): Likewise.
54074         (La_regs): Likewise.
54075         (La_retval): Likewise.
54076         (int_retval): Likewise.
54077         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
54078         macro.
54079         (pltexit): Likewise.
54080         (La_regs): Likewise.
54081         (La_retval): Likewise.
54082         (int_retval): Likewise.
54083         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
54084         macro.
54085         (pltexit): Likewise.
54086         (La_regs): Likewise.
54087         (La_retval): Likewise.
54088         (int_retval): Likewise.
54089         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
54090         macro.
54091         (pltexit): Likewise.
54092         (La_regs): Likewise.
54093         (La_retval): Likewise.
54094         (int_retval): Likewise.
54095         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
54096         macro.
54097         (pltexit): Likewise.
54098         (La_regs): Likewise.
54099         (La_retval): Likewise.
54100         (int_retval): Likewise.
54101         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
54102         macro.
54103         (pltexit): Likewise.
54104         (La_regs): Likewise.
54105         (La_retval): Likewise.
54106         (int_retval): Likewise.
54107         * sysdeps/generic/tst-audit.h: Update comment to refer only to
54108         macro definitions in tst-audit.h.
54109         * sysdeps/i386/tst-audit.h: New file.
54110         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
54111         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
54112         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
54113         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
54114         * sysdeps/sh/tst-audit.h: Likewise.
54115         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
54116         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
54117         * sysdeps/x86_64/tst-audit.h: Likewise.
54119 2012-07-26  Andreas Jaeger  <aj@suse.de>
54121         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
54122         ptrace.
54124         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
54125         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
54126         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
54127         PTRACE_O_MASK.
54128         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
54129         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
54130         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
54132         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
54133         value.
54135         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
54136         _sigsys.
54137         (si_call_addr, si_syscall, si_arch): Define new macro.
54138         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
54139         _sigsys.
54140         (si_call_addr, si_syscall, si_arch): Define new marcro.
54141         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
54142         _sigsys.
54143         (si_call_addr, si_syscall, si_arch): Define new macro.
54144         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
54145         _sigsys.
54146         (si_call_addr, si_syscall, si_arch): Define new macro.
54148 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
54150         [BZ #13717]
54151         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
54152         Change to 2.4.21 where previously 2.4.1.
54153         * sysdeps/unix/sysv/linux/configure: Regenerated.
54154         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
54155         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
54156         Linux kernel version.
54157         (__ASSUME_STD_AUXV): Remove.
54158         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
54159         kernel version.
54160         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
54161         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
54162         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
54163         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
54164         (__ASSUME_NETLINK_SUPPORT): Likewise.
54165         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
54166         (__no_netlink_support): Remove conditional definition.
54167         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
54168         Remove.
54169         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
54170         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
54171         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
54172         (if_nameindex_ioctl): Remove.
54173         (if_nameindex_netlink): Do not handle __no_netlink_support.
54174         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
54175         code.
54176         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
54177         Remove conditional code.
54178         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
54179         code.
54180         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
54181         unconditional.
54182         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
54183         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
54184         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
54185         Remove.
54186         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
54187         [!__ASSUME_STD_AUXV]: Remove conditional code.
54188         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
54189         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
54190         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
54191         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
54192         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
54193         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
54194         code.
54195         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
54196         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
54197         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
54198         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
54199         conditional code.
54200         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
54201         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
54202         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
54203         code.
54204         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
54205         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
54206         conditional code.
54207         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
54208         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
54209         code unconditional.
54210         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
54211         conditional code.
54212         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
54213         unconditional.
54214         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
54215         conditional code.
54216         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
54217         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
54218         unconditional.
54219         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
54220         conditional code.
54221         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
54222         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
54223         code unconditional.
54224         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
54225         conditional code.
54226         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
54227         unconditional.
54228         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
54229         conditional code.
54230         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
54231         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
54232         code unconditional.
54233         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
54234         conditional code.
54235         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
54236         unconditional.
54237         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
54238         conditional code.
54240 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
54242         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
54243         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
54244         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
54245         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
54246         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
54247         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
54248         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
54249         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
54250         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
54251         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
54252         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
54253         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
54254         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
54255         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
54256         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
54257         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
54258         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
54259         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
54260         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
54261         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
54262         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
54263         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
54264         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
54266 2012-07-25  Florian Weimer  <fweimer@redhat.com>
54268         * Versions.def: Add GLIBC_2.17.
54269         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
54270         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
54271         Introduce __libc_secure_getenv.
54272         * stdlib/Versions (2.17): Add secure_getenv
54273         (GLIBC_PRIVATE): Add __libc_secure_getenv.
54274         * stdlib/secure-getenv.c: Rename __secure_getenv to
54275         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
54276         symbol __secure_getenv for GLIBC_2.0.
54277         * stdlib/tst-secure-getenv.c: New.
54278         * stdlib/Makefile (tests): Add testcase.
54279         * manual/startup.texi (Environment Access): Document
54280         secure_getenv.
54281         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
54282         __libc_secure_getenv.
54283         * inet/ruserpass.c (ruserpass): Likewise.
54284         * malloc/mtrace.c (mtrace): Likewise.
54285         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
54286         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
54287         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
54288         * sysdeps/posix/tempname.c: Likewise.  Evaluate
54289         HAVE_SECURE_GETENV.
54290         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
54291         __secure_getenv to __libc_secure_getenv.
54292         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
54293         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
54294         Likewise.
54295         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
54296         Likewise.
54297         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
54298         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
54299         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
54300         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
54301         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
54302         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
54303         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
54305 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
54307         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
54308         (struct La_i86_retval): Likewise.
54309         (struct La_x86_64_regs): Likewise.
54310         (struct La_x86_64_retval): Likewise.
54311         (struct La_x32_regs): Likewise.
54312         (struct La_x32_retval): Likewise.
54313         (struct La_ppc32_regs): Likewise.
54314         (struct La_ppc32_retval): Likewise.
54315         (struct La_ppc64_regs): Likewise.
54316         (struct La_ppc64_retval): Likewise.
54317         (struct La_sh_regs): Likewise.
54318         (struct La_sh_retval): Likewise.
54319         (struct La_s390_32_regs): Likewise.
54320         (struct La_s390_32_retval): Likewise.
54321         (struct La_s390_64_regs): Likewise.
54322         (struct La_s390_64_retval): Likewise.
54323         (struct La_sparc32_regs): Likewise.
54324         (struct La_sparc32_retval): Likewise.
54325         (struct La_sparc64_regs): Likewise.
54326         (struct La_sparc64_retval): Likewise.
54327         (struct audit_ifaces): Remove architecture-specific pltenter and
54328         pltexit members.
54329         * sysdeps/i386/ldsodefs.h: New file.
54330         * sysdeps/powerpc/ldsodefs.h: Likewise.
54331         * sysdeps/s390/ldsodefs.h: Likewise.
54332         * sysdeps/sh/ldsodefs.h: Likewise.
54333         * sysdeps/sparc/ldsodefs.h: Likewise.
54334         * sysdeps/x86_64/ldsodefs.h: Likewise.
54336 2012-07-25  Marek Polacek  <polacek@redhat.com>
54338         [BZ #6808]
54339         * math/libm-test.inc (yn_test): Add another test.
54340         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
54341         to ERANGE when the result is +-Inf.
54342         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
54343         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
54344         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
54345         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
54347 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
54349         * conform/data/time.h-data (NULL): Use macro-constant.  Require
54350         equal to 0.
54351         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
54352         clock_t.
54353         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
54355 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
54357         * configure.in <sysdeps resolving>: Correct printing
54358         Implies_before.
54359         * configure: Regenerate.
54361 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
54363         * math/w_ilogb.c: Include <limits.h>.
54364         * math/w_ilogbl.c: Likewise.
54366 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
54368         * manual/lang.texi (__va_copy): Document primarily as ISO C99
54369         va_copy.  Document allowing for unavailable va_copy only as
54370         pre-C99 compatibility.
54371         * manual/string.texi (Copying and Concatenation): Use va_copy
54372         instead of __va_copy in concat example.
54374 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
54376         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
54377         (__sendto): Use create_address_port.  Initialize APORT and deallocate
54378         it if not null.
54380         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
54381         with O_NOLINK passed to __file_name_lookup.
54383         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
54384         with O_NOLINK passed to __file_name_lookup.
54386         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
54387         negative N or less than NGIDS.
54389         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
54390         type to string_t.  Set ERANGE as errno and return it if NAME is not big
54391         enough.  Use memcpy instead of strncpy.
54393 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
54395         * elf/Makefile (check-data): Remove.
54396         (localplt.data): New vpath directive.
54397         ($(objpfx)check-localplt.out): Use localplt.data from vpath
54398         instead of $(check-data).
54399         * scripts/data/localplt-generic.data: Move to ...
54400         * sysdeps/generic/localplt.data: ... here.
54401         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
54402         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
54403         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
54404         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
54405         ... here.
54406         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
54407         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
54408         ... here.
54409         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
54410         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
54411         ... here.
54412         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
54413         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
54414         ... here.
54415         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
54416         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
54417         ... here.
54418         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
54419         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
54420         ... here.
54422 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54424         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
54425         PPC32 and PPC64 files.
54426         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
54427         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
54429 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
54431         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
54432         __makecontext_ret to ...
54433         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
54434         ... here and call exit if uc_link is NULL.  New file.
54435         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
54436         __makecontext_ret.S.
54437         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
54438         __makecontext_ret to ...
54439         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
54440         ... here and call exit if uc_link is NULL.  New file.
54441         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
54442         __makecontext_ret.S.
54444 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
54446         * elf/elf.h (R_390_IRELATIVE): New definition.
54447         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
54448         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
54449         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
54450         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
54451         (elf_machine_lazy_rel): Likewise.
54452         * sysdeps/s390/dl-irel.h: New file.
54453         * sysdeps/s390/s390-64/memcpy.S: New asm code.
54454         * sysdeps/s390/s390-64/memset.S: New asm code.
54455         * sysdeps/s390/s390-64/memcmp.S: New asm code.
54456         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
54457         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
54458         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
54459         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
54460         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
54461         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
54462         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
54463         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
54464         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
54465         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
54466         * sysdeps/s390/s390-32/memcpy.S: New asm code.
54467         * sysdeps/s390/s390-32/memset.S: New asm code.
54468         * sysdeps/s390/s390-32/memcmp.S: New asm code.
54470 2012-07-17  Marek Polacek  <polacek@redhat.com>
54472         [BZ #14349]
54473         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
54474         * sysdeps/s390/s390-64/configure.in: Likewise.
54475         * sysdeps/sparc/configure.in: Likewise.
54476         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
54477         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
54478         * sysdeps/i386/configure.in: Likewise.
54479         * sysdeps/x86_64/configure.in: Likewise.
54480         * sysdeps/sh/configure.in: Likewise.
54481         * sysdeps/s390/s390-32/configure: Regenerated.
54482         * sysdeps/s390/s390-64/configure: Likewise.
54483         * sysdeps/x86_64/configure: Likewise.
54484         * sysdeps/sh/configure: Likewise.
54485         * sysdeps/powerpc/powerpc64/configure: Likewise.
54486         * sysdeps/powerpc/powerpc32/configure: Likewise.
54487         * sysdeps/sparc/configure: Likwise.
54488         * sysdeps/i386/configure: Likewise.
54490         * elf/dl-open.c: Comment fixes.
54492 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
54494         * Makefile [CXX] (check-data): Remove.
54495         [CXX] (c++-types.data): New vpath directive.
54496         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
54497         vpath.  Do not allow for C++ type data being missing.
54498         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
54499         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
54500         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
54501         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
54502         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
54503         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
54504         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
54505         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
54506         ... here.
54507         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
54508         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
54509         ... here.
54510         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
54511         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
54512         ... here.
54513         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
54514         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
54515         ... here.
54516         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
54517         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
54518         ... here.
54519         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
54520         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
54521         ... here.
54522         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
54523         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
54524         ... here.
54525         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
54526         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
54528         * elf/tls-macros.h (TLS_LE): Move architecture-specific
54529         definitions to architecture-specific files.
54530         (TLS_IE): Likewise.
54531         (TLS_LD): Likewise.
54532         (TLS_GD): Likewise.
54533         * sysdeps/i386/tls-macros.h: New file.
54534         * sysdeps/powerpc/tls-macros.h: Likewise.
54535         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
54536         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
54537         * sysdeps/sh/tls-macros.h: Likewise.
54538         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
54539         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
54540         * sysdeps/x86_64/tls-macros.h: Likewise.
54542 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
54544         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
54545         zero value for regular exit case.
54547         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
54548         (__start_context): Preserve zero value for regular exit case.
54550 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
54551             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
54553         * manual/setjmp.texi (setcontext): Clarify normal process
54554         termination when uc_link is the null pointer.
54555         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
54556         exit call.
54558 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
54560         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
54561         preprocessor.  Test for each exception mask separately.
54563 2012-07-16  Andreas Jaeger  <aj@suse.de>
54565         * po/ru.po: Update from translation team.
54567 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
54569         * conform/data/string.h-data (NULL): Use macro-constant.  Require
54570         equal to 0.
54571         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
54572         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
54573         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
54574         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
54575         [ISO || ISO99 || ISO11] (*_t): Do not allow.
54577 2012-07-13  Andreas Jaeger  <aj@suse.de>
54579         * po/fr.po: Update from translation team.
54581 2012-07-12  Marek Polacek  <polacek@redhat.com>
54583         [BZ #14173]
54584         * math/libm-test.inc (yn_test): Add test for BZ #14173.
54585         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
54586         loop condition.
54588 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
54590         [BZ #13717]
54591         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
54592         Change to 2.4.1 where previously 2.4.0.
54593         * sysdeps/unix/sysv/linux/configure: Regenerated.
54594         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
54595         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
54596         version.
54597         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
54598         (__ASSUME_AT_CLKTCK): Remove.
54599         (__ASSUME_AT_PAGESIZE): Likewise.
54600         (__ASSUME_AT_XID): Likewise.
54601         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
54602         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
54603         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
54604         unconditionally.
54605         (HAVE_AUX_PAGESIZE): Likewise.
54606         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
54607         [__ASSUME_AT_CLKTCK]: Make code unconditional.
54608         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
54610 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
54612         [BZ #14307]
54613         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
54614         the temporary buffer used to invoke __gethostbyname2_r,
54615         __gethostbyaddr_r and gethostbyname4_r to make room for struct
54616         host_data / struct gaih_addrtuple.
54617         * resolv/nss_dns/dns-host.c (global scope): Move definition of
54618         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
54619         header file nss/nsswitch.h.
54620         * nss/nsswitch.h (global scope): Add definition of implementation
54621         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
54622         resolv/nss_dns/dns-host.c).
54624 2012-07-11  Andreas Jaeger  <aj@suse.de>
54626         * po/fr.po: Update from translation team.
54628         * po/sv.po: Update from translation team
54629         * po/fr.po: Another update from translation team.
54631 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54633         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
54634         for subnormals or multiply small sinh result by itself.
54635         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
54636         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54638 2012-07-11  David S. Miller  <davem@davemloft.net>
54640         * sysdeps/sparc/fpu/libm-test-ulps: Update.
54642 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
54644         [BZ #14347]
54645         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
54646         (INTERNAL_MARK): Shift it here.
54648 2012-07-10  Marek Polacek  <polacek@redhat.com>
54650         [BZ #14151]
54651         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
54652         libc_cv_asm_global_directive with .globl.
54653         * configure: Regenerated.
54654         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
54655         with .globl.
54656         * sysdeps/i386/configure: Regenerated.
54657         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
54658         with .globl.
54659         * sysdeps/x86_64/configure: Regenerated.
54660         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
54661         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
54662         * elf/tst-unique2mod2.c: Likewise.
54663         * elf/tst-unique2mod1.c: Likewise.
54664         * elf/tst-unique1mod2.c: Likewise.
54665         * elf/tst-unique1mod1.c: Likewise.
54666         * sysdeps/s390/s390-32/sysdep.h: Likewise.
54667         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
54668         * sysdeps/s390/s390-64/sysdep.h: Likewise.
54669         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
54670         * sysdeps/mach/sysdep.h: Likewise.
54671         * sysdeps/i386/sysdep.h: Likewise.
54672         * sysdeps/i386/i386-mcount.S: Likewise.
54673         * sysdeps/x86_64/_mcount.S: Likewise.
54674         * sysdeps/x86_64/sysdep.h: Likewise.
54675         * sysdeps/sh/_mcount.S: Likewise.
54676         * sysdeps/sh/sysdep.h: Likewise.
54677         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
54678         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
54679         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
54680         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
54681         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
54682         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
54683         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
54684         * locale/localeinfo.h: Likewise.
54685         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
54686         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
54688 2012-07-09  Roland McGrath  <roland@hack.frob.com>
54690         [BZ #14336]
54691         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
54692         system".
54693         * manual/message.texi (The Uniforum approach): Likewise.
54694         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
54695         (glibc iconv Implementation): Likewise.
54697 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
54699         [BZ #14337]
54700         * math/s_clog.c (__clog): Avoid scaling a value down where that
54701         could result in underflow.
54702         * math/s_clog10.c (__clog10): Likewise.
54703         * math/s_clog10f.c (__clog10f): Likewise.
54704         * math/s_clog10l.c (__clog10l): Likewise.
54705         * math/s_clogf.c (__clogf): Likewise.
54706         * math/s_clogl.c (__clogl): Likewise.
54707         * math/libm-test.inc (clog_test): Add more tests.
54708         (clog10_test): Likewise.
54709         * sysdeps/i386/fpu/libm-test-ulps: Update.
54710         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54712 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
54714         [BZ #14283]
54715         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
54716         by 7 not 8 to examine high bit of fractional part.
54718         [BZ #14042]
54719         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
54720         for call to __mcount_internal.
54721         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
54722         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
54723         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
54725 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
54727         [BZ #14154]
54728         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
54729         approximation for values within 0x1p-13f of an odd multiple of
54730         pi/4.
54731         * math/libm-test.inc (tan_test): Do not allow spurious underflow
54732         exception.  Add more tests.
54733         * sysdeps/i386/fpu/libm-test-ulps: Update.
54735         [BZ #6778]
54736         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
54737         inputs and return -1 for them.  Do not check for +Inf in case not
54738         reachable for +Inf.
54739         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
54740         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
54741         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
54742         and return -1 for them.  Do not check for +Inf in case not
54743         reachable for +Inf.
54744         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
54745         define.
54746         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
54747         and return -1 for them.  Do not check for +Inf in case not
54748         reachable for +Inf.
54749         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
54750         spurious underflow.
54751         * sysdeps/i386/fpu/libm-test-ulps: Update.
54752         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54754 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
54756         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
54758 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
54760         [BZ #14157]
54761         [BZ #14331]
54762         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
54763         could result in spurious underflow.  Scale down values above
54764         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
54765         * math/s_csqrtf.c (__csqrtf): Likewise.
54766         * math/s_csqrtl.c (__csqrtl): Likewise.
54767         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
54768         spurious underflow.
54769         * sysdeps/i386/fpu/libm-test-ulps: Update.
54770         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54772 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
54774         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
54775         xopen-msg.sed.
54776         * catgets/xopen-msg.awk: New file.
54777         * catgets/xopen-msg.sed: Removed.
54779         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
54780         po2text.sed.
54781         * intl/po2test.awk: New file.
54782         * intl/po2test.sed: Removed.
54784 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
54786         [BZ #14328]
54787         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
54788         or multiply small sinh result by itself.
54789         * math/s_ctanf.c (__ctanf): Likewise.
54790         * math/s_ctanh.c (__ctanh): Likewise.
54791         * math/s_ctanhf.c (__ctanhf): Likewise.
54792         * math/s_ctanhl.c (__ctanhl): Likewise.
54793         * math/s_ctanl.c (__ctanl): Likewise.
54794         * math/libm-test.inc (ctan_test_tonearest): New function.
54795         (ctan_test_towardzero): Likewise.
54796         (ctan_test_downward): Likewise.
54797         (ctan_test_upward): Likewise.
54798         (ctanh_test_tonearest): Likewise.
54799         (ctanh_test_towardzero): Likewise.
54800         (ctanh_test_downward): Likewise.
54801         (ctanh_test_upward): Likewise.
54802         (main): Call these new functions.
54803         * sysdeps/i386/fpu/libm-test-ulps: Update.
54804         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54806 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
54808         * .gitignore: Delete /ports entry.
54810 2012-07-03  Andreas Jaeger  <aj@suse.de>
54812         * po/bg.po: Update from translation team.
54813         * po/cs.po: Likewise.
54814         * po/de.po: Likewise.
54815         * po/hr.po: Likewise.
54816         * po/nl.pl: Likewise.
54817         * po/pl.po: Likewise.
54818         * po/vi.po: Likewise.
54820 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
54822         * Makeconfig [!+link] (+link-before-libc): New variable.
54823         [!+link] (+link-after-libc): Likewise.
54824         [!+link] (+link-tests): Likewise.
54825         [!+link] (+link): Define in terms of $(+link-before-libc) and
54826         $(+link-after-libc).
54827         [!+link-static] (+link-static-before-libc): New variable.
54828         [!+link-static] (+link-static-after-libc): Likewise.
54829         [!+link-static] (+link-static-tests): Likewise.
54830         [!+link-static] (+link-static): Define in terms of
54831         $(+link-static-before-libc) and $(+link-static-after-libc).
54832         [build-shared] (link-libc-before-gnulib): New variable.
54833         [build-shared] (link-libc-tests): Likewise.
54834         [build-shared] (link-libc): Define in terms of
54835         $(link-libc-before-gnulib).
54836         [!build-shared] (link-libc-tests): New variable.
54837         (link-libc-static-tests): New variable.
54838         [!gnulib] (gnulib-arch): New variable.
54839         [!gnulib] (gnulib-tests): Likewise.
54840         [!gnulib] (static-gnulib-arch): Likewise.
54841         [!gnulib] (static-gnulib-tests): Likewise.
54842         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
54843         Define with "=" instead of ":=".
54844         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
54845         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
54846         * Rules (binaries-all-notests): New variable.
54847         (binaries-all-tests): Likewise.
54848         (binaries-static-notests): Likewise.
54849         (binaries-static-tests): Likewise.
54850         (binaries-all): Define using $(binaries-all-notests) and
54851         $(binaries-all-tests).
54852         (binaries-static): Define using $(binaries-static-notests) and
54853         $(binaries-static-tests).
54854         (binaries-shared-tests): New variable.
54855         (binaries-shared-notests): Likewise.
54856         (binaries-shared): Remove variable.
54857         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
54858         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
54859         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
54860         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
54861         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
54862         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
54863         * elf/Makefile (sln-modules): New variable.
54864         (extra-objs): Add $(sln-modules:=.o).
54865         (ldconfig-modules): Add static-stubs.
54866         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
54867         * elf/static-stubs.c: New file.
54869         [BZ #14283]
54870         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
54871         by 7 not 8 to examine high bit of fractional part.  Use volatile
54872         variables when splitting into final array of floats if
54873         __FLT_EVAL_METHOD__ != 0.
54874         * math/libm-test.inc (cos_test): Add another test.
54875         (sin_test): Likewise.
54876         * sysdeps/i386/fpu/libm-test-ulps: Update.
54878         [BZ #14273]
54879         * math/libm-test.inc (cosh_test): Add more tests.
54881         * version.h (RELEASE): Set to "development".
54882         (VERSION): Set to "2.16.90".
54884 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
54886         * NEWS: Update copyright. Remove last-updated date.
54887         Mention math library bug fixes and timezone data changes.
54888         * README: Mention GNU/Hurd, x32, and HPPA support status.
54890 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
54892         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
54894 2012-06-27  Andreas Jaeger  <aj@suse.de>
54896         * manual/contrib.texi (Contributors): Add Samuel Thibault.
54898 2012-06-25  Andreas Jaeger  <aj@suse.de>
54900         * sysdeps/s390/fpu/libm-test-ulps: Update.
54902 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
54903             Thomas Schwinge  <thomas@codesourcery.com>
54905         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
54906         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
54907         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
54908         fanotify_mark.
54910 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
54912         * sysdeps/mach/start.c: Remove file.
54913         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
54914         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
54915         * sysdeps/sh/init-first.c: Likewise.
54917         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
54918         registers for frame unwinding purposes, add CFI directives.
54919         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
54920         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
54921         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
54922         Likewise.
54924         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
54925         __fortify_fail returning.
54926         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
54928         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
54929         sysdeps/sh/____longjmp_chk.S.
54930         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
54931         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
54932         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
54933         (gen-as-const-headers): Append sigaltstack-offsets.sym.
54935         * sysdeps/sh/abort-instr.h: New file.
54936         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
54937         process in case exit returns.
54939         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
54940         initialize the GOT register before use.
54942         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
54943         calculation of ARGC > 4.
54945         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
54946         meaningful names to some local labels.
54948 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
54949             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
54951         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
54952         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
54953         (__arch_compare_and_exchange_val_16_acq): Likewise.
54954         (__arch_compare_and_exchange_val_32_acq): Likewise.
54955         (atomic_exchange_and_add): Fix gUSA sequence.
54956         (atomic_add): Likewise.
54957         (atomic_add_negative): Likewise.
54958         (atomic_add_zero): Likewise.
54959         (atomic_bit_test_set): Likewise.
54961 2012-06-22  Andreas Schwab  <schwab@redhat.com>
54963         [BZ #13579]
54964         * include/link.h (struct link_map): Add l_free_initfini.
54965         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
54966         l_initfini.
54967         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
54968         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
54969         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
54970         set.
54972 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
54974         * configure.in: Use AC_LANG_SOURCE.
54975         * configure: Regenerate.
54977 2012-06-22  Roland McGrath  <roland@hack.frob.com>
54979         * configure.in (libc_cv_localstatedir): New substituted variable.
54980         * configure: Regenerated.
54981         * config.make.in (localstatedir): New variable, substituted from
54982         libc_cv_localstatedir.
54983         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
54984         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
54985         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
54986         * sysdeps/gnu/configure: Regenerated.
54988 2012-06-21  Jeff Law  <law@redhat.com>
54990         [BZ #14277]
54991         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
54992         free.  Simplify list management for _LIBC case.
54994 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
54996         [BZ #14273]
54997         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
54998         Clear sign bit of 64-bit integer value before comparing against
54999         overflow value.
55001         * sysdeps/mach/configure: Regenerated.
55003 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
55005         [BZ #14278]
55006         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
55008 2012-06-21  Jeff Law  <law@redhat.com>
55010         [BZ #13882]
55011         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
55012         uint16_t for elements in the "seen" array to avoid char overflows.
55013         * elf/dl-fini.c (_dl_sort_fini): Likewise.
55014         * elf/dl-open.c (dl_open_worker): Likewise.
55016 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
55018         * scripts/list-sources.sh: Scan PORTS for translations.
55019         * po/libc.pot: Regenerated.
55021 2012-06-21  Andreas Jaeger  <aj@suse.de>
55023         [BZ #12194]
55024         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
55025         warning.
55026         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
55027         * bits/byteswap-16.h (__bswap_16): Likewise.
55028         * bits/byteswap.h (__bswap_constant_16): Likewise.
55030 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
55032         [BZ #14117]
55033         * sysdeps/i386/fpu_control.h: Removed.
55034         * sysdeps/x86_64/fpu_control.h: Moved to ...
55035         * sysdeps/x86/fpu_control.h: Here.
55037         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
55038         (_FPU_SETCW): Likewise.
55040 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
55042         [BZ #14117]
55043         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
55044         * sysdeps/x86/fpu/bits/mathinline.h: This.
55045         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
55047         [BZ #14050]
55048         [BZ #14117]
55049         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
55050         functions if __x86_64__ is defined.
55052 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
55054         * string/endian.h: Add !__ASSEMBLER__ condition for including
55055         conversion interfaces.
55057 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
55059         [BZ #14241]
55060         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
55061         of ABS(x) in calculating zero to negative powers other than odd
55062         integers.
55063         * math/libm-test.inc (pow_test): Add more tests.
55065 2012-06-15  Andreas Jaeger  <aj@suse.de>
55067         * manual/contrib.texi (Contributors): Update entry of Liubov
55068         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
55069         Machado Filho.
55071 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
55073         * string/string.h: Add __wur to GNU version of strerror_r.
55075 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
55077         [BZ #14229]
55078         * string/Makefile (tests): Add tst-strtok_r.
55079         * string/tst-strtok_r.c: New file.
55080         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
55081         RAX_LP/RDX_LP on SAVE_PTR.
55083 2012-06-14  Roland McGrath  <roland@hack.frob.com>
55085         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
55087 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
55089         * libm_test.inc (csqrt_test): Allow more spurious underflow
55090         exceptions.
55091         (j0_test): Likewise.
55092         (j1_test): Likewise.
55093         (y0_test): Likewise.
55094         (y1_test): Likewise.
55096 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
55098         * po/Makefile (libc.pot): Use UTF-8 charset.
55100 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
55102         [BZ #14210]
55103         Suppress sign-conversion warning from FD_SET.
55104         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
55105         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
55106         not unsigned long int.
55107         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
55109 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
55111         [BZ #14050]
55112         [BZ #14117]
55113         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
55114         __extern_always_inline instead of __extern_inline.
55115         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
55116         (__signbit): Likewise.
55117         (__signbitl): Support C++ namespace.
55118         (lrintf): New inline function.
55119         (lrint): Likewise.
55120         (llrintf): Likewise.
55121         (llrint): Likewise.
55122         (fmaxf): Likewise.
55123         (fmax): Likewise.
55124         (fminf): Likewise.
55125         (fmin): Likewise.
55126         (rint): Likewise.
55127         (rintf): Likewise.
55128         (ceil): Likewise.
55129         (ceilf): Likewise.
55130         (floor): Likewise.
55131         (floorf): Likewise.
55132         (nearbyint): Likewise.
55133         (nearbyintf): Likewise.
55135 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
55137         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
55138         non-default versions.
55140 2012-06-11  Roland McGrath  <roland@hack.frob.com>
55142         [BZ #14218]
55143         * manual/argp.texi (Argp): Reword argp_parse description slightly.
55145 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
55147         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
55148         (FE_UPWARD, FE_DOWNWARD): Don't define.
55149         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
55150         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
55152         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
55153         reading it.
55154         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
55155         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
55157 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
55159         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
55160         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
55161         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
55162         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
55164 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
55166         [BZ #14117]
55167         * sysdeps/i386/fpu/bits/fenv.h: Removed.
55168         * sysdeps/i386/fpu/Implies: New file.
55169         * sysdeps/x86_64/fpu/Implies: Likewise.
55170         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
55171         * sysdeps/x86/fpu/bits/fenv.h: This.
55173         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
55174         __SSE_MATH__.
55176 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
55178         [BZ #14134]
55179         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
55180         character 0xffff that matches the last element of the
55181         conversion table.
55183 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55185         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
55186         fmodl commit.
55188 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55190         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
55191         values higher than 25.6283.
55193 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55195         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
55196         subnormal exponent extraction and add some __builtin_expect.
55197         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
55198         Fix for subnormal mantissa calculation.
55200 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
55202         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
55203         cpu2 is -1 and errno is not ENOSYS.
55205 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
55207         [BZ #14117]
55208         * sysdeps/i386/i486/bits/string.h: Renamed to ...
55209         * sysdeps/x86/bits/string.h: This.
55210         * sysdeps/x86_64/bits/string.h: Removed.
55212         * sysdeps/i386/i486/bits/string.h: Define inline functions only
55213         if not compiling for x86-64, but compiling for >= i486.
55215         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
55216         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
55218         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
55219         New macro from Linux kernel 3.4.0.
55220         (FP_XSTATE_MAGIC2): Likewise.
55221         (FP_XSTATE_MAGIC2_SIZE): Likewise.
55222         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
55223         (struct _fpx_sw_bytes): New struct.
55224         (struct _xsave_hdr): Likewise.
55225         (struct _ymmh_state): Likewise.
55226         (struct _xstate): Likewise.
55228         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
55229         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
55230         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
55231         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
55232         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
55233         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
55235         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
55236         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
55237         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
55238         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
55239         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
55240         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
55242 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
55244         [BZ #13743]
55245         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
55246         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
55247         (sysdep_headers): Include sys/platform/ppc.h.
55248         * sysdeps/powerpc/test-gettimebase.c: Test for
55249         __ppc_get_timebase() to catch future ISA opcode/insn changes.
55250         * manual/Makefile (appendices): Include platform.texi.
55251         * manual/contrib.texi (Contributors): Update @node pointers.
55252         * manual/maint.texi (Maintenance): Likewise.
55253         (Platform): New node.
55254         * manual/platform.texi: New file.  Document the new features.
55256 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
55257             Jakub Jelinek  <jakub@redhat.com>
55259         [BZ #14188]
55260         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
55261         where __builtin_expect is unavailable.
55263 2012-06-03  David S. Miller  <davem@davemloft.net>
55265         * stdlib/longlong.h: Updated from GCC.
55267 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
55269         [BZ #14042]
55270         * sysdeps/powerpc/powerpc32/mcount.c: New file.
55271         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
55272         __mcount_internal.
55273         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
55274         (GLIBC_2.16): Likewise.
55276 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
55278         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
55280 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
55282         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
55283         (default-abi): New variable.
55284         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
55285         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
55286         variable.
55287         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
55288         Likewise.
55289         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
55290         Likewise.
55291         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
55292         Likewise.
55294         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
55295         definition.  Document in comment.
55297 2012-06-01  David S. Miller  <davem@davemloft.net>
55299         * stdlib/longlong.h: Updated from GCC.
55301 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
55303         [BZ #14117]
55304         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
55305         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
55306         sys/debugreg.h sys/io.h here.
55307         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
55308         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
55309         sys/io.h.
55310         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
55311         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
55312         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
55313         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
55314         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
55315         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
55317         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
55318         Define only if __x86_64__ is defined.
55320 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
55322         [BZ #14048]
55323         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
55324         Use int64_t for variable i.
55325         * math/libm-test.inc (fmod_test): Add more tests.
55327         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
55328         z computation is not scheduled after fetestexcept.
55329         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
55330         Use math_force_eval instead of asm to ensure calculation scheduled
55331         before exception test.
55332         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
55333         Ensure a1 + u.d computation is not scheduled after fetestexcept.
55335 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
55337         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
55338         computation is not scheduled after fetestexcept.
55340 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
55342         [BZ #14117]
55343         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
55344         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
55346 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55348         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
55349         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
55351 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
55353         [BZ #14117]
55354         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
55355         <bits/wordsize.h>.
55356         (__WCHAR_MIN): Support __WORDSIZE == 64.
55357         (__WCHAR_MAX): Likewise.
55359         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
55360         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
55362         [BZ #14183]
55363         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
55364         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
55366         [BZ #14117]
55367         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
55368         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
55370         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
55371         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
55373         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
55374         Defined to 1 if __x86_64__ isn't defined.
55375         (_STAT_VER_LINUX_OLD): New.
55376         (st_atime): Remove duplicate.
55377         (st_mtime): Likewise.
55378         (st_ctime): Likewise.
55380 2012-05-31  David S. Miller  <davem@davemloft.net>
55382         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
55383         entries.
55385 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
55387         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
55388         gen-libm-test.pl.
55390         [BZ #14132]
55391         * elf/dl-reloc.c: Include <_itoa.h>.
55392         (_dl_reloc_bad_type): Remove use of INTUSE.
55393         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
55394         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
55395         * stdio-common/psiginfo.c (psiginfo): Likewise.
55396         * stdio-common/psignal.c (psignal): Likewise.
55397         * string/strsignal.c (strsignal): Likewise.
55398         * include/signal.h (_sys_siglist): Declare hidden proto.
55399         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
55400         INTVARDEF with libc_hidden_data_def.
55401         * stdio-common/itoa-udigits.c: Likewise.
55402         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
55403         (_itoa_lower_digits_internal): Remove declaration.
55404         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
55405         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
55406         (_sys_sigabbrev_internal): Remove aliases.
55407         (_sys_siglist): Define hidden alias.
55409 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
55411         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
55412         bits/sysctl.h.
55414 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
55416         [BZ #14117]
55417         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
55418         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
55420         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
55421         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
55422         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
55423         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
55424         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
55425         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
55427         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
55428         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
55429         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
55431         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
55432         with __addr.
55433         (insw): Likewise.
55434         (insl): Likewise.
55435         (outsb): Likewise.
55436         (outsw): Likewise.
55437         (outsl): Likewise.
55439         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
55440         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
55441         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
55443         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
55444         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
55445         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
55446         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
55447         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
55448         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
55450         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
55451         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
55453         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
55454         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
55456         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
55457         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
55458         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
55460         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
55461         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
55462         to ...
55463         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
55465         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
55466         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
55467         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
55469         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
55470         for x86-64.
55471         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
55473 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
55475         * math/math.h (M_El): Use two more decimal places.
55476         (M_LOG2El): Likewise.
55477         (M_LOG10El): Likewise.
55478         (M_LN2l): Likewise.
55479         (M_LN10l): Likewise.
55480         (M_PIl): Likewise.
55481         (M_PI_2l): Likewise.
55482         (M_PI_4l): Likewise.
55483         (M_1_PIl): Likewise.
55484         (M_2_PIl): Likewise.
55485         (M_2_SQRTPIl): Likewise.
55486         (M_SQRT2l): Likewise.
55487         (M_SQRT1_2l): Likewise.
55489 2012-05-31  David S. Miller  <davem@davemloft.net>
55491         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
55492         values between float registers.
55493         * sysdeps/sparc/sparc64/memset.S: Likewise.
55494         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
55496 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
55498         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
55499         -D_FORTIFY_SOURCE=1.
55500         (CPPFLAGS-tst-longjmp_chk.c): Define.
55501         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
55502         (CPPFLAGS-tst-longjmp_chk2.c): Define.
55503         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
55504         CFLAGS-tst-wchar-h.c.
55506 2012-05-31  Marek Polacek  <polacek@redhat.com>
55508         [BZ #14132]
55509         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
55510         __endmntent_internal): Remove declaration.
55511         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
55512         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
55513         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
55515 2012-05-30  David S. Miller  <davem@davemloft.net>
55517         * sysdeps/sparc/sparc32/soft-fp/q_util.c
55518         (___Q_simulate_exceptions): Use real FP ops rather than writing
55519         into the %fsr.
55520         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
55521         Likewise.
55523 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
55525         [BZ #14117]
55526         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
55527         * sysdeps/x86/bits/xtitypes.h: This.
55529         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
55530         * sysdeps/x86/bits/wordsize.h: This.
55532         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
55533         * sysdeps/x86/bits/huge_vall.h: This.
55535         * sysdeps/i386/bits/select.h: Removed.
55536         * sysdeps/x86_64/bits/select.h: Renamed to ...
55537         * sysdeps/x86/bits/select.h: This.
55539         * sysdeps/i386/bits/setjmp.h: Removed.
55540         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
55541         * sysdeps/x86/bits/setjmp.h: This.
55543         * sysdeps/i386/bits/mathdef.h: Removed.
55544         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
55545         * sysdeps/x86/bits/mathdef.h: This.
55547 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
55549         [BZ #14132]
55550         * include/sys/socket.h (__connect_internal)
55551         (__libc_sa_len_internal): Remove declaration.
55552         (__connect, __libc_sa_len): Declare hidden_proto.
55553         (SA_LEN): Remove use of INTUSE.
55554         * socket/connect.c: Add libc_hidden_def.
55555         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
55556         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
55557         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
55558         alias.
55559         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
55560         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
55561         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
55562         of adding _internal alias.
55564 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
55566         [BZ #14117]
55567         * sysdeps/i386/bits/link.h: Removed.
55568         * sysdeps/i386/bits/linkmap.h: Likewise.
55569         * sysdeps/x86_64/bits/link.h: Renamed to ...
55570         * sysdeps/x86/bits/link.h: This.
55571         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
55572         * sysdeps/x86/bits/linkmap.h: This.
55574         * sysdeps/i386/bits/endian.h: Removed.
55575         * sysdeps/x86_64/bits/endian.h: Renamed to ...
55576         * sysdeps/x86/bits/endian.h: This.
55578         * sysdeps/i386/bits/byteswap.h: Removed.
55579         * sysdeps/i386/bits/byteswap-16.h: Likewise.
55580         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
55581         * sysdeps/x86/bits/byteswap.h: This.
55582         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
55583         * sysdeps/x86/bits/byteswap-16.h: This.
55584         * sysdeps/i386/Implies: Add x86.
55585         * sysdeps/x86_64/Implies: Likewise.
55587 2012-05-30  David S. Miller  <davem@davemloft.net>
55589         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
55590         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
55591         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
55592         (FP_TRAPPING_EXCEPTIONS): Define.
55593         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
55594         (FP_TRAPPING_EXCEPTIONS): Define.
55595         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
55596         subnormals only when inexact has been signalled or underflow
55597         exceptions are enabled.
55598         (_FP_PACK_CANONICAL): Likewise.
55600 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
55602         [BZ #14183]
55603         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
55604         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
55606 2012-05-30  Richard Henderson  <rth@twiddle.net>
55608         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
55609         with #ifndef NOT_IN_libc.
55611         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
55612         marked to avoid plt entry.
55614 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
55616         [BZ #14112]
55617         * Makeconfig (default-abi): New macro.
55618         (abi-includes): Likewise.
55619         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
55620         $(abi-$(default-abi)-lib-soname) for soname if defined.
55621         ($(common-objpfx)gnu/lib-names.stmp): Generate from
55622         abi-variants.
55623         * Makefile (installed-stubs): Likewise.
55624         * include/stubs-biarch.h: Removed.
55625         * scripts/lib-names.awk: Only handle one library at a time.
55626         * scripts/soversions.awk: Remove WORDSIZE support.
55627         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
55628         entries.
55629         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
55630         Removed.
55631         (syscall-list-default-condition): Likewise.
55632         (syscall-list-default-condition): Likewise.
55633         (syscall-list-includes): Likewise.
55634         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
55635         syscall-list-* with abi-*.  Handle undefined abi-variants.
55636         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
55637         * sysdeps/unix/sysv/linux/i386/Implies: New file.
55638         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
55639         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
55640         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
55641         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
55642         Removed.
55643         (syscall-list-32-options): Likewise.
55644         (syscall-list-32-condition): Likewise.
55645         (syscall-list-64-options): Likewise.
55646         (syscall-list-64-condition): Likewise.
55647         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
55648         macro.
55649         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
55650         Renamed to ...
55651         (abi-*): This.
55652         (abi-64-ld-soname): New macro.
55653         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
55654         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
55655         Renamed to ...
55656         (abi-*): This.
55657         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
55658         * sysdeps/x86_64/x32/shlib-versions: Likewise.
55660 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
55662         * sysdeps/unix/sysv/linux/kernel-features.h
55663         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
55664         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
55665         include <kernel-features.h>.
55666         [!__NR_ftruncate64]: Remove conditional code.
55667         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
55668         [__NR_ftruncate64]: Make code unconditional.
55669         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
55670         * sysdeps/unix/sysv/linux/truncate64.c: Do not
55671         include <kernel-features.h>.
55672         [!__NR_ftruncate64]: Remove conditional code.
55673         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
55674         [__NR_ftruncate64]: Make code unconditional.
55675         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
55676         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
55677         include <kernel-features.h>.
55678         [!__NR_ftruncate64]: Remove conditional code.
55679         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
55680         [__NR_ftruncate64]: Make code unconditional.
55681         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
55682         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
55683         include <kernel-features.h>.
55684         [!__NR_ftruncate64]: Remove conditional code.
55685         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
55686         [__NR_ftruncate64]: Make code unconditional.
55687         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
55689         * configure.in (libc_cv_fpie): Weaken to a compile test using
55690         LIBC_TRY_CC_OPTION.
55691         * configure: Regenerated.
55693 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
55695         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
55696         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
55697         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
55698         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
55699         Refreshed.
55700         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
55701         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
55702         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
55703         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
55704         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
55705         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
55706         Refreshed.
55708 2012-05-27  David S. Miller  <davem@davemloft.net>
55710         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
55711         (___Q_zero): New.
55712         (__Q_simulate_exceptions): Return void.  Change to simulate
55713         exceptions by writing into the %fsr.
55714         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
55715         (__Qp_handle_exceptions): Likewise.
55716         (numbers): Delete.
55717         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
55718         __Qp_handle_exceptions.
55719         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
55720         __Qp_handle_exceptions.
55721         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
55722         as unused and give dummy FP_RND_NEAREST initializer.
55723         (FP_INHIBIT_RESULTS): Define.
55724         (___Q_simulate_exceptions): Update declaration.
55725         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
55726         formatting.
55727         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
55728         as unused and give dummy FP_RND_NEAREST initializer.
55729         (__Qp_handle_exceptions): Update declaration.
55730         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
55731         formatting.
55733 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
55735         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
55736         the temporary FPU control word.
55737         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
55738         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
55739         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
55740         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
55741         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
55742         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
55743         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
55744         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
55745         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
55746         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
55747         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
55749 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
55751         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
55752         fields.
55754 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
55756         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
55757         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
55758         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
55759         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
55760         Likewise.
55761         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
55762         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
55763         Likewise.
55765 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
55767         * po/h.po: Update from translation team.
55769 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
55771         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
55773         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
55774         handling of denormals.
55775         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
55776         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
55777         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
55778         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
55779         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
55780         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
55781         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
55782         Likewise.
55784 2012-05-26  Marek Polacek  <polacek@redhat.com>
55786         [BZ #14152]
55787         * math/libm-test.inc (fma_test): Don't always expect underflow
55788         exception.
55790 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
55792         [BZ #12416]
55793         * elf/tst-execstack.c: Include stackinfo.h.
55794         (do_test): Adjust test case to ensure that pthread_getattr_np
55795         behaviour remains the same after marking stack executable.
55797 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
55799         * sysdeps/unix/sysv/linux/kernel-features.h
55800         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
55801         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
55802         kernel-features.h.
55803         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
55804         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
55805         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
55806         kernel-features.h.
55807         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
55808         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
55810 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
55812         * configure.in: Define the default includes to being none.
55813         * configure: Regenerated.
55815 2012-05-25  Roland McGrath  <roland@hack.frob.com>
55817         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
55818         * sysdeps/x86_64/setjmp.S: Likewise.
55819         * sysdeps/i386/bsd-setjmp.S: Likewise.
55820         * sysdeps/i386/bsd-_setjmp.S: Likewise.
55821         * sysdeps/i386/setjmp.S: Likewise.
55822         * sysdeps/i386/__longjmp.S: Likewise.
55823         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
55824         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
55826         * include/stap-probe.h: New file.
55827         * configure.in: Handle --enable-systemtap.
55828         * configure: Regenerated.
55829         * config.h.in (USE_STAP_PROBE): New #undef.
55830         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
55831         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
55832         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
55834 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
55836         [BZ #13717]
55837         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
55838         to 2.4.0 where earlier.
55839         * sysdeps/unix/sysv/linux/configure: Regenerated.
55840         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
55841         <kernel-features.h>.
55842         [__ASSUME_32BITUIDS]: Make code unconditional.
55843         [!__ASSUME_32BITUIDS]: Remove conditional code.
55844         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
55845         <kernel-features.h>.
55846         [__ASSUME_32BITUIDS]: Make code unconditional.
55847         [!__ASSUME_32BITUIDS]: Remove conditional code.
55848         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
55849         [__ASSUME_32BITUIDS]: Make code unconditional.
55850         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
55851         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
55852         <kernel-features.h>.
55853         [__ASSUME_32BITUIDS]: Make code unconditional.
55854         [!__ASSUME_32BITUIDS]: Remove conditional code.
55855         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
55856         <kernel-features.h>.
55857         [__ASSUME_32BITUIDS]: Make code unconditional.
55858         [!__ASSUME_32BITUIDS]: Remove conditional code.
55859         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
55860         <kernel-features.h>.
55861         [__ASSUME_32BITUIDS]: Make code unconditional.
55862         [!__ASSUME_32BITUIDS]: Remove conditional code.
55863         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
55864         <kernel-features.h>.
55865         [__ASSUME_32BITUIDS]: Make code unconditional.
55866         [!__ASSUME_32BITUIDS]: Remove conditional code.
55867         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
55868         <kernel-features.h>.
55869         [__ASSUME_32BITUIDS]: Make code unconditional.
55870         [!__ASSUME_32BITUIDS]: Remove conditional code.
55871         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
55872         <kernel-features.h>.
55873         [__ASSUME_32BITUIDS]: Make code unconditional.
55874         [!__ASSUME_32BITUIDS]: Remove conditional code.
55875         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
55876         <kernel-features.h>.
55877         [__ASSUME_32BITUIDS]: Make code unconditional.
55878         [!__ASSUME_32BITUIDS]: Remove conditional code.
55879         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
55880         <kernel-features.h>.
55881         [__ASSUME_32BITUIDS]: Make code unconditional.
55882         [!__ASSUME_32BITUIDS]: Remove conditional code.
55883         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
55884         <kernel-features.h>.
55885         [__ASSUME_32BITUIDS]: Make code unconditional.
55886         [!__ASSUME_32BITUIDS]: Remove conditional code.
55887         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
55888         <kernel-features.h>.
55889         [__ASSUME_32BITUIDS]: Make code unconditional.
55890         [!__ASSUME_32BITUIDS]: Remove conditional code.
55891         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
55892         <kernel-features.h>.
55893         [__NR_setresgid] (__setresgid): Do not declare.
55894         [__ASSUME_32BITUIDS]: Make code unconditional.
55895         [!__ASSUME_32BITUIDS]: Remove conditional code.
55896         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
55897         <kernel-features.h>.
55898         [__NR_setresuid] (__setresuid): Do not declare.
55899         [__ASSUME_32BITUIDS]: Make code unconditional.
55900         [!__ASSUME_32BITUIDS]: Remove conditional code.
55901         * sysdeps/unix/sysv/linux/i386/setfsgid.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/setfsuid.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/setgid.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/setgroups.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/setregid.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/setresgid.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/setresuid.c: Do not include
55926         <kernel-features.h>.
55927         [__ASSUME_32BITUIDS]: Make code unconditional.
55928         [!__ASSUME_32BITUIDS]: Remove conditional code.
55929         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
55930         <kernel-features.h>.
55931         [__ASSUME_32BITUIDS]: Make code unconditional.
55932         [!__ASSUME_32BITUIDS]: Remove conditional code.
55933         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
55934         <kernel-features.h>.
55935         [__ASSUME_32BITUIDS]: Make code unconditional.
55936         [!__ASSUME_32BITUIDS]: Remove conditional code.
55937         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
55938         <kernel-features.h>.
55939         [__ASSUME_32BITUIDS]: Make code unconditional.
55940         [!__ASSUME_32BITUIDS]: Remove conditional code.
55941         * sysdeps/unix/sysv/linux/kernel-features.h
55942         (__ASSUME_SETRESUID_SYSCALL): Remove.
55943         (__ASSUME_SETRESGID_SYSCALL): Likewise.
55944         (__ASSUME_32BITUIDS): Likewise.
55945         (__ASSUME_LDT_WORKS): Likewise.
55946         (__ASSUME_O_DIRECTORY): Likewise.
55947         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
55948         architecture but not kernel version.
55949         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
55950         (__ASSUME_MMAP2_SYSCALL): Likewise.
55951         (__ASSUME_STAT64_SYSCALL): Likewise.
55952         (__ASSUME_IPC64): Likewise.
55953         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
55954         <kernel-features.h>.
55955         [__ASSUME_32BITUIDS]: Make code unconditional.
55956         [!__ASSUME_32BITUIDS]: Remove conditional code.
55957         * sysdeps/unix/sysv/linux/opendir.c: Do not include
55958         <kernel-features.h>.
55959         [__ASSUME_O_DIRECTORY]: Make code unconditional.
55960         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
55961         132096]: Remove conditional code.
55962         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
55963         * sysdeps/unix/sysv/linux/s390/s390-32/chown.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/s390/s390-32/lchown.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/setegid.c: Do not include
55972         <kernel-features.h>.
55973         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
55974         unconditional.
55975         (__setresgid): Do not declare.
55976         [__ASSUME_32BITUIDS]: Make code unconditional.
55977         [!__ASSUME_32BITUIDS]: Remove conditional code.
55978         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
55979         <kernel-features.h>.
55980         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
55981         unconditional.
55982         (__setresuid): Do not declare.
55983         [__ASSUME_32BITUIDS]: Make code unconditional.
55984         [!__ASSUME_32BITUIDS]: Remove conditional code.
55985         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
55986         <kernel-features.h>.
55987         [__ASSUME_32BITUIDS]: Make code unconditional.
55988         [!__ASSUME_32BITUIDS]: Remove conditional code.
55989         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
55990         <kernel-features.h>.
55991         [__ASSUME_32BITUIDS]: Make code unconditional.
55992         [!__ASSUME_32BITUIDS]: Remove conditional code.
55994 2012-05-25  Richard Henderson  <rth@twiddle.net>
55996         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
55997         dl_hwcap to ifunc resolver.
55998         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
55999         elf_ifunc_invoke.
56000         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
56001         dl_hwcap to ifunc resolver.
56002         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
56004 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
56006         [BZ #14153]
56007         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
56008         for |x| <= 2**-26, not 2**-57.
56009         * math/libm-test.inc (acos_test): Do not allow spurious underflow
56010         exception.
56012 2012-05-24  Jeff Law  <law@redhat.com>
56014         * stdio-common/Makefile (tests): Add bug25.
56015         * stdio-common/bug25.c: New test.
56017 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
56019         [BZ #13576]
56020         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
56021         multiple of MALLOC_ALIGNMENT in size.
56022         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
56024 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
56026         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
56027         Require >= 256.
56028         (FILENAME_MAX): Use macro-int-constant.
56029         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
56030         (_IOFBF): Use macro-int-constant.
56031         (_IOLBF): Likewise.
56032         (_IONBF): Likewise.
56033         (SEEK_CUR): Likewise.
56034         (SEEK_END): Likewise.
56035         (SEEK_SET): Likewise.
56036         (TMP_MAX): Likewise.
56037         (EOF): Use macro-int-constant.  Require < 0.
56038         (NULL): Use macro-constant.  Require == 0.
56039         (stdin): Require type to be FILE *.
56040         (stdout): Likewise.
56041         (stderr): Likewise.
56042         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
56043         macro-int-constant.
56044         (EXIT_SUCCESS): Likewise.
56045         (NULL): Use macro-constant.  Require == 0.
56046         (RAND_MAX): Use macro-int-constant.
56047         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
56048         [C99-based standards] (strtof): Require function.
56049         [C99-based standards] (strtold): Likewise.
56050         [C99-based standards] (strtoll): Likewise.
56051         [C99-based standards] (strtoull): Likewise.
56052         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
56053         [ISO || ISO99 || ISO11] (limits.h): Likewise.
56054         [ISO || ISO99 || ISO11] (math.h): Likewise.
56055         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
56056         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
56057         [ISO || ISO99 || ISO11] (*_t): Do not allow.
56059 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
56061         [BZ #14132]
56062         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
56063         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
56064         * intl/dgettext.c (DCGETTEXT): Likewise.
56065         * intl/gettext.c (DCGETTEXT): Likewise.
56066         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
56067         * posix/regex_internal.h (gettext): Likewise.
56068         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
56069         Remove declaration.
56070         * include/argz.h (__argz_count_internal)
56071         (__argz_stringify_internal): Remove declaration.
56072         (__argz_count, __argz_stringify): Declare hidden proto.
56073         * intl/dcgettext.c: Remove use of INTDEF.
56074         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
56075         * string/argz-stringify.c: Likewise.
56076         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
56077         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
56078         Declare hidden proto.
56079         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
56080         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
56081         Declare hidden proto.
56082         * include/stdio.h (__asprintf_internal): Don't declare.
56083         (__asprintf): Don't define as macro.  Declare hidden proto.
56084         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
56085         (__fsetlocking): Declare hidden proto.
56086         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
56087         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
56088         hidden proto.
56089         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
56090         (_IO_setlinebuf): Remove use of INTUSE.
56091         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
56092         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
56093         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
56094         Remove declaration.
56095         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
56096         (_IO_do_flush): Remove use of INTUSE.
56097         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
56098         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
56099         (_IO_adjust_column, _IO_least_wmarker)
56100         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
56101         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
56102         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
56103         (_IO_default_doallocate, _IO_wdefault_doallocate)
56104         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
56105         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
56106         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
56107         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
56108         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
56109         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
56110         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
56111         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
56112         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
56113         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
56114         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
56115         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
56116         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
56117         proto.
56118         (_IO_flush_all_internal, _IO_adjust_column_internal)
56119         (_IO_default_uflow_internal, _IO_default_finish_internal)
56120         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
56121         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
56122         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
56123         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
56124         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
56125         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
56126         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
56127         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
56128         (_IO_file_close_internal, _IO_file_close_it_internal)
56129         (_IO_file_underflow_internal, _IO_file_overflow_internal)
56130         (_IO_file_init_internal, _IO_file_attach_internal)
56131         (_IO_file_fopen_internal, _IO_file_read_internal)
56132         (_IO_file_sync_internal, _IO_file_seek_internal)
56133         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
56134         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
56135         (_IO_str_underflow_internal, _IO_str_overflow_internal)
56136         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
56137         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
56138         (_IO_list_all_internal, _IO_link_in_internal)
56139         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
56140         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
56141         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
56142         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
56143         (_IO_do_write_internal, _IO_padn_internal)
56144         (_IO_getline_info_internal, _IO_getline_internal)
56145         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
56146         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
56147         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
56148         (_IO_vfscanf_internal, _IO_vfprintf_internal)
56149         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
56150         (_IO_init_internal, _IO_un_link_internal): Don't declare.
56151         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
56152         with libc_hidden_ver, remove use of INTUSE.
56153         * libio/genops.c: Likewise.
56154         * libio/freopen.c: Likewise.
56155         * libio/freopen64.c: Likewise.
56156         * libio/iofclose.c: Likewise.
56157         * libio/iofdopen.c: Likewise.
56158         * libio/iofflush.c: Likewise.
56159         * libio/iofflush_u.c: Likewise.
56160         * libio/iofgets.c: Likewise.
56161         * libio/iofgets_u.c: Likewise.
56162         * libio/iofopen.c: Likewise.
56163         * libio/iofopncook.c: Likewise.
56164         * libio/iofread.c: Likewise.
56165         * libio/iofread_u.c: Likewise.
56166         * libio/ioftell.c: Likewise.
56167         * libio/iofwrite.c: Likewise.
56168         * libio/iogetline.c: Likewise.
56169         * libio/iogets.c: Likewise.
56170         * libio/iogetwline.c: Likewise.
56171         * libio/iopadn.c: Likewise.
56172         * libio/iopopen.c: Likewise.
56173         * libio/ioseekoff.c: Likewise.
56174         * libio/ioseekpos.c: Likewise.
56175         * libio/iosetbuffer.c: Likewise.
56176         * libio/iosetvbuf.c: Likewise.
56177         * libio/ioungetc.c: Likewise.
56178         * libio/ioungetwc.c: Likewise.
56179         * libio/iovdprintf.c: Likewise.
56180         * libio/iovsprintf.c: Likewise.
56181         * libio/iovsscanf.c: Likewise.
56182         * libio/memstream.c: Likewise.
56183         * libio/obprintf.c: Likewise.
56184         * libio/oldfileops.c: Likewise.
56185         * libio/oldiofclose.c: Likewise.
56186         * libio/oldiofdopen.c: Likewise.
56187         * libio/oldiofopen.c: Likewise.
56188         * libio/oldiopopen.c: Likewise.
56189         * libio/oldstdfiles.c: Likewise.
56190         * libio/putc.c: Likewise.
56191         * libio/setbuf.c: Likewise.
56192         * libio/setlinebuf.c: Likewise.
56193         * libio/stdfiles.c: Likewise.
56194         * libio/strops.c: Likewise.
56195         * libio/vasprintf.c: Likewise.
56196         * libio/vscanf.c: Likewise.
56197         * libio/vsnprintf.c: Likewise.
56198         * libio/vswprintf.c: Likewise.
56199         * libio/wfiledoalloc.c: Likewise.
56200         * libio/wfileops.c: Likewise.
56201         * libio/wgenops.c: Likewise.
56202         * libio/wmemstream.c: Likewise.
56203         * libio/wstrops.c: Likewise.
56204         * libio/__fpurge.c: Likewise.
56205         * libio/__fsetlocking.c: Likewise.
56206         * assert/assert.c: Likewise.
56207         * debug/fgets_chk.c: Likewise.
56208         * debug/fgets_u_chk.c: Likewise.
56209         * debug/fread_chk.c: Likewise.
56210         * debug/fread_u_chk.c: Likewise.
56211         * debug/gets_chk.c: Likewise.
56212         * debug/obprintf_chk.c: Likewise.
56213         * debug/vasprintf_chk.c: Likewise.
56214         * debug/vdprintf_chk.c: Likewise.
56215         * debug/vsnprintf_chk.c: Likewise.
56216         * debug/vsprintf_chk.c: Likewise.
56217         * malloc/mtrace.c: Likewise.
56218         * misc/error.c: Likewise.
56219         * misc/syslog.c: Likewise.
56220         * stdio-common/asprintf.c: Likewise.
56221         * stdio-common/fxprintf.c: Likewise.
56222         * stdio-common/getw.c: Likewise.
56223         * stdio-common/isoc99_fscanf.c: Likewise.
56224         * stdio-common/isoc99_scanf.c: Likewise.
56225         * stdio-common/isoc99_vfscanf.c: Likewise.
56226         * stdio-common/isoc99_vscanf.c: Likewise.
56227         * stdio-common/isoc99_vsscanf.c: Likewise.
56228         * stdio-common/printf-prs.c: Likewise.
56229         * stdio-common/printf_fp.c: Likewise.
56230         * stdio-common/printf_fphex.c: Likewise.
56231         * stdio-common/printf_size.c: Likewise.
56232         * stdio-common/putw.c: Likewise.
56233         * stdio-common/scanf.c: Likewise.
56234         * stdio-common/sprintf.c: Likewise.
56235         * stdio-common/tmpfile.c: Likewise.
56236         * stdio-common/vfprintf.c: Likewise.
56237         * stdio-common/vfscanf.c: Likewise.
56238         * stdlib/strfmon_l.c: Likewise.
56239         * sunrpc/openchild.c: Likewise.
56240         * sunrpc/xdr_stdio.c: Likewise.
56241         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
56242         * sysdeps/mach/hurd/tmpfile.c: Likewise.
56244 2012-05-24  Roland McGrath  <roland@hack.frob.com>
56246         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
56248         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
56249         in the third column, to generate for the shared library an IFUNC
56250         that uses _dl_vdso_vsym.
56251         * Makerules (COMPILE.c, compile-stdin.c): New variables.
56252         * Makeconfig (object-suffixes-noshared): New variable.
56254         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
56255         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
56256         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
56257         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
56259         [BZ #14132]
56260         * include/sys/time.h (__gettimeofday): Remove macro.
56261         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
56262         * time/gettimeofday.c (__gettimeofday): Remove #undef.
56263         Remove INTDEF.
56264         (__gettimeofday): Add libc_hidden_def.
56265         (gettimeofday): Add libc_hidden_weak.
56266         * sysdeps/mach/gettimeofday.c: Likewise.
56267         * sysdeps/posix/gettimeofday.c: Likewise.
56268         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
56269         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
56270         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
56271         (__gettimeofday_internal): Remove strong_alias.
56272         (__gettimeofday): Add libc_hidden_def.
56273         (gettimeofday): Add libc_hidden_weak.
56274         * sysdeps/unix/syscalls.list (gettimeofday):
56275         Remove __gettimeofday_internal alias.
56277 2012-05-24  Daniel Jacobowitz  <drow@false.org>
56278             H.J. Lu  <hongjiu.lu@intel.com>
56280         [BZ #12495]
56281         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
56282         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
56283         (largebin_index_32_big): New.
56284         (largebin_index): Use it for 16-byte alignment.
56285         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
56286         correction with front_misalign.
56288 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
56290         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
56291         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
56292         Likewise.
56293         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
56294         Likewise.
56295         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
56296         Likewise.
56297         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
56298         Likewise.
56299         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
56300         Likewise.
56301         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
56302         Likewise.
56303         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
56304         Likewise.
56305         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
56306         Likewise.
56307         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
56308         Likewise.
56309         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
56310         Likewise.
56311         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
56312         Likewise.
56313         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
56314         Likewise.
56316         * scripts/data/c++-types-x32-linux-gnu.data: New file.
56317         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
56319 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
56321         [BZ #10846]
56322         [BZ #14036]
56323         * math/libm-test.inc (exp_test): Add test from bug 14036.
56324         (pow_test): Add test from bug 10846.
56326         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
56327         and other flags.
56328         (special_function): Do not include flags in test name.
56329         (parse_args): Likewise.
56330         * sysdeps/i386/fpu/libm-test-ulps: Update.
56331         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
56332         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
56333         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
56334         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56336         * math/gen-libm-test.pl (%beautify): Add entries for underflow
56337         exceptions.
56338         * math/libm-test.inc ("Philosophy"): Update comment about
56339         exception testing.
56340         (UNDERFLOW_EXCEPTION): New macro.
56341         (UNDERFLOW_EXCEPTION_OK): Likewise.
56342         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
56343         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
56344         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
56345         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
56346         (INVALID_EXCEPTION_OK): Update value.
56347         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
56348         (OVERFLOW_EXCEPTION_OK): Likewise.
56349         (IGNORE_ZERO_INF_SIGN): Likewise.
56350         (test_exceptions): Handle underflow exceptions.
56351         (acos_test): Update for underflow exception expectations.
56352         (cexp_test): Likewise.
56353         (clog_test): Likewise.
56354         (clog10_test): Likewise.
56355         (csqrt_test): Likewise.
56356         (ctan_test): Likewise.
56357         (ctanh_test): Likewise.
56358         (exp_test): Likewise.
56359         (exp10_test): Likewise.
56360         (exp2_test): Likewise.
56361         (expm1_test): Likewise.
56362         (fma_test): Likewise.
56363         (j0_test): Likewise.
56364         (jn_test): Likewise.
56365         (nexttoward_test): Likewise.
56366         (pow_test): Likewise.
56367         (scalbn_test): Likewise.
56368         (scalbln_test): Likewise.
56369         (tan_test): Likewise.
56370         (y1_test): Likewise.
56371         * sysdeps/i386/fpu/libm-test-ulps: Update.
56372         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56374 2012-05-23  David S. Miller  <davem@davemloft.net>
56376         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
56377         (__libc_sigaction): Remove unused local variables.
56379 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
56381         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
56383 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
56385         mktime: avoid signed integer overflow
56386         * time/mktime.c (__mktime_internal): Do not mishandle the case
56387         where diff == INT_MIN.
56389         mktime: simplify computation of average
56390         * time/mktime.c (ranged_convert): Use new time_t_avg function
56391         instead of rolling our own (probably-slower) code.
56393         mktime: do not assume signed right shift propagates sign bit
56394         * time/mktime.c (isdst_differ): New static function.
56395         (__mktime_internal): No need to normalize tm_isdst now.
56396         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
56397         tm_isdst values.
56399         mktime: merge another wrapv change from gnulib
56400         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
56401         from some compilers.
56403         mktime: remove incorrect attempt at unusual arithmetics
56404         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
56405         The code didn't really work on such machines anyway.
56406         (TYPE_MINIMUM): Assume two's complement.
56407         (twos_complement_arithmetic): Verify that long_int and time_t
56408         are two's complement (or unsigned, in the latter case).
56410         mktime: check signed shifts on long_int and time_t, too
56411         * time/mktime.c (SHR): Check that shifts work as desired
56412         on the types long_int and time_t too, as SHR is used on
56413         such types.
56415         mktime: do not assume 'long' is wide enough
56416         * time/mktime.c (verify): Move decl up.
56417         (long_int): New type.
56418         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
56419         to remove assumption in the code that 'long' is wide enough to
56420         store year values.  This assumption is not true on x32 and on
56421         some non-glibc platforms.
56423         mktime: merge wrapv change from gnulib
56424         * time/mktime.c (WRAPV): New macro.
56425         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
56426         (guess_time_tm, __mktime_internal): Do not assume that signed
56427         integer overflow wraps around; modern compilers generate code
56428         where this assumption is no longer valid.
56430 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
56432         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
56433         Replace "jmp L(pseudo_end)" with "ret".
56434         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
56435         Likewise.
56437 2012-05-23  Andreas Jaeger  <aj@suse.de>
56439         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
56440         * sysdeps/unix/sysv/linux/poll.c: Remove file.
56442 2012-05-23  Andreas Jaeger  <aj@suse.de>
56443             Maximilian Attems  <max@stro.at>
56445         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
56446         New macros.
56448 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
56450         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
56451         code so that pseudo_end is just ret and the stack pointer is
56452         correct also for static library in error case.
56454 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
56456         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
56457         move to syscalls.list.
56458         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
56459         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
56460         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
56461         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
56463         * manual/install.texi (Running make install): Do not mention Linux
56464         kernel version for which pt_chown is not needed.
56465         (Linux): Do not mention problems with nscd with 2.0 kernels.
56466         * INSTALL: Regenerated.
56468 2012-05-23  Andreas Jaeger  <aj@suse.de>
56470         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
56471         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
56472         macro.
56473         * sysdeps/unix/sysv/linux/s390/bits/mman.h
56474         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
56475         * sysdeps/unix/sysv/linux/sh/bits/mman.h
56476         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
56477         * sysdeps/unix/sysv/linux/i386/bits/mman.h
56478         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
56479         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
56480         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
56481         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
56482         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
56483         * sysdeps/unix/sysv/linux/bits/in.h
56484         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
56486 2012-05-22  Roland McGrath  <roland@hack.frob.com>
56488         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
56489         (PREPARE_VERSION): Just use assert instead, it will be elided
56490         under [NDEBUG] anyway.
56492 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
56494         * sysdeps/unix/sysv/linux/Makefile: Include
56495         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
56496         (sysdep_routines): Remove sysctl.
56497         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
56498         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
56499         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
56500         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
56501         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
56503 2012-05-22  Andreas Jaeger  <aj@suse.de>
56505         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
56506         that pseudo_end is just ret and the stack pointer is correct also
56507         for static library in error case.
56509 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
56511         [BZ #14122]
56512         * nss/nsswitch.c (defconfig_entries): New variable.
56513         (__nss_database_lookup): Don't leak defconfig entries.
56514         (nss_parse_service_list): Don't leak on error paths.
56515         (free_database_entries): New function.
56516         (free_defconfig): New function.
56517         (free_mem): Move common code to free_database_entries.
56519 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
56521         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
56522         Add arch_prctl.
56523         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
56525         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
56526         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
56527         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
56528         New macro.
56529         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
56530         (INTERNAL_SYSCALL_TYPES): Likewise.
56531         (LOAD_ARGS_TYPES_[1-6]): Likewise.
56532         (LOAD_REGS_TYPES_[1-6]): Likewise.
56533         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
56534         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
56536 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56538         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
56539         copysignl for GLIBC_2_0.
56540         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
56541         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
56542         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
56543         logbl for GLIBC_2_0.
56544         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
56545         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
56547 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
56549         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
56550         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
56552         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
56553         Use "neg %eax".
56555         * time/mktime.c: Update copyright years.
56557 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
56559         mktime: merge comment-quoting-style change from gnulib
56560         * time/mktime.c: Quote 'like this' in comments.
56561         The GNU coding standards suggest that we no longer quote `like this',
56562         as "`" and "'" are typically rendered asymmetrically nowadays.
56563         The typical gnulib style is to quote 'like this' when quoting
56564         code, and "like this" when quoting English.
56566         * time/mktime.c (compile-command): Add "-I.".
56568         mktime: merge mktime-internal.h change from gnulib
56569         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
56571         mktime: merge time_r change from gnulib
56572         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
56574         mktime: merge DEBUG change from gnulib
56575         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
56576         case system <time.h> has a #define.
56578         mktime: merge <sys/types.h> change from gnulib
56579         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
56580         since <time.t> is now guaranteed to define time_t.
56582         mktime: merge HAVE_CONFIG_H change from gnulib
56583         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
56585 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
56587         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
56588         Use "neg %eax".
56590         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
56591         __rlim_t cast.
56592         (struct rusage): Use anonymous union to pad each field to
56593         __syscall_slong_t.
56595 2012-05-21  David S. Miller  <davem@davemloft.net>
56597         * Makefules (o-iterator): Remove .s cases.
56598         (compile-command.s): Delete.
56599         (COMPILE.s): Delete.
56600         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
56602 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
56604         * configure.in (libc_cv_predef_stack_protector): Only consider
56605         "foobar" and "__stack_chk_fail" lines in libc_undefs.
56606         * configure: Regenerated.
56608 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
56610         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
56611         New macro.  Use R*LP on int and pointer.
56612         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
56613         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
56614         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
56615         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
56617         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
56618         [__WORDSIZE_TIME64_COMPAT32] instead of
56619         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
56620         (struct utmp): Likewise.
56621         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
56622         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
56623         Renamed to ...
56624         (__WORDSIZE_TIME64_COMPAT32): This.
56625         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
56626         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
56627         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
56628         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
56629         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
56630         (__WORDSIZE_TIME64_COMPAT32): New macro.
56632 2012-05-21  Andreas Jaeger  <aj@suse.de>
56634         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
56635         only if [SHARED]. Add prototype for __wcschr_ia32.
56637 2012-05-21  Roland McGrath  <roland@hack.frob.com>
56639         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
56640         of %rbp unmolested in the jmp_buf while mangling the low bits.
56641         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
56642         unmolested high bits of %rbp while demangling the low bits.
56643         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
56645 2012-05-21  Andreas Jaeger  <aj@suse.de>
56647         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
56648         * sunrpc/svc_simple.c: Use it for registerrpc.
56649         * sunrpc/xcrypt.c: Use it for passwd2des.
56651         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
56653 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
56655         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
56656         Don't define if [__SYSCALL_WORDSIZE != 32].
56657         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
56658         New macro.
56660 2012-05-21  Bruno Haible  <bruno@clisp.org>
56661             Andreas Jaeger  <aj@suse.de>
56663         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
56664         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
56665         inptr and inend for must_buffer_ch.
56666         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
56667         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
56668         * stdio-common/Makefile (tests): Remove bug15.
56669         (bug15-ENV): Remove macro.
56670         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
56671         anymore.
56673 2012-05-19  Andreas Jaeger  <aj@suse.de>
56674             Roland McGrath  <roland@hack.frob.com>
56676         * manual/contrib.texi: Completely rewritten. It contains now an
56677         alphabetical list of contributors and their contributions.
56679 2012-05-21  Richard Henderson  <rth@twiddle.net>
56681         * misc/getauxval.c (__getauxval): Use unsigned long int.
56682         * misc/sys/auxv.h: Include <sys/cdefs.h>.
56683         (getauxval): Use unsigned long int.
56685 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
56687         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
56689 2012-05-21  Roland McGrath  <roland@hack.frob.com>
56691         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
56692         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
56693         __alignof__ (long double).
56695 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56697         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56699 2012-05-20  Richard Henderson  <rth@twiddle.net>
56701         * misc/getauxval.c: New file.
56702         * misc/sys/auxv.h: New file.
56703         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
56704         (routines): Add getauxval.
56705         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
56706         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
56707         * elf/dl-sysdep.c (_dl_auxv): Remove.
56708         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
56709         * elf/dl-support.c (_dl_auxv): New variable.
56710         (_dl_aux_init): Initialize it.
56711         * manual/startup.texi (Auxiliary Vector): New node.
56712         * sysdeps/generic/bits/hwcap.h: New file.
56713         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
56714         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
56715         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
56716         * sysdeps/sparc/sysdep.h: ... here.  Include it.
56717         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
56718         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
56719         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
56720         Update.
56721         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
56722         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
56723         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
56724         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
56725         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
56726         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
56727         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
56728         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
56730 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56732         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56734 2012-05-19  David S. Miller  <davem@davemloft.net>
56736         * sysdeps/sparc/fpu/libm-test-ulps: Update.
56738 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
56740         [BZ #14123]
56741         * math/s_ccosh.c: Include <float.h>
56742         (__ccosh): Avoid internal overflow calculating sinh and cosh
56743         values before multiplying by sin and cos values.
56744         * math/s_ccoshf.c: Likewise.
56745         * math/s_ccoshl.c: Likewise.
56746         * math/s_csin.c: Likewise.
56747         * math/s_csinf.c: Likewise.
56748         * math/s_csinl.c: Likewise.
56749         * math/s_csinh.c: Likewise.
56750         * math/s_csinhf.c: Likewise.
56751         * math/s_csinhl.c: Likewise.
56752         * math/libm-test.inc (ccos_test): Add more tests.
56753         (ccosh_test): Likewise.
56754         (csin_test): Likewise.
56755         (csinh_test): Likewise.
56756         * sysdeps/i386/fpu/libm-test-ulps: Update.
56757         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56759 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
56761         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
56762         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
56764         * sysdeps/x86_64/x32/_itoa.h: Add comment.
56766 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
56768         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
56769         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
56770         * sysdeps/powerpc/soft-fp/Versions: Likewise.
56771         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
56772         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
56773         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
56774         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
56775         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
56776         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
56777         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
56778         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
56779         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
56780         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
56781         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
56782         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
56783         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
56784         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
56785         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
56786         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
56787         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
56788         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
56789         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
56790         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
56791         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
56792         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
56793         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
56794         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
56795         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
56796         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
56797         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
56798         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
56800 2012-05-18  Andreas Jaeger  <aj@suse.de>
56802         * csu/.gitignore: Delete.
56804 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
56806         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
56807         (timex): Use __syscall_slong_t.
56809 2012-05-18  Andreas Jaeger  <aj@suse.de>
56810             Carlos O'Donell  <carlos_odonell@mentor.com>
56812         * manual/install.texi (Configuring and compiling): Update
56813         description about files modified in the source directory.
56814         * INSTALL: Regenerated.
56816 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
56818         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
56819         value.  Use "or" to set return value to -1.
56820         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
56821         negate return value.
56823 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
56825         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
56826         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
56827         failure if the compiler has Graphite support disabled.
56828         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
56829         Likewise.
56830         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
56831         (CFLAGS-memmove.c): Likewise.
56832         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
56833         Likewise.
56835 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
56837         * sysdeps/x86_64/x32/_itoa.h: New file.
56839         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
56840         getdents system call only if kernel and user dirents have the
56841         same d_ino and d_off.
56843         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
56844         LLONG_MAX != LONG_MAX.
56845         (_itoa_word): Use _ITOA_WORD_TYPE on value.
56846         (_fitoa_word): Likewise.
56848         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
56849         years.
56850         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
56851         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
56852         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
56854         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
56855         include <bits/wordsize.h>.  Check __x86_64__ instead of
56856         __WORDSIZE.
56857         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
56858         if __x86_64__ is defined.  Use anonymous union on fpstate.
56860         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
56861         anonymous union.
56863 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
56865         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
56866         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
56867         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
56868         Refer to _rtld_local_ro instead of _rtld_global_ro.
56869         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
56870         Likewise.
56871         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
56872         Likewise.
56873         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
56874         Likewise.
56875         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
56876         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
56877         of _rtld_global, and rtld_progname instead of _dl_argv[0].
56879         [BZ #10882]
56880         * sysdeps/powerpc/powerpc32/dl-machine.c
56881         (__elf_machine_runtime_setup) [PROF]: Don't reference
56882         _dl_prof_resolve.
56884 2012-05-18  Andreas Jaeger  <aj@suse.de>
56886         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
56887         function only available for GCCs before 3.4 since GCC 3.4
56888         introduced a builtin.
56889         (lrint): Likewise.
56890         (llrintf): Likewise.
56891         (llrint): Likewise.
56892         (fmaxf): Likewise.
56893         (fmax): Likewise.
56894         (fminf): Likewise.
56895         (fmin): Likewise.
56896         (rint): Likewise.
56897         (rintf): Likewise.
56898         (nearbyint): Likewise.
56899         (nearbyintf): Likewise.
56900         (ceil): Likewise.
56901         (ceilf): Likewise.
56902         (floor): Likewise.
56903         (floorf): Likewise.
56905 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
56907         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
56908         on both fields and cast pointer to __syscall_ulong_t.
56910         * bits/types.h (__fsword_t): New type.
56911         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
56912         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
56913         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
56914         (__FSWORD_T_TYPE): Likewise.
56915         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
56916         (__FSWORD_T_TYPE): Likewise.
56917         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
56918         (__FSWORD_T_TYPE): Likewise.
56919         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
56920         (__FSWORD_T_TYPE): Likewise.
56921         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
56922         __SWORD_TYPE with __fsword_t.
56923         (statfs64): Likewise.
56925 2012-05-17  David S. Miller  <davem@davemloft.net>
56927         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
56929 2012-05-17  Andreas Jaeger  <aj@suse.de>
56931         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
56932         warning.
56934 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
56936         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
56938 2012-05-17  Andreas Jaeger  <aj@suse.de>
56940         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
56941         when it is used.
56943 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
56945         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
56947 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
56949         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
56950         * sysdeps/x86_64/tst-mallocalign1.c: New file.
56952 2012-05-17  Andreas Jaeger  <aj@suse.de>
56953             Carlos O'Donell  <carlos_odonell@mentor.com>
56955         [BZ #14059]
56956         * sysdeps/x86_64/multiarch/init-arch.h
56957         (bit_YMM_Usable): Rename to...
56958         (bit_AVX_Usable): ... this.
56959         (bit_FMA4_Usable): New macro.
56960         (bit_XMM_state): New macro.
56961         (bit_YMM_state): New macro.
56962         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
56963         [__ASSEMBLER__] (index_AVX_Usable): ... this.
56964         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
56965         (CPUID_OSXSAVE): New macro.
56966         (CPUID_AVX): New macro.
56967         (CPUID_FMA4): New macro.
56968         (index_YMM_Usable): Rename to...
56969         (index_AVX_Usable): ... this.
56970         (HAS_AVX): Use HAS_ARCH_FEATURE.
56971         (HAS_FMA4): Likewise.
56972         (HAS_YMM_USABLE): Remove.
56973         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
56974         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
56975         are present.
56976         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
56977         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
56978         * sysdeps/x86_64/multiarch/Makefile: Likewise.
56979         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
56980         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
56982 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
56984         * math/libm-test.c: Support platforms without multiple rounding modes.
56985         * math/bug-nextafter.c: Support platforms without FP exceptions.
56986         * math/bug-nexttoward.c: Likewise.
56987         * math/test-fenv.c: Likewise.
56988         * math/test-misc.c: Likewise.
56989         * stdlib/bug-getcontext.c: Likewise.
56991 2012-05-17  Andreas Jaeger  <aj@suse.de>
56993         * manual/examples/search.c (critter_cmp): Change signature to
56994         avoid warnings.
56995         * manual/string.texi (Collation Functions): Likewise.
56997 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
56999         * bits/types.h: Fold copyright years.
57000         * bits/typesizes.h: Likewise.
57001         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
57002         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
57003         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
57004         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
57005         * time/time.h: Likewise.
57007 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
57009         [BZ #208]
57010         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
57011         in instead of returning them.  Return void.
57012         (__libc_mallinfo): Accumulate over all arenas.
57013         (__malloc_stats): Adjust for change in int_mallinfo interface.
57015 2012-05-16  Roland McGrath  <roland@hack.frob.com>
57017         [BZ #10375]
57018         * configure.in (NM): Add AC_CHECK_TOOL for it.
57019         (libc_extra_cflags): New substituted variable.
57020         Check for -fstack-protector being used implicitly.
57021         * configure: Regenerated.
57022         * config.make.in (config-extra-cflags): New variable,
57023         gets @libc_extra_cflags@.
57024         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
57026         [BZ #10375]
57027         * configure.in: Check for _FORTIFY_SOURCE being predefined.
57028         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
57029         * configure: Regenerated.
57030         * config.make.in (CPPUNDEFS): New substituted variable.
57031         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
57032         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
57033         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
57035 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
57037         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
57038         (mq_attr): Use __syscall_slong_t.
57040 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
57042         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
57043         Check __x86_64__ instead of __WORDSIZE.
57044         (_STAT_VER_LINUX): Likewise.
57045         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
57046         __syscall_ulong_t and __syscall_slong_t.
57047         (stat64): Likewise.
57049 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
57051         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
57053 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
57055         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
57057 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
57059         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
57060         __syscall_ulong_t.
57062         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
57063         include <bits/wordsize.h>.  Check __x86_64__ instead of
57064         __WORDSIZE.
57065         (greg_t): Use "__extension__ long long int" if __x86_64__ is
57066         defined.
57067         (mcontext_t): Replace "unsigned long" with "unsigned long long".
57069         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
57070         include <bits/wordsize.h>.  Check __x86_64__ instead of
57071         __WORDSIZE.
57072         (user_regs_struct): Use "__extension__ unsigned long long"
57073         instead of "unsigned long" if __x86_64__ is defined.
57074         (user): Likewise.  Pad after pointer field if __ILP32__ is
57075         defined.
57077 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
57079         * configure.in (makeinfo): Require version 4.5 or later.  Allow
57080         versions 5 to 9.
57081         * configure: Regenerated.
57082         * manual/install.texi (texinfo): Increase version requirement to
57083         4.5 or later.
57084         * INSTALL: Regenerated.
57086         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
57088 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
57090         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
57092         * sysdeps/x86_64/x32/ffs.c: New file.
57094         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
57095         __syscall_ulong_t.
57096         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
57097         defined.  Use __syscall_ulong_t.
57098         (shminfo): Use __syscall_ulong_t.
57099         (shm_info): Likewise.
57101         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
57102         __syscall_ulong_t.
57104         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
57105         <bits/wordsize.h>.
57106         (msgqnum_t): Use __syscall_ulong_t.
57107         (msglen_t): Likewise.
57108         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
57109         __syscall_ulong_t.
57111         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
57112         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
57114         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
57116         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
57117         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
57119         * sysvipc/sys/msg.h (msgbuf): Replace long int with
57120         __syscall_slong_t.
57122         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
57123         include <bits/wordsize.h>.  Check __x86_64__ instead of
57124         __WORDSIZE.
57126         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
57127         "unsigned long long int" if __x86_64__ is defined.
57128         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
57130         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
57131         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
57132         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
57134         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
57135         <stdint.h>.
57136         (GET_PC): Cast to uintptr_t first.
57137         (GET_FRAME): Likewise.
57138         (GET_STACK): Likewise.
57140         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
57141         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
57142         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
57143         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
57144         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
57145         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
57146         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
57147         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
57148         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
57149         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
57150         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
57151         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
57152         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
57153         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
57154         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
57155         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
57156         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
57157         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
57158         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
57159         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
57160         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
57161         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
57162         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
57163         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
57164         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
57165         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
57166         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
57167         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
57168         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
57170 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
57172         * Makerules (+depfiles): Also collect depfiles from .oS in
57173         $(extra-objs).
57174         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
57175         .oS, $(libnldbl-routines)).
57177         * Makerules (native-compile-mkdep-flags): Define.
57178         * sunrpc/Makefile (extra-objs): Add $(addprefix
57179         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
57180         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
57181         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
57182         calling $(make-target-directory).
57184 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
57186         * bits/types.h (__snseconds_t): Removed.
57187         * time/time.h (struct timespec): Replace __snseconds_t with
57188         __syscall_slong_t.
57189         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
57190         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
57191         Likewise.
57192         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
57193         (__SNSECONDS_T_TYPE): Likewise.
57194         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
57195         (__SNSECONDS_T_TYPE): Likewise.
57196         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
57197         (__SNSECONDS_T_TYPE): Likewise.
57199 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
57201         * sysdeps/mach/hurd/bits/typesizes.h
57202         (__SYSCALL_SLONG_TYPE): New macro.
57203         (__SYSCALL_ULONG_TYPE): Likewise.
57205 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
57207         * bits/types.h (__syscall_slong_t): New type.
57208         (__syscall_ulong_t): Likewise.
57210         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
57211         (__SYSCALL_ULONG_TYPE): Likewise.
57212         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
57213         (__SYSCALL_SLONG_TYPE): Likewise.
57214         (__SYSCALL_ULONG_TYPE): Likewise.
57215         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
57216         (__SYSCALL_SLONG_TYPE): Likewise.
57217         (__SYSCALL_ULONG_TYPE): Likewise.
57218         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
57219         (__SYSCALL_SLONG_TYPE): Likewise.
57220         (__SYSCALL_ULONG_TYPE): Likewise.
57222 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
57224         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
57225         Add sigaltstack-offsets.sym.
57226         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
57227         <sigaltstack-offsets.h>.
57228         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
57229         longjmp_msg pointer.
57230         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
57231         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
57232         signal stack.
57233         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
57235 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
57237         * elf/stackguard-macros.h: Remove file.
57238         * sysdeps/generic/stackguard-macros.h: New file.
57239         * sysdeps/i386/stackguard-macros.h: Likewise.
57240         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
57241         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
57242         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
57243         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
57244         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
57245         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
57246         * sysdeps/x86_64/stackguard-macros.h: Likewise.
57247         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
57248         <elf/stackguard-macros.h>.
57250         [BZ #14109]
57251         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
57252         __aligned__ in attribute.
57253         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
57254         (gregset_t): Likewise.
57256 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
57258         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
57259         * sysdeps/x86_64/64/Implies-after: Here.  New file.
57260         * sysdeps/x86_64/x32/Implies-after: New file.
57262 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
57264         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
57265         and access return value for _dl_profile_fixup.  Use R10_LP to
57266         load frame size.
57268 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
57270         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
57272 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
57274         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
57275         * sysdeps/x86_64/x32/sysdep.h: New file.
57277 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
57279         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
57280         * sysdeps/x86_64/setjmp.S: Likewise.
57282 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57284         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
57285         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
57286         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
57287         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
57288         remove unused global constant.
57290 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
57292         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
57293         include of <not-cancel.h>.
57295 2012-05-15  Roland McGrath  <roland@hack.frob.com>
57297         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
57299 2012-05-15  Jeff Law  <law@redhat.com>
57300             Andreas Jaeger  <aj@suse.de>
57302         [BZ #13594]
57303         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
57304         out from...
57305         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
57306         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
57307         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
57308         code changing __hst_map_handle.map.
57310 2012-05-15  Roland McGrath  <roland@hack.frob.com>
57312         * configure.in (sysnames): Look for Implies-before and Implies-after
57313         files.
57314         * configure: Regenerated.
57316 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
57318         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
57319         8-byte data alignment with LP_SIZE alignment.
57321 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
57323         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
57324         into R10_LP.
57326 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
57328         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
57330 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
57332         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
57333         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
57334         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
57335         Likewise.
57336         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
57338 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
57340         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
57341         (stackinfo_sub_sp): Likewise.
57343 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
57345         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
57346         RAX_LP.
57348 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
57350         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
57351         into R*_LP.
57353 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
57355         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
57356         sizes into R*_LP.
57358 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
57360         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
57362 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
57364         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
57365         into R11_LP and load __x86_64_shared_cache_size_half into
57366         R8_LP.
57368 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
57370         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
57371         R8_LP.
57373 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57375         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
57376         logb for POWER7.
57377         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
57378         logbf for POWER7.
57379         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
57380         logbl for POWER7.
57381         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
57382         powerpc32/power7/fpu/s_logb.c via #include.
57383         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
57384         powerpc32/power7/fpu/s_logbf.c via #include.
57385         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
57386         powerpc32/power7/fpu/s_logbl.c via #include.
57388 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
57390         * README.libm: Remove file.
57392 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
57394         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
57395         count for x32.  Use R*_LP and omit operand-size suffix.
57397 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
57399         * shlib-versions: Move x86_64-.*-linux.* entries to ...
57400         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
57401         * sysdeps/x86_64/x32/shlib-versions: New file.
57403 2012-05-14  Roland McGrath  <roland@hack.frob.com>
57405         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
57406         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
57407         Use _dl_fatal_printf instead.
57409 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
57411         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
57412         set if not set by the user.  Do not allow for being unset.
57413         * sysdeps/unix/sysv/linux/configure: Regenerated.
57415 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
57417         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
57418         the `q' suffix from lea and replace .quad with ASM_ADDR.
57420 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
57422         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
57423         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
57424         instead of $17.
57425         (PTR_DEMANGLE): Likewise.
57427 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
57429         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
57430         (LP_OP): Likewise.
57431         (ASM_ADDR): Likewise.
57432         (RAX_LP): Likewise.
57433         (RBP_LP): Likewise.
57434         (RBX_LP): Likewise.
57435         (RCX_LP): Likewise.
57436         (RDI_LP): Likewise.
57437         (RSI_LP): Likewise.
57438         (RSP_LP): Likewise.
57439         (R8_LP): Likewise.
57440         (R9_LP): Likewise.
57441         (R10_LP): Likewise.
57442         (R10_LP): Likewise.
57443         (R11_LP): Likewise.
57444         (R12_LP): Likewise.
57445         (R13_LP): Likewise.
57446         (R14_LP): Likewise.
57447         (R15_LP): Likewise.
57449 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
57451         * sysdeps/x86_64/x32/dl-machine.h: New file.
57453 2012-05-14  Andreas Jaeger  <aj@suse.de>
57455         * manual/Makefile (subdir): Remove export of subdir.
57456         (all): Remove target.
57457         (.PHONY): Remove all from list.
57458         (mkinstalldirs): Remove.
57459         (.PHONY): Remove installdirs from list.
57460         ($(inst_infodir)/libc.info): Use make-target-directory.
57461         (installdirs): Remove.
57462         (subdir_%): Remove.
57463         (glibc-targets): Remove.
57464         (lib): Remove.
57465         (stubs): Remove.
57466         ($(objpfx)stubs ../po/manual.pot): Remove.
57467         ($(objpfx)stamp%): Remove.
57468         (make-target-directory): Remove.
57469         (subdir_install): Remove.
57470         (routines): Remove.
57471         (aux): Remove.
57472         (sources): Remove.
57473         (objects): Remove.
57474         (headers): Remove.
57476         [BZ #13750]
57477         * manual/.gitignore: Remove, it's not needed anymore.
57478         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
57479         all files in it.
57480         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
57481         directory.
57482         (texis): Renamed to $(objpfx)texis.
57483         (texis-path): New, contains path to generated files.
57484         (chapters.%): Use texis-path for complete path, add extra argument
57485         libc-texinfo.sh.
57486         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
57487         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
57488         (summary,texi, stamp-summary): Use complete path of
57489         files. Generate files in build dir.
57490         (dir-add.texi): Build in build dir.
57491         (libm-err.texi,stamp-libm-err): Likewise.
57492         (version.texi, stamp-version): Likewise.
57493         (.%c.texi): Likewise.
57494         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
57495         (mostlyclean): Remove target.
57496         (realclean): Remove target.
57497         (generated): Add new variable with contents from mostlyclean and
57498         realclean, remove entries duplicated in common-mostlyclean, add
57499         stamp-libm-err and stamp-version.
57500         (generated-dirs): Add libc directory.
57501         ($(inst_infodir)/libc.info): Install files from build dir.
57503         * manual/install.texi (Configuring and compiling): Adjust since
57504         the info files are not part of the tar ball anymore.
57506 2012-05-14  Andreas Jaeger  <aj@suse.de>
57508         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
57509         variable.
57511 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
57513         [BZ #13717]
57514         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
57515         to 2.2.0 where earlier.
57516         * sysdeps/unix/sysv/linux/configure: Regenerated.
57517         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
57518         Remove conditional code.
57519         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
57520         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
57521         Remove conditional code.
57522         [!__NR_lchown]: Likewise.
57523         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
57524         [__NR_lchown]: Likewise.
57525         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
57526         comment referencing __ASSUME_LCHOWN_SYSCALL.
57527         * sysdeps/unix/sysv/linux/i386/sigaction.c
57528         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
57529         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
57530         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
57531         Remove conditional code.
57532         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
57533         (__protocol_available): Remove #if 0 code.
57534         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
57535         conditional code.
57536         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
57537         * sysdeps/unix/sysv/linux/kernel-features.h
57538         (__ASSUME_GETCWD_SYSCALL): Don't define.
57539         (__ASSUME_REALTIME_SIGNALS): Likewise.
57540         (__ASSUME_PREAD_SYSCALL): Likewise.
57541         (__ASSUME_PWRITE_SYSCALL): Likewise.
57542         (__ASSUME_POLL_SYSCALL): Likewise.
57543         (__ASSUME_LCHOWN_SYSCALL): Likewise.
57544         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
57545         non-SPARC.
57546         (__ASSUME_SIOCGIFNAME): Don't define.
57547         (__ASSUME_MSG_NOSIGNAL): Likewise.
57548         (__ASSUME_SENDFILE): Define unconditionally.
57549         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
57550         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
57551         conditional code.
57552         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
57553         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
57554         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
57555         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
57556         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
57557         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
57558         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
57559         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
57560         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
57561         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
57562         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
57563         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
57564         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
57565         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
57566         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
57567         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
57568         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
57569         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
57570         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
57571         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
57572         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
57573         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
57574         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
57575         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
57576         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
57577         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
57578         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
57579         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
57580         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
57581         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
57582         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
57583         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
57584         Remove conditional code.
57585         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
57586         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
57587         Remove conditional code.
57588         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
57589         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
57590         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
57591         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
57592         Remove conditional code.
57593         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
57594         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
57595         Remove conditional code.
57596         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
57597         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
57598         Remove conditional code.
57599         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
57600         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
57601         Remove conditional code.
57602         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
57603         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
57604         Remove conditional code.
57605         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
57606         * sysdeps/unix/sysv/linux/sh/pwrite64.c
57607         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
57608         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
57609         * sysdeps/unix/sysv/linux/sigaction.c
57610         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
57611         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
57612         * sysdeps/unix/sysv/linux/sigpending.c
57613         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
57614         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
57615         * sysdeps/unix/sysv/linux/sigprocmask.c
57616         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
57617         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
57618         * sysdeps/unix/sysv/linux/sigsuspend.c
57619         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
57620         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
57621         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
57622         (__libc_missing_rt_sigs): Remove.
57623         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
57624         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
57625         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
57626         Remove conditional code.
57627         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
57628         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
57629         return 1.
57630         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
57631         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
57632         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
57633         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
57635 2012-05-14  Andreas Jaeger  <aj@suse.de>
57637         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
57638         it's not used in glibc.
57639         (__coshm1): Likewise.
57640         (__acosh1p): Likewise.
57641         (__sgn): Likewise.
57643         * manual/string.texi (Copying and Concatenation): Add missing
57644         variable in concat example.
57645         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
57647 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
57649         [BZ #14103]
57650         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
57651         __builtin_clzl with __builtin_clzll.
57653 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
57655         [BZ #14104]
57656         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
57657         libc_freeres_ptr.
57659 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57661         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
57662         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
57663         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
57664         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
57666 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
57668         * NEWS: Update ia64 info.
57670 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
57672         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
57673         used as bcopy.
57675 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
57677         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
57678         * sysdeps/unix/syscalls.list (dup3): Likewise.
57679         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
57680         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
57682 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
57684         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
57685         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
57687 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
57689         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
57690         thread pointer.
57691         (TLS_IE): Use mov/add instead of movq/addq to load thread
57692         pointer.
57693         (TLS_GD_PREFIX): New.
57694         (TLS_GD): Use it.
57696 2012-05-11  David S. Miller  <davem@davemloft.net>
57698         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
57699         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
57700         (_FPU_SETCW): Likewise.
57702 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
57704         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
57705         is 32-byte aligned.
57707 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
57709         [BZ #11837]
57710         * iconvdata/gb18030.c: Update tables.
57711         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
57712         characters specially.
57713         (BODY for TO_LOOP): Add encoding of missing ranges.
57715 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
57717         [BZ #13673]
57718         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
57719         * sysdeps/mach/hurd/dup3.c: Likewise.
57720         * sysdeps/mach/hurd/readlinkat.c: Likewise.
57721         * sysdeps/powerpc/memmove.c:: Likewise.
57723 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
57725         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
57726         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
57728 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
57730         * elf/elf.h (R_X86_64_RELATIVE64): New.
57731         (R_X86_64_NUM): Updated.
57732         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
57733         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
57734         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
57735         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
57736         tst-quad1pie tst-quad2pie
57737         (modules-names): Add tst-quadmod1 tst-quadmod2.
57738         ($(objpfx)tst-quad1): New dependency.
57739         ($(objpfx)tst-quad2): Likewise.
57740         ($(objpfx)tst-quad1pie): Likewise.
57741         ($(objpfx)tst-quad2pie): Likewise.
57742         * sysdeps/x86_64/tst-quad1.c: New file.
57743         * sysdeps/x86_64/tst-quad1pie.c: New file.
57744         * sysdeps/x86_64/tst-quad2.c: Likewise.
57745         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
57746         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
57747         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
57748         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
57749         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
57751 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
57753         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
57754         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
57755         * streams/stropts.h (t_scalar_t): Define type.
57757         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
57758         (_PATH_PRESERVE): Set to "/var/lib".
57759         (_PATH_RWHODIR): Set to "/var/spool/rwho".
57761         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
57762         instead of int.
57764         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
57765         if __dir_mkfile succeeded.
57767         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
57768         checking for _hurd_dtablesize.  Unlock it right after having
57769         finished _hurd_dtable allocation.
57771 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
57773         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
57774         * sysdeps/mach/hurd/configure: Regenerated.
57775         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
57776         special-casing to...
57777         * sysdeps/gnu/configure.in: ... this new file.
57778         * sysdeps/unix/sysv/linux/configure: Regenerated.
57779         * sysdeps/gnu/configure: New generated file.
57781         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
57782         for Linux: use nsec instead of usec, as well as:
57783         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
57784         members of type struct timespec.
57785         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
57786         New macros.
57787         (struct stat64): Likewise.
57788         (_STATBUF_ST_NSEC): New macro.
57789         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
57791         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
57792         __strtoul_internal rather than strtoul.
57794 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
57796         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
57797         and reject them.
57799 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
57801         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
57802         which preserves existing values.
57803         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
57805 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
57807         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
57808         TIMEOUT values.  Return EINVAL for NFDS values either negative or
57809         greater than FD_SETSIZE.
57811 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
57813         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
57814         allocated, call __vm_protect to finish enabling the existing space, and
57815         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
57816         allocate the remainder.
57818 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
57820         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
57821         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
57823 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
57825         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
57826         sysdeps/mach/hurd/readlink.c.
57828         * posix/tst-sysconf.c (posix_options): Only use
57829         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
57830         _POSIX_SYNCHRONIZED_IO when they are defined
57831         * sysdeps/mach/hurd/bits/posix_opt.h:
57832         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
57833         (_XOPEN_REALTIME): Undefine macro.
57834         (_XOPEN_REALTIME_THREADS): Undefine macro.
57835         (_XOPEN_SHM): Undefine macro.
57836         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
57837         macro to -1.
57838         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
57839         macro to -1.
57840         (_POSIX_ASYNC_IO): Undefine macro.
57841         (_POSIX_PRIORITIZED_IO): Undefine macro.
57842         (_POSIX_SPIN_LOCKS): Define macro to -1.
57844         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
57845         SA_NODEFER, SA_RESETHAND.
57846         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
57847         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
57848         F_DUPFD_CLOEXEC.
57850 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
57852         * elf/Makefile (pldd-modules): Define unconditionally.
57854 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
57856         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
57858 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
57860         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
57861         Return ENOENT when name is empty.
57862         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
57864 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
57866         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
57868         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
57870 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
57872         Fix mlock in all cases except non-readable pages.
57873         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
57874         instead of VM_PROT_ALL as parameter to __vm_wire function.
57876         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
57877         (__mkdir): When path is `/', just fail with EEXIST.
57878         * sysdeps/mach/hurd/mkdirat.c: Likewise.
57880 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
57882         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
57883         <sys/uio.h> (for writev).
57884         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
57885         and <sys/param.h> (for MIN).
57887 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
57889         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
57890         REQUESTED_TIME.  Properly set the remaining time and return EINTR
57891         if interrupted.
57893 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
57895         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
57896         Depend on against $(link-rpcuserlibs).
57898 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
57900         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
57901         (__libc_stack_end): Do not use attribute_relro.
57902         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
57903         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
57904         to libthread-provided value.
57905         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
57906         attribute_relro.
57908 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
57910         [BZ #3748]
57911         * bits/libc-lock.h (__libc_once_get): New macro.
57912         * sysdeps/mach/bits/libc-lock.h: Likewise.
57913         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
57914         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
57915         instead of using implementation details.
57917         * libio/fileops.c: Unconditionally include <kernel-features.h>.
57918         * libio/freopen.c: Likewise.
57919         * libio/freopen64.c: Likewise.
57920         * misc/syslog.c: Likewise.
57921         * nscd/connections.c: Likewise.
57922         * nscd/netgroupcache.c: Likewise.
57923         * sysdeps/posix/getcwd.c: Likewise.
57925 2012-05-10  Roland McGrath  <roland@hack.frob.com>
57927         * math/w_ilogbf.c: Add #include <limits.h>.
57929 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
57931         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
57932         path instead of returning without unlocking.
57934         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
57935         immediate-write ioctls.
57936         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
57938 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
57940         * sysdeps/mach/hurd/i386/init-first.c (init): Use
57941         __builtin_frame_address instead of making assumptions about the
57942         location of the return address relative to DATA.  Force early load of
57943         the return address.
57944         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
57945         __builtin_frame_address.
57947         dup3 for GNU Hurd.
57948         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
57949         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
57950         implement dup3 and do some further code clean-ups.
57951         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
57952         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
57954 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
57956         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
57958         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
57959         HURD_CRITICAL_END around holding _hurd_dtable_lock.
57960         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
57961         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
57962         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
57963         d->port.lock.
57965         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
57966         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
57967         when handler == SIG_ERR, not when handler != SIG_ERR.
57969 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
57971         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
57972         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
57973         definitions.
57975         accept4 for GNU Hurd.
57976         * include/sys/socket.h (__libc_accept4): New prototype.
57977         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
57978         to implement __libc_accept4.
57979         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
57980         __libc_accept4.
57981         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
57983         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
57984         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
57985         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
57986         signal-defines.sym.
57988 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
57990         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
57992 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
57994         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
57995         assertion on O_CLOEXEC flag.
57996         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
57997         * hurd/intern-fd.c: Likewise.
57998         * hurd/port2fd.c: Likewise.
58000 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
58002         [BZ #3906]
58003         * bits/in.h (IPV6_PKTINFO): Define new macro.
58004         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
58006 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58008         [BZ #13954]
58009         [BZ #13955]
58010         [BZ #13956]
58011         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
58012         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
58013         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
58014         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
58015         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
58016         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
58017         * math/libm-test.inc (logb_test) : Additional logb tests.
58019 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
58020             Andreas Jaeger  <aj@suse.de>
58022         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
58023         * configure: Regenerated.
58024         * config.h.in (LINK_OBSOLETE_RPC): New macro.
58025         * config.make.in (link-obsolete-rpc): New substituted variable.
58026         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
58027         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
58028         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
58029         (shared-only-routines): Don't set it under [link-obsolete-rpc],
58030         so that libc.a contains the symbols.
58031         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
58032         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
58033         * sunrpc/auth_none.c: Likewise.
58034         * sunrpc/auth_unix.c: Likewise.
58035         * sunrpc/authdes_prot.c: Likewise.
58036         * sunrpc/authuxprot.c: Likewise.
58037         * sunrpc/clnt_gen.c: Likewise.
58038         * sunrpc/clnt_perr.c: Likewise.
58039         * sunrpc/clnt_raw.c: Likewise.
58040         * sunrpc/clnt_simp.c: Likewise.
58041         * sunrpc/clnt_tcp.c: Likewise.
58042         * sunrpc/clnt_udp.c: Likewise.
58043         * sunrpc/clnt_unix.c: Likewise.
58044         * sunrpc/des_crypt.c: Likewise.
58045         * sunrpc/des_soft.c: Likewise.
58046         * sunrpc/get_myaddr.c: Likewise.
58047         * sunrpc/key_call.c: Likewise.
58048         * sunrpc/key_prot.c: Likewise.
58049         * sunrpc/netname.c: Likewise.
58050         * sunrpc/pm_getmaps.c: Likewise.
58051         * sunrpc/pm_getport.c: Likewise.
58052         * sunrpc/pmap_clnt.c: Likewise.
58053         * sunrpc/pmap_prot.c: Likewise.
58054         * sunrpc/pmap_prot2.c: Likewise.
58055         * sunrpc/pmap_rmt.c: Likewise.
58056         * sunrpc/publickey.c: Likewise.
58057         * sunrpc/rpc_cmsg.c: Likewise.
58058         * sunrpc/rpc_common.c: Likewise.
58059         * sunrpc/rpc_dtable.c: Likewise.
58060         * sunrpc/rpc_prot.c: Likewise.
58061         * sunrpc/rpc_thread.c: Likewise.
58062         * sunrpc/rtime.c: Likewise.
58063         * sunrpc/svc.c: Likewise.
58064         * sunrpc/svc_auth.c: Likewise.
58065         * sunrpc/svc_raw.c: Likewise.
58066         * sunrpc/svc_run.c: Likewise.
58067         * sunrpc/svc_tcp.c: Likewise.
58068         * sunrpc/svc_udp.c: Likewise.
58069         * sunrpc/svc_unix.c: Likewise.
58070         * sunrpc/svcauth_des.c: Likewise.
58071         * sunrpc/xcrypt.c: Likewise.
58072         * sunrpc/xdr.c: Likewise.
58073         * sunrpc/xdr_array.c: Likewise.
58074         * sunrpc/xdr_float.c: Likewise.
58075         * sunrpc/xdr_intXX_t.c: Likewise.
58076         * sunrpc/xdr_mem.c: Likewise.
58077         * sunrpc/xdr_rec.c: Likewise.
58078         * sunrpc/xdr_ref.c: Likewise.
58079         * sunrpc/xdr_sizeof.c: Likewise.
58080         * sunrpc/xdr_stdio.c: Likewise.
58082 2012-05-10  Roland McGrath  <roland@hack.frob.com>
58084         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
58085         change.  Update copyright years.
58087 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
58089         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
58091 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
58092             Joseph Myers  <joseph@codesourcery.com>
58093             Paul Pluzhnikov  <ppluzhnikov@google.com>
58095         [BZ #14012]
58096         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
58097         requiring rpcgen.
58098         [cross-compiling] (extra-libs): Likewise.
58099         [cross-compiling] (extra-libs-others): Likewise.
58100         [cross-compiling] (librpcsvc-routines): Likewise.
58101         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
58102         [cross-compiling] (omit-deps): Likewise.
58103         (sunrpc-CPPFLAGS): New variable.
58104         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
58105         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
58106         (cross-rpcgen-objs): New variable.
58107         (extra-objs): Append $(cross-rpcgen-objs).
58108         ($(cross-rpcgen-objs)): New rule.
58109         ($(objpfx)cross-rpcgen): Likewise.
58110         (rpcgen-cmd): Define to use $(built-program-file).  Expand
58111         comment.
58112         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
58113         ($(objpfx)x%.stmp): Likewise.
58114         * sunrpc/proto.h [IS_IN_build] (_): Define.
58115         [IS_IN_build] (_libc_intl_domainname): Likewise.
58117 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
58119         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
58120         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
58121         and R_X86_64_TPOFF64.
58123 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
58125         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
58126         sysdeps/unix/sysv/syscalls.list.
58127         (stime): Likewise.
58128         (utime): Likewise.
58129         * sysdeps/unix/sysv/syscalls.list: Remove file.
58131 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
58133         [BZ #3440]
58134         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
58135         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
58136         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
58137         (__LC_IDENTIFICATION): Make these macros useful in #if
58138         expressions, as required by C99.
58140 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
58142         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
58143         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
58144         after this.
58146 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
58148         * stdlib/longlong.h: Updated from GCC.
58150 2012-05-09  Andreas Jaeger  <aj@suse.de>
58152         * nscd/nscd.c (run_modes): Make named enum, reorder so that
58153         default is first entry.
58154         (run_mode): Set type.
58155         (main): Remove informal message about syslog.
58156         (options): Fix typo.
58158         [BZ #14053]
58159         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
58160         to asm.
58161         (lrint): Likewise.
58162         (llrintf): Likewise.
58163         (llrint): Likewise.
58164         (rint): Likewise.
58165         (rintf): Likewise.
58166         (nearbyint): Likewise.
58167         (nearbyintf): Likewise.
58169 2012-05-09  Andreas Jaeger  <aj@suse.de>
58170             Pedro Alves  <palves@redhat.com>
58172         * nscd/nscd.c (run_mode): Use enum.
58173         (main): Cleanup coding style issue.
58175 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
58176             Andreas Jaeger  <aj@suse.de>
58178         * nscd/nscd.c (go_background): Replaced with...
58179         (run_mode): ... this.
58180         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
58181         (options): Add -F --foreground.
58182         (main): Implement it.
58183         (parse_opt): Parse it.
58185 2012-05-09  Andreas Jaeger  <aj@suse.de>
58187         [BZ #14083]
58188         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
58189         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
58190         -Wconversion warning.
58191         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
58192         Likewise.
58194 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
58196         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
58197         == 0.
58198         (LC_ALL): Use macro-int-constant.
58199         (LC_COLLATE): Likewise.
58200         (LC_CTYPE): Likewise.
58201         (LC_MESSAGES): Likewise.
58202         (LC_MONETARY): Likewise.
58203         (LC_NUMERIC): Likewise.
58204         (LC_TIME): Likewise.
58205         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
58206         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
58207         [ISO || ISO99 || ISO11] (*_t): Do not allow.
58208         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
58209         Specify type.
58210         [C99-based standards] (float_t): Expect type.
58211         [C99-based standards] (double_t): Expect type.
58212         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
58213         type.
58214         [C99-based standards] (HUGE_VALL): Likewise.
58215         [C99-based standards] (INFINITY): Likewise.
58216         [C99-based standards] (NAN): Likewise.
58217         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
58218         [C99-based standards] (FP_NAN): Likewise.
58219         [C99-based standards] (FP_NORMAL): Likewise.
58220         [C99-based standards] (FP_SUBNORMAL): Likewise.
58221         [C99-based standards] (FP_ZERO): Likewise.
58222         [C99-based standards] (FP_FAST_FMA): Use
58223         optional-macro-int-constant.  Specify type.  Require == 1.
58224         [C99-based standards] (FP_FAST_FMAF): Likewise.
58225         [C99-based standards] (FP_FAST_FMAL): Likewise.
58226         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
58227         [C99-based standards] (FP_ILOGBNAN): Likewise.
58228         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
58229         Specify type.
58230         [C99-based standards] (MATH_ERREXCEPT): Likewise.
58231         [C99-based standards] (math_errhandling): Specify type.
58232         [ISO99 || ISO11] (signgam): Do not allow.
58233         [non-C99-based standards] (copysignf): Do not allow.
58234         [non-C99-based standards] (exp2f): Likewise.
58235         [non-C99-based standards] (log2f): Likewise.
58236         [non-C99-based standards] (modff): Allow.
58237         [non-C99-based standards] (erff): Do not allow.
58238         [non-C99-based standards] (erfcf): Likewise.
58239         [non-C99-based standards] (gammaf): Likewise.
58240         [non-C99-based standards] (hypotf): Likewise.
58241         [non-C99-based standards] (j0f): Likewise.
58242         [non-C99-based standards] (j1f): Likewise.
58243         [non-C99-based standards] (jnf): Likewise.
58244         [non-C99-based standards] (lgammaf): Likewise.
58245         [non-C99-based standards] (tgammaf): Likewise.
58246         [non-C99-based standards] (y0f): Likewise.
58247         [non-C99-based standards] (y1f): Likewise.
58248         [non-C99-based standards] (ynf): Likewise.
58249         [non-C99-based standards] (isnanf): Likewise.
58250         [non-C99-based standards] (acoshf): Likewise.
58251         [non-C99-based standards] (asinhf): Likewise.
58252         [non-C99-based standards] (atanhf): Likewise.
58253         [non-C99-based standards] (cbrtf): Likewise.
58254         [non-C99-based standards] (expm1f): Likewise.
58255         [non-C99-based standards] (ilogbf): Likewise.
58256         [non-C99-based standards] (log1pf): Likewise.
58257         [non-C99-based standards] (logbf): Likewise.
58258         [non-C99-based standards] (nextafterf): Likewise.
58259         [non-C99-based standards] (remainderf): Likewise.
58260         [non-C99-based standards] (rintf): Likewise.
58261         [non-C99-based standards] (scalbf): Likewise.
58262         [non-C99-based standards] (copysignl): Likewise.
58263         [non-C99-based standards] (exp2l): Likewise.
58264         [non-C99-based standards] (log2l): Likewise.
58265         [non-C99-based standards] (modfl): Allow.
58266         [non-C99-based standards] (erfl): Do not allow.
58267         [non-C99-based standards] (erfcl): Likewise.
58268         [non-C99-based standards] (gammal): Likewise.
58269         [non-C99-based standards] (hypotl): Likewise.
58270         [non-C99-based standards] (j0l): Likewise.
58271         [non-C99-based standards] (j1l): Likewise.
58272         [non-C99-based standards] (jnl): Likewise.
58273         [non-C99-based standards] (lgammal): Likewise.
58274         [non-C99-based standards] (tgammal): Likewise.
58275         [non-C99-based standards] (y0l): Likewise.
58276         [non-C99-based standards] (y1l): Likewise.
58277         [non-C99-based standards] (ynl): Likewise.
58278         [non-C99-based standards] (isnanl): Likewise.
58279         [non-C99-based standards] (acoshl): Likewise.
58280         [non-C99-based standards] (asinhl): Likewise.
58281         [non-C99-based standards] (atanhl): Likewise.
58282         [non-C99-based standards] (cbrtl): Likewise.
58283         [non-C99-based standards] (expm1l): Likewise.
58284         [non-C99-based standards] (ilogbl): Likewise.
58285         [non-C99-based standards] (log1pl): Likewise.
58286         [non-C99-based standards] (logbl): Likewise.
58287         [non-C99-based standards] (nextafterl): Likewise.
58288         [non-C99-based standards] (remainderl): Likewise.
58289         [non-C99-based standards] (rintl): Likewise.
58290         [non-C99-based standards] (scalbl): Likewise.
58291         [ISO || ISO99 || ISO11] (*_t): Do not allow.
58292         [non-C99-based standards] (FP_*): Do not allow.
58293         [C99-based standards] (FP_*): Change to
58294         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
58295         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
58296         allow.
58297         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
58298         (SIG_ERR): Likewise.
58299         [X/Open-based standards] (SIG_HOLD): Likewise.
58300         (SIG_IGN): Likewise.
58301         (SIGABRT): Use macro-int-constant.  Specify type.  Require
58302         positive value.
58303         (SIGFPE): Likewise.
58304         (SIGILL): Likewise.
58305         (SIGINT): Likewise.
58306         (SIGSEGV): Likewise.
58307         (SIGTER): Likewise.
58308         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
58309         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
58310         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
58311         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
58312         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
58313         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
58314         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
58315         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
58316         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
58317         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
58318         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
58319         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
58320         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
58321         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
58322         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
58323         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
58324         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
58325         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
58326         [X/Open-based standards] (SIGTRAP): Likewise.
58327         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
58328         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
58329         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
58330         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
58331         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
58332         allow.
58334 2012-05-08  Ian Wienand  <ianw@vmware.com>
58336         [BZ #14080]
58337         * time/tzset.c (__tzset_parse_tz): Update default rules for
58338         daylight time changes in the Energy Policy Act of 2005.
58340 2012-05-09  Andreas Jaeger  <aj@suse.de>
58342         [BZ #13983]
58343         * elf/ldconfig.c (parse_conf): Change string to make clear that
58344         ldconfig only issued a warning if ld.so.conf does not exist.
58346 2012-05-08  David S. Miller  <davem@davemloft.net>
58348         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
58349         movxtod instead of popping the value on the stack.
58351         * sysdeps/sparc/fpu/libm-test-ulps: Update.
58353 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
58355         * config.h.in: Add HAVE_ARM_PCS_VFP.
58357 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
58359         [BZ #13979]
58360         * include/features.h: Warn if user requests __FORTIFY_SOURCE
58361         checking but the checks are disabled for any reason.
58363 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
58365         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
58366         and ELF64_R_TYPE with ELFW(R_TYPE).
58368 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
58370         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
58371         (ulimit): Likewise.
58373         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
58374         (settimeofday): Likewise.
58376 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
58378         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
58379         a struct th_u2 inside the union, and move tu_block/tu_code into
58380         a new th_u3 union of tu_block/tu_code inside of that.  Move
58381         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
58382         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
58383         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
58384         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
58385         (th_stuff): Change to th_u1.tu_stuff.
58386         (th_data): Define.
58387         (th_msg): Change to th_u1.th_u2.tu_data.
58389 2012-05-07  David S. Miller  <davem@davemloft.net>
58391         * sysdeps/sparc/fpu/libm-test-ulps: Update.
58393         [BZ #14074]
58394         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
58395         (SETUP_PIC_REG): Use it.
58396         (SETUP_PIC_REG_LEAF): Use it.
58398 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
58400         [BZ #13885]
58401         [BZ #13923]
58402         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
58403         USE_AS_EXPM1L.
58404         (EXPL_FINITE): Likewise.
58405         (FLDLOG): Likewise.
58406         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
58407         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
58408         e_expl.S.
58409         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
58410         USE_AS_EXPM1L.
58411         (EXPL_FINITE): Likewise.
58412         (FLDLOG): Likewise.
58413         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
58414         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
58415         e_expl.S.
58416         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
58417         test of -max_value argument for long double.
58418         * sysdeps/i386/fpu/libm-test-ulps: Update.
58419         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58421 2012-05-06  David S. Miller  <davem@davemloft.net>
58423         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
58424         quad soft-float symbols whose references which are compiler
58425         generated.
58426         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
58428 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
58430         [BZ #13884]
58431         [BZ #13914]
58432         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
58433         USE_AS_EXP10L.
58434         (EXPL_FINITE): Likewise.
58435         (FLDLOG): Likewise.
58436         (c0): Likewise.
58437         (c1): Likewise.
58438         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
58439         Adjust comments for base varying.
58440         (__expl_finite): Change alias to EXPL_FINITE.
58441         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
58442         e_expl.S.
58443         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
58444         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
58445         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
58446         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
58447         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
58448         USE_AS_EXP10L.
58449         (EXPL_FINITE): Likewise.
58450         (FLDLOG): Likewise.
58451         (c0): Likewise.
58452         (c1): Likewise.
58453         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
58454         Adjust comments for base varying.
58455         (__expl_finite): Change alias to EXPL_FINITE.
58456         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
58457         tests for bugs.
58458         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
58460         [BZ #14064]
58461         * math/libm-test.inc (check_float_internal): Correct ulp
58462         calculation for subnormal expected results.
58464 2012-05-06  Andreas Jaeger  <aj@suse.de>
58466         * Makeconfig (+math-flags): New, set to -frounding-math.
58467         (+cflags): Add +math-flags so that all of glibc gets compiled with
58468         it.
58470         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
58472 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
58474         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
58475         Disable one test.
58477         [BZ #13787]
58478         [BZ #13922]
58479         [BZ #14036]
58480         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
58481         (__ieee754_expl): Allow for and saturate large arguments.
58482         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
58483         (u_threshold): Likewise.
58484         (__exp): Call __ieee754_exp before checking for overflow and
58485         underflow.
58486         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
58487         (u_threshold): Likewise.
58488         (__expf): Call __ieee754_expf before checking for overflow and
58489         underflow.
58490         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
58491         (u_threshold): Likewise.
58492         (__expl): Call __ieee754_expl before checking for overflow and
58493         underflow.
58494         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
58495         (__ieee754_expl): Allow for and saturate large arguments.
58496         * math/libm-test.inc (exp_test): Add another test.  Do not allow
58497         missing overflow exception on overflow.
58498         (expm1_test): Do not allow missing overflow exception on overflow.
58500         * sysdeps/i386/fpu/e_expl.c: Move to ...
58501         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
58502         rather than using inline asm.
58503         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
58504         * sysdeps/x86_64/fpu/e_expl.S: Copy from
58505         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
58507         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
58508         (nice): Likewise.
58509         (poll): Likewise.
58510         (signal): Likewise.
58511         (time): Likewise.
58512         (times): Likewise.
58514 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
58516         * sysdeps/unix/syscalls.list (adjtime): Add entry from
58517         sysdeps/unix/common/syscalls.list.
58518         (fchmod): Likewise.
58519         (fchown): Likewise.
58520         (ftruncate): Likewise.
58521         (getrusage): Likewise.
58522         (gettimeofday): Likewise.
58523         (setpgid): Likewise.
58524         (setregid): Likewise.
58525         (setreuid): Likewise.
58526         (sigaction): Likewise.
58527         (truncate): Likewise.
58528         (vhangup): Likewise.
58529         * sysdeps/unix/common/syscalls.list: Remove file.
58530         * sysdeps/unix/bsd/Implies: Don't include unix/common.
58531         * sysdeps/unix/sysv/linux/Implies: Likewise.
58533 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
58535         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
58536         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
58537         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
58538         Moved to ...
58539         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
58540         Here.
58541         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
58542         to ...
58543         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
58544         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
58545         to ...
58546         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
58547         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
58548         to ...
58549         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
58550         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
58551         to ...
58552         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
58553         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
58554         to ...
58555         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
58556         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
58557         to ...
58558         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
58559         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
58560         to ...
58561         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
58562         Here.
58563         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
58564         to ...
58565         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
58566         Here.
58567         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
58568         to ...
58569         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
58570         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
58571         Moved to ...
58572         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
58573         Here.
58574         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
58575         to ...
58576         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
58578 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
58580         * sysdeps/unix/common/bits/dirent.h: Remove file.
58581         * sysdeps/unix/common/bits/fcntl.h: Likewise.
58583         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
58584         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
58585         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
58586         * sysdeps/unix/bsd/isatty.c: Likewise.
58587         * sysdeps/unix/bsd/tcdrain.c: Likewise.
58588         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
58589         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
58591 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58593         [BZ #13563]
58594         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
58595         long double comparison inaccuracies.
58596         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
58597         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
58599 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
58601         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
58602         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
58604 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
58606         [BZ #14049]
58607         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
58608         nonzero digits before rounding a hex value.
58609         * stdlib/tst-strtod.c (tests): Add another test.
58611 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
58613         * sysdeps/s390/fpu/libm-test-ulps: Update.
58615 2012-05-03  Andreas Jaeger  <aj@suse.de>
58617         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
58618         does not get optimized out.
58619         (malloc_opt_barrier): New.
58621 2012-05-03  Andreas Jaeger  <aj@suse.de>
58622             Roland McGrath  <roland@hack.frob.com>
58624         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
58625         intermediate file deletion.
58626         (generated): Add .symlist files.
58628 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
58630         [BZ #13775]
58631         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
58632         Redirect under this condition.
58633         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
58634         [__USE_GNU] (__dprintf_chk): Not under this condition.
58635         [__USE_GNU] (__vdprintf_chk): Likewise.
58636         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
58637         under this condition.
58638         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
58639         [__USE_XOPEN2K8] (dprintf): Define under this condition.
58640         [__USE_XOPEN2K8] (vdprintf): Likewise.
58641         [__USE_GNU] (__dprintf_chk): Not under this condition.
58642         [__USE_GNU] (__vdprintf_chk): Likewise.
58643         [__USE_GNU] (dprintf): Likewise.
58644         [__USE_GNU] (vdprintf): Likewise.
58646 2012-05-03  Roland McGrath  <roland@hack.frob.com>
58648         * elf/Makefile (common-generated): Set this instead of generated for
58649         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
58650         $(all-built-dso)-derived lists.
58652 2012-05-03  Andreas Jaeger  <aj@suse.de>
58654         * sysdeps/i386/fpu/libm-test-ulps: Update.
58656         * FAQ: Removed.
58657         * FAQ.in: Likewise.
58658         * scripts/gen-FAQ.pl: Likewise.
58659         * manual/install.texi (Installation): Point to online location of
58660         FAQ.
58661         * Makefile (files-for-dist): Remove FAQ.
58662         (FAQ): Remove.
58664 2012-05-02  Allan McRae  <allan@archlinux.org>
58666         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
58667         (LDFLAGS-reldepmod5.so): Likewise.
58668         (LDFLAGS-reldep6mod1.so): Likewise.
58669         (LDFLAGS-reldep6mod4.so): Likewise.
58670         (LDFLAGS-reldep8mod3.so): Likewise.
58671         (LDFLAGS-unload4mod1.so): Likewise.
58672         (LDFLAGS-unload4mod2.so): Likewise.
58673         (LDFLAGS-tst-initorder): Likewise.
58674         (LDFLAGS-tst-initordera2.so): Likewise.
58675         (LDFLAGS-tst-initordera3.so): Likewise.
58676         (LDFLAGS-tst-initordera4.so): Likewise.
58677         (LDFLAGS-tst-initorderb2.so): Likewise.
58678         (LDFLAGS-noload): Likewise.
58679         (LDFLAGS-next): Likewise.
58680         (LDFLAGS-order2mod1.so): Likewise.
58681         (LDFLAGS-order2mod2.so): Likewise.
58682         (LDFLAGS-tst-initorder2): Likewise.
58683         (LDFLAGS-tst-initorder2a.so): Likewise.
58684         (LDFLAGS-tst-initorder2b.so): Likewise.
58685         (LDFLAGS-tst-initorder2c.so): Likewise.
58686         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
58688 2012-05-02  David S. Miller  <davem@davemloft.net>
58690         * sysdeps/sparc/fpu/libm-test-ulps: Update.
58692 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
58694         [BZ #14055]
58695         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
58697 2012-05-02  Andreas Jaeger  <aj@suse.de>
58699         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
58700         since we manipulate rounding mode.
58701         (CPPFLAGS-test-idouble.c): Likewise.
58702         (CPPFLAGS-test-ifloat.c): Likewise.
58703         (CFLAGS-test-ldouble.c): Likewise.
58704         (CFLAGS-test-double.c): Likewise.
58705         (CFLAGS-test-float.c): Likewise.
58706         (CFLAGS-test-misc.c): Likewise.
58707         (CFLAGS-test-test-fenv.c): Likewise.
58709 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58711         [BZ #2550]
58712         [BZ #2570]
58713         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
58714         comparisons to determine direction to adjust input.
58716 2012-05-01  Roland McGrath  <roland@hack.frob.com>
58718         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
58719         output to the target.
58721         * scripts/localplt.awk: New file.
58722         * elf/Makefile ($(objpfx)check-localplt): Target removed.
58723         (check-localplt-CFLAGS): Variable removed.
58724         ($(all-built-dso:=.jmprel)): New static pattern rule.
58725         (generated): Add those targets.
58726         (localplt-built-dso): New variable.
58727         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
58729         * elf/check-localplt.c: File removed.
58731         * scripts/check-execstack.awk: New file.
58732         * elf/Makefile ($(objpfx)check-execstack): Target removed.
58733         (check-execstack-CFLAGS): Variable removed.
58734         ($(objpfx)check-execstack.h): Target removed.
58735         ($(objpfx)execstack-default): New target.
58736         (generated): Add that instead of check-execstack.h.
58737         ($(all-built-dso:=.phdr)): New static pattern rule.
58738         (generated): Add those targets.
58739         * elf/check-execstack.c: File removed.
58741         * scripts/check-textrel.awk: New file.
58742         * elf/Makefile ($(objpfx)check-textrel): Target removed.
58743         (check-textrel-CFLAGS): Variable removed.
58744         (all-built-dso): Use := to define.o
58745         ($(all-built-dso:=.dyn)): New static pattern rule.
58746         (generated): Add those targets.
58747         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
58748         * config.make.in (READELF): New substituted variable.
58749         * elf/check-textrel.c: File removed.
58751 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
58753         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
58754         allow.
58755         * conform/data/ctype.h-data [C99-based standards] (isblank):
58756         Expect function.
58757         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
58758         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
58759         [ISO || ISO99 || ISO11] (*_t): Do not allow.
58760         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
58761         Specify type.  Require positive value.
58762         (EILSEQ): Likewise.
58763         (ERANGE): Likewise.
58764         [ISO || POSIX] (EILSEQ): Do not expect.
58765         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
58766         Specify type.  Require positive value.
58767         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
58768         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
58769         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
58770         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
58771         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
58772         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
58773         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
58774         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
58775         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
58776         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
58777         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
58778         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
58779         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
58780         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
58781         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
58782         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
58783         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
58784         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
58785         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
58786         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
58787         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
58788         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
58789         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
58790         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
58791         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
58792         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
58793         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
58794         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
58795         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
58796         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
58797         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
58798         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
58799         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
58800         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
58801         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
58802         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
58803         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
58804         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
58805         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
58806         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
58807         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
58808         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
58809         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
58810         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
58811         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
58812         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
58813         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
58814         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
58815         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
58816         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
58817         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
58818         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
58819         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
58820         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
58821         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
58822         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
58823         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
58824         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
58825         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
58826         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
58827         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
58828         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
58829         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
58830         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
58831         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
58832         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
58833         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
58834         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
58835         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
58836         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
58837         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
58838         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
58839         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
58840         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
58841         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
58842         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
58843         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
58844         Require >= 2.
58845         (FLT_ROUNDS): Expect as macro, not constant.
58846         (FLT_MANT_DIG): Use macro-int-constant.
58847         (DBL_MANT_DIG): Likewise.
58848         (LDBL_MANT_DIG): Likewise.
58849         (FLT_DIG): Likewise.
58850         (DBL_DIG): Likewise.
58851         (LDBL_DIG): Likewise.
58852         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
58853         (DBL_MIN_EXP): Likewise.
58854         (LDBL_MIN_EXP): Likewise.
58855         (FLT_MAX_EXP): Use macro-int-constant.
58856         (DBL_MAX_EXP): Likewise.
58857         (LDBL_MAX_EXP): Likewise.
58858         (FLT_MAX_10_EXP): Likewise.
58859         (DBL_MAX_10_EXP): Likewise.
58860         (LDBL_MAX_10_EXP): Likewise.
58861         (FLT_MAX): Use macro-constant.
58862         (DBL_MAX): Likewise.
58863         (LDBL_MAX): Likewise.
58864         (FLT_EPSILON): Use macro-constant.  Give upper bound.
58865         (DBL_EPSILON): Likewise.
58866         (LDBL_EPSILON): Likewise.
58867         (FLT_MIN): Likewise.
58868         (DBL_MIN): Likewise.
58869         (LDBL_MIN): Likewise.
58870         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
58871         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
58872         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
58873         [ISO11] (FLT_HAS_SUBNORM): Likewise.
58874         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
58875         [ISO11] (DBL_DECIMAL_DIG): Likewise.
58876         [ISO11] (FLT_DECIMAL_DIG): Likewise.
58877         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
58878         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
58879         [ISO11] (FLT_TRUE_MIN): Likewise.
58880         [ISO11] (LDBL_TRUE_MIN): Likewise.
58881         [ISO || ISO99 || ISO11] (*_t): Do not allow.
58882         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
58883         (SCHAR_MIN): Use macro-int-constant.  Specify type.
58884         (SCHAR_MAX): Likewise.
58885         (UCHAR_MAX): Likewise.
58886         (CHAR_MIN): Likewise.
58887         (CHAR_MAX): Likewise.
58888         (MB_LEN_MAX): Use macro-int-constant.
58889         (SHRT_MIN): Use macro-int-constant.  Specify type.
58890         (SHRT_MAX): Likewise.
58891         (USHRT_MAX): Likewise.
58892         (INT_MAX): Likewise.
58893         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
58894         bound negative.
58895         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
58896         bound with "U".
58897         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
58898         bound with "L".
58899         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
58900         bound negative.  Suffix upper bound with "L".
58901         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
58902         bound with "UL".
58903         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
58904         Specify type.
58905         [C99-based standards] (LLONG_MAX): Likewise.
58906         [C99-based standards] (ULLONG_MAX): Likewise.
58907         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
58908         == 0.
58909         [ISO11] (max_align_t): Require type.
58910         [ISO || ISO99 || ISO11] (*_t): Do not allow.
58912         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
58913         from $CFLAGS, without defining away __attribute__ calls.
58914         (checknamespace): Use $CFLAGS_namespace.
58916         * conform/conformtest.pl (@keywords): Only include C99 keywords
58917         for standards based on C99 or C11.
58919         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
58920         Disable tests.
58921         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
58922         UNIX98]: Likewise.
58924         * conform/conformtest.pl: Handle "macro-int-constant" and test for
58925         usability of symbols in #if.
58927         * conform/conformtest.pl: If macro or constant types start
58928         "promoted:", expect the symbol to be of the following type
58929         promoted by the integer promotions.
58931         * conform/conformtest.pl: Parse all "constant" and "macro" lines
58932         in one place.  Also handle "macro-constant".
58934         * conform/conformtest.pl: Only accept expected macro values with
58935         "==".  Parse all "macro" lines in one place.
58936         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
58938         * conform/conformtest.pl: Handle braced types on "constant" lines
58939         instead of handling "typed-constant".
58940         * conform/data/signal.h-data: Use "constant" instead of
58941         "typed-constant".
58943         * conform/conformtest.pl: Handle "optional-" at start of lines in
58944         one place rather than duplicating several cases.  Handle each
58945         format of "macro" line with initial "optional-".
58947         * conform/conformtest.pl: Only accept expected constant or
58948         optional-constant values with "==".  Parse all "constant" lines in
58949         one place.  Parse all "optional-constant" lines in one place.
58950         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
58951         * conform/data/fmtmsg.h-data: Likewise.
58952         * conform/data/netinet/in.h-data: Likewise.
58953         * conform/data/tar.h-data: Likewise.
58954         * conform/data/limits.h-data: Use "==" form on "constant" and
58955         "optional-constant" lines.
58957         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
58958         Use -std=c99 for XOPEN2K.
58959         (@knownproblems): Remove.
58960         (newtoken): Don't check %isknown.
58962         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
58963         Do not expect macro.
58964         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
58965         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
58966         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
58967         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
58968         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
58969         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
58970         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
58971         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
58972         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
58973         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
58974         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
58975         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
58976         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
58977         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
58978         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
58979         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
58980         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
58981         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
58982         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
58983         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
58984         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
58985         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
58986         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
58987         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
58988         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
58989         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
58990         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
58991         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
58992         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
58993         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
58994         [XPG3] (acosh): Likewise.
58995         [XPG3] (asinh): Likewise.
58996         [XPG3] (atanh): Likewise.
58997         [XPG3] (cbrt): Likewise.
58998         [XPG3] (expm1): Likewise.
58999         [XPG3] (ilogb): Likewise.
59000         [XPG3] (log1p): Likewise.
59001         [XPG3] (logb): Likewise.
59002         [XPG3] (nextafter): Likewise.
59003         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
59004         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
59005         [XPG3] (remainder): Likewise.
59006         [XPG3] (rint): Likewise.
59007         [XPG3 || XPG4 || UNIX98] (round): Likewise.
59008         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
59009         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
59010         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
59011         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
59012         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
59013         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
59014         [UNIX98 || XOPEN2K] (scalb): Expect.
59015         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
59016         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
59017         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
59018         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
59019         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
59020         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
59021         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
59022         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
59023         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
59024         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
59025         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
59026         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
59027         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
59028         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
59029         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
59030         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
59031         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
59032         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
59033         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
59034         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
59035         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
59036         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
59037         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
59038         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
59039         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
59040         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
59041         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
59042         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
59043         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
59044         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
59045         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
59046         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
59047         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
59048         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
59049         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
59050         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
59051         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
59052         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
59053         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
59054         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
59055         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
59056         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
59057         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
59058         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
59059         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
59060         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
59061         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
59062         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
59063         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
59064         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
59065         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
59066         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
59067         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
59068         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
59069         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
59070         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
59071         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
59072         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
59073         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
59074         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
59075         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
59076         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
59077         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
59078         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
59079         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
59080         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
59081         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
59082         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
59083         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
59084         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
59085         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
59086         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
59087         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
59088         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
59089         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
59090         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
59091         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
59092         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
59093         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
59094         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
59095         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
59096         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
59097         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
59098         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
59099         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
59100         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
59101         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
59102         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
59103         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
59104         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
59105         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
59106         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
59107         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
59108         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
59109         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
59110         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
59111         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
59112         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
59113         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
59114         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
59115         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
59116         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
59117         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
59118         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
59119         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
59120         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
59121         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
59122         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
59123         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
59124         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
59125         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
59126         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
59127         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
59128         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
59129         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
59130         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
59131         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
59132         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
59133         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
59134         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
59135         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
59136         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
59137         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
59138         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
59139         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
59140         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
59141         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
59142         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
59143         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
59144         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
59145         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
59146         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
59147         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
59148         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
59149         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
59150         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
59151         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
59153         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
59154         _XOPEN_SOURCE_EXTENDED for XPG4.
59156         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
59158         * Makeconfig (localtime): Remove variable.
59159         (inst_localtime-file): Likewise.
59161 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
59163         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
59164         Update.
59165         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
59166         Update.
59167         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
59168         Update.
59169         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
59170         Update.
59171         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
59172         Update.
59173         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
59174         Update.
59175         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
59176         Update.
59177         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
59178         Update.
59179         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
59180         Update.
59182 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
59184         [BZ #2550]
59185         [BZ #2570]
59186         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
59187         comparisons to determine direction to adjust input.
59188         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
59189         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
59190         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
59191         Likewise.
59192         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
59193         Likewise.
59194         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
59195         Likewise.
59196         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
59197         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
59198         Likewise.
59199         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
59200         Likewise.
59201         * math/libm-test.inc (nexttoward_test): Add more tests.
59203 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
59205         [BZ #14040]
59206         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
59207         in version GLIBC_2.1, not GLIBC_2.0.
59208         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
59209         Likewise.
59211 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
59213         [BZ #13942]
59214         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
59215         (1 - x) * (1 + x).
59216         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
59217         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
59218         * math/libm-test.inc (acos_test): Add more tests.
59219         (asin_test): Likewise.
59220         * sysdeps/i386/fpu/libm-test-ulps: Update.
59221         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59223         [BZ #14034]
59224         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
59225         of square root.
59226         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
59227         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
59228         * math/libm-test.inc (acos_test_tonearest): New function.
59229         (acos_test_towardzero): Likewise.
59230         (acos_test_downward): Likewise.
59231         (acos_test_upward): Likewise.
59232         (asin_test_tonearest): Likewise.
59233         (asin_test_towardzero): Likewise.
59234         (asin_test_downward): Likewise.
59235         (asin_test_upward): Likewise.
59236         (main): Call the new functions.
59237         * sysdeps/i386/fpu/libm-test-ulps: Update.
59238         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
59240         [BZ #13884]
59241         [BZ #13924]
59242         * math/e_exp10.c: Include <float.h>.
59243         (__ieee754_exp10): Handle underflow here rather than multiplying
59244         large negative argument by M_LN10.
59245         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
59246         of __ieee754_expf.
59247         * math/e_exp10l.c: Include <float.h>.
59248         (__ieee754_exp10l): Handle underflow here rather than multiplying
59249         large negative argument by M_LN10l.
59250         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
59251         spurious overflow exception on underflow.
59253 2012-04-29  Marek Polacek  <polacek@redhat.com>
59255         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
59256         (__fortify_function): New macro.
59257         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
59258         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
59259         __extern_always_inline.
59260         * libio/bits/stdio2.h: Likewise.
59261         * libio/bits/stdio.h: Likewise.
59262         * string/string.h: Likewise.
59263         * string/bits/string3.h: Likewise.
59264         * include/stdio.h: Likewise.
59265         * stdlib/bits/stdlib.h: Likewise.
59266         * stdlib/stdlib.h: Likewise.
59267         * rt/bits/mqueue2.h: Likewise.
59268         * rt/mqueue.h: Likewise.
59269         * posix/bits/unistd.h: Likewise.
59270         * posix/unistd.h: Likewise.
59271         * io/bits/poll2.h: Likewise.
59272         * io/bits/fcntl2.h: Likewise.
59273         * io/fcntl.h: Likewise.
59274         * io/sys/poll.h: Likewise.
59275         * misc/bits/syslog.h: Likewise.
59276         * misc/bits/syslog-ldbl.h: Likewise.
59277         * misc/sys/syslog.h: Likewise.
59278         * socket/bits/socket2.h: Likewise.
59279         * socket/sys/socket.h: Likewise.
59280         * debug/tst-chk1.c: Likewise.
59281         * wcsmbs/bits/wchar2.h: Likewise.
59282         * wcsmbs/bits/wchar-ldbl.h: Likewise.
59283         * wcsmbs/wchar.h: Likewise.
59285 2012-04-29  Andreas Jaeger  <aj@suse.de>
59287         * Makerules (tests): Remove enable-check-abi protection.
59288         (check-abi-warn): Remove.
59289         (check-abi-%): Remove check-abi-warn usage.
59291         * configure.in: Remove check-abi configure option.
59292         * configure: Regenerated.
59293         * config.make.in (enable-check-abi): Remove.
59295 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
59297         [BZ #14033]
59298         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
59299         double functions to double *_finite functions.
59301         [BZ #13941]
59302         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
59303         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
59304         LDBL_MIN_EXP.
59305         * stdio-common/Makefile (tests): Add tst-sprintf3.
59306         * stdio-common/tst-sprintf3.c: New file.
59308         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
59309         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
59311 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
59313         * conform/conformtest.pl: Remove duplicate typed-constant
59314         handling.
59316 2012-04-28  David S. Miller  <davem@davemloft.net>
59318         * Makerules (%.abilist): Add vpath on sysdep_dirs.
59319         (check-abi-%): Remove AWK script prerequisite and explicit
59320         abilist directory.
59321         (check-abi): Rewrite to just diff the symlist with the abilist.
59322         (config-tls, config-abi-config): Delete, no longer used.
59323         (update-abi-%): Remove AWK script and explicit abilist directory.
59324         (update-abi): Rewrite to simply compare and conditionally copy the
59325         symlist and the sysdep abilist file.  Remove update-abi-config
59326         checks.
59327         * abilist/ld.abilist: Remove.
59328         * abilist/libBrokenLocale.abilist: Remove.
59329         * abilist/libanl.abilist: Remove.
59330         * abilist/libcrypt.abilist: Remove.
59331         * abilist/libdl.abilist: Remove.
59332         * abilist/librt.abilist: Remove.
59333         * abilist/libthread_db.abilist: Remove.
59334         * abilist/libutil.abilist: Remove.
59335         * scripts/extract-abilist.awk: Remove.
59336         * scripts/merge-abilist.awk: Remove.
59337         * sysdeps/generic/libcidn.abilist: New file.
59338         * sysdeps/generic/libnss_compat.abilist: New file.
59339         * sysdeps/generic/libnss_db.abilist: New file.
59340         * sysdeps/generic/libnss_dns.abilist: New file.
59341         * sysdeps/generic/libnss_files.abilist: New file.
59342         * sysdeps/generic/libnss_hesiod.abilist: New file.
59343         * sysdeps/generic/libnss_nis.abilist: New file.
59344         * sysdeps/generic/libnss_nisplus.abilist: New file.
59345         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
59346         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
59347         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
59348         file.
59349         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
59350         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
59351         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
59352         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
59353         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
59354         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
59355         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
59356         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
59357         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
59358         file.
59359         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
59360         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
59361         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
59362         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
59363         file.
59364         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
59365         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
59366         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
59367         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
59368         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
59369         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
59370         file.
59371         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
59372         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
59373         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
59374         file.
59375         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
59376         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
59377         New file.
59378         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
59379         New file.
59380         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
59381         New file.
59382         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
59383         New file.
59384         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
59385         New file.
59386         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
59387         New file.
59388         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
59389         New file.
59390         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
59391         New file.
59392         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
59393         New file.
59394         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
59395         New file.
59396         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
59397         New file.
59398         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
59399         New file.
59400         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
59401         New file.
59402         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
59403         file.
59404         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
59405         New file.
59406         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
59407         New file.
59408         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
59409         file.
59410         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
59411         New file.
59412         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
59413         New file.
59414         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
59415         file.
59416         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
59417         New file.
59418         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
59419         New file.
59420         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
59421         New file.
59422         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
59423         New file.
59424         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
59425         New file.
59426         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
59427         New file.
59428         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
59429         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
59430         file.
59431         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
59432         New file.
59433         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
59434         file.
59435         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
59436         file.
59437         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
59438         file.
59439         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
59440         file.
59441         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
59442         file.
59443         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
59444         New file.
59445         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
59446         file.
59447         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
59448         file.
59449         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
59450         New file.
59451         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
59452         file.
59453         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
59454         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
59455         file.
59456         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
59457         New file.
59458         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
59459         file.
59460         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
59461         file.
59462         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
59463         file.
59464         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
59465         file.
59466         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
59467         file.
59468         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
59469         New file.
59470         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
59471         file.
59472         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
59473         file.
59474         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
59475         New file.
59476         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
59477         file.
59478         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
59479         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
59480         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
59481         file.
59482         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
59483         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
59484         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
59485         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
59486         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
59487         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
59488         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
59489         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
59490         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
59491         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
59492         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
59493         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
59494         file.
59495         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
59496         New file.
59497         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
59498         file.
59499         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
59500         file.
59501         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
59502         file.
59503         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
59504         file.
59505         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
59506         file.
59507         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
59508         New file.
59509         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
59510         New file.
59511         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
59512         file.
59513         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
59514         New file.
59515         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
59516         file.
59517         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
59518         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
59519         file.
59520         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
59521         New file.
59522         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
59523         file.
59524         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
59525         file.
59526         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
59527         file.
59528         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
59529         file.
59530         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
59531         file.
59532         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
59533         New file.
59534         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
59535         New file.
59536         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
59537         file.
59538         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
59539         New file.
59540         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
59541         file.
59543 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
59545         * conform/conformtest.pl: Fix typo in handling typed-constant from
59546         allow-header.
59548 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
59550         * README: Cut down references to pre-2.6 Linux kernels and
59551         Linuxthreads.  Update lists of configurations in libc and ports
59552         and sort alphabetically.  Say "or newer" with Linux kernel version
59553         requirements.
59555         * config.h.in [IS_IN_build]: Allow compiling without optimization.
59557 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
59559         [BZ #887]
59560         * math/libm-test.inc (logb_test_downward): New test to expose
59561         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
59562         rounding mode.
59564 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
59566         [BZ #14027]
59567         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
59568         to be done.
59569         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
59570         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
59572 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
59574         * sysdeps/unix/i386/brk.S: Remove file.
59575         * sysdeps/unix/i386/dl-brk.S: Likewise.
59576         * sysdeps/unix/i386/pipe.S: Likewise.
59577         * sysdeps/unix/i386/sigreturn.S: Likewise.
59578         * sysdeps/unix/i386/syscall.S: Likewise.
59579         * sysdeps/unix/i386/vfork.S: Likewise.
59580         * sysdeps/unix/i386/wait.S: Likewise.
59582         * sysdeps/unix/common/tcsendbrk.c: Move to ...
59583         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
59585         * configure.in (arm*-none*): Do not allow without
59586         --enable-hacker-mode.
59587         (netbsd*): Remove case setting base_os.
59588         (386bsd*): Likewise.
59589         (freebsd*): Likewise.
59590         (bsdi*): Likewise.
59591         (osf*): Likewise.
59592         (sunos*): Likewise.
59593         (ultrix*): Likewise.
59594         (newsos*): Likewise.
59595         (dynix*): Likewise.
59596         (*bsd*): Likewise.
59597         (sysv*): Likewise.
59598         (isc*): Likewise.
59599         (esix*): Likewise.
59600         (sco*): Likewise.
59601         (minix*): Likewise.
59602         (irix4*): Likewise.
59603         (irix6*): Likewise.
59604         (solaris[2-9]*): Likewise.
59605         (none): Likewise.
59606         * configure: Regenerated.
59608 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59610         [BZ #11521]
59611         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
59612         overflow or cancellation in calculating denominator.
59613         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
59614         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
59615         down expression to avoid unexpected rounding in newer GCCs.
59616         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
59618 2012-04-26  David S. Miller  <davem@davemloft.net>
59620         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
59621         long-double compat symbols.
59622         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
59623         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
59624         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
59625         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
59626         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
59627         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
59628         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
59629         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
59630         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
59631         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
59632         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
59633         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
59634         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
59636 2012-04-25  David S. Miller  <davem@davemloft.net>
59638         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
59639         HWCAP_* values only after the memory barriers have been defined.
59640         (atomic_full_barrier): Define.
59641         (atomic_read_barrier): Define.
59642         (atomic_write_barrier): Define.
59644 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
59646         * shlib-versions: Add libgcc_s version information.
59647         * sysdeps/generic/libgcc_s.h: Remove.
59648         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
59649         libgcc_s.h.
59650         * sysdeps/gnu/unwind-resume.c: Likewise.
59651         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
59653 2012-04-25  David S. Miller  <davem@davemloft.net>
59655         * sysdeps/unix/sparc/brk.S: Delete.
59656         * sysdeps/unix/sparc/dl-brk.S: Delete.
59657         * sysdeps/unix/sparc/pipe.S: Delete.
59658         * sysdeps/unix/sparc/sysdep.S: Delete.
59659         * sysdeps/unix/sparc/sysdep.h: Delete.
59660         * sysdeps/unix/sparc/vfork.S: Delete.
59661         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
59662         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
59663         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
59664         (ret_ERRVAL, r0, r1, MOVE): Define.
59665         (JUMPTARGET): Remove.
59666         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
59667         sysdeps/unix/sparc/sysdep.h
59668         (ENTRY, END): Remove.
59669         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
59671 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
59673         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
59674         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
59675         -DIS_IN_build.
59677         * timezone/README: Update upstream location and email address for
59678         tzcode and tzdata.
59679         * timezone/zdump.c: Update from tzcode 2012b.
59680         * timezone/zic.c: Likewise.
59682         * configure.in (libc_cv_as_needed): Remove test.
59683         * configure: Regenerated.
59684         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
59685         conditional definition.
59686         [$(have-as-needed) != yes] (no-as-needed): Likewise.
59687         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
59688         * config.make.in (have-as-needed): Remove variable.
59690 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
59691             Paul Pluzhnikov  <ppluzhnikov@google.com>
59693         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
59694         strings correctly.
59696 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
59698         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
59699         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
59700         * sysdeps/sh/strlen.S: Likewise.
59702 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
59704         * sysdeps/unix/fork.S: Remove file.
59705         * sysdeps/unix/i386/fork.S: Likewise.
59706         * sysdeps/unix/sparc/fork.S: Likewise.
59708         * sysdeps/unix/system.c: Remove file.
59709         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
59711         * sysdeps/unix/getegid.S: Remove file.
59712         * sysdeps/unix/geteuid.S: Likewise.
59714 2012-04-24  Roland McGrath  <roland@hack.frob.com>
59716         * scripts/check-localplt.awk: New file.
59717         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
59718         of diff.
59719         * scripts/data/localplt-generic.data: Add a comment.
59721         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
59722         NODE when __dir_mkfile failed.
59723         * sysdeps/mach/hurd/symlinkat.c: Likewise.
59724         Reported by Ludovic Courtès <ludo@gnu.org>.
59726 2012-04-24  Andreas Jaeger  <aj@suse.de>
59728         * Makerules (common-clean): Also remove gen-as-const-headers
59729         files.
59731 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
59733         * Makerules (native-compile): Do not change working directory for
59734         build.  Use $(OUTPUT_OPTION) in command.
59735         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
59737 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59739         [BZ #13886]
59740         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
59741         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
59742         * math/libm-test.inc (floor_test): Add more tests.
59743         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
59745 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
59747         * sysdeps/unix/getdents.c: Remove file.
59748         * sysdeps/unix/sysv/getdents.c: Likewise.
59749         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
59751         * sysdeps/unix/syscalls.list (madvise): Add syscall from
59752         sysdeps/unix/mman/syscalls.list.
59753         (mmap): Likewise.
59754         (mprotect): Likewise.
59755         (msync): Likewise.
59756         (munmap): Likewise.
59757         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
59758         * sysdeps/unix/mman/syscalls.list: Remove.
59759         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
59761         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
59762         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
59763         * configure: Regenerated.
59764         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
59765         $(libgcc_s_suffix).
59766         * config.make.in (libgcc_s_suffix): Remove variable.
59768 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
59770         * sysdeps/unix/sysv/gethostname.c: Move to ...
59771         * sysdeps/posix/gethostname.c: ... here.
59773         * sysdeps/unix/execve.S: Remove file.
59775         * sysdeps/unix/_exit.S: Remove file.
59777 2012-04-23  Andreas Jaeger  <aj@suse.de>
59779         [BZ #13739]
59780         * manual/Makefile: Remove make dist support, there's no
59781         need for a stand-alone documentation tar ball.
59782         (TEXI2DVI): Define always, it's not in Makeconfig.
59783         (dist): Removed.
59784         (tar-it): Removed.
59785         (edition): Removed.
59786         (glibc-doc-$(edition).tar): Removed
59787         (%.Z): Removed.
59788         (%.gz): Removed.
59789         (%.uu): Removed.
59790         (ETAGS): Remove, it's in Makeconfig.
59791         (move-if-change): Remove, it's in Makeconfig.
59793 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
59795         [BZ #13970]
59796         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
59797         (strtod, strtof, strtold, strtol, strtoul, strtoq)
59798         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
59799         (strtod_l, strtof_l, strtold_l): Remove __wur.
59800         It is not necessarily an error to ignore strtol's return value.
59801         One can reliably look at the stored endptr to decide whether
59802         the number had valid syntax.
59804 2012-04-21  Andreas Jaeger  <aj@suse.de>
59806         [BZ #13739]
59807         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
59809 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
59811         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
59812         * sysdeps/unix/sysv/Versions: Remove file.
59814 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
59816         [BZ #13927]
59817         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
59819 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
59821         [BZ #7064]
59822         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
59823         version from __vm86.
59825 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
59827         * sysdeps/unix/common/lxstat.c: Remove file.
59828         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
59830         * sysdeps/unix/sysv/Makefile: Remove file.
59832         * sysdeps/unix/sysv/direct.h: Remove file.
59834         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
59835         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
59836         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
59837         * sysdeps/unix/sysv/bits/signum.h: Likewise.
59838         * sysdeps/unix/sysv/bits/stat.h: Likewise.
59839         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
59840         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
59842         * sysdeps/unix/sysv/setrlimit.c: Remove file.
59844         * sysdeps/unix/xmknod.c: Remove file.
59845         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
59847         * sysdeps/unix/sysv/settimeofday.c: Remove file.
59849         * sysdeps/unix/sysv/i386/time.S: Remove file.
59851         * sysdeps/unix/fxstat.c: Remove file.
59852         * sysdeps/unix/xstat.c: Likewise.
59853         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
59855         * sysdeps/unix/sysv/sigaction.c: Remove file.
59857         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
59858         (sysdep_headers): Remove variable.
59859         [termio.h not in sysdep_headers] (generated): Likewise.
59860         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
59861         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
59862         * sysdeps/unix/sysv/tcdrain.c: Likewise.
59863         * sysdeps/unix/sysv/tcflow.c: Likewise.
59864         * sysdeps/unix/sysv/tcflush.c: Likewise.
59865         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
59866         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
59867         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
59868         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
59869         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
59871         * sysdeps/unix/siglist.c: Remove file.
59873         * sysdeps/unix/getppid.S: Remove file.
59875         * sysdeps/unix/mkdir.c: Remove file.
59876         * sysdeps/unix/rmdir.c: Likewise.
59878 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
59880         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
59881         ERR_MAX value.
59882         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
59883         errlist-compat value.
59885 2012-04-18  David S. Miller  <davem@davemloft.net>
59887         * sysdeps/generic/memcopy.h (reg_char): Delete.
59888         * debug/strcat_chk.c: Use char, not reg_char.
59889         * debug/strcpy_chk.c: Likewise.
59890         * debug/strncat_chk.c: Likewise.
59891         * debug/strncpy_chk.c: Likewise.
59892         * string/memchr.c: Likewise.
59893         * string/memrchr.c: Likewise.
59894         * string/rawmemchr.c: Likewise.
59895         * string/strcat.c: Likewise.
59896         * string/strchr.c: Likewise.
59897         * string/strchrnul.c: Likewise.
59898         * string/strcmp.c: Likewise.
59899         * string/strcpy.c: Likewise.
59900         * string/strncat.c: Likewise.
59901         * string/strncmp.c: Likewise.
59902         * string/strncpy.c: Likewise.
59904 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
59906         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
59907         __builtin_memcopy is called when src and dest ranges are known to not
59908         overlap.
59910 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
59912         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
59913         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
59914         fwd_align_merge macro call.
59915         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
59916         bwd_align_merge macro call.
59917         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
59919 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
59921         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
59922         bwd_align_merge macros.
59923         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
59924         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
59925         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
59927 2012-04-18  David S. Miller  <davem@davemloft.net>
59929         * sysdeps/sparc/sparc64/memcopy.h: Delete.
59931 2012-04-18  Andreas Jaeger  <aj@suse.de>
59933         [BZ# 6794]
59934         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
59935         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
59936         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
59938         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
59939         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
59940         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
59942         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
59943         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
59944         Adjust for changed ldbl-128 files.
59946         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
59947         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
59948         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
59950 2012-04-17  David S. Miller  <davem@davemloft.net>
59952         * sysdeps/sparc/sparc32/memcopy.h: Delete.
59954 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
59956         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
59957         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
59958         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
59959         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
59960         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
59961         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
59963 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59965         [BZ #6794]
59966         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
59967         * math/libm-test.inc: Add ilogb errno and exception tests.
59968         * math/w_ilogb.c: New file: ilogb wrapper.
59969         * math/w_ilogbf.c: New file: ilogbf wrapper.
59970         * math/w_ilogbl.c: New file: ilogbl wrapper.
59971         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
59972         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
59973         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
59974         exception being thrown with 0.0 as argument.
59975         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
59976         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
59977         exception being thrown with 0.0 as argument.
59978         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
59979         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
59980         exception being thrown with 0.0 as argument.
59981         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
59982         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
59983         exception being thrown with 0.0 as argument.
59984         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
59985         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
59986         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
59987         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
59988         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
59989         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
59990         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
59991         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
59992         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
59994 2012-04-17  Petr Baudis  <pasky@ucw.cz>
59996         * include/sys/uio.h: Change __vector to __iovec to avoid clash
59997         with altivec.
59999 2012-04-16  Marek Polacek  <polacek@redhat.com>
60001         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
60003 2012-04-16  Marek Polacek  <polacek@redhat.com>
60005         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
60006         operands of fdivp instruction.
60008 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
60010         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
60011         * elf/tst-auditmod3b.c: Likewise.
60012         * elf/tst-auditmod4b.c: Likewise.
60013         * elf/tst-auditmod5b.c: Likewise.
60014         * elf/tst-auditmod6b.c: Likewise.
60015         * elf/tst-auditmod6c.c: Likewise.
60016         * elf/tst-auditmod7b.c: Likewise.
60017         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
60018         * sysdeps/x86_64/preconfigure.in: Likewise.
60019         * sysdeps/x86_64/preconfigure: Regenerated.
60021 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
60023         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
60024         __ILP32__.
60026 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
60028         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
60029         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
60031 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
60033         [BZ #13973]
60034         * locale/iso-639.def: Fix gl language name. Spotted by
60035         Yaron Shahrabani.
60037 2012-04-12  Roland McGrath  <roland@hack.frob.com>
60039         [BZ #2074]
60040         * libio/libio.h (__io_write_fn): Update comment.
60042 2012-04-12  Petr Baudis  <pasky@ucw.cz>
60044         [BZ #2074]
60045         * stdio.texi (Hook Functions): The user provided writer function
60046         is not allowed to return -1.
60048 2012-04-11  David S. Miller  <davem@davemloft.net>
60050         * sysdeps/sparc/fpu/libm-test-ulps: Update.
60052 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
60054         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
60055         Add a leading slash to rtkaio.
60057 2012-04-11  Jim Meyering  <meyering@redhat.com>
60059         [BZ #11959]
60060         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
60061         It is not necessarily an error to ignore fwrite's return
60062         value.  One can reliably use ferror to test for errors after
60063         the fact.
60065 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
60067         * bits/types.h (__snseconds_t): New type.
60068         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
60070         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
60071         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
60072         (__SNSECONDS_T_TYPE): Likewise.
60073         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
60074         (__SNSECONDS_T_TYPE): Likewise.
60075         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
60076         (__SNSECONDS_T_TYPE): Likewise.
60078 2012-04-10  Andreas Jaeger  <aj@suse.de>
60080         [BZ #2636]
60081         * manual/time.texi (Processor Time): Return type of times is
60082         elapsed real time since an arbitrary point in the past.
60083         (CPU Time): Move CLK_TCK from here...
60084         (Processor Time): ...to here.  Correct description.
60085         * manual/conf.texi (Constants for Sysconf): Correct description of
60086         _SC_CLK_TCK.
60088 2012-04-10  David S. Miller  <davem@davemloft.net>
60090         [BZ #13967]
60091         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
60092         where the is a gap between DT_REL(A) and DT_JMPREL.
60094 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
60096         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
60097         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
60098         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
60100 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
60102         * elf/dl-support.c (_dl_inhibit_cache): New variable.
60103         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
60104         (dl_main): Handle --inhibit-cache.
60105         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
60106         _dl_inhibit_cache.
60107         * elf/dl-load.c (_dl_map_object): Use it.
60108         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
60110 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
60112         [BZ #13872]
60113         * sysdeps/i386/fpu/e_powl.S (p78): New object.
60114         (__ieee754_powl): Saturate large exponents rather than testing for
60115         overflow of y*log2(x).
60116         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
60117         * math/libm-test.inc (pow_test): Do not permit spurious overflow
60118         exceptions.
60120         [BZ #11521]
60121         * math/s_ctan.c: Include <float.h>.
60122         (__ctan): Avoid internal overflow or cancellation in calculating
60123         denominator.
60124         * math/s_ctanf.c: Likewise.
60125         * math/s_ctanl.c: Likewise.
60126         * math/s_ctanh.c: Likewise.
60127         * math/s_ctanhf.c: Likewise.
60128         * math/s_ctanhl.c: Likewise.
60129         * math/libm-test.inc (ctan_test): Add more tests.
60130         (ctanh_test): Likewise.
60131         * sysdeps/i386/fpu/libm-test-ulps: Update.
60132         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60134 2012-04-09  Andreas Jaeger  <aj@suse.de>
60136         [BZ #6894]
60137         * manual/filesys.texi (Directory Entries): Mention that d_namlen
60138         is an optional BSD extension.
60140         [BZ #10254]
60141         * manual/stdio.texi (Opening Streams): Document additional fopen
60142         parameters.
60144 2012-04-09  Roland McGrath  <roland@hack.frob.com>
60146         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
60147         %eax without telling the compiler.
60149 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
60151         [BZ # 13963]
60152         * manual/install.texi: Use sourceware.org.
60154 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
60156         [BZ #13873]
60157         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
60158         (__ieee754_pow): Generate overflow and underflow using huge*huge
60159         and tiny*tiny rather than just returning constant infinity or zero
60160         for large exponents.
60161         * math/libm-test.inc (pow_test): Require overflow exceptions for
60162         applicable cases of large exponents.
60164         [BZ #706]
60165         * sysdeps/i386/fpu/e_pow.S (p10): New object.
60166         (__ieee754_pow): Use iterative multiplication algorithm only for
60167         integer exponents with absolute value below 1024.  Check for odd
60168         integer exponents when using algorithm for real exponents.
60169         * math/libm-test.inc (pow_test): Add more tests.
60170         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
60172 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
60174         [BZ #13705]
60175         * math/libm-test.inc (exp_test): Do not allow overflow exception
60176         on underflow test.
60178 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
60180         [BZ #13705]
60181         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
60182         instead of __kernel_standard_f.
60184 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
60186         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
60187         * sysdeps/x86_64/memset_chk.S: Likewise.
60189 2012-04-08  Andreas Jaeger  <aj@suse.de>
60191         [BZ #10153]
60192         * manual/startup.texi (Environment Access): Describe return value
60193         for putenv and setenv.
60195         [BZ #6895]
60196         * manual/filesys.texi (Directory Entries): Add description for
60197         DT_LNK.
60199         [BZ #6890]
60200         * manual/filesys.texi (Directory Entries): Clarify that it's file
60201         system not operating system in the description of DT_UNKNOWN.
60203         [BZ #6578]
60204         * manual/syslog.texi (closelog): Fix reference, it's openlog.
60206 2012-04-08  Stephen Compall  <s11@member.fsf.org>
60208         [BZ #6649]
60209         * manual/llio.texi (Opening and Closing Files): Add cross
60210         reference to explain mode argument.
60212 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
60214         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
60215         * sysdeps/x86_64/memset_chk.S: Likewise.
60217 2012-04-07  David S. Miller  <davem@davemloft.net>
60219         * elf/elf.h (R_SPARC_WDISP10): Define.
60220         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
60221         R_SPARC_SIZE32.
60222         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
60223         R_SPARC_SIZE64 and R_SPARC_H34.
60225 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
60227         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
60228         conditions and remove no longer applicable assertion.
60230 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
60232         * bits/byteswap.h: Include <features.h>.
60233         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
60234         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
60236 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
60238         * bits/byteswap.h (__bswap_16): Removed.
60239         Include <bits/byteswap-16.h> to get __bswap_16.
60240         * sysdeps/i386/bits/byteswap.h: Likewise.
60241         * sysdeps/s390/bits/byteswap.h: Likewise.
60242         * sysdeps/x86_64/bits/byteswap.h: Likewise.
60243         * bits/byteswap-16.h: New file.
60244         * sysdeps/i386/bits/byteswap-16.h: Likewise.
60245         * sysdeps/s390/bits/byteswap-16.h: Likewise.
60246         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
60247         * string/Makefile (headers): Add bits/byteswap-16.h.
60249 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
60251         [BZ #13895]
60252         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
60253         extra indirection.
60254         * nss/Makefile (tests-static, tests): Add tst-nss-static.
60255         * nss/tst-nss-static.c: New.
60257 2012-04-06  Robert Millan  <rmh@gnu.org>
60259         [BZ #6486]
60260         * manual/llio.texi (File Position Primitive): lseek
60261         refers to WHENCE when it really means OFFSET.
60263 2012-04-06  Andreas Jaeger  <aj@suse.de>
60265         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
60266         strncmp declarations.
60268         * abilist/libc.abilist: Add __poll and __ppoll.
60270 2012-04-05  David S. Miller  <davem@davemloft.net>
60272         * scripts/check-local-headers.sh: Accept a host triplet in the
60273         path matched by the exclude regexp.
60275         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
60276         definition.
60277         * sysdeps/powerpc/powerpc32/dl-machine.h
60278         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
60279         * sysdeps/s390/s390-32/dl-machine.h
60280         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
60281         * sysdeps/sparc/sparc32/dl-machine.h
60282         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
60283         * sysdeps/sparc/sparc64/dl-machine.h
60284         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
60286         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
60287         lazy binding.
60288         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
60289         undefined symbol errors.
60291         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
60292         DT_NEEDED entries.
60294 2012-04-05  Michael Matz  <matz@suse.de>
60296         [BZ #13592]
60297         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
60299 2012-04-05  Andreas Jaeger  <aj@suse.de>
60301         [BZ #13908]
60302         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
60303         comment.
60305 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
60307         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
60308         which ROUND is no valid rounding mode.
60310 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
60312         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
60313         read again.
60314         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
60316 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
60318         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
60319         an exception using FPU order intentionally.
60321 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
60323         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
60324         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
60325         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
60326         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
60328 2012-04-05  Simon Josefsson  <simon@josefsson.org>
60330         [BZ #12340]
60331         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
60332         EINVAL when BUFLEN is too smal.
60334 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
60336         [BZ #13553]
60337         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
60338         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
60340 2012-04-03  Andreas Jaeger  <aj@suse.de>
60342         [BZ #13938]
60343         * manual/setjmp.texi (System V contexts): Fix sentence.
60345         [BZ #13926]
60346         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
60347         New macro for this case.
60348         [!__GNUC__] (__bswap_64): New inline function for this case.
60349         * sysdeps/x86_64/bits/byteswap.h: Likewise.
60350         * bits/byteswap.h: Likewise.
60351         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
60352         ull, guard with __GLIBC_HAVE_LONG_LONG.
60354         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
60355         __GLIBC_HAVE_LONG_LONG.
60357         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
60358         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
60360 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
60362         [BZ #13691]
60363         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
60364         inptr and inend, rather than using last_ch.
60366 2012-04-02  David S. Miller  <davem@davemloft.net>
60368         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
60369         * stdio-common/printf-parse.h (read_int): Change return type to
60370         'int', return -1 on INT_MAX overflow.
60371         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
60372         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
60373         overflows INT_MAX.  Check for overflow of in-format-string precision
60374         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
60375         SIZE_MAX not INT_MAX for integer overflow test.
60376         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
60377         skip the construct in the format string but do not record anything.
60378         * stdio-common/bug22.c: Adjust to test both width/prevision
60379         INT_MAX overflow as well as total length INT_MAX overflow.  Check
60380         explicitly for proper errno values.
60382 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
60384         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
60385         CHAR_MAX.
60386         * string/test-strcmp.c [! WIDE]: Likewise.
60387         * time/tst-mktime2.c: Likewise for INT_MAX.
60388         * string/test-string.h: #include <sys/param.h> for MIN.
60390         * csu/init-first.c (__libc_init_first): Call __ctype_init.
60391         * sysdeps/i386/init-first.c (init): Likewise.
60392         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
60393         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
60394         * sysdeps/sh/init-first.c (init): Likewise.
60396 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
60398         * po/ru.po: Update from translation team.
60399         * po/vi.po: Likewise.
60401 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
60403         * resolv/nss_dns/dns-host.c: Merge copyright years.
60405 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
60407         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
60408         Optimize memcpy with prefetch if
60409         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
60410         src, dst pointers have unequal 16 byte alignments.
60412 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
60414         [BZ #13928]
60415         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
60416         from a CNAME entry and return the minimum ttl for the query.
60417         (gaih_getanswer_slice): Likewise.
60419 2012-03-30  Jeff Law  <law@redhat.com>
60421         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
60422         due to long keys.
60423         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
60424         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
60426         * resolv/nss_dns/dns-host.c: Update copyright year.
60428 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
60430         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
60431         requests to save a system call.  Fix check that all bytes are sent.
60433         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
60434         comments for sendmmsg.
60436 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
60438         [BZ #13691]
60439         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
60440         with only 1 character between 0x0041 and 0x01b0.
60441         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
60442         * wcsmbs/tst-mbsnrtowcs.c: New file.
60444 2012-03-29  David S. Miller  <davem@davemloft.net>
60446         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
60447         small copies by hand.
60449 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
60451         [BZ #13761]
60452         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
60453         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
60454         group memberships.
60456 2012-03-28  David S. Miller  <davem@davemloft.net>
60458         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
60459         that branches into memcpy.
60460         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
60461         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
60462         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
60463         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
60464         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
60465         bits.
60466         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
60467         implementation too.
60468         * sysdeps/sparc/mempcpy.S: New file.
60470         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
60471         the IFUNC routine in the libc case.
60472         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
60474         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
60475         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
60476         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
60477         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
60478         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
60479         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
60480         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
60481         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
60483         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
60484         loop to 256 bytes instead of 64 bytes and fix test signedness.
60486         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
60487         * sysdeps/sparc/sparc32/Makefile: rather than here...
60488         * sysdeps/sparc/sparc64/Makefile: and here.
60490 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
60492         * malloc/mallocbug.c: Avoid warnings about unused variables.
60494 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
60496         [BZ #13760]
60497         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
60498         in the right place. Discard and retry query if response is
60499         larger than input buffer size.
60501 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
60503         [BZ #369]
60504         [BZ #2678]
60505         [BZ #3866]
60506         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
60507         x for large integer exponent.
60508         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
60509         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
60510         sign of result as needed afterwards.
60511         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
60512         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
60513         result for underflowing pow the same as for overflow.
60514         (__kernel_standard_l): Handle powl overflow and underflow here
60515         rather than calling __kernel_standard.
60516         * math/libm-test.inc (pow_test): Add more tests.
60518         [BZ #3868]
60519         [BZ #13879]
60520         [BZ #13910]
60521         [BZ #13911]
60522         [BZ #13912]
60523         [BZ #13913]
60524         [BZ #13915]
60525         [BZ #13916]
60526         [BZ #13917]
60527         [BZ #13918]
60528         [BZ #13919]
60529         [BZ #13920]
60530         [BZ #13921]
60531         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
60532         * sysdeps/ieee754/k_standard.c: Include <float.h>.
60533         (__kernel_standard_l): New function.
60534         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
60535         __kernel_standard.
60536         * math/w_acosl.c (__acosl): Likewise.
60537         * math/w_asinl.c (__asinl): Likewise.
60538         * math/w_atan2l.c (__atan2l): Likewise.
60539         * math/w_atanhl.c (__atanhl): Likewise.
60540         * math/w_coshl.c (__coshl): Likewise.
60541         * math/w_exp10l.c (__exp10l): Likewise.
60542         * math/w_exp2l.c (__exp2l): Likewise.
60543         * math/w_fmodl.c (__fmodl): Likewise.
60544         * math/w_hypotl.c (__hypotl): Likewise.
60545         * math/w_j0l.c (__j0l, __y0l): Likewise.
60546         * math/w_j1l.c (__j1l, __y1l): Likewise.
60547         * math/w_jnl.c (__jnl, __ynl): Likewise.
60548         * math/w_lgammal.c (__lgammal): Likewise.
60549         * math/w_log10l.c (__log10l): Likewise.
60550         * math/w_log2l.c (__log2l): Likewise.
60551         * math/w_logl.c (__logl): Likewise.
60552         * math/w_powl.c (__powl): Likewise.
60553         * math/w_remainderl.c (__remainderl): Likewise.
60554         * math/w_scalbl.c (sysv_scalbl): Likewise.
60555         * math/w_sinhl.c (__sinhl): Likewise.
60556         * math/w_sqrtl.c (__sqrtl): Likewise.
60557         * math/w_tgammal.c (__tgammal): Likewise.
60558         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
60559         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
60560         * math/libm-test.inc (acos_test): Add more tests.
60561         (acosh_test): Likewise.
60562         (asin_test): Likewise.
60563         (atanh_test): Likewise.
60564         (exp_test): Likewise.
60565         (exp10_test): Likewise.
60566         (exp2_test): Likewise.
60567         (expm1_test): Likewise.
60568         (lgamma_test): Likewise.
60569         (log_test): Likewise.
60570         (log10_test): Likewise.
60571         (log1p_test): Likewise.
60572         (log2_test): Likewise.
60573         (pow_test): Do not allow some spurious overflow exceptions.
60574         (sqrt_test): Add more tests.
60575         (tgamma_test): Likewise.
60576         (y0_test): Likewise.
60577         (y1_test): Likewise.
60578         (yn_test): Likewise.
60580 2012-03-27  Anton Blanchard  <anton@samba.org>
60582         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
60583         MAP_HUGETLB.
60584         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
60585         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
60586         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
60588 2012-03-27  David S. Miller  <davem@davemloft.net>
60590         * conform/Makefile: Run run-conformtest.sh using $(BASH).
60592         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
60593         have-as-vis3 check.
60595 2012-03-27  Andreas Jaeger  <aj@suse.de>
60597         * sysdeps/x86_64/elf/configure.in: Moved to ...
60598         * sysdeps/x86_64/configure.in: ... here.
60599         * sysdeps/x86_64/elf/start.S: Moved to ...
60600         * sysdeps/x86_64/start.S: ... here.
60601         * sysdeps/x86_64/elf/configure: Delete.
60603         * sysdeps/x86_64/configure.in: Merge contents from
60604         sysdeps/i386/configure.in (without i686 check).
60606         * sysdeps/i386/elf/Versions: Merge into ...
60607         * sysdeps/i386/Versions: ... this.
60608         * sysdeps/i386/elf/Versions: Delete file.
60609         * sysdeps/i386/elf/start.S: Moved to ...
60610         * sysdeps/i386/start.S: ...here.
60611         * sysdeps/i386/elf/configure.in: Merge into...
60612         * sysdeps/i386/configure.in: ...here.
60613         * sysdeps/i386/elf/configure.in: Delete file.
60614         * sysdeps/i386/elf/configure: Delete file.
60616         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
60617         * debug/backtracesyms.c: ... here.
60618         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
60619         * debug/backtracesymsfd.c: ... here.
60620         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
60621         * sysdeps/generic/ifunc-sel.h: ... here.
60623         * sysdeps/unix/i386/start.c: Delete file.
60624         * sysdeps/unix/sparc/start.c: Delete file.
60625         * sysdeps/unix/start.c: Delete file.
60627         * sysdeps/sh/elf/configure.in: Moved to ...
60628         * sysdeps/sh/configure.in: ... here.
60629         * sysdeps/sh/elf/start.S: Moved to ...
60630         * sysdeps/sh/start.S: ... here.
60631         * sysdeps/sh/elf/configure: Delete file.
60633         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
60634         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
60635         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
60636         * sysdeps/powerpc/powerpc64/entry.h: ... here.
60637         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
60638         * sysdeps/powerpc/powerpc64/start.S: here.
60639         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
60640         * sysdeps/powerpc/powerpc64/Makefile: ... this.
60641         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
60642         * sysdeps/powerpc/powerpc64/configure.in: ... this.
60643         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
60645         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
60646         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
60647         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
60648         * sysdeps/powerpc/powerpc32/start.S: ... here.
60649         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
60650         * sysdeps/powerpc/powerpc32/configure.in: ... this.
60651         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
60653         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
60654         * sysdeps/powerpc/ifunc-sel.h: ... here.
60655         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
60656         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
60658         * sysdeps/sparc/elf/configure.in: Moved to ...
60659         * sysdeps/sparc/configure.in: ... here.
60660         * sysdeps/sparc/elf/configure: Delete file.
60661         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
60662         * sysdeps/sparc/sparc32/start.S: ... here.
60663         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
60664         * sysdeps/sparc/sparc64/start.S: ... here.
60665         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
60666         * sysdeps/sparc/sparc32/Makefile: ... this.
60667         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
60668         * sysdeps/sparc/sparc64/Makefile: ... this.
60670         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
60671         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
60672         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
60673         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
60674         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
60675         * sysdeps/s390/s390-32/setjmp.S: ... here.
60676         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
60677         * sysdeps/s390/s390-32/configure.in: ... here.
60678         * sysdeps/s390/s390-32/elf/configure: Delete file.
60679         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
60680         * sysdeps/s390/s390-32/start.S: ... here.
60682         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
60683         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
60684         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
60685         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
60686         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
60687         * sysdeps/s390/s390-64/setjmp.S: ... here.
60688         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
60689         * sysdeps/s390/s390-64/configure.in: ... here
60690         * sysdeps/s390/s390-64/elf/configure: Delete file.
60691         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
60692         * sysdeps/s390/s390-64/start.S: ... here.
60693         * sysdeps/s390/s390-64/elf/configure: Delete.
60695         * configure.in: Remove support for elf directories in sysdeps.
60697         * configure: Regenerated.
60698         * sysdeps/i386/configure: Regenerated.
60699         * sysdeps/powerpc/powerpc32/configure: Regenerated.
60700         * sysdeps/powerpc/powerpc64/configure: Regenerated.
60701         * sysdeps/s390/s390-32/configure: Regenerated.
60702         * sysdeps/s390/s390-64/configure: Regenerated.
60703         * sysdeps/sh/configure: Regenerated.
60704         * sysdeps/sparc/configure: Regenerated.
60705         * sysdeps/x86_64/configure: Regenerated.
60707 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
60709         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
60711         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
60712         denormal result into account.
60714 2012-03-25  Roland McGrath  <roland@hack.frob.com>
60716         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
60717         Reported by Allan McRae <allan@archlinux.org>.
60719 2012-03-23  Jeff Law  <law@redhat.com>
60721         * nss/getnssent.c (__nss_getent): Fix typo.
60723 2012-03-23  David S. Miller  <davem@davemloft.net>
60725         * sysdeps/sparc/fpu/libm-test-ulps: Update.
60727 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
60729         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
60730         to pad to uint64_t for each field.
60731         (dl_tls_index): Replace unsigned long with uint64_t.
60733 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
60734         Paul Pluzhnikov  <ppluzhnikov@google.com>
60736         [BZ #6528]
60737         * grp/Makefile (otherlibs): Don't set it.
60738         * inet/Makefile (otherlibs): Likewise.
60739         * login/Makefile (otherlibs): Likewise.
60740         * nscd/Makefile (otherlibs): Likewise.
60741         * posix/Makefile (otherlibs): Likewise.
60742         * pwd/Makefile (otherlibs): Likewise.
60743         * rt/Makefile (otherlibs): Likewise.
60744         * sunrpc/Makefile (otherlibs): Likewise.
60745         * nss/Makefile (otherlibs): Likewise.
60746         Add libnss_files to routines and static-only-routines.
60747         ($(objpfx)getent): Remove rule.
60748         * resolv/Makefile: Add libnss_dns and libresolv to routines and
60749         static-only-routines.
60751 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
60753         [BZ #13892]
60754         * math/s_cexp.c: Include <float.h>.
60755         (__cexp): Handle exp result overflowing not necessarily
60756         overflowing both real and imaginary parts of result.
60757         * math/s_cexpf.c: Likewise.
60758         * math/s_cexpl.c: Likewise.
60759         * math/libm-test.inc (cexp_test): Add more tests.
60760         * sysdeps/i386/fpu/libm-test-ulps: Update.
60761         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60763 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
60765         * include/link.h (ELFW): New macro.
60766         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
60767         Replace ELF64_R_TYPE with ELFW(R_TYPE).
60769 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
60771         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
60772         with uint64_t.
60774 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
60776         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
60777         declaration.
60778         (struct La_x32_retval): Likewise.
60780 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
60782         * sysdeps/x86_64/preconfigure.in: New file.
60783         * sysdeps/x86_64/preconfigure: New generated file.
60785 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
60787         [BZ #13824]
60788         * math/e_exp2l.c: Include <float.h>.
60789         (__ieee754_exp2l): Handle overflow and underflow cases
60790         separately.  Only pass fractional part of argument to
60791         __ieee754_expl.
60792         * math/libm-test.inc (exp2_test): Add more tests.
60794         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
60795         negating x to take absolute value.
60796         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
60797         Likewise.
60798         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
60799         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
60800         Likewise.
60801         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
60802         computing low part if x was negated.
60803         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
60805 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
60807         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
60808         la_x32_gnu_pltexit.
60809         (pltexit): Cast int_retval to ptrdiff_t.
60810         * elf/tst-auditmod3b.c: Likewise.
60811         * elf/tst-auditmod4b.c: Likewise.
60812         * elf/tst-auditmod5b.c: Likewise.
60813         * elf/tst-auditmod6b.c: Likewise.
60814         * elf/tst-auditmod6c.c: Likewise.
60815         * elf/tst-auditmod7b.c: Likewise.
60817         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
60818         and x32_gnu_pltexit.
60820         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
60821         __ELF_NATIVE_CLASS.
60822         (La_x32_regs): New macro.
60823         (La_x32_retval): Likewise.
60824         (la_x32_gnu_pltenter): New function prototype.
60825         (la_x32_gnu_pltexit): Likewise.
60827 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
60829         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
60830         exponent.
60832         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
60834         * configure.in (libc_cv_cc_nofma): Check for option to disable
60835         generation of FMA instructions.
60836         * configure: Regenerate.
60837         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
60838         * sysdeps/ieee754/dbl-64/Makefile: New file.
60839         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
60840         Remove brandred-fma4.
60841         (CFLAGS-brandred-fma4.c): Remove.
60842         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
60843         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
60844         define.
60845         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
60846         define.
60848 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
60850         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
60851         LLONG_MAX != LONG_MAX.
60852         (_itoa_word): Use _ITOA_WORD_TYPE on value.
60853         (_fitoa_word): Likewise.
60854         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
60855         LLONG_MAX != LONG_MAX.
60856         * stdio-common/_itowa.h: Include <_itoa.h>.
60857         (_itowa_word): Use _ITOA_WORD_TYPE on value.
60858         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
60859         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
60860         only if not defined.
60861         (_ITOA_WORD_TYPE): Likewise.
60862         (_itoa_word): Use _ITOA_WORD_TYPE on value.
60863         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
60865 2012-03-21  David S. Miller  <davem@davemloft.net>
60867         * sysdeps/sparc/fpu/libm-test-ulps: Update.
60869 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
60871         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
60872         of x86_64 when setting libc_cv_slibdir, libdir and
60873         libc_cv_localedir.
60874         * sysdeps/unix/sysv/linux/configure: Regenerated.
60876 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
60878         * manual/lang.texi (Old Varargs): Remove section.
60879         (How Variadic): Update menu.
60880         (va_start): Do not mention varargs.h.
60882 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
60883             Joseph Myers  <joseph@codesourcery.com>
60885         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
60886         link test.
60887         * configure: Regenerated.
60889 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
60891         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
60892         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
60893         conformtest.pl
60895 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
60897         * NOTES: Remove.
60898         * Makefile (files-for-dist): Remove NOTES.
60899         (NOTES): Remove rule.
60900         * README: Don't refer to NOTES.
60901         * manual/creature.texi: Don't include macros.texi.
60902         * manual/intro.texi (creature.texi): Remove comment referring to
60903         NOTES.
60905         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
60906         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
60907         * configure: Regenerated.
60908         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
60909         LIBC_TRY_CC_OPTION.
60910         (libc_cv_as_i686): Likewise.
60911         (libc_cv_cc_avx): Likewise.
60912         (libc_cv_cc_sse2avx): Likewise.
60913         (libc_cv_cc_fma4): Likewise.
60914         (libc_cv_cc_novzeroupper): Likewise.
60915         * sysdeps/i386/configure: Regenerated.
60917         [BZ #13883]
60918         * sysdeps/i386/fpu/s_cexp.S: Remove.
60919         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
60920         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
60921         * math/libm-test.inc (cexp_test): Add more tests.
60922         * sysdeps/i386/fpu/libm-test-ulps: Update.
60923         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60925 2012-03-21  Allan McRae  <allan@archlinux.org>
60927         * timezone/Makefile: Do not install iso3166.tab and zone.tab
60929 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
60931         [BZ #13871]
60932         * math/w_exp2.c: Do not include <float.h>.
60933         (o_threshold, u_threshold): Remove.
60934         (__exp2): Calculate result before checking finiteness and calling
60935         __kernel_standard.
60936         * math/w_exp2f.c: Likewise.
60937         * math/w_exp2l.c: Likewise.
60938         * math/libm-test.inc (exp2_test): Require overflow exception for
60939         1e6 input.
60941         [BZ #3866]
60942         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
60943         range of signed 64-bit integers before using fistpll.  Remove
60944         checks for whether integers fit in mantissa bits.
60945         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
60946         the range of signed 32-bit integers before using fistpl.  Remove
60947         checks for whether integers fit in mantissa bits.
60948         * sysdeps/i386/fpu/e_powl.S (p64): New object.
60949         (__ieee754_powl): Test for y outside the range of signed 64-bit
60950         integers before using fistpll.  Reduce 64-bit values to 63-bit
60951         ones as needed.
60952         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
60953         divide-by-zero is raised for zero to large negative powers.
60954         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
60955         (__ieee754_powl): Test for y outside the range of signed 64-bit
60956         integers before using fistpll.  Reduce 64-bit values to 63-bit
60957         ones as needed.
60958         * math/libm-test.inc (pow_test): Add more tests.
60960 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
60962         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
60963         <stdio-common/_itoa.h>.
60964         * debug/segfault.c: Likewise.
60965         * elf/dl-cache.c: Likewise.
60966         * elf/dl-minimal.c: Likewise.
60967         * elf/dl-misc.c: Likewise.
60968         * elf/dl-sysdep.c: Likewise.
60969         * elf/dl-version.c: Likewise.
60970         * elf/rtld.c: Likewise.
60971         * hurd/hurdsock.c: Likewise.
60972         * hurd/lookup-retry.c: Likewise.
60973         * malloc/malloc.c: Likewise.
60974         * malloc/mtrace.c: Likewise.
60975         * nscd/nscd_getgr_r.c: Likewise.
60976         * nscd/nscd_getpw_r.c: Likewise.
60977         * nscd/nscd_getserv_r.c: Likewise.
60978         * posix/getopt_init.c: Likewise.
60979         * posix/wordexp.c: Likewise.
60980         * stdio-common/_itoa.c: Likewise.
60981         * stdio-common/printf_fphex.c: Likewise.
60982         * stdio-common/vfprintf.c: Likewise.
60983         * string/_strerror.c: Likewise.
60984         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
60985         * sysdeps/i386/i686/hp-timing.h: Likewise.
60986         * sysdeps/mach/_strerror.c: Likewise.
60987         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
60988         * sysdeps/mach/hurd/sethostid.c: Likewise.
60989         * sysdeps/mach/hurd/xmknodat.c: Likewise.
60990         * sysdeps/mach/xpg-strerror.c: Likewise.
60991         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
60992         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
60993         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
60994         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
60995         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
60996         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
60997         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
60998         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
60999         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
61000         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
61001         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
61002         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
61003         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
61004         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
61005         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
61006         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
61007         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
61008         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
61009         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
61010         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
61011         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
61013         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
61015         * stdio-common/_itoa.h: Moved to ...
61016         * sysdeps/generic/_itoa.h: Here.
61018         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
61020         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
61021         instead of "_itoa.h" and "_itowa.h".
61022         * stdio-common/vfprintf.: Likewise.
61024 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
61026         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
61027         <bits/wordsize.h>.
61028         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
61029         (__signbit): Likwise.
61030         (llrintf): Likwise.
61031         (llrint): Likwise.
61033 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
61035         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
61036         __WORDSIZE != 64.
61038 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
61040         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
61041         OVERFLOW_EXCEPTION_OK.
61042         * math/libm-test.inc ("Philosophy"): Update comment about
61043         exception testing.
61044         (OVERFLOW_EXCEPTION): Define.
61045         (OVERFLOW_EXCEPTION_OK): Likewise.
61046         (INVALID_EXCEPTION_OK): Renumber.
61047         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
61048         (IGNORE_ZERO_INF_SIGN): Likewise.
61049         (test_exceptions): Handle FE_OVERFLOW.
61050         (exp10_test): Expect overflow exceptions.
61051         (exp2_test): Likewise.
61052         (expm1_test): Likewise.
61053         (nextafter_test): Likewise.
61054         (pow_test): Likewise.
61055         (scalbn_test): Likewise.
61056         (scalbln_test): Likewise.
61058 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
61060         * sysdeps/x86_64/bits/atomic.h
61061         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
61062         64bit integer.
61063         (atomic_exchange_acq): Likewise.
61064         (__arch_exchange_and_add_body): Likewise.
61065         (__arch_add_body): Likewise.
61066         (atomic_add_negative): Likewise.
61067         (atomic_add_zero): Likewise.
61069 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
61071         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
61072         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
61074 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
61076         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
61077         Check __x86_64__ instead of __WORDSIZE.
61079 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
61081         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
61083 2012-03-19  David S. Miller  <davem@davemloft.net>
61085         * sysdeps/sparc/fpu/libm-test-ulps: Update.
61087         * sysdeps/sparc/fpu/fenv_private.h: New file.
61088         * sysdeps/sparc/fpu/math_private.h: Use it.
61089         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
61090         Remove.
61091         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
61092         (libc_feholdexcept_setroundl): Remove.
61093         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
61094         Remove.
61095         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
61096         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
61098 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
61100         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
61101         int64_t instead of long int.
61102         (INSERT_WORDS64): Likwise.
61104 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
61106         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
61107         _Unwind_GetCFA return to _Unwind_Ptr first.
61109 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
61111         [BZ #13629]
61112         * math/s_clog.c: Include <float.h>.
61113         (__clog): Scale large or subnormal inputs.
61114         * math/s_clogf.c: Likewise.
61115         * math/s_clogl.c: Likewise.
61116         * math/s_clog10.c: Include <float.h>.
61117         (M_LOG10_2): Define.
61118         (__clog10): Scale large or subnormal inputs.
61119         * math/s_clog10f.c: Likewise.
61120         * math/s_clog10l.c: Likewise.
61121         * math/libm-test.inc (clog_test): Add more tests.
61122         (clog10_test): Likewise.
61123         * sysdeps/i386/fpu/libm-test-ulps: Update.
61124         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61126         [BZ #11451]
61127         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
61128         x and y.
61129         * math/libm-test.inc (atan2_test): Add another test.
61131         * Makerules (common-objdir-compile): Remove.
61132         * sysdeps/unix/Makefile (config-generated): Do not add
61133         $(unix-generated) to variable.
61134         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
61135         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
61136         Remove rule.
61137         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
61138         Likewise.
61139         [generic bits/local_lim.h] (before-compile): Do not append to
61140         variable.
61141         [generic bits/local_lim.h] (common-generated): Likewise.
61142         [generic sys/param.h] (before-compile): Do not append to variable.
61143         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
61144         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
61145         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
61146         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
61147         include.
61148         [generic sys/param.h] (sys/param.h-includes): Remove variable.
61149         [generic sys/param.h] (sys/param.h-includes): Remove rule.
61150         [generic sys/param.h] ($(addprefix
61151         $(common-objpfx),$(sys/param.h-includes))): Likewise.
61152         [generic sys/param.h] (common-generated): Do not append to
61153         variable.
61154         [generic sys/param.h] (sysdep_headers): Likewise.
61155         [generic bits/errno.h] (before-compile): Do not append to
61156         variable.
61157         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
61158         rule.
61159         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
61160         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
61161         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
61162         [generic bits/errno.h] (common-generated): Do not append to
61163         variable.
61164         [generic bits/ioctls.h] (before-compile): Do not append to
61165         variable.
61166         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
61167         rule.
61168         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
61169         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
61170         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
61171         rule.
61172         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
61173         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
61174         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
61175         [generic bits/ioctls.h] (common-generated): Do not append to
61176         variable.
61177         [generic sys/syscall.h] (syscall.h): Remove variable.
61178         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
61179         rule.
61180         [generic sys/syscall.h] (before-compile): Do not append to
61181         variable.
61182         [generic sys/syscall.h] (common-generated): Likewise.
61183         * sysdeps/unix/errnos-tmpl.c: Remove file.
61184         * sysdeps/unix/errnos.awk: Likewise.
61185         * sysdeps/unix/ioctls-tmpl.c: Likewise.
61186         * sysdeps/unix/ioctls.awk: Likewise.
61187         * sysdeps/unix/mk-local_lim.c: Likewise.
61188         * sysdeps/unix/snarf-ioctls: Likewise.
61190 2012-03-19  Richard Henderson  <rth@twiddle.net>
61192         * sysdeps/i386/fpu/fenv_private.h: New file.
61193         * sysdeps/i386/fpu/math_private.h: Use it.
61194         (math_opt_barrier, math_force_eval): Remove.
61195         (libc_feholdexcept_setround_53bit): Remove.
61196         (libc_feupdateenv_53bit): Remove.
61197         * sysdeps/x86_64/fpu/math_private.h: Likewise.
61198         (math_opt_barrier, math_force_eval): Remove.
61199         (libc_feholdexcept): Remove.
61200         (libc_feholdexcept_setround): Remove.
61201         (libc_fetestexcept, libc_fesetenv): Remove.
61202         (libc_feupdateenv_test): Remove.
61203         (libc_feupdateenv, libc_feholdsetround): Remove.
61204         (libc_feresetround): Remove.
61206         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
61207         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
61209         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
61210         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
61211         (libc_feupdateenv_testl): New.
61212         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
61213         (libc_feupdateenv_testf): New.
61214         (libc_feupdateenv): Use libc_feupdateenv_test.
61215         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
61216         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
61218         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
61219         (libc_feholdsetroundf, libc_feholdsetroundl): New.
61220         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
61221         (libc_feresetround_noex): New.
61222         (libc_feresetround_noexf): New.
61223         (libc_feresetround_noexl): New.
61224         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
61225         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
61226         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
61227         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
61228         SET_RESTORE_ROUND.
61229         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
61230         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
61231         (__cos): Likewise.
61232         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
61233         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
61234         SET_RESTORE_ROUND_NOEX.
61235         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
61236         SET_RESTORE_ROUND_NOEXF.
61237         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
61238         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
61239         (libc_feholdsetroundf): New.
61240         (libc_feresetround, libc_feresetroundf): New.
61242         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
61243         (libc_feholdexcept_setround_53bit): Convert from macro to function.
61244         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
61246         * sysdeps/generic/math_private.h: Include <fenv.h>.
61247         (default_libc_feholdexcept): New.
61248         (default_libc_feholdexcept_setround): New.
61249         (default_libc_fesetenv, default_libc_feupdateenv): New.
61250         (libc_feholdexcept): Only define if undefined.
61251         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
61252         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
61253         (libc_feholdexcept_setroundl): Likewise.
61254         (libc_feholdexcept_setround_53bit): Likewise.
61255         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
61256         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
61257         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
61258         (libc_feupdateenv_53bit): Likewise.
61259         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
61260         (libc_feholdexcept): Convert from macro to inline function.
61261         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
61262         (libc_fesetenv, libc_feupdateenv): Likewise.
61264         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
61265         not previously defined.
61266         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
61267         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
61268         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
61269         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
61270         * sysdeps/ieee754/flt-32/math_private.h: New file.
61271         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
61272         math_private.h below SET_FLOAT_WORD.
61273         (__isnan, __isinf_ns, __finite): Remove.
61274         (__isnanf, __isinf_nsf, __finitef): Remove.
61276 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
61278         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
61280 2012-03-17  David S. Miller  <davem@davemloft.net>
61282         [BZ #6471]
61283         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
61284         for 2.16.
61286 2012-03-16  David S. Miller  <davem@davemloft.net>
61288         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
61289         warnings.
61291         [BZ #6471]
61292         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
61293         properly.
61294         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
61295         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
61296         sysdep_routines when subdir is sysvipc.
61297         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
61298         __getshmlba helper.
61300         * sysdeps/sparc/fpu/libm-test/ulps: Update.
61302 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
61304         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
61305         [__LP64__].
61307 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
61309         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
61310         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
61311         (__lround): Renamed to ...
61312         (__llround): This.  Replace long int with long long int.
61313         Define lround functions as aliases of llround functions.
61314         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
61316 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
61318         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
61319         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
61320         adresses to uintptr_t.  Replace "long int" and "unsigned long
61321         int" with "greg_t" on va_arg.
61323 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
61325         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
61326         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
61328         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
61329         Move e_machine check before EI_CLASS check.  Handle x32
61330         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
61331         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
61332         SKIP_EM_IA_64 and include
61333         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
61335         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
61336         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
61337         (add_system_dir): New macro.
61339         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
61340         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
61342 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
61344         [BZ #2551]
61345         [BZ #2552]
61346         [BZ #2553]
61347         [BZ #2554]
61348         [BZ #2562]
61349         [BZ #2563]
61350         [BZ #2565]
61351         [BZ #2566]
61352         [BZ #2576]
61353         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
61354         (y0): Likewise.
61355         * math/w_j0f.c (j0f): Likewise.
61356         (y0f): Likewise.
61357         * math/w_j0l.c (__j0l): Likewise.
61358         (__y0l): Likewise.
61359         * math/w_j1.c (j1): Likewise.
61360         (y1): Likewise.
61361         * math/w_j1f.c (j1f): Likewise.
61362         (y1f): Likewise.
61363         * math/w_j1l.c (__j1l): Likewise.
61364         (__y1l): Likewise.
61365         * math/w_jn.c (jn): Likewise.
61366         (yn): Likewise.
61367         * math/w_jnf.c (jnf): Likewise.
61368         (ynf): Likewise.
61369         * math/w_jnl.c (__jnl): Likewise.
61370         (__ynl): Likewise.
61371         * math/libm-test.inc (j0_test): Add more tests.
61372         (j1_test): Likewise.
61373         (jn_test): Likewise.  Add trailing semicolon to existing test.
61374         (y0_test): Likewise.
61375         (y1_test): Likewise.
61376         * sysdeps/i386/fpu/libm-test-ulps: Update.
61377         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61379         [BZ #13851]
61380         [BZ #13854]
61381         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
61382         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
61383         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
61384         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
61385         (__tanl): Set errno for infinite argument.
61386         * sysdeps/i386/fpu/mptan.c: Remove.
61387         * sysdeps/i386/fpu/s_tan.S: Likewise.
61388         * sysdeps/i386/fpu/s_tanl.S: Likewise.
61389         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
61390         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
61391         * math/libm-test.inc (tan_test): Add more tests and enable more
61392         tests for double and long double.
61393         * sysdeps/i386/fpu/libm-test-ulps: Update.
61394         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61396 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
61398         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
61399         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
61401 2012-03-16  Roland McGrath  <roland@hack.frob.com>
61403         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
61404         * configure.in: Use it for both main tree and add-ons.
61405         * configure: Regenerated.
61407 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
61409         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
61411 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
61413         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
61414         in comment.
61416         [BZ #13851]
61417         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
61418         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
61419         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
61420         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
61421         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
61422         infinite argument.
61423         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
61424         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
61425         != 0 for prec == 2.
61426         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
61427         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
61428         * sysdeps/i386/fpu/s_cosl.S: Likewise.
61429         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
61430         * sysdeps/i386/fpu/s_sinl.S: Likewise.
61431         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
61432         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
61433         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
61434         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
61435         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
61436         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
61437         * math/libm-test.inc (cos_test): Add more tests and enable more
61438         tests for long double.
61439         (sin_test): Likewise.
61440         (sincos_test): Likewise.
61441         * sysdeps/i386/fpu/libm-test-ulps: Update.
61442         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61444 2012-03-16  David S. Miller  <davem@davemloft.net>
61446         * sysdeps/sparc/fpu/math_private.h: New file.
61448 2012-03-15  David S. Miller  <davem@davemloft.net>
61450         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
61451         file.
61452         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
61453         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
61454         file.
61455         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
61456         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
61457         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
61458         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
61459         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
61460         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
61461         sysdep routines.
61462         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
61464         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
61465         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
61467         * sysdeps/sparc/sparc-ifunc.h: New file.
61468         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
61469         sparc-ifunc.h
61470         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
61471         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
61472         Likewise.
61473         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
61474         Likewise.
61475         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
61476         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
61477         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
61478         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
61479         Likewise.
61480         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
61481         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
61482         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
61483         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
61484         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
61485         Likewise.
61486         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
61487         Likewise.
61488         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
61489         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
61490         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
61491         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
61492         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
61493         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
61494         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
61495         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
61496         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
61497         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
61498         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
61499         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
61500         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
61501         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
61502         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
61503         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
61504         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
61505         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
61506         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
61507         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
61508         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
61509         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
61510         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
61511         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
61513 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
61515         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
61516         scaling.
61517         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
61519 2012-03-15  Andreas Jaeger  <aj@suse.de>
61521         [BZ #13852]
61522         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
61523         ieee754/flt-32 implementation for sin, cos and sincos.
61524         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
61525         * sysdeps/i386/fpu/s_cosf.S: Likewise.
61526         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
61527         * sysdeps/i386/fpu/s_sinf.S: Likewise.
61528         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
61529         ieee754/flt-32 implementation for tan.
61531         * math/libm-test.inc (cos_test): Enable some large input tests for
61532         float as well
61533         (sin_test): Likewise.
61534         (sincos_test): Likewise.
61535         (tan_test): Add tests for large input.
61537         * sysdeps/i386/fpu/libm-test-ulps: Update.
61539 2012-03-15  Andreas Jaeger  <aj@suse.de>
61541         [BZ #13658]
61542         * math/libm-test.inc (cos_test): Add more test cases.
61543         (sin_test): Likewise.
61544         (sincos_test): Likewise.
61546 2012-03-15  Andreas Jaeger  <aj@suse.de>
61548         [BZ #13837]
61549         * math/libm-test.inc (cos_test): Add a test case for large input
61550         value.
61551         (sin_test): Likewise.
61552         (sincos_test): Likewise.
61554 2012-03-15  Andreas Jaeger  <aj@suse.de>
61555             Joseph Myers  <joseph@codesourcery.com>
61557         [BZ #13658]
61558         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
61559         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
61560         * sysdeps/i386/fpu/branred.c: Likewise.
61561         * sysdeps/i386/fpu/dosincos.c: Likewise.
61562         * sysdeps/i386/fpu/mpa.c: Likewise.
61563         * sysdeps/i386/fpu/s_cos.S: Likewise.
61564         * sysdeps/i386/fpu/s_sin.S: Likewise.
61565         * sysdeps/i386/fpu/s_sincos.S: Likewise.
61566         * sysdeps/i386/fpu/sincos32.c: Likewise.
61568         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
61569         Define.
61570         (libc_feupdateenv_53bit): Define.
61571         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
61572         Define.
61573         (libc_feupdateenv_53bit): Define.
61575         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
61576         53 bit (without extend i386 double precision).
61578         * math/libm-test.inc (sincos_test): Add tests for large input.
61579         (sin): Likewise.
61580         (cos): Likewise.
61582         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
61584 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
61586         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
61588 2012-03-15  David S. Miller  <davem@davemloft.net>
61590         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
61591         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
61592         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
61593         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
61594         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
61595         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
61596         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
61597         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
61598         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
61599         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
61600         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
61601         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
61602         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
61603         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
61604         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
61605         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
61606         file.
61607         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
61608         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
61609         file.
61610         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
61611         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
61612         file.
61613         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
61614         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
61615         file.
61616         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
61617         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
61618         fmin/fmax sysdep routines.
61619         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
61621 2012-03-14  David S. Miller  <davem@davemloft.net>
61623         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
61624         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
61625         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
61626         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
61627         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
61628         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
61629         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
61630         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
61631         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
61632         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
61633         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
61634         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
61635         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
61636         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
61637         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
61638         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
61639         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
61640         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
61641         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
61642         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
61643         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
61644         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
61645         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
61646         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
61647         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
61648         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
61649         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
61650         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
61651         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
61652         routines.
61653         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
61654         file.
61655         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
61656         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
61657         file.
61658         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
61659         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
61660         file.
61661         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
61662         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
61663         file.
61664         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
61665         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
61666         file.
61667         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
61668         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
61669         file.
61670         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
61671         file.
61672         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
61673         file.
61674         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
61675         file.
61676         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
61677         New file.
61678         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
61679         file.
61680         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
61681         file.
61682         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
61683         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
61684         file.
61685         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
61686         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
61687         file.
61688         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
61689         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
61690         file.
61691         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
61692         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
61693         VIS3 routines.
61695         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
61696         New file.
61698         * sysdeps/sparc/fpu/libm-test-ulps: Update.
61700         * sysdeps/sparc/configure.in: New file.
61701         * sysdeps/sparc/configure: Generate.
61702         * configure.in (libc_cv_sparc_as_vis3): Substitute.
61703         * configure: Regenerate.
61704         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
61705         * config.make.in (have-as-vis3): New.
61706         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
61707         available use -Av9d instead of -Av9a.
61708         * sysdeps/sparc/sparc64/Makefile: Likewise.
61709         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
61710         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
61711         New file.
61712         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
61713         file.
61714         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
61715         New file.
61716         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
61717         file.
61718         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
61719         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
61720         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
61721         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
61722         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
61724         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
61725         fzeros/fnegs to load 0x80000000 into a float register instead of
61726         using the stack.
61727         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
61729 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
61731         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
61732         bits/syscall.h.
61733         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
61734         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
61735         ($(inst_includedir)/bits/syscall.h): Remove rule.
61736         ($(objpfx)bits/syscall.d): Include instead of
61737         $(objpfx)syscall-list.d.
61738         (generated): Change syscall-list.h and syscall-list.d to
61739         bits/syscall.h and bits/syscall.d.
61741 2012-03-14  Roland McGrath  <roland@hack.frob.com>
61743         [BZ #13846]
61744         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
61746 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
61748         [BZ #13841]
61749         * math/s_csqrt.c: Include <float.h>.
61750         (__csqrt): Scale large or subnormal inputs.
61751         * math/s_csqrtf.c: Likewise.
61752         * math/s_csqrtl.c: Likewise.
61753         * math/libm-test.inc (csqrt_test): Add more tests.
61754         * sysdeps/i386/fpu/libm-test-ulps: Update.
61755         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61757         [BZ #13840]
61758         * math/libm-test.inc (hypot_test): Add more tests.
61760 2012-03-13  David S. Miller  <davem@davemloft.net>
61762         [BZ #13840]
61763         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
61764         double-precision for the calculation instead of scaling.
61766 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
61768         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
61769         manipulate bits before adding and subtracting TWO52[sx].
61770         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
61771         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
61772         Likewise.
61773         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
61775 2012-03-13  David S. Miller  <davem@davemloft.net>
61777         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
61778         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
61779         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
61780         rtld-global-offsets.h
61781         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
61783         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
61784         large parameters.
61786         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
61788         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
61789         'err' in the ifdef scope in which it is actually used.
61791         * nss/nss_db/db-init.c: Include string.h
61793 2012-03-12  David S. Miller  <davem@davemloft.net>
61795         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
61796         masking out of the most significant byte of random value used.
61797         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
61798         Fix coding style in previous change.
61800         * sysdeps/unix/sysv/linux/kernel-features.h
61801         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
61802         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
61803         expression.
61804         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
61805         later.
61807 2012-03-11  David S. Miller  <davem@davemloft.net>
61809         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
61810         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
61811         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
61812         for 'resultvar' otherwise things get truncated on 64-bit.
61814         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
61815         Fix masking out of the most significant byte of random value used.
61817         * sysdeps/sparc/fpu/libm-test-ulps: Update.
61819 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
61821         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
61823 2012-03-09  David S. Miller  <davem@davemloft.net>
61825         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
61826         variables with appropriate CPP guards.
61827         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
61828         from the frame pointer, not the stack pointer.  Correct layout
61829         comments.  Fix test on resulting framesize and the management of
61830         the outregs buffer for pltexit.  Preserve floating point return
61831         values across _dl_call_pltexit call.
61832         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
61833         framesize and the management of the outregs buffer for pltexit.
61834         Preserve floating point return values across _dl_call_pltexit
61835         call.
61836         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
61837         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
61838         (la_sparc64_gnu_pltexit): New functions.
61839         (print_exit): Fix format string for return register value.
61841 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
61843         * sunrpc/Makefile (others): Add rpcgen.
61844         ($(objpfx)rpcgen): Remove special build rule and dependency on
61845         libc.
61846         * sunrpc/rpcgen.c: New file.
61848 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
61850         [BZ #13673]
61851         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
61852         * stdio-common/bug-vfprintf-nargs.c: Likewise.
61853         * sysdeps/i386/crti.S: Likewise.
61854         * sysdeps/i386/crtn.S: Likewise.
61855         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
61856         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
61857         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
61858         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
61859         * sysdeps/sh/crti.S: Likewise.
61860         * sysdeps/sh/crtn.S: Likewise.
61861         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
61863         [BZ #13673]
61864         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
61865         with URL.
61866         * locale/programs/locfile-kw.gperf: Likewise.
61867         * locale/programs/charmap-kw.h: Regenerated.
61868         * locale/programs/locfile-kw.h: Likewise.
61870         [BZ #13673]
61871         * intl/plural.y: Replace FSF snail mail address with URL.
61872         * intl/plural.c: Regenerated.
61874 2012-03-09  Richard Henderson  <rth@twiddle.net>
61876         * include/math_private.h: Remove file.
61877         * math/math_private.h: Move file ...
61878         * sysdeps/generic/math_private.h: ... here.
61880         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
61881         * sysdeps/powerpc/fpu/math_private.h: Likewise.
61882         * sysdeps/x86_64/fpu/math_private.h: Likewise.
61884         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
61885         and <math_private.h>.
61886         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
61887         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
61888         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
61889         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
61890         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
61891         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
61892         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
61893         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
61894         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
61895         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
61896         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
61897         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
61898         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
61899         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
61900         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
61901         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
61902         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
61903         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
61904         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
61905         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
61906         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
61907         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
61908         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
61909         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
61910         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
61911         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
61912         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
61913         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
61914         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
61915         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
61916         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
61917         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
61918         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
61919         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
61920         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
61921         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
61922         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
61923         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
61924         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
61925         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
61926         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
61927         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
61928         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
61929         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
61930         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
61931         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
61932         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
61933         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
61934         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
61935         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
61936         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
61937         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
61938         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
61939         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
61940         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
61941         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
61942         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
61943         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
61944         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
61945         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
61946         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
61947         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
61948         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
61949         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
61950         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
61951         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
61952         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
61953         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
61954         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
61955         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
61956         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
61957         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
61958         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
61959         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
61960         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
61961         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
61962         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
61963         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
61964         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
61965         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
61966         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
61967         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
61968         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
61969         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
61970         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
61971         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
61972         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
61973         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
61974         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
61975         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
61976         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
61977         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
61978         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
61979         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
61980         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
61981         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
61982         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
61983         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
61984         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
61985         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
61986         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
61987         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
61988         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
61989         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
61990         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
61991         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
61992         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
61993         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
61994         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
61995         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
61996         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
61997         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
61998         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
61999         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
62000         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
62001         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
62002         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
62003         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
62004         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
62005         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
62006         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
62007         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
62008         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
62009         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
62010         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
62011         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
62012         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
62013         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
62014         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
62015         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
62016         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
62017         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
62018         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
62019         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
62020         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
62021         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
62022         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
62023         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
62024         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
62025         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
62026         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
62027         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
62028         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
62029         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
62030         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
62031         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
62032         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
62033         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
62034         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
62035         * sysdeps/ieee754/k_standard.c: Likewise.
62036         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
62037         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
62038         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
62039         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
62040         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
62041         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
62042         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
62043         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
62044         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
62045         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
62046         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
62047         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
62048         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
62049         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
62050         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
62051         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
62052         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
62053         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
62054         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
62055         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
62056         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
62057         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
62058         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
62059         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
62060         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
62061         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
62062         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
62063         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
62064         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
62065         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
62066         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
62067         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
62068         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
62069         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
62070         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
62071         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
62072         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
62073         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
62074         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
62075         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
62076         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
62077         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
62078         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
62079         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
62080         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
62081         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
62082         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
62083         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
62084         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
62085         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
62086         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
62087         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
62088         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
62089         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
62090         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
62091         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
62092         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
62093         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
62094         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
62095         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
62096         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
62097         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
62098         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
62099         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
62100         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
62101         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
62102         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
62103         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
62104         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
62105         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
62106         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
62107         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
62108         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
62109         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
62110         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
62111         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
62112         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
62113         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
62114         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
62115         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
62116         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
62117         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
62118         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
62119         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
62120         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
62121         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
62122         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
62123         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
62124         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
62125         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
62126         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
62127         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
62128         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
62129         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
62130         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
62131         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
62132         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
62133         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
62134         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
62135         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
62136         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
62137         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
62138         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
62139         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
62140         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
62141         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
62142         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
62143         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
62144         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
62145         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
62146         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
62147         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
62148         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
62149         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
62150         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
62151         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
62152         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
62153         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
62154         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
62155         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
62156         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
62157         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
62158         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
62159         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
62160         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
62161         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
62162         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
62163         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
62164         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
62165         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
62166         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
62167         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
62168         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
62169         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
62170         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
62171         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
62172         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
62173         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
62174         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
62175         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
62176         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
62177         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
62178         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
62179         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
62180         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
62181         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
62182         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
62183         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
62184         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
62185         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
62186         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
62187         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
62188         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
62189         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
62190         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
62191         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
62192         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
62193         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
62194         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
62195         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
62196         * sysdeps/ieee754/s_lib_version.c: Likewise.
62197         * sysdeps/ieee754/s_matherr.c: Likewise.
62198         * sysdeps/ieee754/s_signgam.c: Likewise.
62199         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
62200         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
62201         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
62202         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
62203         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
62204         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
62205         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
62206         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
62207         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
62208         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
62209         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
62210         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
62211         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
62212         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
62213         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
62214         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
62215         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
62216         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
62217         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
62218         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
62219         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
62221 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
62223         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
62224         * sunrpc/rpc_main.c: Likewise.
62225         * sunrpc/rpc_svcout.c: Likewise.
62227 2012-03-09  David S. Miller  <davem@davemloft.net>
62229         * include/math_private.h: New file.
62231 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
62233         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
62234         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
62235         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
62236         from <bits/socket_type.h>.
62237         (enum __socket_type): Don't define here.
62238         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
62239         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
62240         bits/socket_type.h.
62242         [BZ #13566]
62243         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
62244         checking __USE_GNU.
62246         * Makerules ($(inst_includedir)/%.h): New rule.
62247         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
62248         (install-others): Remove variable setting.
62249         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
62251 2012-03-08  Richard Henderson  <rth@twiddle.net>
62253         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
62254         from macro to inline function; merge with the
62255         !__LIBC_INTERNAL_MATH_INLINES version.
62256         (__ieee754_sqrtf): Likewise.
62258         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
62259         to inline function.
62260         (__rintf, __floor, __floorf): Likewise.
62262         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
62263         macro to inline function.
62264         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
62266         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
62267         not <math/math_private.h>.
62269 2012-03-08  David S. Miller  <davem@davemloft.net>
62271         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
62272         copyright year.
62273         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
62275 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
62277         * resolv/gai_misc.c (handle_requests): Fix struct timespec
62278         normalization.
62279         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
62280         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
62282 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
62284         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
62285         be defined individually, they must be defined as a block.  Define
62286         S for printing a string instead of hidint the different by using a
62287         macro for adding the 'l'.
62288         * stdio-common/tst-fphex-wide.c: Adjust.
62290 2012-03-07  Marek Polacek  <polacek@redhat.com>
62292         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
62294 2012-03-08  Marek Polacek  <polacek@redhat.com>
62296         [BZ #13806]
62297         * stdio-common/Makefile (tests): Add tst-fphex-wide.
62298         * stdio-common/tst-fphex.c: Define a few macros to make the
62299         test reusable.  Use them.
62300         * stdio-common/tst-fphex-wide.c: New file.
62302 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
62304         [BZ #6911]
62305         * manual/macros.texi (gnusystems): New macro.
62306         (nongnusystems): Likewise.
62307         (gnulinuxhurdsystems): Likewise.
62308         (gnuhurdsystems): Likewise..
62309         (gnulinuxsystems): Likewise.
62310         * manual/charset.texi: Use new macros or @theglibc{} to refer to
62311         variants of the GNU system, not "GNU system".
62312         * manual/conf.texi: Likewise.
62313         * manual/errno.texi: Likewise.  Update example of errno macro
62314         expansion.
62315         * manual/filesys.texi: Likewise.
62316         (getumask): Document as specific to GNU/Hurd.
62317         * manual/install.texi: Likewise.  Reword some references to
62318         GNU/Linux.
62319         * manual/intro.texi: Likewise.
62320         * manual/io.texi: Likewise.
62321         (File Name Portability): Detail which constraints are inapplicable
62322         to all GNU systems and which are only inapplicable to GNU/Hurd.
62323         * manual/job.texi: Likewise.
62324         * manual/llio.texi: Likewise.
62325         (O_NOCTTY): Document as present on GNU/Linux.
62326         * manual/maint.texi: Likewise.
62327         * manual/memory.texi: Likewise.
62328         * manual/pattern.texi: Likewise.
62329         * manual/pipe.texi: Likewise.
62330         * manual/process.texi: Likewise.
62331         * manual/resource.texi: Likewise.
62332         (RUSAGE_CHILDREN): Remove statement about specifying a particular
62333         child on GNU/Hurd.
62334         * manual/setjmp.texi: Likewise.
62335         * manual/signal.texi: Likewise.
62336         * manual/startup.texi: Likewise.
62337         * manual/stdio.texi: Likewise.
62338         * manual/terminal.texi: Likewise.
62339         (ONLCR): Document as POSIX.
62340         (OXTABS): Document availability on GNU/Linux as XTABS.
62341         (ONOEOT): Document availability separately from other bits.
62342         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
62343         * manual/time.texi: Likewise.
62344         * manual/users.texi: Likewise.
62345         * INSTALL: Regenerated.
62346         * sysdeps/gnu/errlist.c: Regenerated.
62348         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
62349         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
62350         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
62351         puts.
62352         * configure: Regenerated.
62354 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
62356         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
62357         default includes instead of AC_HEADER_CHECK.
62358         * sysdeps/i386/configure: Regenerated.
62360         [BZ #10716]
62361         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
62362         * math/s_cacoshf.c (__cacoshf): Likewise.
62363         * math/s_cacoshl.c (__cacoshl): Likewise.
62364         * math/s_casinh.c (__casinh): Set signs of result from argument.
62365         * math/s_casinhf.c (__casinhf): Likewise.
62366         * math/s_casinhl.c (__casinhl): Likewise.
62367         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
62368         (casinh_test): Add more tests.
62369         * sysdeps/i386/fpu/libm-test-ulps: Update.
62370         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62372 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
62374         * po/zh_TW.po: Update from translation team.
62376         * login/Makefile (distribute): Remove variable.
62377         * catgets/Makefile: Likewise.
62378         * mach/Makefile: Likewise.
62379         * malloc/Makefile: Likewise.
62380         * misc/Makefile: Likewise.
62381         * iconv/Makefile: Likewise.
62382         * nscd/Makefile: Likewise.
62383         * hurd/Makefile: Likewise.
62384         * manual/Makefile: Likewise.
62385         * locale/Makefile: Likewise.
62386         * intl/Makefile: Likewise.
62387         * conform/Makefile: Likewise.
62388         * nss/Makefile: Likewise.
62389         * time/Makefile: Likewise.
62390         * soft-fp/Makefile: Likewise.
62391         * dirent/Makefile: Likewise.
62392         * gmon/Makefile: Likewise.
62393         * po/Makefile: Likewise.
62394         * rt/Makefile: Likewise.
62395         * socket/Makefile: Likewise.
62396         * math/Makefile: Likewise.
62397         * signal/Makefile: Likewise.
62398         * debug/Makefile: Likewise.
62399         * elf/Makefile: Likewise.
62400         * timezone/Makefile: Likewise.
62401         * stdlib/Makefile: Likewise.
62402         * iconvdata/Makefile: Likewise.
62403         * sunrpc/Makefile: Likewise.
62404         * io/Makefile: Likewise.
62405         * argp/Makefile: Likewise.
62406         * inet/Makefile: Likewise.
62407         * hesiod/Makefile: Likewise.
62408         * grp/Makefile: Likewise.
62409         * csu/Makefile: Likewise.
62410         * wctype/Makefile: Likewise.
62411         * crypt/Makefile: Likewise.
62412         * libio/Makefile: Likewise.
62413         * string/Makefile: Likewise.
62414         * nis/Makefile: Likewise.
62415         * resolv/Makefile: Likewise.
62416         * stdio-common/Makefile: Likewise.
62417         * wcsmbs/Makefile: Likewise.
62418         * dlfcn/Makefile: Likewise.
62419         * posix/Makefile: Likewise.
62421         [BZ #6959]
62422         * timezone/Makefile: Don't install timezone files, just the programs
62423         and scripts.
62425 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
62427         * nss/databases.def: Add missing gshadow entry.
62429         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
62431 2012-03-06  Marek Polacek  <polacek@redhat.com>
62433         [BZ #13726]
62434         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
62435         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
62436         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
62437         * stdio-common/tst-long-dbl-fphex.c: New file.
62439 2012-03-06  David S. Miller  <davem@davemloft.net>
62441         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
62442         (set_obp_int): New function.
62443         (get_obp_int): New function.
62444         (__get_clockfreq_via_dev_openprom): Likewise.
62445         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
62446         Avoid unused variable warnings on 'val' and use builtin_expect.
62447         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
62448         __builtin_expect.
62449         (INLINE_CLONE_SYSCALL): Likewise.
62451 2012-03-05  David S. Miller  <davem@davemloft.net>
62453         * sysdeps/sparc/fpu/libm-test-ulps: Update.
62455 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
62457         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
62459         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
62460         only for |x| >= 40.
62461         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
62463 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
62465         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
62466         Replace gettimeofday with __vdso_gettimeofday.
62468         * sysdeps/unix/sysv/linux/x86_64/init-first.c
62469         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
62470         __vdso_clock_gettime and __vdso_getcpu.
62472         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
62473         time with __vdso_time.
62475 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
62477         * manual/lang.texi (size_t): Note types to which size_t may be
62478         equivalent with the GNU C Library, but do not describe when
62479         differences between them are significant.
62481 2012-03-05  Andreas Jaeger  <aj@suse.de>
62483         * sysdeps/i386/fpu/libm-test-ulps: Update.
62485 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
62487         [BZ #3976]
62488         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
62489         (__ieee754_pow): Save and restore rounding mode and use
62490         round-to-nearest for main computations.
62491         * math/libm-test.inc (pow_test_tonearest): New function.
62492         (pow_test_towardzero): Likewise.
62493         (pow_test_downward): Likewise.
62494         (pow_test_upward): Likewise.
62495         (main): Call the new functions.
62496         * sysdeps/i386/fpu/libm-test-ulps: Update.
62497         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62499         [BZ #3976]
62500         * math/libm-test.inc (cosh_test_tonearest): New function.
62501         (cosh_test_towardzero): Likewise.
62502         (cosh_test_downward): Likewise.
62503         (cosh_test_upward): Likewise.
62504         (sinh_test_tonearest): Likewise.
62505         (sinh_test_towardzero): Likewise.
62506         (sinh_test_downward): Likewise.
62507         (sinh_test_upward): Likewise.
62508         (main): Call the new functions.
62509         * sysdeps/i386/fpu/libm-test-ulps: Update.
62510         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62512 2012-03-05  Tom de Vries  <tom@codesourcery.com>
62514         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
62515         default stack guard is set in last bytes.
62516         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
62518 2012-03-05  Kees Cook  <keescook@chromium.org>
62520         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
62522         [BZ #13656]
62523         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
62524         possibly allocate from heap instead of stack.
62525         * stdio-common/bug-vfprintf-nargs.c: New file.
62526         * stdio-common/Makefile (tests): Add nargs overflow test.
62528 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
62530         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
62532 2012-03-03  Marek Polacek  <polacek@redhat.com>
62534         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
62535         * math/math_private.h: Likewise.
62536         * stdlib/tst-strtod.c: Likewise.
62537         * sysdeps/i386/i486/bits/atomic.h: Likewise.
62538         * sysdeps/x86_64/bits/atomic.h: Likewise.
62540 2012-03-02  David S. Miller  <davem@davemloft.net>
62542         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
62543         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
62544         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
62545         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
62546         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
62547         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
62548         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
62549         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
62551 2012-03-02  Roland McGrath  <roland@hack.frob.com>
62553         [BZ #13792]
62554         * manual/examples/README: New file, says the example source files
62555         can be used under GPL>=2.
62556         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
62557         line containing just "*/".
62558         * manual/examples/add.c: Add copyright header (GPL>=2).
62559         * manual/examples/argp-ex1.c: Likewise.
62560         * manual/examples/argp-ex2.c: Likewise.
62561         * manual/examples/argp-ex3.c: Likewise.
62562         * manual/examples/argp-ex4.c: Likewise.
62563         * manual/examples/atexit.c: Likewise.
62564         * manual/examples/db.c: Likewise.
62565         * manual/examples/dir.c: Likewise.
62566         * manual/examples/dir2.c: Likewise.
62567         * manual/examples/execinfo.c: Likewise.
62568         * manual/examples/filecli.c: Likewise.
62569         * manual/examples/filesrv.c: Likewise.
62570         * manual/examples/fmtmsgexpl.c: Likewise.
62571         * manual/examples/genpass.c: Likewise.
62572         * manual/examples/inetcli.c: Likewise.
62573         * manual/examples/inetsrv.c: Likewise.
62574         * manual/examples/isockad.c: Likewise.
62575         * manual/examples/longopt.c: Likewise.
62576         * manual/examples/memopen.c: Likewise.
62577         * manual/examples/memstrm.c: Likewise.
62578         * manual/examples/mkfsock.c: Likewise.
62579         * manual/examples/mkisock.c: Likewise.
62580         * manual/examples/mygetpass.c: Likewise.
62581         * manual/examples/pipe.c: Likewise.
62582         * manual/examples/popen.c: Likewise.
62583         * manual/examples/rprintf.c: Likewise.
62584         * manual/examples/search.c: Likewise.
62585         * manual/examples/select.c: Likewise.
62586         * manual/examples/setjmp.c: Likewise.
62587         * manual/examples/sigh1.c: Likewise.
62588         * manual/examples/sigusr.c: Likewise.
62589         * manual/examples/stpcpy.c: Likewise.
62590         * manual/examples/strdupa.c: Likewise.
62591         * manual/examples/strftim.c: Likewise.
62592         * manual/examples/strncat.c: Likewise.
62593         * manual/examples/subopt.c: Likewise.
62594         * manual/examples/swapcontext.c: Likewise.
62595         * manual/examples/termios.c: Likewise.
62596         * manual/examples/testopt.c: Likewise.
62597         * manual/examples/testpass.c: Likewise.
62598         * manual/examples/timeval_subtract.c: Likewise.
62600         [BZ #13792]
62601         * manual/time.texi (Elapsed Time): Move timeval_subtract example
62602         function to ...
62603         * manual/timeval_subtract.c.texi: ... here, new file.
62605 2012-03-02  David S. Miller  <davem@davemloft.net>
62607         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
62609 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
62611         [BZ #3976]
62612         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
62613         (__sin): Save and restore rounding mode and use round-to-nearest
62614         for all computations.
62615         (__cos): Save and restore rounding mode and use round-to-nearest
62616         for all computations.
62617         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
62618         <fenv.h>.
62619         (tan): Save and restore rounding mode and use round-to-nearest for
62620         all computations.
62621         * math/libm-test.inc (cos_test_tonearest): New function.
62622         (cos_test_towardzero): Likewise.
62623         (cos_test_downward): Likewise.
62624         (cos_test_upward): Likewise.
62625         (sin_test_tonearest): Likewise.
62626         (sin_test_towardzero): Likewise.
62627         (sin_test_downward): Likewise.
62628         (sin_test_upward): Likewise.
62629         (tan_test_tonearest): Likewise.
62630         (tan_test_towardzero): Likewise.
62631         (tan_test_downward): Likewise.
62632         (tan_test_upward): Likewise.
62633         (main): Call the new functions.
62634         * sysdeps/i386/fpu/libm-test-ulps: Update.
62635         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62637         [BZ #10135]
62638         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
62639         small n, then large n, before computing and testing k+n.
62640         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
62641         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
62642         Likewise.
62643         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
62644         Likewise.
62645         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
62646         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
62647         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
62648         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
62649         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
62650         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
62651         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
62652         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
62653         * math/libm-test.inc (scalbn_test): Add more tests.
62654         (scalbln_test): Likewise.
62656         * manual/filesys.texi (mode_t): Describe constraints on size and
62657         signedness, not exact equivalence to a particular type.
62658         (ino_t): Likewise.
62659         (ino64_t): Likewise.
62660         (dev_t): Likewise.
62661         (nlink_t): Likewise.
62662         (blkcnt_t): Likewise.
62663         (blkcnt64_t): Likewise.
62664         * manual/llio.texi (off_t): Likewise.
62666         [BZ #3976]
62667         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
62668         (__ieee754_exp): Save and restore rounding mode and use
62669         round-to-nearest for all computations.
62670         * math/libm-test.inc (exp_test_tonearest): New function.
62671         (exp_test_towardzero): Likewise.
62672         (exp_test_downward): Likewise.
62673         (exp_test_upward): Likewise.
62674         (main): Call the new functions.
62675         * sysdeps/i386/fpu/libm-test-ulps: Update.
62676         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62678 2012-03-01  Chris Demetriou  <cgd@google.com>
62680         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
62681         have predictable order.
62683 2012-03-01  David S. Miller  <davem@davemloft.net>
62685         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
62687         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
62688         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
62689         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
62690         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
62692         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
62693         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
62694         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
62695         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
62696         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
62697         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
62698         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
62699         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
62700         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
62702         * sysdeps/sparc/fpu/libm-test-ulps: Update.
62704         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
62705         * sysdeps/sparc/fpu/libm-test-ulps: to here.
62706         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
62708         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
62709         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
62710         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
62711         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
62712         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
62713         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
62714         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
62715         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
62716         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
62717         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
62718         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
62719         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
62720         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
62721         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
62722         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
62723         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
62724         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
62725         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
62726         * sysdeps/sparc/elf/configure: Regenerated.
62728 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
62730         * configure.in (AS, LD): Require binutils 2.20 or later.
62731         * configure: Regenerated.
62732         * manual/install.texi (Tools for Compilation): Give binutils 2.20
62733         as required minimum version.
62734         * INSTALL: Regenerated.
62736         [BZ #2541]
62737         [BZ #4108]
62738         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
62739         before squaring exponent.
62740         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
62741         bottom long double and 27 bits of top long double before squaring
62742         exponent.
62743         * math/libm-test.inc (erfc_test): Add more tests.
62744         * sysdeps/i386/fpu/libm-test-ulps: Update.
62745         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
62746         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62748 2012-03-01  Kai Tietz  <ktietz@redhat.com>
62750         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
62751         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
62752         containing bit-fields.
62753         * soft-fp/extended.h (_FP_UNION_E): Likewise.
62754         * soft-fp/single.h (_FP_UNION_S): Likewise.
62755         * soft-fp/double.h (_FP_UNION_D): Likewise.
62757 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
62759         [BZ #13786]
62760         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
62761         not include ../strcmp.S.
62762         [USE_AS_STRNCASECMP_L]: Likewise.
62763         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
62764         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
62765         * sysdeps/i386/i686/multiarch/strncase_l-c.c
62766         (__strncasecmp_l_ia32): Define as alias to
62767         __strncasecmp_l_nonascii.
62769         [BZ #5794]
62770         * math/libm-test.inc (expm1_test): Add test for bug 5794.
62771         * sysdeps/i386/fpu/libm-test-ulps: Update.
62772         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62774         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
62775         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62777 2012-02-29  Jeff Law  <law@redhat.com>
62779         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
62780         out of bounds read.
62782 2012-02-29  Marek Polacek  <polacek@redhat.com>
62784         [BZ #13706]
62785         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
62786         * elf/Makefile: Add rules to run tst-unused-dep.out.
62788 2012-02-28  David S. Miller  <davem@davemloft.net>
62790         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
62791         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
62792         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
62793         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
62794         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
62795         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
62797 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
62799         * math/libm-test.inc (llround_test): Move one test from
62800         lround_test.  Use TEST_f_L in moved test.
62801         (lround_test): Move misplaced test to llround_test.  Add testcase
62802         from bug 2561.
62804 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
62806         * sysdeps/x86_64/fpu/e_expf.S: New file.
62807         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
62809 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
62811         [BZ #13637]
62812         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
62813         of remain_len that may cause incomplete multi-byte character and
62814         false match.
62815         * posix/bug-regex33.c: New file.
62816         * posix/Makefile (tests): Add bug-regex33.
62818 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
62820         * manual/macros.texi: New file.
62821         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
62822         * manual/libc.texinfo: Include macros.texi.
62823         * manual/creatute.texi: Likewise.
62824         * manual/install.texi: Likewise.
62825         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
62826         @glibcadj{} in references to the GNU C Library.
62827         * manual/charset.texi: Likewise.
62828         * manual/conf.texi: Likewise.
62829         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
62830         when not using those macros.
62831         * manual/creature.texi: Likewise.
62832         * manual/crypt.texi: Likewise.
62833         * manual/errno.texi: Likewise.
62834         * manual/filesys.texi: Likewise.
62835         * manual/header.texi: Likewise.
62836         * manual/install.texi: Likewise.
62837         * manual/intro.texi: Likewise.
62838         * manual/io.texi: Likewise.
62839         * manual/job.texi: Likewise.
62840         * manual/lang.texi: Likewise.
62841         * manual/libc.texiinfo: Likewise.
62842         * manual/llio.texi: Likewise.
62843         * manual/locale.texi: Likewise.
62844         * manual/maint.texi: Likewise.
62845         * manual/math.texi: Likewise.
62846         * manual/memory.texi: Likewise.
62847         * manual/message.texi: Likewise.
62848         * manual/nss.texi: Likewise.
62849         * manual/pattern.texi: Likewise.
62850         * manual/process.texi: Likewise.
62851         * manual/resource.texi: Likewise.
62852         * manual/search.texi: Likewise.
62853         * manual/setjmp.texi: Likewise.
62854         * manual/signal.texi: Likewise.
62855         * manual/socket.texi: Likewise.
62856         * manual/startup.texi: Likewise.
62857         * manual/stdio.texi: Likewise.
62858         * manual/string.texi: Likewise.
62859         * manual/sysinfo.texi: Likewise.
62860         * manual/syslog.texi: Likewise.
62861         * manual/terminal.texi: Likewise.
62862         * manual/time.texi: Likewise.
62863         * manual/users.texi: Likewise.
62864         * INSTALL: Regenerated.
62865         * NOTES: Regenerated.
62866         * sysdeps/gnu/errlist.c: Regenerated.
62868 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
62870         * include/dirent.h: Include <dirstream.h> before
62871         <dirent/dirent.h>.
62873 2012-02-28  David S. Miller  <davem@davemloft.net>
62875         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
62876         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
62877         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
62878         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
62880 2012-02-27  David S. Miller  <davem@davemloft.net>
62882         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
62883         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
62884         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
62885         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
62887         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
62888         frame pointer instead of stack pointer relative arg slot.
62889         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
62890         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
62891         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
62893 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
62895         [BZ #3992]
62896         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
62898 2012-02-27  David S. Miller  <davem@davemloft.net>
62900         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
62901         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
62902         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
62903         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
62904         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
62905         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
62906         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
62907         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
62909 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
62911         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
62912         later.  Allow versions 5-9.
62913         * configure: Regenerated.
62914         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
62915         required minimum version and 4.6 as recommended version.  Do not
62916         mention bugs in GCC 2.7 and 2.8.
62917         * INSTALL: Regenerated.
62919 2012-02-27  David S. Miller  <davem@davemloft.net>
62921         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
62922         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
62923         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
62924         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
62925         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
62926         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
62927         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
62928         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
62930         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
62931         manipulate bits before adding and subtracting TWO112[sx].
62932         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
62934 2012-02-27  Roland McGrath  <roland@hack.frob.com>
62936         [BZ #13775]
62937         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
62938         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
62939         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
62940         being in POSIX, because they are in 1003.1-2008.
62942         * rt/tst-aio.c: Include <fcntl.h>.
62943         * rt/tst-aio7.c: Likewise.
62944         * rt/tst-aio64.c: Likewise.
62946         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
62948 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
62950         * manual/install.texi (--with-headers): Describe headers as
62951         interface headers, not private headers.
62952         (Specific advice for GNU/Linux systems): Describe use of headers
62953         from "make headers_install", not private headers from older
62954         kernels.
62955         * INSTALL: Regenerated.
62956         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
62957         Change to 2.6.19.
62958         * sysdeps/unix/sysv/linux/configure: Regenerated.
62960         * manual/llio.texi (fclean): Remove documentation.
62962         * manual/Makefile (libc-texi-generated): New variable.  Include
62963         version.texi.
62964         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
62965         $(libc-texi-generated), not duplicated list of files.
62966         (version.texi, stamp-version): New rules.
62967         (realclean): Remove $(libc-texi-generated), not individual files
62968         from that list.  Do not remove dir-add.texinfo.
62969         * manual/libc.texinfo: Comment out uses of edition numbers and
62970         references to printed manual.  Remove last-updated dates.
62971         (EDITION): Comment out.
62972         (ISBN): Likewise.
62973         (VERSION, UPDATED): Remove.
62974         (version.texi): Include.
62976 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
62978         * sysdeps/posix/spawni.c: Include <signal.h>.
62979         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
62980         * sysdeps/pthread/aio_fsync.c: Likewise.
62982 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
62984         * conform/Makefile (tests): Run only when not cross-compiling and
62985         when fast-check is not defined.
62987         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
62988         * conform/data/limits.h-data: Fixes for POSIX2008.
62989         * conform/run-conformtest.sh: Run all tests.
62990         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
62991         headers.
62992         * include/bits/dlfcn.h: Likewise.
62993         * include/langinfo.h: Likewise.
62994         * include/monetary.h: Likewise.
62995         * include/sys/poll.h: Likewise.
62997         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
62998         for __USE_GNU.
62999         * posix/spawn.h: Define __need_sigset_t.
63000         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
63001         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
63002         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
63003         to get sigevent_t only.
63004         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
63005         only for __USE_GNU.
63006         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
63007         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
63008         process_vm_writev only for __USE_GNU.
63009         * termios/termios.h: Declare tcgetsid also for POSIX2008.
63011         * conform/Makefile: For now ignore errors from run-conformtest.
63012         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
63013         POSIX to avoid namespace pollution.  Don't prepend headers.
63014         * conform/data/aio.h-data: Fixes for POSIX testing.
63015         * conform/data/fcntl.h-data: Likewise.
63016         * conform/data/glob.h-data: Likewise.
63017         * conform/data/grp.h-data: Likewise.
63018         * conform/data/pthread.h-data: Likewise.
63019         * conform/data/pwd.h-data: Likewise.
63020         * conform/data/signal.h-data: Likewise.
63021         * conform/data/spawn.h-data: Likewise.
63022         * conform/data/stdio.h-data: Likewise.
63023         * conform/data/stdlib.h-data: Likewise.
63024         * conform/data/stropts.h-data: Likewise.
63025         * conform/data/sys/mman.h-data: Likewise.
63026         * conform/data/sys/stat.h-data: Likewise.
63027         * conform/data/sys/types.h-data: Likewise.
63028         * conform/data/sys/wait.h-data: Likewise.
63029         * conform/data/time.h-data: Likewise.
63030         * conform/data/unistd.h-data: Likewise.
63031         * conform/data/utime.h-data: Likewise.
63033         * io/sys/stat.h: fchmod was always in POSIX.
63034         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
63035         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
63036         * rt/aio.h: Define __need_timespec before including <time.h>.
63037         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
63038         struct.  Add forward declaration of pthread_attr_t and use it in
63039         sigevent.
63040         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
63041         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
63042         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
63043         always remove CLK_TCK definition.
63045 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
63047         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
63049 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
63051         * conform/run-conformtest.sh: New file.
63052         * conform/Makefile: Run run-conformtest for tests.
63053         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
63054         support.
63056         * conform/data/uchar.h-data: New file.
63057         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
63058         * conform/data/arpa/inet.h-data: Likewise.
63059         * conform/data/assert.h-data: Likewise.
63060         * conform/data/complex.h-data: Likewise.
63061         * conform/data/cpio.h-data: Likewise.
63062         * conform/data/ctype.h-data: Likewise.
63063         * conform/data/dirent.h-data: Likewise.
63064         * conform/data/dlfcn.h-data: Likewise.
63065         * conform/data/errno.h-data: Likewise.
63066         * conform/data/fcntl.h-data: Likewise.
63067         * conform/data/float.h-data: Likewise.
63068         * conform/data/fmtmsg.h-data: Likewise.
63069         * conform/data/fnmatch.h-data: Likewise.
63070         * conform/data/ftw.h-data: Likewise.
63071         * conform/data/glob.h-data: Likewise.
63072         * conform/data/grp.h-data: Likewise.
63073         * conform/data/iconv.h-data: Likewise.
63074         * conform/data/inttypes.h-data: Likewise.
63075         * conform/data/langinfo.h-data: Likewise.
63076         * conform/data/libgen.h-data: Likewise.
63077         * conform/data/limits.h-data: Likewise.
63078         * conform/data/locale.h-data: Likewise.
63079         * conform/data/math.h-data: Likewise.
63080         * conform/data/monetary.h-data: Likewise.
63081         * conform/data/mqueue.h-data: Likewise.
63082         * conform/data/ndbm.h-data: Likewise.
63083         * conform/data/net/if.h-data: Likewise.
63084         * conform/data/netdb.h-data: Likewise.
63085         * conform/data/netinet/in.h-data: Likewise.
63086         * conform/data/nl_types.h-data: Likewise.
63087         * conform/data/poll.h-data: Likewise.
63088         * conform/data/pthread.h-data: Likewise.
63089         * conform/data/pwd.h-data: Likewise.
63090         * conform/data/regex.h-data: Likewise.
63091         * conform/data/sched.h-data: Likewise.
63092         * conform/data/search.h-data: Likewise.
63093         * conform/data/semaphore.h-data: Likewise.
63094         * conform/data/setjmp.h-data: Likewise.
63095         * conform/data/signal.h-data: Likewise.
63096         * conform/data/spawn.h-data: Likewise.
63097         * conform/data/stdarg.h-data: Likewise.
63098         * conform/data/stdio.h-data: Likewise.
63099         * conform/data/stdlib.h-data: Likewise.
63100         * conform/data/string.h-data: Likewise.
63101         * conform/data/strings.h-data: Likewise.
63102         * conform/data/stropts.h-data: Likewise.
63103         * conform/data/sys/ipc.h-data: Likewise.
63104         * conform/data/sys/mman.h-data: Likewise.
63105         * conform/data/sys/msg.h-data: Likewise.
63106         * conform/data/sys/resource.h-data: Likewise.
63107         * conform/data/sys/select.h-data: Likewise.
63108         * conform/data/sys/sem.h-data: Likewise.
63109         * conform/data/sys/shm.h-data: Likewise.
63110         * conform/data/sys/socket.h-data: Likewise.
63111         * conform/data/sys/stat.h-data: Likewise.
63112         * conform/data/sys/statvfs.h-data: Likewise.
63113         * conform/data/sys/time.h-data: Likewise.
63114         * conform/data/sys/timeb.h-data: Likewise.
63115         * conform/data/sys/times.h-data: Likewise.
63116         * conform/data/sys/types.h-data: Likewise.
63117         * conform/data/sys/uio.h-data: Likewise.
63118         * conform/data/sys/un.h-data: Likewise.
63119         * conform/data/sys/utsname.h-data: Likewise.
63120         * conform/data/sys/wait.h-data: Likewise.
63121         * conform/data/syslog.h-data: Likewise.
63122         * conform/data/tar.h-data: Likewise.
63123         * conform/data/termios.h-data: Likewise.
63124         * conform/data/utime.h-data: Likewise.
63125         * conform/data/utmpx.h-data: Likewise.
63126         * conform/data/varargs.h-data: Likewise.
63127         * conform/data/wchar.h-data: Likewise.
63128         * conform/data/wctype.h-data: Likewise.
63129         * conform/data/wordexp.h-data: Likewise.
63131         * include/stropts.h: New file.
63132         * include/uchar.h: New file.
63133         * include/aio.h: Changes to allow conformtest.pl to use the headers.
63134         * include/assert.h: Likewise.
63135         * include/ctype.h: Likewise.
63136         * include/dirent.h: Likewise.
63137         * include/dlfcn.h: Likewise.
63138         * include/fcntl.h: Likewise.
63139         * include/fnmatch.h: Likewise.
63140         * include/glob.h: Likewise.
63141         * include/grp.h: Likewise.
63142         * include/libio.h: Likewise.
63143         * include/locale.h: Likewise.
63144         * include/math.h: Likewise.
63145         * include/net/if.h: Likewise.
63146         * include/netdb.h: Likewise.
63147         * include/netinet/in.h: Likewise.
63148         * include/pthread.h: Likewise.
63149         * include/pwd.h: Likewise.
63150         * include/regex.h: Likewise.
63151         * include/sched.h: Likewise.
63152         * include/search.h: Likewise.
63153         * include/setjmp.h: Likewise.
63154         * include/signal.h: Likewise.
63155         * include/stdio.h: Likewise.
63156         * include/stdlib.h: Likewise.
63157         * include/string.h: Likewise.
63158         * include/sys/cdefs.h: Likewise.
63159         * include/sys/mman.h: Likewise.
63160         * include/sys/msg.h: Likewise.
63161         * include/sys/resource.h: Likewise.
63162         * include/sys/select.h: Likewise.
63163         * include/sys/socket.h: Likewise.
63164         * include/sys/stat.h: Likewise.
63165         * include/sys/statvfs.h: Likewise.
63166         * include/sys/time.h: Likewise.
63167         * include/sys/times.h: Likewise.
63168         * include/sys/uio.h: Likewise.
63169         * include/sys/utsname.h: Likewise.
63170         * include/sys/wait.h: Likewise.
63171         * include/termios.h: Likewise.
63172         * include/time.h: Likewise.
63173         * include/ulimit.h: Likewise.
63174         * include/unistd.h: Likewise.
63175         * include/utime.h: Likewise.
63176         * include/wchar.h: Likewise.
63177         * include/wctype.h: Likewise.
63178         * include/wordexp.h: Likewise.
63180         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
63182         * time/time.h: TIME_UTC must be a macro.
63183         Make timespec_get available for ISO C11 only as well.
63185 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
63187         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
63188         Reported by Peng Haitao <penght@cn.fujitsu.com>.
63190 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
63192         * configure.in: Use -o not -a in test for unsupported multi-arch.
63194 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
63196         * manual/texinfo.tex: Update to version 2012-01-19.16.
63198 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
63200         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
63202 2012-02-24  Roland McGrath  <roland@hack.frob.com>
63204         [BZ #13738]
63205         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
63206         * manual/fdl-1.3.texi: New file.
63207         * manual/fdl-1.1.texi: File removed.
63209         [BZ #13738]
63210         * manual/libc.texinfo (FDL_VERSION): New @set.
63211         Use it for mention of FDL in cover text.
63212         (Documentation License): Use it in @include file name.
63214 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
63215             Roland McGrath  <roland@hack.frob.com>
63217         [BZ #5461]
63218         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
63219         (not LONG_LONG_MAX and LONG_LONG_MIN.
63220         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
63221         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
63222         name.
63223         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
63225 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
63227         [BZ #2547]
63228         [BZ #11365]
63229         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
63230         manipulate bits before adding and subtracting TWO23[sx].
63231         * math/libm-test.inc (nearbyint_test): Add more tests.
63233 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
63235         [BZ #2548]
63236         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
63237         bits before adding and subtracting TWO23[sx].
63238         * math/libm-test.inc (rint_test): Add more tests.
63239         (rint_test_tonearest): Likewise.
63240         (rint_test_towardzero): Likewise.
63241         (rint_test_downward): Likewise.
63242         (rint_test_upward: Likewise.
63244 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
63246         [BZ #10110]
63247         * include/stdc-predef.h: New file.  Extracted from features.h.
63248         * include/features.h: Include stdc-predef.h.
63249         * Makefile (headers): Add stdc-predef.h.
63250         * CONFORMANCE (Compiler limitations): Update.
63252 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
63254         * manual/libc.texinfo (VERSION, UPDATED): Revert.
63256 2012-02-21  David S. Miller  <davem@davemloft.net>
63258         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
63259         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
63261 2012-02-20  David S. Miller  <davem@davemloft.net>
63263         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
63264         using a normal save/restore sequence, rather than allocating a
63265         dummy stack frame just to store a frame pointer and restore.
63266         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
63268 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
63270         * manual/install.texi: Fix stray word in line-wrapped comment.
63272 2012-02-20  David S. Miller  <davem@davemloft.net>
63274         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
63275         both binutils and gcc support GOTDATA.
63277         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
63278         "rd %pc" in the PIC register setup sequences.
63280         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
63281         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
63282         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
63283         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
63284         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
63285         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
63286         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
63287         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
63288         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
63289         (SYSCALL_ERROR_HANDLER): Likewise.
63290         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
63291         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
63292         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
63293         (SYSCALL_ERROR_HANDLER): Likewise.
63295         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
63296         (HAVE_GCC_GOTDATA): New.
63297         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
63298         relocation support in both binutils and gcc.
63299         * sysdeps/sparc/elf/configure: Regenerate.
63301         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
63302         * sysdeps/sparc/sparc32/elf/configure: Delete.
63303         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
63304         * sysdeps/sparc/sparc64/elf/configure: Delete.
63305         * sysdeps/sparc/elf/configure.in: New file.
63306         * sysdeps/sparc/elf/configure: Generate.
63308         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
63309         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
63310         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
63311         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
63312         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
63314 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
63316         * manual/install.texi: Do not mention specific glibc version
63317         numbers.
63318         * manual/libc.texinfo (VERSION, UPDATED): Update.
63319         (@copying): Use @copyright{} and range of years.
63321 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
63323         [BZ #13695]
63324         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
63325         [crti.S not in sysdirs] (generated): Do not append.
63326         [crti.S not in sysdirs] (omit-deps): Likewise.
63327         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
63328         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
63329         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
63330         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
63331         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
63332         Likewise.
63333         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
63334         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
63335         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
63336         * csu/defs.awk: Remove file.
63337         * sysdeps/generic/initfini.c: Likewise.
63338         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
63339         variable.
63340         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
63341         Likewise.
63343 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
63345         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
63346         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
63347         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
63348         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
63349         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
63350         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
63351         <bits/epoll.h>.
63352         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
63353         (__EPOLL_PACKED): Define to empty if not defined by
63354         <bits/epoll.h>.
63355         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
63356         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
63357         bits/epoll.h.
63359 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
63361         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
63362         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
63363         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
63364         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
63365         <bits/timerfd.h>.
63366         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
63367         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
63368         bits/timerfd.h.
63370 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
63372         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
63373         in C locale.
63374         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
63375         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
63376         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
63377         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63379 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
63381         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
63382         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
63384 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
63386         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
63387         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
63388         defined.
63389         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
63390         Likewise.
63391         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
63392         entry for 2.16.
63394 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
63396         * math/w_acos.c: Use non-signaling floating-point comparisons.
63397         * math/w_acosf.c: Likewise.
63398         * math/w_acosh.c: Likewise.
63399         * math/w_acoshf.c: Likewise.
63400         * math/w_acoshl.c: Likewise.
63401         * math/w_acosl.c: Likewise.
63402         * math/w_asin.c: Likewise.
63403         * math/w_asinf.c: Likewise.
63404         * math/w_asinl.c: Likewise.
63405         * math/w_atanh.c: Likewise.
63406         * math/w_atanhf.c: Likewise.
63407         * math/w_atanhl.c: Likewise.
63408         * math/w_exp2.c: Likewise.
63409         * math/w_exp2f.c: Likewise.
63410         * math/w_exp2l.c: Likewise.
63411         * math/w_j0.c: Likewise.
63412         * math/w_j0f.c: Likewise.
63413         * math/w_j0l.c: Likewise.
63414         * math/w_j1.c: Likewise.
63415         * math/w_j1f.c: Likewise.
63416         * math/w_j1l.c: Likewise.
63417         * math/w_jn.c: Likewise.
63418         * math/w_jnf.c: Likewise.
63419         * math/w_log.c: Likewise.
63420         * math/w_log10.c: Likewise.
63421         * math/w_log10f.c: Likewise.
63422         * math/w_log10l.c: Likewise.
63423         * math/w_log2.c: Likewise.
63424         * math/w_log2f.c: Likewise.
63425         * math/w_log2l.c: Likewise.
63426         * math/w_logf.c: Likewise.
63427         * math/w_logl.c: Likewise.
63428         * math/w_sqrt.c: Likewise.
63429         * math/w_sqrtf.c: Likewise.
63430         * math/w_sqrtl.c: Likewise.
63431         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
63432         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
63433         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
63434         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
63435         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
63437 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
63439         [BZ #9739]
63440         * manual/string.texi (strnlen): Use correct parameter name in
63441         equivalent expression.
63443 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
63445         [BZ #11174]
63446         * manual/users.texi (seteuid): Consistently use neweuid for
63447         argument name.
63449 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
63451         [BZ #13704]
63452         * manual/nss.texi (Services in the NSS configuration): Correct
63453         list of services in example configuration file.
63455 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
63457         [BZ #11322]
63458         * manual/arith.texi: Remove statements about negative zero
63459         behaving identically to zero.
63461 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
63463         [BZ #5993]
63464         * manual/install.texi: Do not document upgrading from libc5.
63466 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
63468         [BZ #4596]
63469         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
63471 2012-02-18  David S. Miller  <davem@davemloft.net>
63473         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
63474         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
63475         %o7 across the call.
63476         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
63477         instead.
63478         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
63479         SETUP_PIC_REG_LEAF.
63480         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
63481         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
63482         * sysdeps/sparc/crtn.S: Likewise.
63484 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
63486         * aout/Makefile: Remove.
63488 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
63490         [BZ #13058]
63491         * manual/examples/argp-ex1.c (main): Format definition in GNU
63492         style.
63493         * manual/examples/argp-ex2.c (main): Likewise.
63494         * manual/examples/argp-ex3.c (main): Likewise.
63495         * manual/examples/argp-ex4.c (main): Likewise.
63496         * manual/examples/longopt.c (main): Use new-style prototype
63497         definition.
63498         * manual/examples/strncat.c (main): Specify return type and use
63499         (void) for arguments.
63500         * manual/examples/subopt.c (main): Use char **argv argument.
63502 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
63504         [BZ #5077]
63505         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
63506         rounding modes.
63508 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
63510         [BZ #6907]
63511         * manual/string.texi (strchr): Change when strchrnul is
63512         recommended.
63514 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
63516         [BZ #174]
63517         * manual/locale.texi (setlocale): Document LOCPATH.
63519 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
63521         [BZ #10210]
63522         * manual/process.texi (execle): Move @dots{} before last argument.
63524 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
63526         [BZ #12047]
63527         * manual/charset.texi (Generic Charset Conversion): Fix typo
63528         (LC_TYPE -> LC_CTYPE).
63530 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
63532         [BZ #5805]
63533         * manual/arith.texi (scalbn): Use @var{} on parameter names.
63534         (scalbnf): Likewise.
63535         (scalbnl): Likewise.
63536         (scalbln): Likewise.
63537         (scalblnf): Likewise.
63538         (scalblnl): Likewise.
63539         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
63540         (vwarnx): Likewise.
63541         (verr): Likewise.
63542         (verrx): Likewise.
63543         * manual/filesys.texi (telldir): Use braces around return type.
63544         * manual/llio.texi (mmap): Add space after comma.
63545         (mmap64): Likewise.
63546         * manual/math.texi (jn): Use @var{} on parameter names.
63547         (jnf): Likewise.
63548         (jnl): Likewise.
63549         (yn): Likewise.
63550         (ynf): Likewise.
63551         (ynl): Likewise.
63552         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
63553         line.
63554         * manual/resource.texi (ulimit): Use @dots{} instead of literal
63555         "...".
63556         (sched_get_priority_min): Remove semicolon on @deftypefun line.
63557         (sched_get_priority_max): Likewise.
63558         * manual/signal.texi (sigvec): Add space after comma.
63559         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
63560         names.
63561         (if_indextoname): Likewise.
63562         (if_freenameindex): Likewise.
63563         (sendto): Use ',' instead of '.' in prototype.
63564         * manual/startup.texi (syscall): Use @dots{} instead of literal
63565         "...".
63566         * manual/stdio.texi (__fpending): Separate initial words of
63567         paragraph from @deftypefun line.
63568         * manual/syslog.texi (syslog): Use @dots{} instead of literal
63569         "...".
63570         (vsyslog): Use @var{} on parameter names.
63571         * manual/terminal.texi (stty): Use @var{} on parameter names.
63572         * manual/users.texi (getutmp): Use @var{} on parameter names.
63573         (getutmpx): Likewise.
63575 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
63577         [BZ #6884]
63578         * manual/stdio.texi (fopen): Fix typos in description of
63579         ",ccs=STRING".
63581 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
63583         [BZ #4026]
63584         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
63585         get clock_id definition.
63587 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
63589         [BZ #4822]
63590         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
63591         (madvise): Cast every argument to void on its own.
63593 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
63595         [BZ #9902]
63596         * manual/startup.texi (Exit Status): Fix typo.
63598 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
63600         [BZ #10140]
63601         * manual/examples/argp-ex1.c: Include <stdlib.h>.
63602         * manual/examples/argp-ex2.c: Likewise.
63603         * manual/examples/argp-ex3.c: Likewise.
63605 2012-02-16  Richard Henderson  <rth@redhat.com>
63607         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
63608         * sysdeps/s390/s390-32/initfini.c: Remove.
63609         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
63610         * sysdeps/s390/s390-64/initfini.c: Remove.
63612 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
63614         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
63615         compiler output for sysdeps/generic/initfini.c.
63616         * sysdeps/sh/elf/initfini.c: Remove file.
63618 2012-02-16  David S. Miller  <davem@davemloft.net>
63620         [BZ #11494]
63621         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
63623         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
63624         * sysdeps/sparc/crti.S: New file.
63625         * sysdeps/sparc/crtn.S: New file.
63626         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
63627         * sysdeps/sparc/sparc64/Makefile: Likewise.
63629 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
63631         [BZ #3335]
63632         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
63634 2012-02-15  Roland McGrath  <roland@hack.frob.com>
63636         [BZ #4822]
63637         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
63639         * mach/devstream.c (cookie_io_functions_t): Macro removed.
63640         (write, read, close): Likewise.
63641         Patch by Aurelien Jarno <aurelien@aurel32.net>.
63643 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
63645         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
63646         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
63647         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
63648         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
63649         <bits/signalfd.h>.
63650         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
63651         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
63652         bits/signalfd.h.
63654 2012-02-14  Marek Polacek  <polacek@redhat.com>
63656         * sysdeps/x86_64/crti.S: New file.
63657         * sysdeps/x86_64/crtn.S: New file.
63658         * sysdeps/x86_64/elf/initfini.c: Remove file.
63660 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
63662         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
63663         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
63664         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
63665         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
63666         <bits/inotify.h>.
63667         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
63668         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
63669         bits/inotify.h.
63671 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
63673         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
63674         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
63675         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
63676         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
63677         <bits/eventfd.h>.
63678         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
63679         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
63680         bits/eventfd.h.
63682 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
63684         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
63685         __feraiseexcept instead of feraiseexcept.
63687         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
63688         nanosleep invocations.
63689         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
63690         strings, and add error checking for a nanosleep invocations.
63692 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
63694         Replace FSF snail mail address with URLs, as per GNU coding standards.
63695         Most of the snail mail addresses were wrong anyway, and omitting
63696         them makes the source code easier to maintain.  Almost all of the
63697         changes are to license notices and to locale LC_IDENTIFICATION
63698         addresses, except for this one:
63699         * manual/libc.texinfo: In "Published by", give the FSF's URL,
63700         not its snail mail address.
63702 2012-02-09  Richard Henderson  <rth@twiddle.net>
63704         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
63705         of kernel-features.h.
63707         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
63709 2012-02-08  Marek Polacek  <polacek@redhat.com>
63711         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
63712         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
63713         * sysdeps/gnu/_G_config.h: Likewise.
63714         * sysdeps/generic/_G_config.h: Likewise.
63716 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
63718         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
63719         tests.
63720         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63722         * sysdeps/powerpc/powerpc32/crti.S: New file.
63723         * sysdeps/powerpc/powerpc32/crtn.S: New file.
63724         * sysdeps/powerpc/powerpc64/crti.S: New file.
63725         * sysdeps/powerpc/powerpc64/crtn.S: New file.
63727         * Makeconfig (have-initfini): Don't set.
63728         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
63729         * configure.in (nopic_initfini): Don't substitute.
63730         * config.h.in (HAVE_INITFINI): Don't #undef.
63731         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
63732         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
63734 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
63736         Support crti.S and crtn.S provided directly by architectures.
63737         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
63738         [crti.S in sysdirs] (omit-deps): Likewise.
63739         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
63740         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
63741         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
63742         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
63743         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
63744         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
63745         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
63746         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
63747         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
63748         compiler output for sysdeps/generic/initfini.c.
63749         * sysdeps/i386/elf/Makefile: Remove file.
63750         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
63752 2012-02-07  Marek Polacek  <polacek@redhat.com>
63754         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
63755         * sysdeps/gnu/_G_config.h: Likewise.
63756         * sysdeps/mach/hurd/_G_config.h: Likewise.
63758 2012-02-07  Marek Polacek  <polacek@redhat.com>
63760         * math/Makefile (tests): Add tst-CMPLX2.
63761         * math/tst-CMPLX2.c: New file.
63763 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
63765         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
63767         * math/libm-test.inc (jn_test): Add missing L suffix.
63769 2012-02-06  Marek Polacek  <polacek@redhat.com>
63771         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
63772         * sysdeps/i386/fpu/e_powf.S: Likewise.
63773         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
63774         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
63775         * sysdeps/i386/fpu/e_acosh.S: Likewise.
63776         * sysdeps/i386/fpu/e_pow.S: Likewise.
63777         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
63778         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
63779         * sysdeps/i386/fpu/s_expm1.S: Likewise.
63780         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
63781         * sysdeps/i386/fpu/e_log2.S: Likewise.
63782         * sysdeps/i386/fpu/e_log2l.S: Likewise.
63783         * sysdeps/i386/fpu/e_scalb.S: Likewise.
63784         * sysdeps/i386/fpu/e_powl.S: Likewise.
63785         * sysdeps/i386/fpu/s_log1p.S: Likewise.
63786         * sysdeps/i386/fpu/e_log10f.S: Likewise.
63787         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
63788         * sysdeps/i386/fpu/e_logl.S: Likewise.
63789         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
63790         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
63791         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
63792         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
63793         * sysdeps/i386/fpu/e_log2f.S: Likewise.
63794         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
63795         * sysdeps/i386/fpu/e_log.S: Likewise.
63796         * sysdeps/i386/fpu/s_cexp.S: Likewise.
63797         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
63798         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
63799         * sysdeps/i386/fpu/e_logf.S: Likewise.
63800         * sysdeps/i386/fpu/e_log10l.S: Likewise.
63801         * sysdeps/i386/fpu/e_atanh.S: Likewise.
63802         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
63803         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
63804         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
63805         * sysdeps/i386/fpu/e_log10.S: Likewise.
63806         * sysdeps/i386/fpu/s_frexp.S: Likewise.
63807         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
63808         * sysdeps/i386/fpu/s_asinh.S: Likewise.
63809         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
63810         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
63811         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
63812         * sysdeps/i386/asm-syntax.h: Likewise.
63813         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
63814         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
63815         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
63816         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
63817         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
63818         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
63819         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
63820         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
63821         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
63822         * sysdeps/powerpc/sysdep.h: Likewise.
63823         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
63824         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
63826 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
63828         [BZ #411]
63829         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
63831 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
63833         * sysdeps/i386/sysdep.h: Include <features.h>.
63834         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
63835         version.
63837 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
63839         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
63840         Define.
63841         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
63842         LOAD_PIC_REG_STR.
63844 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
63846         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
63847         (SETUP_PIC_REG): Use GET_PC_THUNK.
63848         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
63849         macro.
63851 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
63853         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
63854         for non-PIC compilation.
63855         (SETUP_PIC_REG): Add .p2align directive.
63856         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
63857         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
63858         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
63859         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
63860         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
63861         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
63862         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
63863         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
63864         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
63865         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
63866         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
63867         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
63868         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
63869         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
63870         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
63871         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
63872         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
63873         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
63874         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
63875         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
63876         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
63877         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
63878         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
63879         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
63880         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
63881         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
63882         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
63883         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
63884         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
63885         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
63886         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
63887         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
63888         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
63889         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
63890         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
63891         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
63892         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
63893         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
63894         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
63895         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
63896         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
63898 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
63900         * math/tst-CMPLX.c: Include <stdio.h>.
63902 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
63904         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
63905         float.
63906         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
63907         * sysdeps/sparc/bits/mathdef.h: Likewise.
63909 2012-01-31  Marek Polacek  <polacek@redhat.com>
63911         * libio/libio.h: Don't define _PARAMS.
63912         * locale/programs/config.h: Don't define PARAMS.
63913         * stdlib/strtol_l.c: Likewise.
63914         (__strtol_l): Remove PARAMS from the prototype.
63916 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
63918         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
63919         names.  Just use the correct names.  Remove unnecessary wrapper
63920         functions.
63921         * malloc/arena.c: Likewise.
63922         * malloc/hooks.c: Likewise.
63924         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
63925         ARENA_TEST says not to.  Simplify test for creation of a new arena.
63926         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
63928 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
63930         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
63931         into tail calls.
63932         (update_get_addr): New function.
63933         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
63934         GET_ADDR_MODULE parameter.
63936 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
63938         * crypt/cert.c: Remove __STDC__ conditionals.
63939         * crypt/crypt-entry.c: Likewise.
63940         * crypt/crypt_util.c: Likewise.
63941         * libio/filedoalloc.c: Likewise.
63942         * libio/fileops.c: Likewise.
63943         * libio/genops.c: Likewise.
63944         * libio/iofclose.c: Likewise.
63945         * libio/iofdopen.c: Likewise.
63946         * libio/iofopen.c: Likewise.
63947         * libio/iofopen64.c: Likewise.
63948         * libio/iogetdelim.c: Likewise.
63949         * libio/iopopen.c: Likewise.
63950         * libio/obprintf.c: Likewise.
63951         * libio/oldfileops.c: Likewise.
63952         * libio/oldiofclose.c: Likewise.
63953         * libio/oldiofdopen.c: Likewise.
63954         * libio/oldiofopen.c: Likewise.
63955         * libio/oldiopopen.c: Likewise.
63956         * libio/wfiledoalloc.c: Likewise.
63957         * libio/wgenops.c: Likewise.
63958         * locale/programs/xmalloc.c: Likewise.
63959         * misc/syslog.c: Likewise.
63960         * stdio-common/xbug.c: Likewise.
63961         * string/memchr.c: Likewise.
63962         * string/memcmp.c: Likewise.
63963         * string/memrchr.c: Likewise.
63964         * string/rawmemchr.c: Likewise.
63965         * sysdeps/posix/getcwd.c: Likewise.
63966         * time/strftime_l.c: Likewise.
63968 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
63970         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
63971         * config.make.in (config-cflags-sse2avx): Define.
63972         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
63973         Fix typo.
63975 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
63977         * scripts/config.guess: Update from upstream config git repository.
63978         * scripts/config.sub: Likewise.
63980 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
63982         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
63983         (EM_NUM): Update.
63984         (R_TILEPRO_*, R_TILEGX_*): New macros.
63986         * scripts/firstversions.awk: Fix bug in version range handling.
63988         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
63990         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
63992         * include/sys/epoll.h: New file.
63993         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
63994         libc_hidden_def.
63996 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
63998         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
63999         Avoid unnecessary __WORDSIZE == 64 test.
64000         (fmaxf): Use VEX format if possible.
64001         (fmax): Likewise.
64002         (fminf): Likewise.
64003         (fmin): Likewise.
64005         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
64006         * math/math_private.h: Remove libc_fegetround* and
64007         libc_fesetround*.
64008         * sysdeps/i386/configure.in: Check for -msse2avx.
64009         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
64010         also if SSE2AVX is defined.
64011         Remove libc_fegetround* and libc_fesetround*.
64012         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
64013         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
64014         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
64015         of HAS_YMM_USABLE.
64016         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
64017         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
64018         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
64019         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
64020         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
64022         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
64024 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64026         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
64027         size is not set.
64028         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
64030 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
64032         [BZ #13618]
64033         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
64034         relocation.
64035         * Makeconfig (libm): Define.
64036         * elf/Makefile: Add rules to build and run tst-relsort1.
64037         * elf/tst-relsort1.c: New file.
64038         * elf/tst-relsort1mod1.c: New file.
64039         * elf/tst-relsort1mod2.c: New file.
64041 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
64043         * math/s_ldexp.c: Remove __STDC__ conditionals.
64044         * math/s_ldexpf.c: Likewise.
64045         * math/s_ldexpl.c: Likewise.
64046         * math/s_nextafter.c: Likewise.
64047         * math/s_nexttowardf.c: Likewise.
64048         * math/s_significand.c: Likewise.
64049         * math/s_significandf.c: Likewise.
64050         * math/s_significandl.c: Likewise.
64051         * math/w_jnl.c: Likewise.
64052         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
64053         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
64054         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
64055         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
64056         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
64057         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
64058         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
64059         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
64060         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
64061         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
64062         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
64063         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
64064         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
64065         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
64066         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
64067         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
64068         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
64069         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
64070         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
64071         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
64072         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
64073         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
64074         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
64075         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
64076         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
64077         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
64078         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
64079         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
64080         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
64081         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
64082         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
64083         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
64084         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
64085         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
64086         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
64087         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
64088         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
64089         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
64090         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
64091         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
64092         * sysdeps/ieee754/k_standard.c: Likewise.
64093         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
64094         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
64095         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
64096         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
64097         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
64098         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
64099         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
64100         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
64101         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
64102         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
64103         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
64104         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
64105         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
64106         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
64107         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
64108         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
64109         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
64110         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
64111         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
64112         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
64113         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
64114         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
64115         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
64116         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
64117         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
64118         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
64119         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
64120         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
64121         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
64122         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
64123         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
64124         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
64125         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
64126         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
64127         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
64128         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
64129         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
64130         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
64131         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
64132         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
64133         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
64134         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
64135         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
64136         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
64137         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
64138         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
64139         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
64140         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
64141         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
64142         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
64143         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
64144         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
64145         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
64146         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
64147         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
64148         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
64149         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
64150         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
64151         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
64152         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
64153         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
64154         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
64155         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
64156         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
64157         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
64158         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
64159         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
64160         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
64161         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
64162         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
64163         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
64164         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
64165         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
64166         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
64167         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
64168         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
64169         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
64170         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
64171         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
64172         * sysdeps/ieee754/s_matherr.c: Likewise.
64173         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
64174         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
64175         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
64176         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
64178 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
64180         * crypt/md5.h: Remove __STDC__ conditionals.
64181         * libio/libioP.h: Likewise.
64182         * locale/programs/config.h: Likewise.
64183         * sysdeps/generic/sysdep.h: Likewise.
64184         * sysdeps/i386/asm-syntax.h: Likewise.
64185         * sysdeps/s390/asm-syntax.h: Likewise.
64186         * sysdeps/unix/sysdep.h: Likewise.
64187         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
64188         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
64190 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
64192         * libio/libio.h: Remove __STDC__ conditionals.
64193         * malloc/obstack.h: Likewise.
64194         * math/complex.h: Likewise.
64195         * math/math.h: Likewise.
64196         * sysdeps/generic/_G_config.h: Likewise.
64197         * sysdeps/gnu/_G_config.h: Likewise.
64198         * sysdeps/mach/hurd/_G_config.h: Likewise.
64199         * sysdeps/powerpc/bits/mathdef.h: Likewise.
64200         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
64201         * sysdeps/sparc/bits/mathdef.h: Likewise.
64203 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
64205         [BZ #13583]
64206         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
64207         Clean up HAS_* macros.
64208         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
64209         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
64210         possible.
64211         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
64212         HAS_AVX.
64213         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
64214         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
64215         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
64216         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
64217         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
64219 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
64221         * elf/tst-unique3.cc (gets): Remove declaration.
64222         * elf/tst-unique3lib.cc (gets): Likewise.
64223         * elf/tst-unique3lib2.cc (gets): Likewise.
64224         * elf/tst-unique4.cc (gets): Likewise.
64226 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
64228         * include/stdio.h: Add C++ protection.  Add gets declarations and
64229         definitions.
64230         * debug/tst-chk1.c: Don't declare gets here.
64231         * stdio-common/tst-gets.c: Likewise.
64233 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
64235         * posix/glob: Remove directory.
64237 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
64239         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
64241 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
64243         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
64244         of the non-standard EPFNOSUPPORT.
64246 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
64248         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
64249         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
64250         ANYWHERE set to 1 only on KERN_NO_SPACE error.
64252 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
64254         * wcsmbs/uchar.h: Test __STDC_VERSION__.
64256 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
64258         * nscd/aicache.c (addhstaiX): Do not cache negative results of
64259         transient errors.
64260         * nscd/grpcache.c (cache_addgr): Likewise.
64261         * nscd/hstcache.c (cache_addhst): Likewise.
64262         * nscd/initgrcache.c (addinitgroupsX): Likewise.
64263         * nscd/pwdcache.c (cache_addpw): Likewise.
64264         * nscd/servicescache.c (cache_addserv): Likewise.
64266 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
64268         * malloc/malloc.c: Various cleanups.
64269         * malloc/hooks.c: Likewise.
64271         * stdlib/Makefile (tests): Add bug-fmtmsg1.
64272         * stdlib/bug-fmtmsg1.c: New file.
64274         * stdlib/fmtmsg.c (init): Add missing unlock.
64275         Patch by Peng Haitao <penght@cn.fujitsu.com>.
64277 2012-01-12  Marek Polacek  <polacek@redhat.com>
64279         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
64280         and _GNU_SOURCE.
64282 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
64284         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
64285         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
64286         macro to ensure uniqueness of label name.
64287         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
64288         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
64290 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
64292         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
64294         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
64295         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
64296         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
64297         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
64299 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
64301         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
64303         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
64304         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
64305         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
64307         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
64309         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
64310         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
64311         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
64312         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
64314         * math/bits/math-finite.h: Add ldexp support.
64316 2012-01-10  Marek Polacek  <polacek@redhat.com>
64318         * locale/programs/localedef.h (show_archive_content): Add noreturn
64319         attribute.
64321 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
64323         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
64325 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
64327         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
64329         * io/Makefile (headers): Add bits/poll2.h.
64331 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
64333         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
64334         typo #include statement.
64336 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
64338         * include/sys/cdefs.h: Define __attribute_alloc_size.
64339         * catgets/gencat.c: Add alloc_size attribute and apply consistently
64340         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
64341         * elf/pldd.c: Likewise.
64342         * iconv/iconv_charmap.c: Likewise.
64343         * iconv/iconvconfig.c: Likewise.
64344         * iconv/strtab.c: Likewise.
64345         * locale/programs/locale.c: Likewise.
64346         * locale/programs/localedef.h: Likewise.
64347         * locale/programs/simple-hash.c: Likewise.
64348         * nscd/nscd.h: Likewise.
64349         * nss/makedb.c: Likewise.
64350         * sysdeps/generic/ldconfig.h: Likewise.
64351         * locale/programs/localedef.c: Remove xmalloc prototype.
64352         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
64354 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
64356         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
64357         appropriate.
64359 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
64361         * math/Makefile (tests): Add tst-CMPLX.
64362         * math/tst-CMPLX.c: New file.
64364         * math/complex.h (CMPLXL): Fix typo.
64366         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
64367         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
64368         GLIBC_2.16.
64369         * debug/tst-chk1.c: Add poll and ppoll tests.
64370         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
64371         * include/sys/poll.h: Add hidden proto for ppoll.
64372         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
64373         * sysdeps/mach/hurd/ppoll.c: Likewise.
64374         * io/ppoll.c: Likewise.
64375         * debug/poll_chk.c: New file.
64376         * debug/ppoll_chk.c: New file.
64377         * include/bits/poll2.h: New file.
64378         * io/bits/poll2.h: New file.
64380         [BZ #1350]
64381         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
64383         * configure.in: static is always set to yes.  Remove.
64384         * config.make.in: Don't set build-static.
64385         * Makeconfig: Remove use of build-static.
64386         * dlfcn/Makefile: Likewise.
64387         * elf/Makefile: Likewise.
64388         * math/Makefile: Likewise.
64389         * misc/Makefile: Likewise.
64390         * nptl/Makefile: Likewise.
64391         * sysdeps/mach/hurd/Makefile: Likewise.
64393         * configure.in: PWD_P is not used anymore.
64394         * config.make.in: Remove PWD_P entry.
64396         * configure.in: Remove last remnants of RANLIB.
64397         No need to check for signed size_t anymore.
64398         Don't set libc_commonpagesize and libc_relro_required here for Alpha
64399         and IA-64.
64400         Remove __builtin_expect test because we require at least gcc 3.4.
64401         * aclocal.m4: Likewise.
64403         * wcsmbs/mbrtoc16.c: Implement using towc function.
64404         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
64405         * wcsmbs/wcsmbsload.c: Likewise.
64406         * iconv/gconv_simple.c: Likewise.
64407         * iconv/gconv_int.h: Likewise.
64408         * iconv/gconv_builtin.h: Likewise.
64409         * iconv/iconv_prog.c: Remove CHAR16 handling.
64411         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
64413         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
64415         * configure.in: Remove --with-elf and --enable-bounded options.
64416         Dont set base_machine for ia64.  More non-ELF conditions removed.
64417         Remove testing and setting of leading underscore information.
64418         * config.make.in (build-bounded): Set to no.
64419         * config.h.in: Remove NO_UNDERSCORES entry.
64420         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
64421         them.
64422         * csu/start.c: Remove !NO_UNDERSCORE code.
64423         * locale/localeinfo.h: Likewise.
64424         * sysdeps/generic/machine-gmon.h: Likewise.
64425         * sysdeps/generic/sysdep.h: Likewise.
64426         * sysdeps/i386/sysdep.h: Likewise.
64427         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
64428         * sysdeps/mach/sysdep.h: Likewise.
64429         * sysdeps/s390/s390-32/sysdep.h: Likewise.
64430         * sysdeps/s390/s390-64/sysdep.h: Likewise.
64431         * sysdeps/sh/sysdep.h: Likewise.
64432         * sysdeps/sparc/sparc32/alloca.S: Likewise.
64433         * sysdeps/unix/i386/sysdep.S: Likewise.
64434         * sysdeps/unix/sparc/start.c: Likewise.
64435         * sysdeps/unix/sparc/sysdep.S: Likewise.
64436         * sysdeps/unix/sparc/sysdep.h: Likewise.
64437         * sysdeps/unix/start.c: Likewise.
64438         * sysdeps/unix/x86_64/sysdep.S: Likewise.
64439         * sysdeps/x86_64/sysdep.h: Likewise.
64441 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
64443         [BZ #13553]
64444         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
64445         for non-gcc.
64446         * argp/argp-fmtstream.h: Use const instead __const.
64447         * argp/argp.h: Likewise.
64448         * assert/assert.h: Likewise.
64449         * bits/fenv.h: Likewise.
64450         * bits/sched.h: Likewise.
64451         * bits/sigset.h: Likewise.
64452         * bits/sigthread.h: Likewise.
64453         * catgets/nl_types.h: Likewise.
64454         * conform/data/pthread.h-data: Likewise.
64455         * crypt/crypt-private.h: Likewise.
64456         * crypt/crypt.h: Likewise.
64457         * crypt/crypt_util.c: Likewise.
64458         * ctype/ctype.h: Likewise.
64459         * debug/execinfo.h: Likewise.
64460         * debug/mbsnrtowcs_chk.c: Likewise.
64461         * debug/mbsrtowcs_chk.c: Likewise.
64462         * debug/wcsnrtombs_chk.c: Likewise.
64463         * debug/wcsrtombs_chk.c: Likewise.
64464         * debug/wcstombs_chk.c: Likewise.
64465         * dirent/dirent.h: Likewise.
64466         * dlfcn/dlfcn.h: Likewise.
64467         * elf/neededtest4.c: Likewise.
64468         * grp/grp.h: Likewise.
64469         * gshadow/gshadow.h: Likewise.
64470         * iconv/gconv.h: Likewise.
64471         * iconv/gconv_int.h: Likewise.
64472         * iconv/gconv_simple.c: Likewise.
64473         * iconv/iconv.h: Likewise.
64474         * iconv/loop.c: Likewise.
64475         * iconv/skeleton.c: Likewise.
64476         * include/aio.h: Likewise.
64477         * include/aliases.h: Likewise.
64478         * include/argz.h: Likewise.
64479         * include/arpa/inet.h: Likewise.
64480         * include/assert.h: Likewise.
64481         * include/dirent.h: Likewise.
64482         * include/dlfcn.h: Likewise.
64483         * include/execinfo.h: Likewise.
64484         * include/fcntl.h: Likewise.
64485         * include/fenv.h: Likewise.
64486         * include/glob.h: Likewise.
64487         * include/grp.h: Likewise.
64488         * include/libintl.h: Likewise.
64489         * include/mntent.h: Likewise.
64490         * include/netdb.h: Likewise.
64491         * include/pwd.h: Likewise.
64492         * include/rpc/netdb.h: Likewise.
64493         * include/sched.h: Likewise.
64494         * include/search.h: Likewise.
64495         * include/shadow.h: Likewise.
64496         * include/signal.h: Likewise.
64497         * include/stdio.h: Likewise.
64498         * include/stdlib.h: Likewise.
64499         * include/string.h: Likewise.
64500         * include/sys/socket.h: Likewise.
64501         * include/sys/stat.h: Likewise.
64502         * include/sys/statfs.h: Likewise.
64503         * include/sys/statvfs.h: Likewise.
64504         * include/sys/syslog.h: Likewise.
64505         * include/sys/time.h: Likewise.
64506         * include/sys/uio.h: Likewise.
64507         * include/time.h: Likewise.
64508         * include/unistd.h: Likewise.
64509         * include/utmp.h: Likewise.
64510         * include/wchar.h: Likewise.
64511         * include/wctype.h: Likewise.
64512         * inet/aliases.h: Likewise.
64513         * inet/arpa/inet.h: Likewise.
64514         * inet/netinet/ether.h: Likewise.
64515         * inet/netinet/in.h: Likewise.
64516         * intl/libintl.h: Likewise.
64517         * io/bits/fcntl2.h: Likewise.
64518         * io/fcntl.h: Likewise.
64519         * io/ftw.h: Likewise.
64520         * io/sys/poll.h: Likewise.
64521         * io/sys/stat.h: Likewise.
64522         * io/sys/statfs.h: Likewise.
64523         * io/sys/statvfs.h: Likewise.
64524         * io/utime.h: Likewise.
64525         * libio/bits/stdio.h: Likewise.
64526         * libio/bits/stdio2.h: Likewise.
64527         * libio/libio.h: Likewise.
64528         * libio/libioP.h: Likewise.
64529         * libio/stdio.h: Likewise.
64530         * locale/lc-ctype.c: Likewise.
64531         * locale/locale.h: Likewise.
64532         * login/utmp.h: Likewise.
64533         * malloc/arena.c: Likewise.
64534         * malloc/malloc.c: Likewise.
64535         * malloc/malloc.h: Likewise.
64536         * malloc/mcheck.c: Likewise.
64537         * malloc/mtrace.c: Likewise.
64538         * math/bits/mathcalls.h: Likewise.
64539         * math/fenv.h: Likewise.
64540         * math/math_private.h: Likewise.
64541         * misc/bits/error.h: Likewise.
64542         * misc/bits/syslog.h: Likewise.
64543         * misc/err.h: Likewise.
64544         * misc/error.h: Likewise.
64545         * misc/fstab.h: Likewise.
64546         * misc/mntent.h: Likewise.
64547         * misc/regexp.h: Likewise.
64548         * misc/search.h: Likewise.
64549         * misc/sgtty.h: Likewise.
64550         * misc/sys/mman.h: Likewise.
64551         * misc/sys/syslog.h: Likewise.
64552         * misc/sys/uio.h: Likewise.
64553         * misc/sys/xattr.h: Likewise.
64554         * misc/ttyent.h: Likewise.
64555         * nis/rpcsvc/ypclnt.h: Likewise.
64556         * nss/nss.h: Likewise.
64557         * posix/bits/unistd.h: Likewise.
64558         * posix/fnmatch.h: Likewise.
64559         * posix/glob.h: Likewise.
64560         * posix/sched.h: Likewise.
64561         * posix/spawn.h: Likewise.
64562         * posix/sys/wait.h: Likewise.
64563         * posix/unistd.h: Likewise.
64564         * posix/wordexp.h: Likewise.
64565         * pwd/pwd.h: Likewise.
64566         * resolv/netdb.h: Likewise.
64567         * resource/sys/resource.h: Likewise.
64568         * rt/aio.h: Likewise.
64569         * rt/bits/mqueue2.h: Likewise.
64570         * rt/mqueue.h: Likewise.
64571         * shadow/shadow.h: Likewise.
64572         * signal/signal.h: Likewise.
64573         * socket/send.c: Likewise.
64574         * socket/sendto.c: Likewise.
64575         * socket/sys/socket.h: Likewise.
64576         * stdio-common/printf.h: Likewise.
64577         * stdlib/bits/stdlib.h: Likewise.
64578         * stdlib/fmtmsg.h: Likewise.
64579         * stdlib/monetary.h: Likewise.
64580         * stdlib/stdlib.h: Likewise.
64581         * stdlib/ucontext.h: Likewise.
64582         * streams/stropts.h: Likewise.
64583         * string/argz.h: Likewise.
64584         * string/bits/string2.h: Likewise.
64585         * string/string.h: Likewise.
64586         * string/strings.h: Likewise.
64587         * sunrpc/rpc/auth.h: Likewise.
64588         * sunrpc/rpc/auth_des.h: Likewise.
64589         * sunrpc/rpc/clnt.h: Likewise.
64590         * sunrpc/rpc/netdb.h: Likewise.
64591         * sunrpc/rpc/pmap_clnt.h: Likewise.
64592         * sunrpc/rpc/xdr.h: Likewise.
64593         * sysdeps/generic/inttypes.h: Likewise.
64594         * sysdeps/generic/net/if.h: Likewise.
64595         * sysdeps/generic/sys/swap.h: Likewise.
64596         * sysdeps/gnu/net/if.h: Likewise.
64597         * sysdeps/gnu/utmpx.h: Likewise.
64598         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
64599         * sysdeps/i386/i486/bits/string.h: Likewise.
64600         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
64601         * sysdeps/s390/bits/string.h: Likewise.
64602         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
64603         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
64604         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
64605         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
64606         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
64607         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
64608         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
64609         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
64610         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
64611         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
64612         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
64613         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
64614         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
64615         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
64616         * sysdeps/unix/sysv/linux/readv.c: Likewise.
64617         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
64618         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
64619         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
64620         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
64621         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
64622         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
64623         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
64624         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
64625         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
64626         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
64627         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
64628         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
64629         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
64630         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
64631         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
64632         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
64633         * sysvipc/sys/ipc.h: Likewise.
64634         * sysvipc/sys/msg.h: Likewise.
64635         * sysvipc/sys/sem.h: Likewise.
64636         * sysvipc/sys/shm.h: Likewise.
64637         * termios/termios.h: Likewise.
64638         * time/sys/time.h: Likewise.
64639         * time/time.h: Likewise.
64640         * wcsmbs/bits/wchar2.h: Likewise.
64641         * wcsmbs/uchar.h: Likewise.
64642         * wcsmbs/wchar.h: Likewise.
64643         * wctype/wctype.h: Likewise.
64645         [BZ #13551]
64646         * Makeconfig: Remove all but ELF support including AIX support.
64647         * Makerules: Likewise.
64648         * config.h.in: Likewise.
64649         * config.make.in: Likewise.
64650         * configure: Likewise.
64651         * configure.in: Likewise.
64652         * csu/Makefile: Likewise.
64653         * csu/version.c: Likewise.
64654         * debug/Makefile: Likewise.
64655         * dlfcn/Makefile: Likewise.
64656         * elf/Makefile: Likewise.
64657         * extra-lib.mk: Likewise.
64658         * iconv/Makefile: Likewise.
64659         * include/libc-symbols.h: Likewise.
64660         * include/shlib-compat.h: Likewise.
64661         * resolv/Makefile: Likewise.
64662         * resolv/res_libc.c: Likewise.
64663         * rt/Makefile: Likewise.
64664         * sysdeps/i386/asm-syntax.h: Likewise.
64665         * sysdeps/i386/sysdep.h: Likewise.
64666         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
64667         * sysdeps/mach/sysdep.h: Likewise.
64668         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
64669         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
64670         * sysdeps/s390/asm-syntax.h: Likewise.
64671         * sysdeps/s390/s390-32/sysdep.h: Likewise.
64672         * sysdeps/s390/s390-64/sysdep.h: Likewise.
64673         * sysdeps/sh/sysdep.h: Likewise.
64674         * sysdeps/unix/sparc/sysdep.h: Likewise.
64675         * sysdeps/wordsize-32/divdi3.c: Likewise.
64676         * sysdeps/x86_64/sysdep.h: Likewise.
64678         * argp/Versions: Remove _argp_unlock_xxx.
64680         [BZ #13559]
64681         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
64682         * abilist/libBrokenLocale.abilist: Likewise.
64683         * abilist/libanl.abilist: Likewise.
64684         * abilist/libc.abilist: Likewise.
64685         * abilist/libcrypt.abilist: Likewise.
64686         * abilist/libdl.abilist: Likewise.
64687         * abilist/libm.abilist: Likewise.
64688         * abilist/libnsl.abilist: Likewise.
64689         * abilist/libpthread.abilist: Likewise.
64690         * abilist/libresolv.abilist: Likewise.
64691         * abilist/librt.abilist: Likewise.
64692         * abilist/libthread_db.abilist: Likewise.
64693         * abilist/libutil.abilist: Likewise.
64694         * abilist/libnss_db.abilist: New file.
64696         * scripts/abilist.awk: Add support for indirect functions.
64698         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
64700         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
64702         * shlib-versions: Remove entries for ports architectures.
64704         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
64705         files in ports.
64706         * elf/stackguard-macros.h: Remove support for IA-64.
64707         * elf/tst-auditmod1.c: Likewise.
64708         * sysdeps/generic/ldsodefs.h: Likewise.
64710         * sysdeps/unix/sysv/linux/configure.in: Ports should define
64711         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
64712         configure files.
64714         [BZ #13552]
64715         * configure.in: Remove --enable-omitfp support.
64716         * FAQ.in: Adjust.
64717         * config.make.in: Likewise.
64718         * Makeconfig: Likewise.
64719         * manual/install.texi: Likewise.
64721         In case anyone cares, the IA-64 architecture could move to ports.
64722         * sysdeps/ia64/*: Removed.
64723         * sysdeps/unix/sysv/linux/ia64/*: Removed.
64724         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
64726         [BZ #13555]
64727         * configure.in: Remove entries for unsupported architectures.
64729         [BZ #13533]
64730         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
64731         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
64732         routines.
64733         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
64734         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
64735         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
64736         fall back to using wcrtomb.
64737         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
64738         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
64739         renaming.
64740         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
64741         * wcsmbs/tst-c16c32-1.c: New file.
64743         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
64744         local variable.
64746         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
64748         * elf/tst-unique3.cc: Add explicit declaration of gets.
64749         * elf/tst-unique3lib.cc: Likewise.
64750         * elf/tst-unique3lib2.cc: Likewise.
64751         * elf/tst-unique4.cc: Likewise.
64753         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
64755 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
64757         [BZ #13566]
64758         * assert/assert.h (static_assert): Don't define for C++.
64759         * libio/stdio.h (gets): Do declare for C++ <= C++11.
64760         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
64762 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
64764         * iconv/loop.c (single loop): Fix assertion in storing of
64765         remaining bytes.
64767         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
64769 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
64771         * posix/getconf.c: Update copyright year.
64772         * nss/getent.c: Likewise.
64773         * nss/makedb.c: Likewise.
64774         * iconv/iconvconfig.c: Likewise.
64775         * iconv/iconv_prog.c: Likewise.
64776         * elf/ldconfig.c: Likewise.
64777         * elf/pldd.c: Likewise.
64778         * elf/sotruss.ksh: Likewise.
64779         * catgets/gencat.c: Likewise.
64780         * csu/version.c: Likewise.
64781         * elf/ldd.bash.in: Likewise.
64782         * elf/sprof.c (print_version): Likewise.
64783         * locale/programs/locale.c: Likewise.
64784         * locale/programs/localedef.c: Likewise.
64785         * login/programs/pt_chown.c: Likewise.
64786         * nscd/nscd.c (print_version): Likewise.
64787         * debug/xtrace.sh: Likewise.
64788         * malloc/memusage.sh: Likewise.
64789         * malloc/mtrace.pl: Likewise.
64790         * debug/catchsegv.sh: Likewise.
64792 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
64794         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
64795         pure attribute.
64797 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
64799         [BZ #13533]
64800         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
64801         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
64802         transformations.
64803         * iconv/gconv_int.h: Likewise.
64804         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
64805         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
64806         from libc for GLIBC_2.16.
64807         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
64808         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
64809         * wcsmbs/uchar.h: Really define mbstate_t.
64810         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
64811         * wcsmbs/c16rtomb.c: New file.
64812         * wcsmbs/mbrtoc16.c: New file.
64813         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
64814         for C/POSIX locale.
64815         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
64816         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
64818         * wcsmbs/wchar.h: Add missing __restrict.
64820 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
64822         [BZ #13532]
64823         * time/Makefile (routines): Add timespec_get.
64824         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
64825         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
64826         timespec for ISO C11.
64827         * time/timespec_get.c: New file.
64828         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
64829         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
64831         [BZ #13531]
64832         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
64833         * stdlib/stdlib.h: Declare aligned_alloc.
64834         * Versions.def: Add GLIBC_2.16 for libc.
64835         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
64837         [BZ 13527]
64838         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
64839         ISO C11.
64841         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
64842         code.
64844         [BZ #13528]
64845         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
64847         [BZ #13529]
64848         * assert/assert.h (static_assert): Define.
64850         * version.h: Update for 2.16 development version.
64852         [BZ #13526]
64853         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
64854         _ISOC11_SOURCE.
64856         * version.h (RELEASE): Bump for 2.15 release.
64857         * include/features.h (__GLIBC_MINOR__): Bump to 15.
64859         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
64860         Patch by Marek Polacek <mpolacek@redhat.com>.
64862         * bits/byteswap.h: Protect long long constants with __extension__.
64863         * sysdeps/i386/bits/byteswap.h: Likewise.
64864         * sysdeps/ia64/bits/byteswap.h: Likewise.
64865         * sysdeps/s390/bits/byteswap.h: Likewise.
64866         * sysdeps/x86_64/bits/byteswap.h: Likewise.
64868 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
64870         [BZ #13540]
64871         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
64872         destination buffer.
64873         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
64875 2011-12-23  Marek Polacek  <polacek@redhat.com>
64877         * elf/dl-addr.c (determine_info): Add inline keyword.
64878         * elf/tst-auditmod4b.c (check_avx): Likewise.
64879         * elf/tst-auditmod6b.c (check_avx): Likewise.
64880         * elf/tst-auditmod6c.c (check_avx): Likewise.
64881         * elf/tst-auditmod7b.c (check_avx): Likewise.
64883 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
64885         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
64886         !__SSE_MATH__.
64888 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
64890         [BZ #13540]
64891         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
64892         processing for last bytes.
64894 2011-08-06  Bruno Haible  <bruno@clisp.org>
64896         [BZ #13061]
64897         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
64898         U+0385, not to U+1FEE.
64900         [BZ #13062]
64901         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
64902         entry for U+00A5 U+0301.
64904 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
64906         [BZ #13166]
64907         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
64908         buffer for the output is too small.
64910         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
64911         optimization.
64913         [BZ #13185]
64914         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
64915         SSE flags if possible.
64917 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
64919         [BZ #13540]
64920         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
64921         processing for last bytes.
64923 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
64925         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
64926         (syscall-list-default-options, syscall-list-default-condition)
64927         (syscall-list-includes): Define.
64928         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
64929         list of ABIs and options and #if conditions for each ABI.  Do not
64930         handle common syscalls between ABIs specially.
64931         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
64932         Remove.
64933         (syscall-list-variants, syscall-list-32bit-options)
64934         (syscall-list-32bit-condition, syscall-list-64bit-options)
64935         (syscall-list-64bit-condition): Define.
64936         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
64937         (syscall-list-variants, syscall-list-32bit-options)
64938         (syscall-list-32bit-condition, syscall-list-64bit-options)
64939         (syscall-list-64bit-condition): Define.
64940         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
64941         Remove.
64942         (syscall-list-variants, syscall-list-32bit-options)
64943         (syscall-list-32bit-condition, syscall-list-64bit-options)
64944         (syscall-list-64bit-condition): Define.
64945         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
64946         Remove.
64947         (syscall-list-variants, syscall-list-32bit-options)
64948         (syscall-list-32bit-condition, syscall-list-64bit-options)
64949         (syscall-list-64bit-condition): Define.
64951 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
64953         * locale/iso-639.def: Add brx entry.
64955         [BZ #13328]
64956         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
64957         Proposed by Mariusz_Cukr <marcukr@op.pl>.
64959         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
64960         __feraiseexcept_renamed.
64962 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
64964         [BZ #13538]
64965         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
64966         EPOLLET with unsigned values.
64967         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
64968         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
64970         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
64971         to large cancellation.
64972         * math/s_cacoshf.c: Likewise.
64973         * math/s_cacoshl.c: Likewise.
64975 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
64977         [BZ #13305]
64978         [BZ #12786]
64979         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
64980         * math/s_cacoshf.c: Likewise.
64981         * math/s_cacoshl.c: Likewise.
64983 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
64985         [BZ #13439]
64986         * iconv/gconv.h: Define __GCONV_SWAP.
64987         * iconvdata/unicode.c: The swap bit must be stored in __flags.
64988         * iconvdata/utf-16.c: Likewise.
64989         * iconvdata/utf-32.c: Likewise.
64991 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
64993         [BZ #13524]
64994         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
64995         numerator after shifting it by one limb.
64997 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
64999         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
65000         under [__USE_EXTERN_INLINES].
65002 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
65004         [BZ #13446]
65005         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
65007 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65009         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
65010         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
65011         optimized code.
65012         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
65013         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
65014         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
65015         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
65016         for strncasecmp/strncasecmp_l compilation.
65017         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
65018         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
65020 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
65022         [BZ #13484]
65023         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
65024         of __asm__.
65026 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
65028         [BZ #13506]
65029         * time/tzfile.c (__tzfile_read): Check values from file header.
65031 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
65033         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
65034         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
65035         * powerpc/powerpc32/dl-start.S: Likewise.
65036         * powerpc/powerpc32/elf/start.S: Likewise.
65037         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
65038         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
65039         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
65040         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
65041         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
65042         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
65043         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
65044         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
65045         * powerpc/powerpc32/fpu/s_round.S: Likewise.
65046         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
65047         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
65048         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
65049         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
65050         * powerpc/powerpc32/memset.S: Likewise.
65051         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
65052         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
65053         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
65054         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
65055         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
65056         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
65057         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
65058         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
65059         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
65060         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
65061         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
65062         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
65063         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
65065 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65067         * math/libm-test.inc: Added more nearbyint tests.
65068         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
65069         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
65070         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
65071         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
65073 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
65075         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
65076         FD_CLOEXEC.
65078 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
65080         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
65081         Add wcscpy-ssse3 wcscpy-c.
65082         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
65083         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
65084         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
65085         * sysdeps/x86_64/wcschr.S: New file.
65086         * sysdeps/x86_64/wcsrchr.S: New file.
65087         * string/test-strcmp.c: Remove checking of wcscmp function for
65088         wrong alignments.
65089         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
65090         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
65091         wcsrchr-sse2 wcsrchr-c.
65092         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
65093         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
65094         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
65095         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
65096         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
65097         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
65098         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
65099         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
65100         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
65101         * wcsmbc/wcschr.c (WCSCHR): New macro.
65103 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
65105         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
65106         * wcsmbs/test-wcsrchr.c: New file.
65107         * string/test-strrchr.c: Add wcsrchr support.
65108         (WIDE): New macro.
65109         * wcsmbs/test-wcscpy.c: New file.
65110         * string/test-strcpy.c: Add wcscpy support.
65111         (WIDE): New macro.
65113 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
65115         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
65116         the inner loop.
65118 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
65120         [BZ #13472]
65121         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
65123 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
65125         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
65126         Minor optimizations.
65128         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
65129         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
65130         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
65132 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
65134         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
65135         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
65136         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
65137         for gcc to avoid warnings.
65138         * inet/Makefile (tests): Add tst-checks.
65139         * inet/tst-checks.c: New file.
65141         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
65142         warning.
65144         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
65145         __wmemcmp_sse2.
65147         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
65148         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
65150         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
65152 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
65154         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
65155         problem.
65157         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
65159 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
65161         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
65162         conditional on GCC version.
65163         (__arch_compare_and_exchange_val_8_acq)
65164         (__arch_compare_and_exchange_val_16_acq)
65165         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
65166         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
65167         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
65169 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
65171         * sysdeps/sh/backtrace.c: New file.
65173 2011-12-02  Andreas Schwab  <schwab@redhat.com>
65175         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
65176         parenthesis.
65178 2011-12-01  Andreas Schwab  <schwab@redhat.com>
65180         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
65181         falling back to utime.
65183 2011-11-30  Andreas Schwab  <schwab@redhat.com>
65185         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
65186         expectations for float.
65188 2011-11-29  Andreas Schwab  <schwab@redhat.com>
65190         * locale/weight.h (findidx): Add parameter len.
65191         * locale/weightwc.h (findidx): Likewise.
65192         * posix/fnmatch_loop.c (FCT): Adjust caller.
65193         * posix/regcomp.c (build_equiv_class): Likewise.
65194         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
65195         * posix/regexec.c (check_node_accept_bytes): Likewise.
65196         * string/strcoll_l.c (STRCOLL): Likewise.
65197         * string/strxfrm_l.c (STRXFRM): Likewise.
65199 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
65201         * Makefile.in: Remove CVSOPT handling.
65202         * configure.in: Remove use of AC_REVISION.
65203         * iconvdata/Makefile (distribute): No need to filter out CVS.
65204         * scripts/list-sources.sh: Remove CVS, subversion and monotone
65205         handling.
65207 2011-11-16  Andreas Schwab  <schwab@redhat.com>
65209         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
65210         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
65211         [USE_AS_STRNCASECMP_L]: Likewise.
65212         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
65213         NO_TLS_DIRECT_SEG_REFS.
65214         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
65215         Fix argument offsets for non-PIC.
65216         [USE_AS_STRNCASECMP_L]: Likewise.
65217         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
65218         NO_TLS_DIRECT_SEG_REFS.
65220 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
65222         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
65223         O_CLOEXEC.
65224         * locale/loadlocale.c (_nl_load_locale): Likewise.
65226 2011-11-15  Andreas Schwab  <schwab@redhat.com>
65228         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
65229         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
65230         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
65231         (SYSCALL_GETTIME): Set errno on error.
65233         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
65234         count references to noai6ai_cached.
65236 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
65238         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
65240         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
65241         FD_CLOEXEC for /proc/self/maps.
65243         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
65244         FD_CLOEXEC for /proc/meminfo.
65246         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
65247         gai.conf.
65249         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
65250         FD_CLOEXEC for given file.
65252         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
65254         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
65255         FD_CLOEXEC for /etc/hosts.
65256         (_gethtent): Likewise.
65258         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
65260         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
65261         cancellation and set FD_CLOEXEC for /etc/netgroup.
65263         * nss/nss_files/files-key.c (search): Don't allow cancellation when
65264         reading /etc/publickey.
65266         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
65267         allow cancellation when reading /etc/group.
65269         * nss/nss_files/files-alias.c (internal_setent): Don't allow
65270         cancellation.
65271         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
65273         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
65274         when using data file.
65276         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
65278         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
65279         (write_nis_obj): Use "c" and "e" in fopen.
65281         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
65283         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
65285         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
65287         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
65289         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
65290         locale.alias.
65292         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
65294         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
65296         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
65298         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
65299         file parsing and set FD_CLOEXEC.
65301 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
65303         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
65305 2011-11-14  Andreas Schwab  <schwab@redhat.com>
65307         * malloc/arena.c (arena_get2): Don't call reused_arena when
65308         _int_new_arena failed.
65310 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
65312         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
65313         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
65314         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
65315         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
65316         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
65317         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
65318         to compile strcasecmp and strncasecmp.
65319         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
65320         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
65322         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
65324 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
65326         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
65327         locale-defines.sym to gen-as-const-headers.
65328         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
65329         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
65330         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
65331         to compile strcasecmp and strncasecmp.
65332         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
65333         strcasecmp_l and strncasecmp_l.
65334         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
65335         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
65336         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
65337         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
65338         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
65339         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
65340         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
65341         * sysdeps/i386/i686/multiarch/strncase.S: New file.
65342         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
65343         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
65344         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
65346 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
65348         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
65349         result of SYSDEP_GETTIME_CPU to retval.
65350         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
65351         parameter list to macro.  Remove trailing semicolon.  Adjust users.
65353         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
65354         variable.
65356         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
65357         mantissa words.
65358         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
65360         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
65361         from unused variable.
65363         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
65364         DWARF definitions.
65365         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
65366         for assembling.
65368         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
65369         over namespaces.
65371         * sunrpc/rpc_prot.c (rejected): Fix case value.
65373         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
65374         unsigned long long int to avoid warnings in shift.
65376         * posix/regex_internal.c (re_string_reconstruct): Actually use result
65377         of use of trans.
65378         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
65379         variable tmp.
65381         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
65382         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
65383         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
65385         * nis/nis_table.c (nis_list): Use variable of correct type for
65386         result of __follow_path call.
65388 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65390         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
65391         of math functions ceil, trunc, floor, round, and sqrt, when
65392         avaliable on the platform.
65393         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
65394         name clash.
65395         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
65396         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
65397         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
65399 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
65401         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
65402         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
65404 2011-11-11  Roland McGrath  <roland@hack.frob.com>
65406         * include/unistd.h: Fix __readlink return type.
65407         Reported by Chris Metcalf <cmetcalf@tilera.com>.
65409 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
65411         * stdlib/ucontext.h: Undo last change for makecontext.
65413 2011-11-11  Andreas Schwab  <schwab@redhat.com>
65415         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
65417         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
65418         * setjmp/setjmp.h: Mark functions as non-leaf.
65419         * setjmp/bits/setjmp2.h: Likewise.
65420         * stdlib/ucontext.h: Likewise.
65422 2011-11-10  Andreas Schwab  <schwab@redhat.com>
65424         * malloc/arena.c (_int_new_arena): Don't increment narenas.
65425         (reused_arena): Don't check arena limit.
65426         (arena_get2): Atomically check arena limit.
65428 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
65430         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
65431         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
65433         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
65434         instructions.
65436 2011-11-07  Andreas Schwab  <schwab@redhat.com>
65438         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
65439         handler when locking.
65441         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
65442         Fix size of allocated buffer.
65444 2011-11-04  Andreas Schwab  <schwab@redhat.com>
65446         [BZ #10103]
65447         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
65448         declarations for long double functions.
65449         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
65451         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
65453 2011-11-03  Andreas Schwab  <schwab@redhat.com>
65455         * nscd/nscd.c (main): Don't start AVC thread until credentials are
65456         installed.
65458         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
65459         is disabled.
65461 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
65463         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
65465 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
65467         * include/alloca.h (stackinfo_alloca_round): Define.
65468         (extend_alloca): Use it.
65469         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
65470         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
65471         here.
65473         * scripts/check-local-headers.sh: Ignore libaudit.h.
65475         * nscd/Makefile (extra-objs): Make recursively expanded.
65477 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
65479         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
65480         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
65482         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
65483         * posix/tst-rfc3484-2.c: Likewise.
65484         * posix/tst-rfc3484-3.c: Likewise.
65486         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
65487         process_vm_writev.
65488         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
65489         process_vm_writev.
65490         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
65491         process_vm_writev from libc using GLIBC_2.15 version.
65493         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
65495 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
65497         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
65498         stack usage.
65500 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
65502         [BZ #13367]
65503         * nss/getent.c (initgroups_keys): Show error message in case no group
65504         names are given.
65506         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
65507         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
65508         __bump_nl_timestamp.
65509         * nscd/connections (nscd_init): When host database is served open
65510         netlink socket and request notification about configuration changes.
65511         (main_loop_poll): Track netlink file descriptor and bump timestamp
65512         in case data becomes available.
65513         (main_loop_epoll): Likewise.
65514         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
65515         (database_pers_head): Add extra_data fileds.
65516         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
65517         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
65518         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
65519         Adjust caller.
65520         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
65521         in6ai data, call __free_in6ai.
65522         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
65523         Add -DHAVE_NETLINK.
65524         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
65525         interface information.  Reuse previous data if netlink timestamp
65526         is not changed.
65527         (__bump_nl_timestamp): New function.
65528         (__free_in6ai): New function.
65530 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
65532         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
65533         close_not_cancel_no_status here.
65534         (__check_pf): Reorganize code a bit to not call close twice if OOM.
65536 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
65538         [BZ #13276]
65539         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
65540         return value.
65542         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
65543         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
65544         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
65546 2011-07-03  Andreas Jaeger  <aj@suse.de>
65548         [BZ #10709]
65549         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
65550         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
65551         * math/libm-test.inc (sin_test): Add test case.
65553 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
65555         [BZ #13337]
65556         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
65557         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
65559         * elf/chroot_canon.c (chroot_canon): Cleanups.
65561         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
65563         [BZ #13335]
65564         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
65565         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
65567         * string/test-strchr.c: Make usable for strchrnul testing.
65568         * string/test-strchrnul.c: New file.
65569         * string/Makefile (strop-tests): Add strchrnul.
65571         * po/it.po: Update from translation team.
65572         * po/es.po: Likewise.
65574 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
65576         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
65577         the three constants needed as parameters.  Drop the others.
65578         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
65579         __m128i_strloadu_tolower.
65580         Create and initialize variable zero and use it in all the places
65581         where _mm_setzero_si128 was used.
65583         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
65584         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
65585         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
65586         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
65587         anymore.
65588         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
65589         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
65590         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
65591         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
65592         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
65593         __mpranred, __mptan.
65594         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
65595         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
65596         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
65597         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
65598         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
65599         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
65600         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
65601         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
65602         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
65604 2011-10-28  Andreas Schwab  <schwab@redhat.com>
65606         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
65607         redefine if SHARED.
65608         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
65610         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
65611         wide char related routines to wcsmbs subdir.
65613 2011-10-27  Andreas Schwab  <schwab@redhat.com>
65615         [BZ #13344]
65616         * misc/sys/cdefs.h (__THROWNL): Define.
65617         * posix/unistd.h: Use __THREADNL instead of __THREAD
65618         for memory synchronization functions.
65620 2011-10-26  Roland McGrath  <roland@hack.frob.com>
65622         [BZ #13349]
65623         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
65624         doesn't exist.
65625         * manual/stdio.texi (Obstack Streams): Node removed.
65627 2011-10-26  Andreas Schwab  <schwab@redhat.com>
65629         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
65630         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
65631         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
65633         * math/math_private.h (math_force_eval): Allow non-addressable
65634         arguments.
65635         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
65637 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
65639         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
65640         file is not needed.
65642         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
65643         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
65644         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
65645         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
65646         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
65647         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
65648         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
65649         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
65650         Add AVX variants.
65651         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
65652         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
65653         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
65654         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
65655         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
65656         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
65657         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
65658         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
65659         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
65660         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
65661         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
65662         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
65663         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
65664         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
65665         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
65666         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
65667         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
65668         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
65669         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
65671         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
65672         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
65674         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
65675         place.  Use VEX encoding when compiling for AVX.
65677 2011-10-25  Andreas Schwab  <schwab@redhat.com>
65679         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
65680         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
65682         * string/test-strchr.c (do_test): Don't generate NUL bytes.
65684 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
65686         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
65687         useless if() expression.
65688         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
65689         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
65690         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
65691         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
65692         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
65693         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
65694         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
65695         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
65696         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
65697         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
65698         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
65699         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
65700         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
65701         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
65702         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
65703         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
65704         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
65705         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
65706         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
65708         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
65710 2011-10-25  Andreas Schwab  <schwab@redhat.com>
65712         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
65713         condition.
65714         * elf/dl-fini.c (_dl_sort_fini): Likewise.
65716 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
65718         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
65719         .text section.  Avoid duplicate constants.
65720         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
65721         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
65722         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
65723         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
65724         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
65725         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
65726         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
65727         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
65728         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
65729         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
65730         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
65731         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
65732         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
65733         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
65734         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
65735         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
65736         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
65737         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
65738         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
65739         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
65740         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
65741         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
65742         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
65743         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
65744         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
65745         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
65746         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
65747         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
65748         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
65749         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
65750         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
65751         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
65752         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
65753         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
65754         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
65755         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
65756         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
65757         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
65758         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
65759         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
65760         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
65761         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
65762         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
65763         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
65764         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
65766 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
65768         * sysdeps/x86_64/dla.h: Move to ...
65769         * sysdeps/x86_64/fpu/dla.h: ...here.
65770         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
65771         situations.  Use __builtin_fma only for gcc 4.6 and up.
65773         * config.make.in: Add have-mfma4 entry.
65774         * configure.in: Substitute libc_cv_cc_fma4.
65775         * math/Makefile (dbl-only-routines): Add sincostab.
65776         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
65777         Use __sincostab not sincos.
65778         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
65779         name is a macro.
65780         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
65781         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
65782         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
65783         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
65784         using __copysign.
65785         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
65786         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
65787         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
65788         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
65789         and __inv.
65790         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
65791         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
65792         __copysign.
65793         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
65794         define aliases when function name is a macro.
65795         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
65796         sysdeps/ieee754/dbl-64/sincos.tbl.
65797         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
65798         fma4-enabled routines.
65799         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
65800         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
65801         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
65802         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
65803         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
65804         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
65805         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
65806         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
65807         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
65808         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
65809         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
65810         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
65811         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
65812         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
65813         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
65814         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
65815         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
65816         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
65817         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
65818         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
65819         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
65820         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
65821         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
65822         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
65823         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
65824         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
65825         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
65826         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
65827         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
65828         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
65830         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
65831         rename.
65832         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
65833         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
65834         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
65835         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
65836         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
65837         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
65838         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
65839         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
65841 2011-10-24  Andreas Schwab  <schwab@redhat.com>
65843         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
65845 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
65847         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
65849         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
65850         prediction.
65851         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
65853         * string/strnlen.c: Don't define STRNLEN, reverse logic.
65854         Remove unused variable magic_bits.
65855         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
65857         * string/strnlen.c: Define and use STRNLEN macro.
65858         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
65859         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
65860         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
65861         * wcsmbs/wcslen.c: Define and use WCSLEN.
65862         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
65863         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
65864         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
65865         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
65866         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
65867         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
65868         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
65870 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
65872         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
65873         strnlen-sse2-no-bsf.
65874         Rename strlen-no-bsf to strlen-sse2-no-bsf.
65875         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
65876         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
65877         Add strnlen support.
65878         (USE_AS_STRNLEN): New macro.
65879         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
65880         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
65881         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
65882         * sysdeps/x86_64/wcslen.S: New file.
65884 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
65886         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
65887         XMM-moves are used for copying on small sizes.
65889 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
65891         * wcsmbs/Makefile (strop-tests): Add wcschr.
65892         * wcsmbs/test-wcschr.c: New file.
65893         * string/test-strchr.c: Update.
65894         Add wcschr support.
65895         (WIDE): New macro.
65897 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
65899         * wcsmbs/Makefile (strop-tests): Add wcslen.
65900         * wcsmbs/test-wcslen.c: New file.
65901         * string/test-strlen.c: Update.
65902         Add wcslen support.
65903         (WIDE): New macro.
65905 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
65907         * po/it.po: Update from translation team.
65909 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
65911         * sysdeps/x86_64/wcscmp.S: Update.
65912         Fix wrong comparison semantics.
65913         wcscmp shall use signed comparison not unsigned.
65914         Don't use substraction to avoid overflow bug.
65915         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
65916         * wcsmbc/wcscmp.c: Likewise.
65917         * string/test-strcmp.c: Likewise.
65918         Add new tests to check cases with negative values.
65920 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
65922         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
65923         * sysdeps/x86_64/dla.h: ...here.  New file.
65924         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
65925         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
65926         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
65927         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
65928         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
65929         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
65930         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
65931         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
65932         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
65934 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
65936         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
65937         __ynl_finite aliases.
65939 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
65941         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
65943         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
65944         define DLA_FMA.
65945         [DLA_FMA] (EMULV): Use DLA_FMA.
65946         [DLA_FMA] (MUL12): Use EMULV.
65947         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
65948         that are not needed.
65949         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
65950         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
65951         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
65952         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
65953         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
65954         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
65955         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
65957 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
65959         * math/s_nan.c: Undef __nan.
65960         * math/s_nanf.c: Undef __nanf.
65961         * math/s_nanl.c: Undef __nanl.
65962         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
65963         "math_private.h".
65965 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
65967         * math/s_catan.c: Add branch predictions.
65968         * math/s_catanf.c: Likewise.
65969         * math/s_catanh.c: Likewise.
65970         * math/s_catanhf.c: Likewise.
65971         * math/s_catanhl.c: Likewise.
65972         * math/s_catanl.c: Likewise.
65973         * math/s_cexp.c: Likewise.
65974         * math/s_cexpf.c: Likewise.
65975         * math/s_cexpl.c: Likewise.
65976         * math/s_clog.c: Likewise.
65977         * math/s_clog10.c: Likewise.
65978         * math/s_clog10f.c: Likewise.
65979         * math/s_clog10l.c: Likewise.
65980         * math/s_clogf.c: Likewise.
65981         * math/s_clogl.c: Likewise.
65982         * math/s_csqrt.c: Likewise.
65983         * math/s_csqrtf.c: Likewise.
65984         * math/s_csqrtl.c: Likewise.
65985         * math/s_ctanf.c: Likewise.
65986         * math/s_ctanh.c: Likewise.
65987         * math/s_ctanhf.c: Likewise.
65988         * math/s_ctanhl.c: Likewise.
65989         * math/s_ctanl.c: Likewise.
65991         * math/math_private.h: Define __nan, __nanf, __nanl.
65992         * math/s_cacosh.c: Include <math_private.h>.
65993         * math/s_cacoshl.c: Likewise.
65994         * math/s_casinh.c: Likewise.
65995         * math/s_casinhf.c: Likewise.
65996         * math/s_casinhl.c: Likewise.
65997         * math/s_ccos.c: Rely entire on ccosh.
65998         * math/s_ccosf.c: Rely entire on ccoshf.
65999         * math/s_ccosl.c: Rely entirely on ccoshl.
66000         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
66001         Remove tests for FE_INVALID.
66002         * math/s_ccoshf.c: Likewise.
66003         * math/s_ccoshl.c: Likewise.
66004         * math/s_csin.c: Likewise.
66005         * math/s_csinf.c: Likewise.
66006         * math/s_csinh.c Likewise.
66007         * math/s_csinhf.c: Likewise.
66008         * math/s_csinhl.c: Likewise.
66009         * math/s_csinl.c: Likewise.
66010         * math/s_ctan.c: Likewise.
66011         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
66012         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
66013         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
66015 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
66017         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
66018         compilation problems.
66020         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
66021         __builtin_expect.
66023 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
66025         * sysdeps/i386/configure.in: Test for -mfma4 option.
66026         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
66027         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
66028         COMMON_CPUID_INDEX_80000001.
66029         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
66030         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
66031         use it if FMA3 is not supported.
66032         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
66034         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
66035         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
66037 2011-10-20  Andreas Schwab  <schwab@redhat.com>
66039         [BZ #12892]
66040         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
66041         it would create a cycle with a link time dependency.
66043 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
66045         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
66046         instruction.
66047         * string/Makefile (strop-tests): Add rawmemchr.
66048         * string/test-rawmemchr.c: New file.
66050         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
66051         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
66052         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
66053         when compiling str{,n}casecmp and when AVX is available.  Hook up
66054         new optimized code in initializers.
66056 2011-10-19  Andreas Schwab  <schwab@redhat.com>
66058         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
66059         __feraiseexcept instead of feraiseexcept.
66061 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
66063         * math/math_private.h: Define defaults for libc_fetestexcept and
66064         libc_feupdateenv.
66065         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
66066         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
66067         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
66068         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
66069         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
66070         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
66071         libc_fetestexcept and libc_feupdateenv.
66073         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
66074         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
66075         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
66076         * sysdeps/x86_64/fpu/math_private.h: Define special version of
66077         libc_feholdexcept_setround.
66079         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
66080         Add s_nearbyint-c and s_nearbyintf-c.
66081         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
66082         nearbyintf inlines.
66083         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
66084         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
66085         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
66086         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
66088         * math/math_private.h: Define defaults for libc_fegetround,
66089         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
66090         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
66091         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
66092         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
66093         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
66094         standard functions.
66095         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
66096         Remove comments and hacks for old compiler versions.
66097         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
66098         libc_fegetround, libc_fesetround, libc_feholdexcept, and
66099         libc_feholdexceptl.
66101 2011-10-18  Andreas Schwab  <schwab@redhat.com>
66103         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
66104         (__feraiseexcept_renamed): Add __NTH.
66105         (feraiseexcept): Add __NTH.  Rename local variables to fix
66106         namespace violations.
66108 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
66110         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
66112         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
66114         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
66115         recently added interfaces.
66116         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
66118         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
66119         about macro parameter expansion.
66121         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
66122         __NO_MATH_INLINES is defined.  Cleanups.
66124         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
66125         and __floorf is target has SSE4.1.
66126         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
66127         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
66128         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
66129         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
66131         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
66132         name.
66133         (floorf): Likewise.
66135         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
66137 2011-10-17  Andreas Schwab  <schwab@redhat.com>
66139         * misc/sys/cdefs.h: Fix last change.
66141         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
66142         database lookup.
66144 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
66146         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
66148         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
66149         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
66150         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
66151         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
66152         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
66153         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
66154         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
66155         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
66156         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
66157         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
66158         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
66159         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
66160         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
66161         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
66162         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
66163         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
66164         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
66165         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
66166         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
66167         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
66168         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
66169         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
66171         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
66172         ceil, ceilf, floor, floorf.
66174         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
66175         Perform IRELATIVE relocations last.
66177         * elf/do-rel.h: Add another parameter nrelative, replacing the
66178         local variable with the same name.  Change name of the function
66179         to end in Rel or Rela (uppercase).
66180         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
66181         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
66182         elf_dynamic_do_##reloc function.
66184 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
66186         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
66187         is sufficient, at least on modern CPUs.
66189         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
66191         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
66192         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
66194         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
66195         __expl_finite.
66196         * math/bits/math-finite.h: Add entries for exp.
66197         * math/e_expl.c: Add __*_finite alias.
66198         * sysdeps/i386/fpu/e_exp.S: Likewise.
66199         * sysdeps/i386/fpu/e_expf.S: Likewise.
66200         * sysdeps/i386/fpu/e_expl.c: Likewise.
66201         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
66202         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
66203         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
66204         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
66205         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
66206         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
66207         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
66209         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
66210         is sufficient, at least on modern CPUs.
66212         * ctype/ctype-info.c (__ctype_init): Define.
66213         * include/ctype.h (__ctype_init): Declare.
66214         (__ctype_b_loc): The variable is always initialized.
66215         (__ctype_toupper_loc): Likewise.
66216         (__ctype_tolower_loc): Likewise.
66217         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
66218         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
66220 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
66222         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
66224         * configure.in: Also look in $cxxmachine/include for C++ system
66225         headers.
66227 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
66229         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
66230         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
66231         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
66232         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
66233         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
66234         (USE_AS_WMEMCMP): New macro.
66235         Fixing indents.
66236         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
66237         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
66238         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
66239         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
66240         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
66241         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
66242         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
66243         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
66244         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
66245         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
66246         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
66247         (USE_AS_WMEMCMP): New macro.
66248         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
66249         * sysdeps/string/test-memcmp.c: Update.
66250         Fix simple_wmemcmp.
66251         Add new tests.
66252         * wcsmbs/wmemcmp.c: Update.
66253         (WMEMCMP): New macro.
66254         Fix overflow bug.
66256 2011-10-12  Andreas Jaeger  <aj@suse.de>
66258         [BZ #13268]
66259         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
66261 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
66263         * libio/iofwide.c (do_length): Avoid warning.
66265         * ctype/ctype.h (__isctype_f): Add missing __THROW.
66267 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
66269         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
66271         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
66272         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
66273         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
66274         * sysdeps/i386/i686/fpu/e_log.S: New file.
66275         * sysdeps/i386/i686/fpu/e_logf.S: New file.
66276         * sysdeps/i386/i686/fpu/e_logl.S: New file.
66278         * ctype/ctype.h: Add support for inlined isXXX functions when
66279         compiling C++ code.
66281 2011-10-14  Andreas Schwab  <schwab@redhat.com>
66283         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
66285         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
66287 2011-10-13  Roland McGrath  <roland@hack.frob.com>
66289         [BZ #13291]
66290         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
66292 2011-10-13  Andreas Schwab  <schwab@redhat.com>
66294         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
66295         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
66296         feraiseexcept.
66298         * sysdeps/x86_64/memrchr.S: Check for zero size.
66300         * string/stratcliff.c: Add memrchr tests.
66302 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
66304         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
66305         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
66306         rawmemchr-sse2 rawmemchr-sse2-bsf.
66307         * sysdeps/i386/i686/multiarch/memchr.S: New file.
66308         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
66309         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
66310         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
66311         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
66312         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
66313         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
66314         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
66315         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
66316         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
66317         * string/memrchr.c (MEMRCHR): New macro.
66319 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
66321         Add integration with gcc's -ffinite-math-only and optimize wrapper
66322         functions in libm.
66323         * Versions.def: Define GLIBC_2.15 version for libm.
66324         * math/Makefile (headers): Add bits/math-finite.h.
66325         * math/bits/math-finite.h: New file.
66326         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
66327         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
66328         * math/e_acoshl.c: Add __*_finite alias.
66329         * math/e_acosl.c: Likewise.
66330         * math/e_asinl.c: Likewise.
66331         * math/e_atan2l.c: Likewise.
66332         * math/e_atanhl.c: Likewise.
66333         * math/e_coshl.c: Likewise.
66334         * math/e_exp10.c: Likewise.
66335         * math/e_exp10f.c: Likewise.
66336         * math/e_exp10l.c: Likewise.
66337         * math/e_exp2l.c: Likewise.
66338         * math/e_fmodl.c: Likewise.
66339         * math/e_gammal_r.c: Likewise.
66340         * math/e_hypotl.c: Likewise.
66341         * math/e_j0l.c: Likewise.
66342         * math/e_j1l.c: Likewise.
66343         * math/e_jnl.c: Likewise.
66344         * math/e_lgammal_r.c: Likewise.
66345         * math/e_log10l.c: Likewise.
66346         * math/e_log2l.c: Likewise.
66347         * math/e_logl.c: Likewise.
66348         * math/e_powl.c: Likewise.
66349         * math/e_sinhl.c: Likewise.
66350         * math/e_sqrtl.c: Likewise.
66351         * math/e_scalb.c: Completely rewritten and optimized.
66352         * math/e_scalbf.c: Likewise.
66353         * math/e_scalbl.c: Likewise.
66354         * math/w_acos.c: Likewise.
66355         * math/w_acosf.c: Likewise.
66356         * math/w_acosl.c: Likewise.
66357         * math/w_acosh.c: Likewise.
66358         * math/w_acoshf.c: Likewise.
66359         * math/w_acoshl.c: Likewise.
66360         * math/w_asin.c: Likewise.
66361         * math/w_asinf.c: Likewise.
66362         * math/w_asinl.c: Likewise.
66363         * math/w_atan2.c: Likewise.
66364         * math/w_atan2f.c: Likewise.
66365         * math/w_atan2l.c: Likewise.
66366         * math/w_atanh.c: Likewise.
66367         * math/w_atanhf.c: Likewise.
66368         * math/w_atanhl.c: Likewise.
66369         * math/w_exp10.c: Likewise.
66370         * math/w_exp10f.c: Likewise.
66371         * math/w_exp10l.c: Likewise.
66372         * math/w_fmod.c: Likewise.
66373         * math/w_fmodf.c: Likewise.
66374         * math/w_fmodl.c: Likewise.
66375         * math/w_j0.c: Likewise.
66376         * math/w_j0f.c: Likewise.
66377         * math/w_j0l.c: Likewise.
66378         * math/w_j1.c: Likewise.
66379         * math/w_j1f.c: Likewise.
66380         * math/w_j1l.c: Likewise.
66381         * math/w_jn.c: Likewise.
66382         * math/w_jnf.c: Likewise.
66383         * math/w_log.c: Likewise.
66384         * math/w_logf.c: Likewise.
66385         * math/w_logl.c: Likewise.
66386         * math/w_log10.c: Likewise.
66387         * math/w_log10f.c: Likewise.
66388         * math/w_log10l.c: Likewise.
66389         * math/w_log2.c: Likewise.
66390         * math/w_log2f.c: Likewise.
66391         * math/w_log2l.c: Likewise.
66392         * math/w_pow.c: Likewise.
66393         * math/w_powf.c: Likewise.
66394         * math/w_powl.c: Likewise.
66395         * math/w_remainder.c: Likewise.
66396         * math/w_remainderf.c: Likewise.
66397         * math/w_remainderl.c: Likewise.
66398         * math/w_scalb.c: Likewise.
66399         * math/w_scalbf.c: Likewise.
66400         * math/w_scalbl.c: Likewise.
66401         * math/w_sqrt.c: Likewise.
66402         * math/w_sqrtf.c: Likewise.
66403         * math/w_sqrtl.c: Likewise.
66404         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
66405         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
66406         used.
66407         * math/math_private.h: Declare __kernel_standard_f.
66408         * math/w_cosh.c: Remove cruft and optimize a bit.
66409         * math/w_coshf.c: Likewise.
66410         * math/w_coshl.c: Likewise.
66411         * math/w_exp2.c: Likewise.
66412         * math/w_exp2f.c: Likewise.
66413         * math/w_exp2l.c: Likewise.
66414         * math/w_hypot.c: Likewise.
66415         * math/w_hypotf.c: Likewise.
66416         * math/w_hypotl.c: Likewise.
66417         * math/w_lgamma.c: Likewise.
66418         * math/w_lgamma_r.c: Likewise.
66419         * math/w_lgammaf.c: Likewise.
66420         * math/w_lgammaf_r.c: Likewise.
66421         * math/w_lgammal.c: Likewise.
66422         * math/w_lgammal_r.c: Likewise.
66423         * math/w_sinh.c: Likewise.
66424         * math/w_sinhf.c: Likewise.
66425         * math/w_sinhl.c: Likewise.
66426         * math/w_tgamma.c: Likewise.
66427         * math/w_tgammaf.c: Likewise.
66428         * math/w_tgammal.c: Likewise.
66429         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
66430         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
66431         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
66432         Minor optimizations.  Pretty printing.  Remove cruft.
66433         * sysdeps/i386/fpu/e_acosf.S: Likewise.
66434         * sysdeps/i386/fpu/e_acosh.S: Likewise.
66435         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
66436         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
66437         * sysdeps/i386/fpu/e_acosl.c: Likewise.
66438         * sysdeps/i386/fpu/e_asin.S: Likewise.
66439         * sysdeps/i386/fpu/e_asinf.S: Likewise.
66440         * sysdeps/i386/fpu/e_atan2.S: Likewise.
66441         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
66442         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
66443         * sysdeps/i386/fpu/e_atanh.S: Likewise.
66444         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
66445         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
66446         * sysdeps/i386/fpu/e_exp10.S: Likewise.
66447         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
66448         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
66449         * sysdeps/i386/fpu/e_exp2.S: Likewise.
66450         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
66451         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
66452         * sysdeps/i386/fpu/e_fmod.S: Likewise.
66453         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
66454         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
66455         * sysdeps/i386/fpu/e_hypot.S: Likewise.
66456         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
66457         * sysdeps/i386/fpu/e_log.S: Likewise.
66458         * sysdeps/i386/fpu/e_log10.S: Likewise.
66459         * sysdeps/i386/fpu/e_log10f.S: Likewise.
66460         * sysdeps/i386/fpu/e_log10l.S: Likewise.
66461         * sysdeps/i386/fpu/e_log2.S: Likewise.
66462         * sysdeps/i386/fpu/e_log2f.S: Likewise.
66463         * sysdeps/i386/fpu/e_log2l.S: Likewise.
66464         * sysdeps/i386/fpu/e_logf.S: Likewise.
66465         * sysdeps/i386/fpu/e_logl.S: Likewise.
66466         * sysdeps/i386/fpu/e_pow.S: Likewise.
66467         * sysdeps/i386/fpu/e_powf.S: Likewise.
66468         * sysdeps/i386/fpu/e_powl.S: Likewise.
66469         * sysdeps/i386/fpu/e_remainder.S: Likewise.
66470         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
66471         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
66472         * sysdeps/i386/fpu/e_scalb.S: Likewise.
66473         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
66474         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
66475         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
66476         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
66477         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
66478         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
66479         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
66480         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
66481         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
66482         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
66483         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
66484         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
66485         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
66486         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
66487         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
66488         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
66489         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
66490         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
66491         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
66492         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
66493         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
66494         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
66495         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
66496         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
66497         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
66498         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
66499         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
66500         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
66501         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
66502         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
66503         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
66504         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
66505         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
66506         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
66507         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
66508         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
66509         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
66510         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
66511         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
66512         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
66513         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
66514         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
66515         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
66516         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
66517         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
66518         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
66519         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
66520         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
66521         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
66522         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
66523         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
66524         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
66525         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
66526         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
66527         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
66528         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
66529         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
66530         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
66531         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
66532         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
66533         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
66534         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
66535         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
66536         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
66537         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
66538         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
66539         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
66540         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
66541         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
66542         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
66543         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
66544         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
66545         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
66546         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
66547         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
66548         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
66549         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
66550         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
66551         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
66552         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
66553         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
66554         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
66555         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
66556         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
66557         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
66558         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
66559         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
66560         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
66561         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
66562         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
66563         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
66564         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
66565         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
66566         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
66567         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
66568         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
66569         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
66570         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
66571         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
66572         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
66573         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
66574         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
66575         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
66576         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
66577         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
66578         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
66579         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
66580         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
66581         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
66582         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
66583         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
66584         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
66585         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
66586         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
66587         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
66588         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
66589         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
66590         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
66591         (__isnanf): Likewise.
66592         (__isinf_ns): Likewise.
66593         (__isinf_nsf): Likewise.
66594         (__finite): Likewise.
66595         (__finitef): Likewise.
66596         (__ieee754_sqrt): Define as macro.
66597         (__ieee754_sqrtf): Define as macro.
66598         (__ieee754_sqrtl): Define as macro.
66599         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
66600         inlined copy.
66601         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
66602         __FINITE_MATH_ONLY__ consistent.
66603         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
66605 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
66607         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
66608         of rawmemchr.
66610         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
66612 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
66614         * po/ja.po: Update from translation team.
66616 2011-10-08  Roland McGrath  <roland@hack.frob.com>
66618         * locale/programs/locarchive.c (prepare_address_space): New function.
66619         (create_archive, enlarge_archive, open_archive): Use it.
66621         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
66622         inside [SHARED], where it is used.
66624         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
66626         * nss/getent.c (netgroup_keys): Remove unused variable.
66627         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
66629 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
66631         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
66632         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
66633         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
66634         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
66635         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
66636         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
66637         * math/Makefile (libm-calls): Add s_isinf_ns.
66638         * math/divtc3.c: Use __isinf_nsl instead of isinf.
66639         * math/multc3.c: Likewise.
66640         * math/s_casin.c: Likewise.
66641         * math/s_casinf.c: Likewise.
66642         * math/s_casinl.c: Likewise.
66643         * math/s_ccos.c: Likewise.
66644         * math/s_ccosf.c: Likewise.
66645         * math/s_ccosl.c: Likewise.
66646         * math/s_ctan.c: Likewise.
66647         * math/s_ctanf.c: Likewise.
66648         * math/s_ctanh.c: Likewise.
66649         * math/s_ctanhf.c: Likewise.
66650         * math/s_ctanhl.c: Likewise.
66651         * math/s_ctanl.c: Likewise.
66652         * math/w_fmod.c: Likewise.
66653         * math/w_fmodf.c: Likewise.
66654         * math/w_fmodl.c: Likewise.
66655         * math/w_remainder.c: Likewise.
66656         * math/w_remainderf.c: Likewise.
66657         * math/w_remainderl.c: Likewise.
66658         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
66659         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
66660         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
66661         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
66662         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
66663         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
66664         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
66665         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
66667         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
66668         of the number.
66669         * stdio-common/printf_fphex.c: Likewise.
66670         * stdio-common/printf_size.c: Likewise.
66672         * math/e_exp10.c: Include math_private.h using <...> not "...".
66673         * math/e_exp10f.c: Likewise.
66674         * math/e_exp10l.c: Likewise.
66675         * math/e_exp2l.c: Likewise.
66676         * math/e_j0l.c: Likewise.
66677         * math/e_j1l.c: Likewise.
66678         * math/e_jnl.c: Likewise.
66679         * math/e_lgammal_r.c: Likewise.
66680         * math/e_rem_pio2l.c: Likewise.
66681         * math/e_scalb.c: Likewise.
66682         * math/e_scalbf.c: Likewise.
66683         * math/e_scalbl.c: Likewise.
66684         * math/k_cosl.c: Likewise.
66685         * math/k_sinl.c: Likewise.
66686         * math/k_tanl.c: Likewise.
66687         * math/s_cacoshf.c: Likewise.
66688         * math/s_catan.c: Likewise.
66689         * math/s_catanf.c: Likewise.
66690         * math/s_catanh.c: Likewise.
66691         * math/s_catanhf.c: Likewise.
66692         * math/s_catanhl.c: Likewise.
66693         * math/s_catanl.c: Likewise.
66694         * math/s_ccosh.c: Likewise.
66695         * math/s_ccoshf.c: Likewise.
66696         * math/s_ccoshl.c: Likewise.
66697         * math/s_cexp.c: Likewise.
66698         * math/s_cexpf.c: Likewise.
66699         * math/s_cexpl.c: Likewise.
66700         * math/s_clog.c: Likewise.
66701         * math/s_clog10.c: Likewise.
66702         * math/s_clog10f.c: Likewise.
66703         * math/s_clog10l.c: Likewise.
66704         * math/s_clogf.c: Likewise.
66705         * math/s_clogl.c: Likewise.
66706         * math/s_csin.c: Likewise.
66707         * math/s_csinf.c: Likewise.
66708         * math/s_csinh.c: Likewise.
66709         * math/s_csinhf.c: Likewise.
66710         * math/s_csinhl.c: Likewise.
66711         * math/s_csinl.c: Likewise.
66712         * math/s_csqrt.c: Likewise.
66713         * math/s_csqrtf.c: Likewise.
66714         * math/s_csqrtl.c: Likewise.
66715         * math/s_ctan.c: Likewise.
66716         * math/s_ctanf.c: Likewise.
66717         * math/s_ctanh.c: Likewise.
66718         * math/s_ctanhf.c: Likewise.
66719         * math/s_ctanhl.c: Likewise.
66720         * math/s_ctanl.c: Likewise.
66721         * math/s_ldexp.c: Likewise.
66722         * math/s_ldexpf.c: Likewise.
66723         * math/s_ldexpl.c: Likewise.
66724         * math/s_significand.c: Likewise.
66725         * math/s_significandf.c: Likewise.
66726         * math/s_significandl.c: Likewise.
66727         * math/w_acos.c: Likewise.
66728         * math/w_acosf.c: Likewise.
66729         * math/w_acosh.c: Likewise.
66730         * math/w_acoshf.c: Likewise.
66731         * math/w_acoshl.c: Likewise.
66732         * math/w_acosl.c: Likewise.
66733         * math/w_asin.c: Likewise.
66734         * math/w_asinf.c: Likewise.
66735         * math/w_asinl.c: Likewise.
66736         * math/w_atan2.c: Likewise.
66737         * math/w_atan2f.c: Likewise.
66738         * math/w_atan2l.c: Likewise.
66739         * math/w_atanh.c: Likewise.
66740         * math/w_atanhf.c: Likewise.
66741         * math/w_atanhl.c: Likewise.
66742         * math/w_cosh.c: Likewise.
66743         * math/w_coshf.c: Likewise.
66744         * math/w_coshl.c: Likewise.
66745         * math/w_dremf.c: Likewise.
66746         * math/w_exp10.c: Likewise.
66747         * math/w_exp10f.c: Likewise.
66748         * math/w_exp10l.c: Likewise.
66749         * math/w_exp2.c: Likewise.
66750         * math/w_exp2f.c: Likewise.
66751         * math/w_fmod.c: Likewise.
66752         * math/w_fmodf.c: Likewise.
66753         * math/w_fmodl.c: Likewise.
66754         * math/w_hypot.c: Likewise.
66755         * math/w_hypotf.c: Likewise.
66756         * math/w_hypotl.c: Likewise.
66757         * math/w_j0.c: Likewise.
66758         * math/w_j0f.c: Likewise.
66759         * math/w_j0l.c: Likewise.
66760         * math/w_j1.c: Likewise.
66761         * math/w_j1f.c: Likewise.
66762         * math/w_j1l.c: Likewise.
66763         * math/w_jn.c: Likewise.
66764         * math/w_jnf.c: Likewise.
66765         * math/w_jnl.c: Likewise.
66766         * math/w_lgamma.c: Likewise.
66767         * math/w_lgamma_r.c: Likewise.
66768         * math/w_lgammaf.c: Likewise.
66769         * math/w_lgammaf_r.c: Likewise.
66770         * math/w_lgammal.c: Likewise.
66771         * math/w_lgammal_r.c: Likewise.
66772         * math/w_log.c: Likewise.
66773         * math/w_log10.c: Likewise.
66774         * math/w_log10f.c: Likewise.
66775         * math/w_log10l.c: Likewise.
66776         * math/w_log2.c: Likewise.
66777         * math/w_log2f.c: Likewise.
66778         * math/w_log2l.c: Likewise.
66779         * math/w_logf.c: Likewise.
66780         * math/w_logl.c: Likewise.
66781         * math/w_pow.c: Likewise.
66782         * math/w_powf.c: Likewise.
66783         * math/w_powl.c: Likewise.
66784         * math/w_remainder.c: Likewise.
66785         * math/w_remainderf.c: Likewise.
66786         * math/w_remainderl.c: Likewise.
66787         * math/w_scalb.c: Likewise.
66788         * math/w_scalbf.c: Likewise.
66789         * math/w_scalbl.c: Likewise.
66790         * math/w_sinh.c: Likewise.
66791         * math/w_sinhf.c: Likewise.
66792         * math/w_sinhl.c: Likewise.
66793         * math/w_sqrt.c: Likewise.
66794         * math/w_sqrtf.c: Likewise.
66795         * math/w_sqrtl.c: Likewise.
66796         * math/w_tgamma.c: Likewise.
66797         * math/w_tgammaf.c: Likewise.
66798         * math/w_tgammal.c: Likewise.
66800         * po/ja.po: Update from translation team.
66802 2011-09-29  Andreas Jaeger  <aj@suse.de>
66804         [BZ #13179]
66805         * sunrpc/netname.c (netname2host): Fix logic.
66807         [BZ #6779]
66808         [BZ #6783]
66809         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
66810         correctly.
66811         * math/w_remainder.c (__remainder): Likewise.
66812         * math/w_remainderf.c (__remainderf): Likewise.
66813         * math/libm-test.inc (remainder_test): Add test cases.
66815 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
66817         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
66818         sdiv_qrnnd.
66820 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
66822         * string/test-memcmp.c: Avoid unncessary #defines.
66823         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
66825 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
66827         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
66828         Use new sse2 version for core i3 - i7 as it's faster
66829         than sse42 version.
66830         (bit_Prefer_PMINUB_for_stringop): New.
66831         * sysdeps/x86_64/rawmemchr.S: Update.
66832         Replace with faster SSE2 version.
66833         * sysdeps/x86_64/memrchr.S: New file.
66834         * sysdeps/x86_64/memchr.S: Update.
66835         Replace with faster SSE2 version.
66837 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
66839         * elf/dl-load.c (lose): Add cast to avoid warning.
66841 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
66843         * po/ca.po: Update from translation team.
66845         * inet/getnetgrent_r.c: Hook up nscd.
66846         * nscd/Makefile (routines): Add nscd_netgroup.
66847         (nscd-modules): Add netgroupcache.
66848         (CFLAGS-netgroupcache.c): Define.
66849         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
66850         (cache_search): Add const to second parameter.
66851         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
66852         INNETGR.
66853         (dbs): Add netgrdb entry.
66854         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
66855         (verify_persistent_db): Handle netgrdb.
66856         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
66857         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
66858         GETFDNETGR.
66859         (netgroup_response_header): Define.
66860         (innetgroup_response_header): Define.
66861         (datahead): Add netgroup_response_header and innetgroup_response_header
66862         elements.
66863         * nscd/nscd.conf: Add entries for netgroup cache.
66864         * nscd/nscd.h (dbtype): Add netgrdb.
66865         (_PATH_NSCD_NETGROUP_DB): Define.
66866         (netgroup_iov_disabled): Declare.
66867         (xmalloc, xcalloc, xrealloc): Move declarations here.
66868         (cache_search): Adjust prototype.
66869         Add netgroup-related prototypes.
66870         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
66871         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
66872         (__nscd_innetgr): Declare.
66873         * nscd/selinux.c (perms): Use access_vector_t as element type and
66874         add netgroup-related initializers.
66875         * nscd/netgroupcache.c: New file.
66876         * nscd/nscd_netgroup.c: New file.
66877         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
66878         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
66879         For four parameters use innetgr.
66880         * nss/nss_files/files-init.c: Add definition and callback for netgr.
66881         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
66882         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
66883         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
66885         * nscd/connections.c (register_traced_file): Don't register file
66886         for disabled databases.
66888 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
66890         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
66892         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
66893         from tree and freeing node.
66895 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
66897         * nss/nsswitch.c (__nss_database_lookup): Handle
66898         nss_parse_service_list out of memory case.
66900 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
66902         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
66903         out of memory case.
66905 2011-10-04  Andreas Schwab  <schwab@redhat.com>
66907         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
66908         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
66909         pass it down.
66910         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
66911         elf_machine_rela, elf_machine_lazy_rel.
66912         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
66913         (ELF_DYNAMIC_DO_REL): Likewise.
66914         (ELF_DYNAMIC_DO_RELA): Likewise.
66915         (ELF_DYNAMIC_RELOCATE): Likewise.
66916         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
66917         to ELF_DYNAMIC_DO_REL.
66918         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
66919         (dl_main): In trace mode always set __RTLD_NOIFUNC.
66920         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
66921         elf_machine_rela.
66922         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
66923         skip_ifunc, don't call ifunc function if non-zero.
66924         (elf_machine_rela): Likewise.
66925         (elf_machine_lazy_rel): Likewise.
66926         (elf_machine_lazy_rela): Likewise.
66927         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
66928         (elf_machine_lazy_rel): Likewise.
66929         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
66930         Likewise.
66931         (elf_machine_lazy_rel): Likewise.
66932         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
66933         Likewise.
66934         (elf_machine_lazy_rel): Likewise.
66935         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
66936         (elf_machine_lazy_rel): Likewise.
66937         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
66938         (elf_machine_lazy_rel): Likewise.
66939         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
66940         (elf_machine_lazy_rel): Likewise.
66941         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
66942         (elf_machine_lazy_rel): Likewise.
66943         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
66944         (elf_machine_lazy_rel): Likewise.
66945         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
66946         (elf_machine_lazy_rel): Likewise.
66948 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
66950         * nss/nss_files/files-init.c (_nss_files_init): Use static
66951         initialization for all the *_traced_file variables.
66953 2011-09-28  Andreas Schwab  <schwab@redhat.com>
66955         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
66957 2011-09-27  Roland McGrath  <roland@hack.frob.com>
66959         [BZ #13226]
66960         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
66962 2011-09-27  Andreas Schwab  <schwab@redhat.com>
66964         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
66965         Reread the line before reparsing it.
66967 2011-09-26  Andreas Schwab  <schwab@redhat.com>
66969         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
66971 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
66972             Maxim Kuvyrkov  <maxim@codesourcery.com>
66973             Joseph Myers  <joseph@codesourcery.com>
66975         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
66976         if needed for __stack_chk_guard.
66978 2011-09-19  Roland McGrath  <roland@hack.frob.com>
66980         * sysdeps/posix/spawni.c (script_execute): Always define it.
66981         It will be optimized away if unused.
66982         (maybe_script_execute): New function.
66983         (__spawni): Call it.
66985         * Makerules: Don't include tls.make.
66986         (config-tls): Always set to thread.
66987         * tls.make.c: File removed.
66989 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
66991         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
66992         * config.make.in (CPPFLAGS-config): New substituted variable.
66994 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
66996         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
66998         [BZ #13192]
66999         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
67000         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
67002 2011-09-15  Roland McGrath  <roland@hack.frob.com>
67004         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
67005         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
67006         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
67007         (CALL_FAIL): Likewise.
67008         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
67009         (CALL_FAIL): Macro removed.
67010         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
67012 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
67014         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
67015         for __FINITE_MATH_ONLY__ == 1.
67017 2011-09-15  Andreas Schwab  <schwab@redhat.com>
67019         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
67020         __ieee754_sqrt instead of sqrt.
67021         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
67022         __ieee754_sqrtf instead of sqrtf.
67023         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
67024         __floorf instead of floorf.
67025         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
67026         __floorf, __truncf instead of floorf, truncf.
67028 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
67030         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
67032         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
67033         __extern_always_inline.
67034         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
67035         32-bit.
67037 2011-09-14  Andreas Schwab  <schwab@redhat.com>
67039         * elf/rtld.c (dl_main): Also relocate in dependency order when
67040         doing symbol dependency testing.
67042 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
67044         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
67045         Always define `refsym'.
67047 2011-09-13  Andreas Schwab  <schwab@redhat.com>
67049         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
67050         (__FD_ELT): Renamed from __FDELT.
67051         * misc/bits/select2.h (__FD_ELT): Likewise.
67052         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
67053         __FD_MASK instead of __FDELT, __FDMASK.
67054         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
67055         Likewise.
67056         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
67057         Likewise.
67059         * elf/Makefile (gen-ldd): Fix pattern.
67061         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
67062         (init_tls): Likewise.
67064 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
67066         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
67068 2011-09-12  Andreas Schwab  <schwab@redhat.com>
67070         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
67071         `struct cmsghdr *' instead of `void *'.
67072         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
67073         Likewise.
67075 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
67077         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
67078         if non-absolute.
67079         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
67080         ldd_rewrite_script.
67082 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
67084         * configure.in: Remove --with-tls option.
67085         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
67086         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
67087         out in case it is missing.
67088         * sysdeps/ia64/elf/configure.in: Likewise.
67089         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
67090         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
67091         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
67092         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
67093         * sysdeps/sh/elf/configure.in: Likewise.
67094         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
67095         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
67096         * sysdeps/x86_64/elf/configure.in: Likewise.
67097         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
67098         * sysdeps/mach/hurd/tls.h: Likewise.
67100         [BZ #13067]
67101         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
67103         [BZ #13090]
67104         * configure.in: Fix use of AC_INIT.
67106         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
67108 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
67110         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
67111         __set_errno.
67112         * malloc/hooks.c: Likewise.
67114         [BZ #11929]
67115         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
67116         variables statically.
67117         (narenas): Initialize.
67118         (list_lock): Initialize.
67119         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
67120         initializtion of main_arena and list_lock.  Small cleanups.
67121         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
67122         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
67123         Add initializers to main_arena and mp_.
67124         (malloc_state): Remove pagesize member.  Change all users to use
67125         GLRO(dl_pagesize).
67127         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
67128         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
67129         is always initialized.
67131         * malloc/malloc.c: Removed unused configurations and dead code.
67132         * malloc/arena.c: Likewise.
67133         * malloc/hooks.c: Likewise.
67134         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
67136         * include/tls.h: Removed.  USE___THREAD must always be defined.
67137         * bits/libc-tsd.h: Don't handle !USE___THREAD.
67138         * elf/dl-libc.c: Likewise.
67139         * elf/dl-tsd.c: Likewise.
67140         * include/errno.h: Likewise.
67141         * include/netdb.h: Likewise.
67142         * include/resolv.h: Likewise.
67143         * inet/herrno-loc.c: Likewise.
67144         * inet/herrno.c: Likewise.
67145         * malloc/arena.c: Likewise.
67146         * malloc/hooks.c: Likewise.
67147         * malloc/malloc.c: Likewise.
67148         * resolv/res-state.c: Likewise.
67149         * resolv/res_libc.c: Likewise.
67150         * sysdeps/i386/dl-machine.h: Likewise.
67151         * sysdeps/ia64/dl-machine.h: Likewise.
67152         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
67153         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
67154         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
67155         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
67156         * sysdeps/sh/dl-machine.h: Likewise.
67157         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
67158         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
67159         * sysdeps/unix/i386/sysdep.S: Likewise.
67160         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
67161         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
67162         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
67163         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
67164         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
67165         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
67166         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
67167         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
67168         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
67169         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
67170         * sysdeps/unix/x86_64/sysdep.S: Likewise.
67171         * sysdeps/x86_64/dl-machine.h: Likewise.
67172         * tls.make.c: Likewise.
67174         * configure.in: Remove --with-__thread option.  Make tests for
67175         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
67176         tls_model attribute fail if no support is available.  Remove
67177         USE_IN_LIBIO.
67178         * Makeconfig: Adjust for dropped configure option.  All features are
67179         now mandatory.
67180         * Makerules: Likewise.
67181         * Versions.def: Likewise.
67182         * argp/argp-fmtstream.c: Likewise.
67183         * argp/argp-fmtstream.h: Likewise.
67184         * argp/argp-help.c: Likewise.
67185         * assert/assert.c: Likewise.
67186         * config.h.in: Likewise.
67187         * config.make.in: Likewise.
67188         * configure: Likewise.
67189         * configure.in: Likewise.
67190         * csu/Versions: Likewise.
67191         * csu/init.c: Likewise.
67192         * elf/tst-audit2.c: Likewise.
67193         * elf/tst-tls10.c: Likewise.
67194         * elf/tst-tls10.h: Likewise.
67195         * elf/tst-tls11.c: Likewise.
67196         * elf/tst-tls12.c: Likewise.
67197         * elf/tst-tls14.c: Likewise.
67198         * elf/tst-tlsmod11.c: Likewise.
67199         * elf/tst-tlsmod12.c: Likewise.
67200         * elf/tst-tlsmod13.c: Likewise.
67201         * elf/tst-tlsmod13a.c: Likewise.
67202         * elf/tst-tlsmod14a.c: Likewise.
67203         * elf/tst-tlsmod15b.c: Likewise.
67204         * elf/tst-tlsmod16a.c: Likewise.
67205         * elf/tst-tlsmod16b.c: Likewise.
67206         * elf/tst-tlsmod7.c: Likewise.
67207         * elf/tst-tlsmod8.c: Likewise.
67208         * elf/tst-tlsmod9.c: Likewise.
67209         * gmon/gmon.c: Likewise.
67210         * grp/fgetgrent_r.c: Likewise.
67211         * grp/putgrent.c: Likewise.
67212         * hurd/fopenport.c: Likewise.
67213         * include/libc-symbols.h: Likewise.
67214         * include/tls.h: Likewise.
67215         * intl/gettextP.h: Likewise.
67216         * intl/loadinfo.h: Likewise.
67217         * locale/global-locale.c: Likewise.
67218         * locale/localeinfo.h: Likewise.
67219         * mach/devstream.c: Likewise.
67220         * malloc/arena.c: Likewise.
67221         * malloc/set-freeres.c: Likewise.
67222         * misc/err.c: Likewise.
67223         * misc/getttyent.c: Likewise.
67224         * misc/mntent_r.c: Likewise.
67225         * posix/getopt.c: Likewise.
67226         * posix/wordexp.c: Likewise.
67227         * pwd/fgetpwent_r.c: Likewise.
67228         * resolv/Versions: Likewise.
67229         * resolv/res_hconf.c: Likewise.
67230         * shadow/fgetspent_r.c: Likewise.
67231         * shadow/putspent.c: Likewise.
67232         * stdio-common/printf_fphex.c: Likewise.
67233         * stdio-common/tmpfile.c: Likewise.
67234         * stdlib/abort.c: Likewise.
67235         * stdlib/fmtmsg.c: Likewise.
67236         * sunrpc/auth_unix.c: Likewise.
67237         * sunrpc/clnt_perr.c: Likewise.
67238         * sunrpc/clnt_tcp.c: Likewise.
67239         * sunrpc/clnt_udp.c: Likewise.
67240         * sunrpc/clnt_unix.c: Likewise.
67241         * sunrpc/openchild.c: Likewise.
67242         * sunrpc/svc_simple.c: Likewise.
67243         * sunrpc/svc_tcp.c: Likewise.
67244         * sunrpc/svc_udp.c: Likewise.
67245         * sunrpc/svc_unix.c: Likewise.
67246         * sunrpc/xdr.c: Likewise.
67247         * sunrpc/xdr_array.c: Likewise.
67248         * sunrpc/xdr_rec.c: Likewise.
67249         * sunrpc/xdr_ref.c: Likewise.
67250         * sunrpc/xdr_stdio.c: Likewise.
67252 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
67254         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
67256 2011-07-03  Andreas Jaeger  <aj@suse.de>
67258         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
67259         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
67260         regenerate with gen-libm-tests.pl.
67262 2010-05-12  Petr Baudis  <pasky@suse.cz>
67264         [BZ #11589]
67265         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
67266         around j0() zero points by switching to j1().
67267         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
67268         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
67269         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
67270         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
67272 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
67274         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
67275         instead of 0.
67276         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
67277         instead of 0.
67278         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
67279         Patch in part by Pavel Roskin <proski@gnu.org>.
67281         [BZ #13138]
67282         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
67283         realloc.
67284         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
67285         Free memory block if necessary.
67287         [BZ #12847]
67288         * libio/genops.c (INTDEF): For string streams the _lock pointer can
67289         be NULL.  Don't lock in this case.
67291 2011-09-09  Roland McGrath  <roland@hack.frob.com>
67293         * elf/elf.h (ELFOSABI_GNU): New macro.
67294         (ELFOSABI_LINUX): Define to that.
67296 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
67298         * string/strncat.c (strncat): Undef the symbol in case it has been
67299         defined in bits/string.h.
67301 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
67303         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
67305         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
67306         link map.
67308 2011-08-17  Andreas Jaeger  <aj@suse.de>
67310         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
67312 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
67313             Ian Lance Taylor  <iant@google.com>
67315         * math/libm-test.inc (lround_test): New testcase.
67316         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
67318 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
67320         * Makefile: Remove support for automatic cvs check-ins.
67321         * Makerules: Likewise.
67322         * config.make.in: Likewise.
67323         * configure.in: Likewise.
67324         * intl/Makefile: Likewise.
67325         * locale/Makefile: Likewise.
67326         * po/Makefile: Likewise.
67327         * posix/Makefile: Likewise.
67328         * sysdeps/gnu/Makefile: Likewise.
67329         * sysdeps/mach/hurd/Makefile: Likewise.
67330         * sysdeps/sparc/sparc32/Makefile: Likewise.
67332         [BZ #13118]
67333         * posix/Makefile (bug-regex32-ENV): Define.
67334         Patch by John Stanley <jpsinthemix@verizon.net>.
67336         * misc/Makefile (headers): Add bits/select2.h.
67337         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
67338         * misc/bits/select2.h: New file.
67339         * include/bits/select2.h: New file.
67340         * debug/Makefile (routines): Add fdelt_chk.
67341         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
67342         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
67343         FD_ISSET.
67344         * debug/fdelt_chk.c: New file.
67346         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
67347         * wcsmbs/test-wmemcmp.c: Likewise.
67348         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
67349         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
67351 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
67353         * string/Makefile (strop-tests): Add memcmp.
67354         * string/test-wmemcmp.c: New file.
67355         * string/test-memcmp.c: Add wmemcmp support.
67357 2011-09-08  Roland McGrath  <roland@hack.frob.com>
67359         [BZ #13153]
67360         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
67361         2011-07-19 change.
67363         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
67364         garbage value in a __mach_port_mod_refs call in the cases of the
67365         task-self and thread-self ports.
67367 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
67369         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
67371 2011-09-08  Andreas Schwab  <schwab@redhat.com>
67373         * elf/dl-load.c (lose): Check for non-null L.
67375 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
67377         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
67379         * elf/dl-libc.c (dlerror_run): Pass back error code from
67380         dl_catch_error.
67382         [BZ #13123]
67383         * elf/dl-load.c (lose): Free l_origin if it is valid.
67385         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
67386         names.
67387         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
67388         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
67389         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
67390         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
67391         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
67392         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
67394 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67396         * sysdeps/powerpc/fpu/e_hypot.c: New file.
67397         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
67398         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
67399         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
67400         * sysdeps/powerpc/fpu/k_cosf.c: New file.
67401         * sysdeps/powerpc/fpu/k_sinf.c: New file.
67402         * sysdeps/powerpc/fpu/s_cosf.c: New file.
67403         * sysdeps/powerpc/fpu/s_sinf.c: New file.
67404         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
67405         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
67407 2011-08-15  Alan Modra  <amodra@gmail.com>
67409         [BZ #13092]
67410         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
67411         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
67412         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
67413         ppc_mcount to static-only-routines.
67414         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
67415         __mcount_internal.
67416         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
67417         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
67419 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
67421         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
67422         for finite and infinity parameters.
67424 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
67426         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
67427         and add nop instructions for throughput optimization.
67428         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
67430 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
67432         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
67433         aligned copy for power7 with vector-scalar instructions.
67434         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
67436 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
67438         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
67439         AVX check.
67441 2011-09-07  Andreas Schwab  <schwab@redhat.com>
67443         [BZ #13144]
67444         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
67445         last change.
67447 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
67449         * sysdeps/unix/sysv/linux/x86_64/init-first.c
67450         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
67451         syscall wrapper around clock_gettime in __vdso_clock_gettime.
67452         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
67453         clock_gettime.
67455 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
67457         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
67458         Forgot to demangle the pointer.
67460         * sysdeps/i386/sysdep.h: Define atom_text_section.
67461         * sysdeps/x86_64/sysdep.h: Likewise.
67462         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
67463         section with atom_text_section.
67464         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
67465         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
67466         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
67467         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
67468         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
67470         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
67471         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
67472         already be defined.  Change to take two parameters and don't assign
67473         result to variable.  Adjust all users.
67474         Define INTERNAL_GETTIME if not already defined.
67475         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
67476         call.
67477         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
67478         HAVE_CLOCK_GETTIME_VSYSCALL.
67479         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
67481         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
67482         gettimeofday vsyscall, just use time.
67484 2011-09-06  Andreas Schwab  <schwab@redhat.com>
67486         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
67487         <errno.h>.
67489 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
67491         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
67492         syscall on x86-64.
67493         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
67494         syscall.
67495         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
67496         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
67497         syscall if possible.
67499 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
67501         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
67502         e_ident.  Don't pass to find_mapsXX.
67503         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
67505 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
67507         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
67508         strchr-sse2-no-bsf strrchr-sse2-no-bsf
67509         * sysdeps/x86_64/multiarch/strchr.S: Update.
67510         Check bit_slow_BSF bit.
67511         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
67512         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
67513         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
67515 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
67517         [BZ #13134]
67518         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
67519         before glibc 2.15.
67520         (tryshell): Define.
67521         (__spawni): Change last parameter to be flag.  Test
67522         SPAWN_XFLAGS_USE_PATH flag to use path or not.
67523         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
67524         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
67525         * posix/spawni.c: Likewise.
67526         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
67527         * posix/spawnp.c: Likewise.  Change normal version to use
67528         SPAWN_XFLAGS_USE_PATH.
67529         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
67530         SPAWN_XFLAGS_TRY_SHELL.
67532         [BZ #13150]
67533         * posix/glob.h: Remove gcc 1.x support.
67535         [BZ #13068]
67536         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
67538 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
67540         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
67541         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
67542         strrchr-sse2-bsf
67543         * sysdeps/i386/i686/multiarch/strchr.S: New file.
67544         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
67545         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
67546         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
67547         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
67548         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
67550 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
67552         * sysdeps/x86_64/wcscmp.S: New file.
67554         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
67555         wcscmp-c wcscmp-sse2
67556         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
67557         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
67558         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
67559         * wcsmbs/wcscmp.c: Allow renaming.
67561 2011-09-05  David S. Miller  <davem@davemloft.net>
67563         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
67564         stack slot, rather than the struct return pointer slot.
67565         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
67566         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
67567         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
67568         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
67570 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
67572         * po/ja.po: Update from translation team.
67574         [BZ #13144]
67575         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
67576         kernel in 64-bit binaries.
67578 2011-09-01  David S. Miller  <davem@davemloft.net>
67580         * elf/elf.h (HWCAP_SPARC_*): Move to..
67581         * sysdeps/sparc/sysdep.h: this new file and add new values.
67582         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
67583         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
67584         _DL_HWCAP_COUNT to 24.
67585         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
67586         entries.
67587         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
67588         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
67589         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
67590         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
67591         instead of magic constants.
67592         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
67594 2011-08-31  David S. Miller  <davem@davemloft.net>
67596         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
67597         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
67598         Reimplement to do errno handling inline.
67599         (SYSCALL_ERROR_HANDLER): New macro.
67600         (__SYSCALL_STRING): Do not do errno handling in asm.
67601         (__CLONE_SYSCALL_STRING): Delete.
67602         (__INTERNAL_SYSCALL_STRING): Delete.
67603         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
67604         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
67605         (PSEUDO): Reimplement to do errno handling inline.
67606         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
67607         (SYSCALL_ERROR_HANDLER): New macro.
67608         (__SYSCALL_STRING): Do not do errno handling in asm.
67609         (__CLONE_SYSCALL_STRING): Delete.
67610         (__INTERNAL_SYSCALL_STRING): Delete.
67611         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
67612         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
67613         i386.
67614         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
67615         (inline_syscall*): Add 'err' argument.
67616         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
67617         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
67618         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
67619         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
67621         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
67622         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
67624 2011-08-30  Andreas Schwab  <schwab@redhat.com>
67626         * elf/rtld.c (dl_main): Relocate objects in dependency order.
67628 2011-08-29  Jiri Olsa <jolsa@redhat.com>
67630         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
67631         directive.
67633 2011-08-24  David S. Miller  <davem@davemloft.net>
67635         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
67637 2011-08-24  Andreas Schwab  <schwab@redhat.com>
67639         * elf/Makefile: Add rules to build and run unload8 test.
67640         * elf/unload8.c: New file.
67641         * elf/unload8mod1.c: New file.
67642         * elf/unload8mod1x.c: New file.
67643         * elf/unload8mod2.c: New file.
67644         * elf/unload8mod3.c: New file.
67646         * elf/dl-close.c (_dl_close_worker): Reset private search list if
67647         it wasn't used.
67649 2011-08-23  David S. Miller  <davem@davemloft.net>
67651         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
67652         subtract stack bias.
67653         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
67654         %sp not %fp in calculations.
67655         (_JMPBUF_UNWINDS_ADJ): Likewise.
67657         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
67658         (aio_suspend): Call it to force an exception region around the
67659         AIO_MISC_WAIT() invocation.
67661 2011-08-23  Andreas Schwab  <schwab@redhat.com>
67663         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
67664         backslash.
67666 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
67668         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
67669         protection macro.
67670         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
67671         and <dl-machine.h>.
67672         (Elf64_FuncDesc): Remove.
67674 2011-08-22  David S. Miller  <davem@davemloft.net>
67676         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
67677         sigaltstack check, add missing cfi directives.
67678         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
67679         missing cfi directives, and sigaltstack handling.
67681 2011-08-16  Andreas Schwab  <schwab@redhat.com>
67683         [BZ #11724]
67684         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
67685         object is seen twice.
67686         * elf/dl-fini.c (_dl_sort_fini): Likewise.
67688         * elf/Makefile (distribute): Add tst-initorder2.c.
67689         (tests): Add tst-initorder2.
67690         (modules-names): Add tst-initorder2a tst-initorder2b
67691         tst-initorder2c tst-initorder2d.  Add rules to build them.
67692         ($(objpfx)tst-initorder2.out): New rule.
67693         * elf/tst-initorder2.c: New file.
67694         * elf/tst-initorder2.exp: New file.
67696 2011-08-22  Andreas Schwab  <schwab@redhat.com>
67698         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
67700         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
67701         dependencies back to end of function.
67703         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
67704         $(elfobjdir)/ld.so.
67706 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
67708         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
67709         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
67710         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
67711         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
67712         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
67713         of __vdso_gettimeofday.
67714         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
67715         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
67716         attribute_hidden.
67717         (_libc_vdso_platform_setup): Remove initialization of
67718         __vdso_gettimeofday and __vdso_time.
67720 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
67722         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
67723         and fgetc_unlocked.
67724         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
67725         getc_unlocked.
67727         * elf/dl-open.c (add_to_global): Report additions to the global scope
67728         for LD_DEBUG=scopes.
67729         (dl_open_worker): Also print scope of newly loaded dependencies.
67730         (_dl_show_scope): Indicate if there is no scope.
67732         [BZ #13114]
67733         * stdio-common/Makefile (tests): Add bug24.
67734         * stdio-common/bug24.c: New file.
67736 2011-08-19  Andreas Jaeger  <aj@suse.de>
67738         [BZ #13114]
67739         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
67740         non-existant file when using close-on-exec mode.
67742 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
67744         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
67745         the very first instruction.
67747         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
67748         the CFI state in the end.
67749         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
67750         inclusion of dl-trampoline.h.
67751         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
67753 2011-08-19  Andreas Schwab  <schwab@redhat.com>
67755         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
67756         expectations for long double.
67758         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
67759         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
67761 2011-08-14  David S. Miller  <davem@davemloft.net>
67763         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
67764         artificual limit depends upon the system page size.
67766 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
67768         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
67769         * resolv/Makefile: Define CFLAGS-libresolv.
67771 2011-08-17  Andreas Schwab  <schwab@redhat.com>
67773         * nss/makedb.c (compute_tables): Make variables used in nested
67774         function static.
67776 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
67778         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
67779         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
67780         if buffer was too small.
67782         * elf/pldd.c (main): Attach to all threads in the process.
67783         Rewrite /proc handling to use *at functions.
67785 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
67787         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
67788         specifies first scope to show.
67789         (dl_open_worker): Update callers.  Move printing scope of new
67790         object to before the relocation.
67791         * elf/rtld.c (dl_main): Update _dl_show_scope call.
67792         * sysdeps/generic/ldsodefs.h: Update declaration.
67794         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
67795         string for the scope number.
67797 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
67799         * nscd/servicescache.c (cache_addserv): Make sure written is always
67800         initialized.
67802 2011-08-14  Roland McGrath  <roland@hack.frob.com>
67804         * sysdeps/i386/i486/bits/atomic.h
67805         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
67806         statement expression, so as to suppress "set but not used" warning.
67807         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
67809         * string/strncat.c (STRNCAT): Use prototype definition.
67811         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
67812         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
67813         -Iprograms here.
67814         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
67815         (localedef-modules): Add localedef.
67816         (locale-modules): Add locale.
67818         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
67819         * elf/rtld.c (dl_main): Invert order of assignment in last change,
67820         to avoid a warning.
67822 2011-08-14  David S. Miller  <davem@davemloft.net>
67824         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
67825         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
67827 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
67829         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
67830         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
67831         * elf/rtld.c (dl_main): Set l_name of vDSO.
67832         Call _dl_show_scope when DL_DEBUG_SCOPES.
67833         (process_dl_debug): Recognize scopes flag and also set it for all.
67834         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
67835         Declare _dl_show_scope.
67837         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
67838         (do_dlopen): Pass caller_dlopen to dl_open.
67839         (__libc_dlopen_mode): Initialize caller_dlopen.
67841         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
67842         of libc.  Make tolower call locale-independent.  Optimize a bit by
67843         using isdigit instead of isalnum.
67844         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
67846 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
67848         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
67849         was a dependency or dynamically loaded.
67851 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
67853         * intl/l10nflist.c: Allow architecture-specific pop function.
67854         * sysdeps/x86_64/l10nflist.c: New file.
67856         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
67857         classification.
67859 2011-08-10  Andreas Schwab  <schwab@redhat.com>
67861         * include/dirent.h: Add libc_hidden_proto for scandirat and
67862         scandirat64.  Don't declare __scandirat64.
67863         * dirent/scandirat.c: Add libc_hidden_def.
67864         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
67865         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
67867 2011-08-10  David S. Miller  <davem@davemloft.net>
67869         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
67870         enum.
67871         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
67872         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
67873         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
67875 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
67877         * Versions.def [libc]: Add GLIBC_2.15.
67878         * dirent/Makefile (routines): Add scandirat and scandirat64.
67879         * dirent/Versions [libc]: Export scandirat and scandirat64 for
67880         GLIBC_2.15.
67881         * dirent/dirent.h: Declare scandirat and scandirat64.
67882         * dirent/scandirat.c: New file.
67883         * dirent/scandirat64.c: New file.
67884         * sysdeps/wordsize-64/scandirat.c: New file.
67885         * sysdeps/wordsize-64/scandirat64.c: New file.
67886         * dirent/opendir.c: Define opendirat.
67887         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
67888         using scandirat.
67889         * dirent/scandir64.c: Adjust for scandir.c change.
67890         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
67891         __scandirat64, and __scandir_cancel_handler.
67892         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
67893         additional parameter and use openat instead of open (outside of ld.so).
67894         Add new __opendir as wrapper around __opendirat.
67895         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
67896         here without requiring old scandirat implementation.
67898 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
67900         * dirent/scandir.c (cancel_handler): Renamed to
67901         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
67902         defined.  Adjust users.
67903         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
67904         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
67906 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
67908         * string/test-string.h (IMPL): Use __STRING to expand name and then
67909         stringify it.
67911         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
67912         of cleanups.
67914 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
67916         * string/Makefile: Update.
67917         (strop-tests): Append strncat.
67918         * string/test-wcscmp.c: New file.
67919         New comprehensive test for wcscmp.
67920         * string/test-strcmp.c: Update.
67921         (WIDE): New define.
67923 2011-07-22  Andreas Schwab  <schwab@redhat.com>
67925         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
67926         line.
67928 2011-07-26  Andreas Schwab  <schwab@redhat.com>
67930         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
67931         encoding to ACE if AI_IDN.
67933 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
67935         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
67936         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
67938 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
67940         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
67941         Fix overflow bug in strncat.
67942         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
67944         * string/test-strncat.c: Update.
67945         Add new tests for checking overflow bugs.
67947 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
67949         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
67950         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
67951         * sysdeps/i386/i686/multiarch/strcat.S: New file.
67952         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
67953         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
67954         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
67955         * sysdeps/i386/i686/multiarch/strncat.S: New file.
67956         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
67957         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
67959         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
67960         (USE_AS_STRCAT): Define.
67961         Add strcat and strncat support.
67962         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
67964 2011-07-25  Andreas Schwab  <schwab@redhat.com>
67966         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
67967         __n bigger than INT_MAX+1.
67968         (__strncmp_g): Likewise.
67970 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
67972         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
67973         * libio/stido.h: Likewise.
67975         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
67976         (AF_NFC): Define.
67977         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
67978         (AF_NFC): Define.
67980         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
67981         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
67982         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
67983         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
67984         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
67986         [BZ #13021]
67987         * scripts/test-installation.pl: Don't expect libnss_test1 to be
67988         installed.
67990         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
67991         typo.
67992         (_dl_x86_64_save_sse): Likewise.
67994 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
67996         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
67997         OSXSAVE.
67998         (_dl_x86_64_save_sse): Likewise.
68000         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
68002         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
68004 2011-07-21  Andreas Schwab  <schwab@redhat.com>
68006         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
68007         change.
68008         (_dl_x86_64_save_sse): Use correct AVX check.
68010 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
68012         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
68013         bug in strncpy/strncat.
68014         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
68016 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
68018         * string/tester.c (test_strcat): Add tests for different alignments
68019         of source and destination.
68020         (test_strncat): Likewise.
68022 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
68024         [BZ #12852]
68025         * posix/glob.c (glob): Check passed in values before using them in
68026         expressions to avoid some overflows.
68027         (glob_in_dir): Likewise.
68029         [BZ #13007]
68030         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
68031         check for AVX enablement so that we don't crash with old kernels and
68032         new hardware.
68033         * elf/tst-audit4.c: Add same checks here.
68034         * elf/tst-audit6.c: Likewise.
68036         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
68038 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
68040         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
68042 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
68044         * po/cs.po: Update from translation team.
68045         * po/bg.po: Likewise.
68047 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
68049         * misc/sys/cdefs.h: Add support for const attribute.
68050         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
68051         to gnu_dev_{major,minor,makedev} functions.
68053 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
68055         * intl/dcigettext.c (get_output_charset): Add missing bracket.
68057 2011-07-20  Andreas Schwab  <schwab@redhat.com>
68059         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
68060         strlen results.
68062 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
68064         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
68065         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
68066         register in order to avoid conflicts with the soft frame pointer
68067         being held in r11 when necessary.
68068         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
68069         (INTERNAL_VSYSCALL_NCS): Likewise.
68071 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
68073         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
68074         * elf/dl-fini.c (_dl_fini): Adjust caller.
68075         * elf/dl-close.c (_dl_close_worker): Likewise.
68076         * sysdeps/generic/ldsodefs.h: Adjust declaration.
68078 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
68080         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
68081         "aux_cache->nlibs < 0".
68083         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
68084         in the reload-count case.
68086 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
68088         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
68089         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
68090         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
68091         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
68092         * sysdeps/x86_64/multiarch/strcat.S: New file.
68093         * sysdeps/x86_64/multiarch/strncat.S: New file.
68094         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
68095         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
68096         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
68097         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
68098         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
68099         (USE_AS_STRCAT): Define.
68100         Add strcat and strncat support.
68101         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
68102         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
68103         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
68104         * string/strncat.c: Update.
68105         (USE_AS_STRNCAT): Define.
68106         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
68107         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
68108         and i7.
68109         * sysdeps/x86_64/multiarch/init-arch.h
68110         (bit_Prefer_PMINUB_for_stringop): New.
68111         (index_Prefer_PMINUB_for_stringop): Likewise.
68112         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
68113         bit_Prefer_PMINUB_for_stringop.
68115 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
68117         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
68118         buffer64.
68119         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
68120         of casting of buffer.
68121         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
68122         buffer32 and buffer64.
68123         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
68124         writes instead of casting of buffer.
68125         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
68126         buffer32.
68127         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
68128         casting of buffer.
68130 2011-07-19  Andreas Schwab  <schwab@redhat.com>
68132         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
68134 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
68136         * nscd/nscd.c (termination_handler): Don't do anything for a database
68137         if it has not yet been initialized.
68139 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
68141         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
68143 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
68145         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
68147 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
68149         * po/nl.po: Update from translation team.
68150         * po/sv.po: Likewise.
68152 2011-07-16  Roland McGrath  <roland@hack.frob.com>
68154         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
68155         now disallowed by GCC.
68157         * configure.in (use-default-link): Default to yes if a test -shared
68158         link meets our qualifications.
68159         * configure: Regenerated.
68161         * config.make.in (output-format): New variable.
68162         * configure.in: Check for ld --print-output-format support.
68163         * configure: Regenerated.
68164         * Makerules ($(common-objpfx)format.lds)
68165         [$(output-format) != unknown]: Just use $(output-format),
68166         instead of the linker-script munging.
68168 2011-07-14  Roland McGrath  <roland@hack.frob.com>
68170         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
68171         of $(common-objpfx)shlib.lds.
68172         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
68174         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
68175         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
68177         * configure.in (-z relro check): Adjust test code to add a large
68178         writable data section after it.
68179         * configure: Regenerated.
68181 2011-07-11  Roland McGrath  <roland@hack.frob.com>
68183         * configure.in (-z relro check): Fix test code to make the variable
68184         truly const.
68185         * configure: Regenerated.
68187 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
68189         * nscd/nscd.h (struct traced_file): Define.
68190         (struct database_dyn): Remove inotify_descr, reset_res, and filename
68191         elements.  Add traced_files.
68192         (inotify_fd): Declare.
68193         (register_traced_file): Declare.
68194         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
68195         (inotify_fd): Export.
68196         (resolv_conf_descr): Remove.
68197         (nscd_init): Move inotify descriptor creation to main.
68198         Don't register files for notification here.
68199         (register_traced_file): New function.
68200         (invalidate_cache): Don't use reset_res to determine whether to call
68201         res_init, go through the list of registered files.
68202         (main_loop_poll): The inotify descriptors are now stored in the
68203         structures for the traced files.
68204         (main_loop_epoll): Likewise
68205         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
68206         to __nss_disable_nscd.
68207         * nscd/cache.c (prune_cache): There is no single inotify descriptor
68208         for a database anymore.  Check the records for all the registered
68209         files instead.
68210         * nss/Makefile (libnss_files-routines): Add files-init.
68211         (libnss_db-routines): Add db-init.
68212         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
68213         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
68214         * nss/nss_db/db-init.c: New file.
68215         * nss/nss_files/files-init.c: New file.
68216         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
68217         __nss_lookup_function.
68218         (__nss_lookup_function): Call nss_load_library.
68219         (nss_load_all_libraries): New function.
68220         (__nss_disable_nscd): Take parameter with callback function for files
68221         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
68222         used for the cached services.
68223         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
68224         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
68225         options for features to all the files in nscd.
68227         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
68229 2011-07-10  Roland McGrath  <roland@hack.frob.com>
68231         * csu/elf-init.c (__libc_csu_init): Comment typo.
68233 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
68235         * po/pl.po: Update from translation team.
68236         * po/ja.po: Likewise.
68237         * po/ru.po: Likewise.
68238         * po/ko.po: Likewise.
68239         * po/fr.po: Likewise.
68241 2011-07-09  Roland McGrath  <roland@hack.frob.com>
68243         * configure.in (.ctors/.dtors header and trailer check):
68244         Use an empirical test on a built program.
68245         * configure: Regenerated.
68247         * configure.in (-z relro check): Use an empirical test on a built DSO.
68248         Detect, but do not require, on ia64.
68249         * configure: Regenerated.
68251         * configure.in (READELF): Find it with AC_CHECK_TOOL.
68252         Update tests that use readelf to use $READELF instead.
68253         * configure: Regenerated.
68255 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
68257         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
68258         if the result is not used.
68260 2011-07-05  Andreas Jaeger  <aj@suse.de>
68262         [BZ#9696]
68263         * stdlib/tst-strtod.c: Add testcase.
68265 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
68267         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
68268         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
68269         The latter has a higher limit.  Take additional parameter to pass to
68270         the new function.
68271         (__pathconf): Pass file to __statfs_link_max.
68272         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
68273         __statfs_link_max.
68274         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
68275         __statfs_link_max.
68277         [BZ #12868]
68278         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
68279         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
68280         Handle Lustre.
68281         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
68282         (__statfs_filesize_max): Likewise.
68283         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
68285 2011-07-05  Andreas Jaeger  <aj@suse.de>
68287         * resolv/res_comp.c (dn_skipname): Remove unused variable.
68289 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
68291         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
68292         `status' variable.
68293         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
68294         Likewise.
68296 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
68298         * Makefile (strop-tests): Add strncat.
68299         * string/test-strncat.c: New file.
68301 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
68303         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
68305 2011-06-21  Andreas Jaeger  <aj@suse.de>
68307         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
68308         Copy rule from iconvdata/Makefile.
68310 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
68312         [BZ #12922]
68313         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
68314         but no long options are defined, just return 'W'.
68316 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
68318         [BZ #9696]
68319         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
68321 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
68323         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
68324         netgroups to read.
68325         (innetgr): Likewise.
68327 2011-07-05  Roland McGrath  <roland@hack.frob.com>
68329         * config.make.in (install_root): Default to $(DESTDIR).
68331 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
68333         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
68335 2011-07-02  Roland McGrath  <roland@hack.frob.com>
68337         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
68339         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
68340         containing directory rather than embedding absolute directory names.
68342         * scripts/check-local-headers.sh: Rewritten using awk.
68343         Match by word, not by line.  Print error messages for matches.
68344         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
68346         * Makerules [shlib-lds-flags empty]:
68347         ($(common-objpfx)libc_pic.opts): New target.
68348         ($(common-objpfx)libc_pic.os.clean): New target.
68349         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
68351         * config.make.in (OBJCOPY): New variable.
68352         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
68353         * configure: Regenerated.
68355         * config.make.in (use-default-link): New variable.
68356         * configure.in (use_default_link): Grok --with-default-link to set it.
68357         * configure: Regenerated.
68358         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
68359         (shlib-lds, shlib-lds-flags): Define to empty.
68361         * Makerules (shlib-lds): New variable.
68362         (shlib-lds-flags): New variable.
68363         (build-shlib, build-moduile, build-module-asneeded): Use it.
68364         ($(common-objpfx)libc.so): Use $(shlib-lds).
68365         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
68366         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
68368         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
68369         DT_FLAGS/DT_FLAGS_1 with zero flags.
68371         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
68372         linker script munging.
68374 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
68376         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
68377         as 128-bit value.
68378         * crypt/sha512.c (sha512_process_block): Perform total addition using
68379         128-bit if possible.
68380         (__sha512_finish_ctx): Likewise.
68381         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
68382         as 64-bit value.
68383         * crypt/sha256.c (SWAP64): Define.
68384         (sha256_process_block): Perform total addition using 64-bit if
68385         possible.
68386         (__sha256_finish_ctx): Likewise.
68388 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
68390         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
68391         * nscd/initgrcache.c (addinitgroupsX): Likewise.
68392         * nscd/hstcache.c (cache_addhst): Likewise.
68393         * nscd/grpcache.c (cache_addgr): Likewise.
68394         * nscd/aicache.c (addhstaiX): Likewise
68395         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
68397 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
68399         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
68400         * nscd/initgrcache.c (addinitgroupsX): Likewise.
68401         * nscd/hstcache.c (cache_addhst): Likewise.
68402         * nscd/grpcache.c (cache_addgr): Likewise.
68403         * nscd/aicache.c (addhstaiX): Likewise
68405 2011-07-01  Andreas Schwab  <schwab@redhat.com>
68407         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
68408         domain only when needed.
68410 2011-06-30  Andreas Schwab  <schwab@redhat.com>
68412         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
68413         is always restored.
68415 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
68417         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
68418         are re-adding the entry.
68419         * nscd/servicescache.c (cache_addserv): Likewise.
68421 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
68423         * sysdeps/generic/dl-irel.h: fix protection against multiple
68424         inclusions.
68425         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
68427 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
68429         [BZ #12935]
68430         * malloc/memusage.sh: Fix quoting in message.
68431         * debug/xtrace.sh: Likewise.
68433         * configure.in: Remove support for --experimental-malloc option, make
68434         it the default.
68435         * config.make.in: Likewise.
68436         * malloc/Makefile: Likewise.
68438 2011-06-27  Andreas Schwab  <schwab@redhat.com>
68440         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
68441         two-byte characters.
68443 2011-06-27  Roland McGrath  <roland@hack.frob.com>
68445         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
68446         AC_CACHE_CHECK invocation.
68447         * configure: Regenerated.
68449         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
68451 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
68453         [BZ #12350]
68454         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
68455         bit from old_res_options.
68457         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
68459         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
68460         value type for setfct.
68462 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
68464         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
68465         __gettimeofday instead of gettimeofday.
68467 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
68469         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
68471 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
68473         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
68475         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
68476         info.
68478 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
68480         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
68481         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
68482         strcpy-sse2-unaligned strncpy-sse2-unaligned
68483         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
68484         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
68485         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
68486         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
68487         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
68488         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
68489         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
68490         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
68491         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
68492         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
68493         (STRCPY): Support SSE2 and SSSE3 versions.
68495 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
68497         [BZ #12874]
68498         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
68499         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
68500         kernels which artificially limit size of requests.
68502 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
68504         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
68505         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
68506         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
68507         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
68508         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
68509         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
68510         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
68511         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
68512         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
68513         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
68514         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
68515         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
68516         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
68517         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
68518         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
68519         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
68520         Enable unaligned load optimization for Intel Core i3, i5 and i7
68521         processors.
68522         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
68523         Define.
68524         (index_Fast_Unaligned_Load): Define.
68525         (HAS_FAST_UNALIGNED_LOAD): Define.
68527 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
68529         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
68531 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
68533         [BZ #12907]
68534         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
68535         until it is clear that the information is realy needed.
68536         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
68538 2011-06-22  Andreas Schwab  <schwab@redhat.com>
68540         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
68542 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
68544         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
68545         /sys/devices/system/cpu/online if it is usable.
68547         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
68548         reading the information from the /proc filesystem to once a second.
68550 2011-06-21  Andreas Jaeger  <aj@suse.de>
68552         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
68553         NULL after inclusion of kernel headers.
68555 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
68557         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
68558         calls to internal_setent.
68560         [BZ #12885]
68561         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
68562         addresses using gethostbyname4_r ignore IPv4 addresses.
68564         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
68565         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
68567         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
68569 2011-06-20  David S. Miller  <davem@davemloft.net>
68571         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
68572         inclusions.
68573         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
68575         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
68576         (elf_irel): Use it.
68577         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
68578         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
68579         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
68580         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
68581         * sysdeps/x86_64/dl-irel.h: Likewise.
68583         * elf/dl-runtime.c: Use elf_ifunc_invoke.
68584         * elf/dl-sym.c: Likewise.
68586 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
68588         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
68589         need to dereference resplen2.
68591 2011-06-14  Andreas Schwab  <schwab@redhat.com>
68593         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
68595 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
68597         * Makeconfig: Define vardbdir and inst_vardbdir.
68598         * nss/Makefile: Add rules to install db-Makefile.
68600         * nss/nss_db/db-XXX.c: Cleanup.
68602         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
68603         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
68604         GLIBC_PRIVATE.
68605         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
68606         * nss/makedb.c: Implement -g option to specify that value strings
68607         are generated and should not be added to table iterated over for
68608         get*ent calls.
68609         * nss/nss_db/db-initgroups.c: New file.
68611         * nss/getent.c: Add support for initgroups lookups through getgrouplist
68612         interface.
68614         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
68615         (internal_getgrouplist): Adjust to name change.
68616         Update use_initgroups_entry if this is not the first call.
68617         * nss/databases.def: Add initgroups entry.
68619         * nss/makedb.c (compute_tables): Check result of multiple hash table
68620         sizes to minimize maximum chain length.
68622 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
68624         * Versions.def: Add entry for libnss_db.
68625         * shlib-versions: Likewise.
68626         * nss/Makefile: Add rules to build libnss_db.
68627         * nss/Versions: Add libnss_db information.  Organize libnss_files
68628         entries better.
68629         * nss/db-Makefile: Add gshadow support.  Change rules for the new
68630         makedb progra.  Some minor improvements to generate smaller files.
68631         * nss/nss_db/nss_db.h: Move NSS database header data structures to
68632         here from...
68633         * nss/makedb.c: ...here.
68634         Improve database format to be smaller and require less memory at
68635         runtime.
68636         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
68637         db anymore.
68638         * nss/nss_db/db-netgrp.c: Likewise.
68639         * nss/nss_db/db-open.c: Likewise.
68640         * nss/nss_files/flies-XXX.x: Adjust comments.
68641         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
68642         * nss/nss_files/files-grp.c: Likewise.
68643         * nss/nss_files/files-hosts.c: Likewise.
68644         * nss/nss_files/files-network.c: Likewise.
68645         * nss/nss_files/files-proto.c: Likewise.
68646         * nss/nss_files/files-pwd.c: Likewise.
68647         * nss/nss_files/files-rpc.c: Likewise.
68648         * nss/nss_files/files-service.c: Likewise.
68649         * nss/nss_files/files-sgrp.c: Likewise.
68650         * nss/nss_files/files-spwd.c: Likewise.
68651         * nss/nss_db/db-alias.c: Removed.
68652         * nss/nss_db/dummy-db.h: Removed.
68654 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
68656         * nss/makedb.c: Rewritten to not use database library.
68657         * nss/Makefile: Update to build new makedb program.
68659 2011-06-14  Andreas Jaeger  <aj@suse.de>
68661         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
68662         memset declaration.
68664 2011-06-10  Andreas Schwab  <schwab@redhat.com>
68666         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
68667         tmpbuf.
68669 2011-06-10  Roland McGrath  <roland@hack.frob.com>
68671         * Makerules (shlib.lds): Fail if the linker script comes out empty.
68672         * elf/Makefile ($(objpfx)ld.so): Likewise.
68674         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
68675         Don't list ld.so twice in dependencies.
68677         * posix/bug-regex31.c: Include <stdlib.h>.
68679         * nscd/hstcache.c (cache_addhst): Remove unused variable.
68681         * nis/nss_compat/compat-spwd.c
68682         (getspent_next_nss_netgr): Remove unused variable.
68683         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
68685         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
68686         nonmembers" output to use the right array.
68688         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
68690         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
68692         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
68693         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
68694         * catgets/gencat.c (read_input_file): Likewise.
68695         * locale/programs/locarchive.c (enlarge_archive): Likewise.
68697         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
68698         variable definition inside #if's controlling its use.
68700         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
68702         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
68704         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
68706         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
68707         unreachable code.
68709         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
68711         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
68712         * configure: Regenerated.
68714         * Makerules: Revert last change.
68715         * elf/Makefile: Likewise.
68717 2011-06-09  Roland McGrath  <roland@hack.frob.com>
68719         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
68720         * elf/Makefile ($(objpfx)librtld.os): Likewise.
68721         (reloc-link): Likewise.
68723 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
68725         * elf/Makefile: Add rules to build pldd.
68726         * elf/pldd.c: New file.
68727         * elf/pldd-xx.c: New file.
68729 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
68731         * version.h: Update for 2.15 development version.
68733 2011-06-07  David S. Miller  <davem@davemloft.net>
68735         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
68736         ifuncs.
68737         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
68738         elf_machine_lazy_rel): Likewise.
68739         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
68740         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
68741         elf_machine_lazy_rel): Likewise.
68742         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
68743         dl_hwcap via passed in argument.
68744         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
68745         Likewise.
68747 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
68749         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
68751 2011-06-06  Roland McGrath  <roland@hack.frob.com>
68753         [BZ #12849]
68754         * manual/fdl-1.1.texi: New file, verbatim from:
68755         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
68756         * manual/lgpl-2.1.texi: New file, verbatim from:
68757         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
68758         * manual/Makefile (licenses): New variable, list those new file names.
68759         (texis): Use it.
68760         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
68762         * manual/fdl.texi: File removed.
68763         * manual/lesser.texi: File removed.
68764         * manual/libc.texinfo (Copying, Documentation License):
68765         Use new @include file names, put @appendix directive before @include.
68767 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
68769         [BZ #12841]
68770         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
68771         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
68772         (mq_open): Add __NTH.
68774 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
68776         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
68777         Assume Intel Core i3/i5/i7 processor if AVX is available.
68779 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
68781         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
68782         typo.
68784 2011-05-31  Andreas Schwab  <schwab@redhat.com>
68786         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
68787         memory.  Use alloca_account.  Fix memory leak when retrying.
68789 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
68791         * version.h (RELEASE): Bump for 2.14 release.
68792         * include/features.h (__GLIBC_MINOR__): Bump to 14.
68794         * config.make.in (RANLIB): Remove entry.
68796 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
68798         * po/Makefile (po-sed-cmd): Add ksh to extensions.
68799         (libc.pot): Work around missing support for .ksh extension in xgettext.
68801         [BZ #12684]
68802         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
68803         if both request failed.
68804         (send_dg): In case of server errors clear resplen or *resplen2.
68806         [BZ #12454]
68807         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
68808         when there are multiple maps.
68809         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
68810         (_dl_fini): Remove test here.
68812         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
68814 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
68816         [BZ #12350]
68817         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
68818         bit from old_res_options.
68819         (gaih_inet): Likewise.
68821         [BZ #11099]
68822         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
68823         as signed.
68825         * resolv/res_init.c (res_setoptions): Make the code more compact.
68827         [BZ #11558]
68828         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
68829         set RES_USEVC.
68831         [BZ #11634]
68832         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
68834         * malloc/malloc.h: Mark malloc hook variables as deprecated.
68836         [BZ #11781]
68837         * malloc/malloc.h: Declare malloc hook variables as volatile.
68839         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
68840         in last patch.
68842         [BZ #11799]
68843         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
68844         raise in the comment.
68845         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
68846         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
68847         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
68849 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
68851         [BZ #12811]
68852         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
68853         grow the buffers more if it already has to be sufficient.
68854         (build_wcs_upper_buffer): Likewise.
68855         * posix/regexec.c (check_matching): Likewise.
68856         (clean_state_log_if_needed): Likewise.
68857         (extend_buffers): Don't enlarge buffers beyond size of the input
68858         buffer.
68859         Patches mostly by Emil Wojak <emil@wojak.eu>.
68860         * posix/bug-regex32.c: New file.
68861         * posix/Makefile (tests): Add bug-regex32.
68863         * locale/findlocale.c (_nl_find_locale): Return right away if
68864         _nl_explode_name failed.
68865         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
68867         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
68869         * debug/xtrace.sh: Unify messages.
68870         * malloc/memusage.sh: Likewise.
68872         [BZ #12813]
68873         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
68874         time symbol from vDSO.  Substitute with vsyscall if not available.
68875         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
68876         __vdso_time.
68878         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
68879         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
68880         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
68881         Add sendmmsg and internal_sendmmsg.
68882         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
68883         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
68884         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
68886         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
68887         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
68888         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
68890 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
68892         [BZ #12813]
68893         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
68894         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
68895         available.
68896         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
68897         __vdso_getcpu.
68899         [BZ #12814]
68900         * iconvdata/Makefile (tests): Add bug-iconv9.
68901         * iconvdata/bug-iconv9.c: New file.
68903 2011-05-27  Andreas Schwab  <schwab@redhat.com>
68905         [BZ #12814]
68906         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
68908 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
68910         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
68911         (struct user_regs_struct): Change intcs field back to cs.
68913 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
68915         * po/ja.po: Update from translation team.
68917 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
68919         [BZ #12795]
68920         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
68921         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
68923 2011-05-20  Andreas Schwab  <schwab@redhat.com>
68925         * stdlib/longlong.h: Update from GCC.
68927 2011-05-23  Andreas Schwab  <schwab@redhat.com>
68929         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
68930         parameter name.
68931         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
68932         Add parameter name.
68933         (__sysconf): Pass it down.
68935 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
68937         [BZ #12671]
68938         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
68939         some situations.
68940         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
68941         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
68942         add in in __libc_use_alloca calls.  Adjust callers.
68943         (glob): Use malloc in some situations.
68945         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
68946         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
68947         pltexit.
68949 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
68951         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
68952         and CLOCK_BOOTTIME_ALARM.
68954         [BZ #12782]
68955         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
68956         is returned.
68958         * string/_strerror.c (__strerror_r): Print negative errors as signed
68959         numbers.
68961         [BZ #12777]
68962         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
68963         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
68964         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
68966         * configure.in: Fix typo in redirection and correct removal of test
68967         files in two cases.
68969         [BZ #12788]
68970         * locale/setlocale.c (new_composite_name): Fix test to check for
68971         identical name of all categories.
68973         [BZ #12792]
68974         * libio/filedoalloc.c (local_isatty): New function.
68975         (_IO_file_doallocate): Use local_isatty.
68976         * stdio-common/perror.c (perror): In case a new stream is used
68977         forward the stream error.
68978         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
68979         error flag.
68981 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
68983         [BZ #11884]
68984         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
68985         alloca.
68986         * include/alloca.h (extend_alloca_account): Define.
68988         [BZ #11857]
68989         * posix/regex.h: Fix comments with documentation of user-accessible
68990         fields after compilation and describe correct free'ing of pattern
68991         after re_compile_pattern.
68992         Patch by Reuben Thomas <rrt@sc3d.org>.
68994 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
68996         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
68997         and -mno-altivec to prevent the compiler from using Altivec and/or
68998         VSX instructions when the corresponding registers are not available.
69000 2011-05-19  Andreas Schwab  <schwab@redhat.com>
69002         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
69004 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
69006         * libio/freopen.c (freopen): Use __dup2, not dup2.
69007         * libio/freopen64.c (freopen64): Likewise.
69009 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
69011         [BZ #12775]
69012         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
69013         * math/Makefile (tests): Add test-powl.
69014         (CFLAGS-test-powl.c): Define.
69015         * math/test-powl.c: New file.
69017 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
69019         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
69021 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
69023         [BZ #11837]
69024         * iconvdata/gb18030.c: Update to GB18020-2005.
69026 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
69028         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
69029         RE_SYNTAX_POSIX_AWK): Update to match recent development.
69030         Patch by Aharon Robbins <arnold@skeeve.com>.
69032         [BZ #11892]
69033         * stdlib/putenv.c (putenv): Don't always create copy of the variable
69034         on the stack.
69036         [BZ #11895]
69037         * misc/pselect.c (__pselect): Handle timeout value errors hidden
69038         through underflows.
69040         [BZ #12766]
69041         * misc/error.c (error_at_line): Ensure file_name and old_file_name
69042         point to strings before performing equality test for error_one_per_line
69043         mode.
69045         [BZ #11697]
69046         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
69048         [BZ #11820]
69049         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
69050         (struct user_fpregs_struct): Avoid __uint*_t types.
69052         [BZ #6420]
69053         * malloc/mtrace.c (tr_where): Add additional parameter to point to
69054         symbol info.  Use it instead of calling _dl_addr locally.
69055         (lock_and_info): New function.
69056         (tr_freehook): Call lock_and_info and pass symbol info as additional
69057         parameter to tr_where.
69058         (tr_mallochook): Likewise.
69059         (tr_reallochook): Likewise.
69060         (tr_memalignhook): Likewise.
69062         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
69063         used and couldn't be at all thread-safe.
69065 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
69067         * libio/freopen.c (freopen): Don't close old file descriptor
69068         before the new one is opened.  Instead dup the new file descriptor
69069         to the old one after the new stream is created.
69070         * libio/freopen64.c (freopen64): Likewise.
69071         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
69072         * libio/fileops.c (_IO_new_file_close_it): Handle new
69073         _IO_FLAGS2_NOCLOSE flag.
69074         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
69075         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
69076         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
69077         _IO_FLAGS2_NOCLOSE flag.
69078         * include/unistd.h: Add hidden_proto for dup3.
69079         Define __have_dup3.
69080         * io/dup3.c: Define hidden symbol.
69081         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
69083         [BZ #7101]
69084         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
69085         when an incomplete long option is used.
69086         * posix/tst-getopt_long1.c: New file.
69087         * posix/Makefile (tests): Add tst-getopt_long1.
69089         [BZ #10138]
69090         * scripts/config.guess: Update from autoconf-2.68.
69091         * scripts/config.sub: Likewise.
69093         [BZ #10157]
69094         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
69095         tests into ...
69096         (has_cpuclock): ...this.  New function.
69097         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
69098         macro here based on has_cpuclock code.
69100         [BZ #10149]
69101         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
69102         First byte (not low byte) is now always NUL.
69103         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
69105         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
69106         Use non-cancelable interfaces.
69108         [BZ #9809]
69109         * locale/iso-639.def: Add entry for Sorani.
69111         [BZ #11901]
69112         * include/stdlib.h: Move include protection to the right place.
69113         Define abort_msg_s.  Declare __abort_msg with it.
69114         * stdlib/abort.c (__abort_msg): Adjust type.
69115         * assert/assert.c (__assert_fail_base): New function.  Majority
69116         of code from __assert_fail.  Allocate memory for __abort_msg with
69117         mmap.
69118         (__assert_fail): Now call __assert_fail_base.
69119         * assert/assert-perr.c: Remove bulk of implementation.  Use
69120         __assert_fail_base.
69121         * include/assert.hL Declare __assert_fail_base.
69122         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
69123         mmap.
69124         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
69126 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
69128         [BZ #11952]
69129         [BZ #12453]
69130         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
69131         until all modules are registered in the DTV.
69132         * elf/Makefile: Add rules to build and run tst-tls19.
69133         * elf/tst-tls19.c: New file.
69134         * elf/tst-tls19mod1.c: New file.
69135         * elf/tst-tls19mod2.c: New file.
69136         * elf/tst-tls19mod3.c: New file.
69137         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
69139         [BZ #12083]
69140         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
69141         correctly.
69143         [BZ #12601]
69144         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
69145         two-byte sequence errors.
69146         * iconvdata/Makefile (tests): Add bug-iconv8.
69147         * iconvdata/bug-iconv8.c: New file.
69149         [BZ #12626]
69150         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
69151         buf2 definition.
69153         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
69155         [BZ #12432]
69156         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
69157         (dummy_getcfa): New function.
69158         (init): Get _Unwind_GetCFA address, use dummy if not found.
69159         (backtrace_helper): In recursion check, also check whether CFA changes.
69160         (__backtrace): Completely initialize arg.
69162         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
69163         storing incomplete byte sequence in state object.  Avoid testing for
69164         guaranteed too small input if we know there is enough data available.
69166 2011-05-11  Andreas Schwab  <schwab@redhat.com>
69168         * Makeconfig (+link-pie): Indent.
69169         * Rules (binaries-pie): Define if $(have-fpie) and
69170         $(build-shared).
69171         (binaries-shared): Also filter out $(binaries-pie).
69172         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
69173         * nscd/Makefile (others-pie): Add nscd.
69174         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
69175         ($(objpfx)nscd): Remove command override.
69176         * login/Makefile (others-pie): Add pt_chown.
69177         ($(objpfx)pt_chown): Remove command override.
69178         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
69179         remove command overrides.
69181 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
69183         * libio/tst_putwc.c: Fix error messages.
69185         [BZ #12724]
69186         * libio/fileops.c (_IO_new_file_close_it): Always flush when
69187         currently writing and seek to current position when not.
69188         * libio/Makefile (tests): Add bug-fclose1.
69189         * libio/bug-fclose1.c: New file.
69191 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
69193         [BZ #12511]
69194         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
69195         don't set DF_1_NODELETE here.
69196         (do_lookup_x): When entering new entry test for copy relocation
69197         and if necessary set DF_1_NODELETE flag.
69198         * elf/tst-unique4.cc: New file.
69199         * elf/tst-unique4.h: New file.
69200         * elf/tst-unique4lib.cc: New file.
69201         * elf/Makefile: Add rules to build and run tst-unique4.
69202         Patch by Piotr Bury <pbury@goahead.com>.
69204 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
69206         [BZ #12052]
69207         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
69209         [BZ #12625]
69210         * misc/mntent_r.c (addmntent): Flush the stream after the output
69212         [BZ #12393]
69213         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
69214         (is_trusted_path_normalize): Skip initial colon.  Append slash
69215         to empty buffer.  Duplicate is_trusted_path code but allow
69216         constructed patch to be prefix.
69217         (is_dst): Allow $ORIGIN followed by /.
69218         (_dl_dst_substitute): Correct clearing of check_for_trusted.
69219         Correct testing of result of is_trusted_path_normalize
69220         (decompose_rpath): Fix warning.
69222 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
69224         [BZ #11257]
69225         * grp/initgroups.c (internal_getgrouplist): When we found the service
69226         list through the initgroups entry in nsswitch.conf do not always
69227         continue on a successful lookup.  Don't always use the
69228         __nss_group_database value if it is set.
69229         * nss/nsswitch.conf (initgroups): Change action for successful db
69230         lookup to continue for compatibility.
69232 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
69234         [BZ #11532]
69235         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
69236         and CP774 modules.
69237         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
69238         and CP774 modules.
69239         * iconvdata/tst-tables.sh: Likewise.
69240         * iconvdata/cp770.c: New file.
69241         * iconvdata/cp771.c: New file.
69242         * iconvdata/cp772.c: New file.
69243         * iconvdata/cp773.c: New file.
69244         * iconvdata/cp774.c: New file.
69245         * iconvdata/testdata/CP770: New file.
69246         * iconvdata/testdata/CP770..UTF8: New file.
69247         * iconvdata/testdata/CP771: New file.
69248         * iconvdata/testdata/CP771..UTF8: New file.
69249         * iconvdata/testdata/CP772: New file.
69250         * iconvdata/testdata/CP772..UTF8: New file.
69251         * iconvdata/testdata/CP773: New file.
69252         * iconvdata/testdata/CP773..UTF8: New file.
69253         * iconvdata/testdata/CP774: New file.
69254         * iconvdata/testdata/CP774..UTF8: New file.
69256         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
69257         END CHARMAP line.
69258         * iconvdata/gen-8bit-gap.sh: Likewise.
69259         * iconvdata/gen-8bit.sh: Likewise.
69261         * locale/iso-639.def: Add ary entry.
69263         [BZ #11258]
69264         * locale/C-translit.h.in: Add U20A1 transliteration.
69266         [BZ #12178]
69267         * locale/iso-639.def: Add wae entry.
69268         Patch by Kevin Bortis <bortis@translate-wae.ch>.
69270         [BZ #12545]
69271         * locale/programs/localedef.c (construct_output_path): Use ssize_t
69272         for n.
69274         [BZ #12711]
69275         * locale/C-translit.h.in: Add entry for U20B9.
69276         Patch by pravin.d.s@gmail.com.
69278 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
69280         [BZ #12713]
69281         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
69282         ENAMETOOLONG use generic getcwd.
69283         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
69284         in rtld.  Use *stat64.
69285         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
69286         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
69287         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
69288         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
69289         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
69290         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
69291         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
69292         __fstatat64 macros.
69293         * include/dirent.h: Add libc_hidden_proto for rewinddir.
69294         * dirent/rewinddir.c: Add libc_hidden_def.
69295         * sysdeps/mach/hurd/rewinddir.c: Likewise.
69296         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
69298         * include/dirent.h (__alloc_dir): Add flags parameter.
69299         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
69300         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
69301         __alloc_dir.
69302         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
69303         from fdopendir if O_CLOEXEC is already set.
69305 2011-03-15  Alan Modra  <amodra@gmail.com>
69307         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
69308         l_tls_firstbyte_offset non-zero.  Save padding offset in
69309         l_tls_firstbyte_offset for later use.
69310         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
69311         freeing static tls block.
69313 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
69315         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
69316         where #ifdef was intended.  The intent is to prevent ARG_MAX from
69317         being defined by the kernel headers.
69319 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
69321         [BZ #12734]
69322         * resolv/resolv.h: Define RES_NOTLDQUERY.
69323         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
69324         no-tld-query and set RES_NOTLDQUERY.
69325         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
69326         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
69327         modern BIND to search name as TLD unless forbidden.
69329 2011-05-07  Petr Baudis  <pasky@suse.cz>
69330             Ulrich Drepper  <drepper@gmail.com>
69332         [BZ #12393]
69333         * elf/dl-load.c (fillin_rpath): Move trusted path check...
69334         (is_trusted_path): ...to here.
69335         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
69336         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
69337         using is_trusted_path_normalize() in setuid scripts.
69339 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
69341         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
69342         __BEGIN/__END_DECLS.
69344 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
69346         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
69347         NSS_STATUS_NOTFOUND if no record was found.
69349 2011-05-05  Andreas Schwab  <schwab@redhat.com>
69351         * sunrpc/Makefile (headers): Add rpc/netdb.h.
69352         (headers-not-in-tirpc): Remove rpc/netdb.h
69353         * resolv/netdb.h: Revert last change.
69355 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
69357         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
69358         circular dependency between libgcc.a and libc.a.
69360 2011-05-05  Andreas Schwab  <schwab@redhat.com>
69362         * resolv/netdb.h: Don't include <rpc/netdb.h>.
69363         * nis/Makefile: Don't install rpcsvc/*.
69364         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
69365         instead of <rpc/types.h>.
69366         (MAXHOSTNAMELEN): Define.
69368 2011-05-03  Andreas Schwab  <schwab@redhat.com>
69370         * elf/ldconfig.c (add_dir): Don't crash on empty path.
69372 2011-04-28  Maciej Babinski  <mbabinski@google.com>
69374         [BZ #12714]
69375         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
69376         gethostbyname4_r when IPv6 results are possible.
69378 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
69380         [BZ #12723]
69381         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
69382         _PC_PIPE_BUF handling.
69384 2011-04-30  Bruno Haible  <bruno@clisp.org>
69386         [BZ #12717]
69387         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
69388         * resolv/netdb.h (getnameinfo): Change type of flags parameter
69389         to 'int'.
69390         * inet/getnameinfo.c (getnameinfo): Likewise.
69392 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
69394         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
69395         to groups setting in database lookup.
69396         * nss/nsswitch.conf: Add initgroups entry.
69398 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
69400         [BZ #12685]
69401         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
69402         mode string.
69403         Patch by Eric Blake <eblake@redhat.com>.
69405 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
69407         * sunrpc/Makefile (need-export-routines): Add svc_run.
69408         (routines): Remove svc_run.
69409         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
69410         * sunrpc/clnt_perr.c (clnt_perrno): Export.
69411         * sunrpc/svc_run.c (svc_run): Likewise.
69412         * sunrpc/svc_udp.c (svcudp_create): Likewise.
69414 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
69416         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
69417         problem in reallocation in last patch.
69419 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
69421         * sunrpc/Makefile: Move inclusion of Rules.
69423 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
69425         * nss/nss_files/files-initgroups.c: New file.
69426         * nss/Makefile (libnss_files-routines): Add files-initgroups.
69427         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
69428         _nss_files_initgroups_dyn.
69430 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
69432         * elf/elf.h (R_ARM_IRELATIVE): Define.
69434 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
69436         * po/ru.po: Update from translation team.
69438 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
69440         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
69441         dependencies.
69443 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
69445         [BZ #12653]
69446         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
69447         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
69448         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
69449         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
69450         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
69452 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
69454         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
69455         differing bytes.
69456         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
69457         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
69458         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
69460 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
69462         [BZ #12420]
69463         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
69464         storing it.
69465         * stdlib/bug-getcontext.c: New file.
69466         * stdlib/Makefile: Add rules to build and run bug-getcontext.
69468 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
69470         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
69471         instructions into .machine "z9-109".
69472         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
69473         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
69475 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
69477         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
69478         between environment variables and auxiliary vector.
69480 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
69482         * Makefile: Add rules to build linkobj/libc.so.
69483         * include/libc-symbols.h: Define libc_hidden_nolink.
69484         * include/rpc/auth.h: Mark functions which are to be hidden.
69485         * include/rpc/auth_des.h: Likewise.
69486         * include/rpc/auth_unix.h: Likewise.
69487         * include/rpc/clnt.h: Likewise.
69488         * include/rpc/des_crypt.h: Likewise.
69489         * include/rpc/key_prot.h: Likewise.
69490         * include/rpc/pmap_clnt.h: Likewise.
69491         * include/rpc/pmap_prot.h: Likewise.
69492         * include/rpc/pmap_rmt.h: Likewise.
69493         * include/rpc/rpc_msg.h: Likewise.
69494         * include/rpc/svc.h: Likewise.
69495         * include/rpc/svc_auth.h: Likewise.
69496         * include/rpc/xdr.h: Likewise.
69497         * nis/Makefile: Link all DSOs against linkobj/libc.so.
69498         * nss/Makefile: Likewise.
69499         * sunrpc/Makefile: Don't install headers.  Build library with normal
69500         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
69501         * sunrpc/auth_des.c: Hide exported symbols by default, export some
69502         for the compat linking library.  Remove use of INTDEF/INTUSE.
69503         * sunrpc/auth_none.c: Likewise.
69504         * sunrpc/auth_unix.c: Likewise.
69505         * sunrpc/authdes_prot.c: Likewise.
69506         * sunrpc/authuxprot.c: Likewise.
69507         * sunrpc/clnt_gen.c: Likewise.
69508         * sunrpc/clnt_perr.c: Likewise.
69509         * sunrpc/clnt_raw.c: Likewise.
69510         * sunrpc/clnt_simp.c: Likewise.
69511         * sunrpc/clnt_tcp.c: Likewise.
69512         * sunrpc/clnt_udp.c: Likewise.
69513         * sunrpc/clnt_unix.c: Likewise.
69514         * sunrpc/des_crypt.c: Likewise.
69515         * sunrpc/des_soft.c: Likewise.
69516         * sunrpc/get_myaddr.c: Likewise.
69517         * sunrpc/key_call.c: Likewise.
69518         * sunrpc/key_prot.c: Likewise.
69519         * sunrpc/netname.c: Likewise.
69520         * sunrpc/pm_getmaps.c: Likewise.
69521         * sunrpc/pm_getport.c: Likewise.
69522         * sunrpc/pmap_clnt.c: Likewise.
69523         * sunrpc/pmap_prot.c: Likewise.
69524         * sunrpc/pmap_prot2.c: Likewise.
69525         * sunrpc/pmap_rmt.c: Likewise.
69526         * sunrpc/publickey.c: Likewise.
69527         * sunrpc/rpc_cmsg.c: Likewise.
69528         * sunrpc/rpc_common.c: Likewise.
69529         * sunrpc/rpc_dtable.c: Likewise.
69530         * sunrpc/rpc_prot.c: Likewise.
69531         * sunrpc/rpc_thread.c: Likewise.
69532         * sunrpc/rtime.c: Likewise.
69533         * sunrpc/svc.c: Likewise.
69534         * sunrpc/svc_auth.c: Likewise.
69535         * sunrpc/svc_authux.c: Likewise.
69536         * sunrpc/svc_raw.c: Likewise.
69537         * sunrpc/svc_run.c: Likewise.
69538         * sunrpc/svc_simple.c: Likewise.
69539         * sunrpc/svc_tcp.c: Likewise.
69540         * sunrpc/svc_udp.c: Likewise.
69541         * sunrpc/svc_unix.c: Likewise.
69542         * sunrpc/svcauth_des.c: Likewise.
69543         * sunrpc/xcrypt.c: Likewise.
69544         * sunrpc/xdr.c: Likewise.
69545         * sunrpc/xdr_array.c: Likewise.
69546         * sunrpc/xdr_float.c: Likewise.
69547         * sunrpc/xdr_intXX_t.c: Likewise.
69548         * sunrpc/xdr_mem.c: Likewise.
69549         * sunrpc/xdr_rec.c: Likewise.
69550         * sunrpc/xdr_ref.c: Likewise.
69551         * sunrpc/xdr_sizeof.c: Likewise.
69552         * sunrpc/xdr_stdio.c: Likewise.
69554 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
69556         [BZ #12650]
69557         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
69558         * sysdeps/ia64/dl-tls.h: Likewise.
69559         * sysdeps/powerpc/dl-tls.h: Likewise.
69560         * sysdeps/s390/dl-tls.h: Likewise.
69561         * sysdeps/sh/dl-tls.h: Likewise.
69562         * sysdeps/sparc/dl-tls.h: Likewise.
69563         * sysdeps/x86_64/dl-tls.h: Likewise.
69564         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
69566 2011-03-14  Andreas Schwab  <schwab@redhat.com>
69568         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
69569         rpath element also skip the following colon.
69570         (expand_dynamic_string_token): Add is_path parameter and pass
69571         down to DL_DST_REQUIRED and _dl_dst_substitute.
69572         (decompose_rpath): Call expand_dynamic_string_token with
69573         non-zero is_path.  Ignore empty rpaths.
69574         (_dl_map_object_from_fd): Call expand_dynamic_string_token
69575         with zero is_path.
69577 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
69579         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
69580         Make cancelable.
69582 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
69584         [BZ #12655]
69585         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
69586         Patch by Filipe David Manana <fdmanana@apache.org>.
69588 2011-04-07  Andreas Schwab  <schwab@redhat.com>
69590         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
69591         Maintain aligned stack.
69592         (CHECK_RSP): Remove unused macro.
69594 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
69596         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
69597         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
69599 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
69601         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
69603         * include/features.h: Mention __USE_XOPEN2K8 in comment.
69605 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
69607         [BZ #12518]
69608         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
69609         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
69610         * sysdeps/x86_64/memmove.c: New file.
69611         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
69612         (memcpy): Renamed to ...
69613         (__new_memcpy): This.
69614         (memcpy): Provide GLIBC_2_14 memcpy.
69615         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
69616         (memcpy): Provide GLIBC_2_2_5 memcpy.
69618 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
69620         [BZ #12631]
69621         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
69623 2011-03-30  Andreas Schwab  <schwab@redhat.com>
69625         * misc/syncfs.c: New file.
69626         * misc/Makefile (routines): Add syncfs.
69627         * posix/unistd.h: Declare syncfs.
69628         * sysdeps/unix/syscalls.list: Add syncfs.
69630 2011-04-01  Andreas Schwab  <schwab@redhat.com>
69632         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
69633         open_by_handle_at.
69634         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
69635         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
69636         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
69637         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
69638         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
69639         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
69640         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
69642 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
69644         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
69645         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
69646         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
69647         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
69648         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
69649         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
69650         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
69652         * io/Makefile: Compile fallocate.c, fallocate64.c, and
69653         sync_file_range.c with -fexceptions.
69654         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
69655         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
69656         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
69657         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
69658         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
69659         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
69660         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
69661         sync_file_range as cancellation point
69662         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
69663         now a wrapper around __call_sync_file_range with cancellation handling.
69664         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
69665         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
69666         function name to __call_sync_file_range.
69667         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
69668         Add call_sync_file_range.
69670 2011-04-01  Andreas Schwab  <schwab@redhat.com>
69672         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
69673         bits/timex.h.
69675 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
69677         * iconv/iconv.h: Fix typo in comment.
69678         * io/fcntl.h: Likewise.
69679         * libio/stdio.h: Likewise.
69680         * posix/spawn.h: Likewise.
69681         * posix/unistd.h: Likewise.
69682         * stdlib/stdlib.h: Likewise.
69683         * time/time.h: Likewise.
69684         * wcsmbs/wchar.h: Likewise.
69686         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
69687         open_by_handle): Add.
69688         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
69689         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
69690         Augment a few comments.
69691         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
69692         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
69693         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
69694         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
69695         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
69696         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
69697         open_by_handle.
69699         * io/fcntl.h (AT_EMPTY_PATH): Define.
69701 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
69703         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
69704         * sysdeps/unix/sysv/linux/bits/time.h: New file.
69705         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
69706         to...
69707         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
69708         * Versions.def: Add GLIBC_2.14.
69709         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
69710         Export.
69712 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
69714         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
69715         round counter.
69716         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
69718 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
69720         [BZ #12597]
69721         * string/test-strncmp.c (do_page_test): New function.
69722         (check2): Likewise.
69723         (test_main): Call check2.
69724         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
69726 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
69728         [BZ #12587]
69729         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
69730         Handle cache information in CPU leaf 4.
69731         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
69733 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
69735         [BZ #12583]
69736         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
69737         character representation.
69738         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
69740 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
69742         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
69743         END(__isnan) to END(__isnanf) to match function entry point/label
69744         EALIGN(__isnanf,...).
69746 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
69748         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
69750 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
69752         [BZ #12510]
69753         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
69754         copy from the symbol referenced in the relocation to initialize the
69755         used variable.
69756         Patch by Piotr Bury <pbury@goahead.com>.
69757         * elf/Makefile: Add rules to build and tst-unique3.
69758         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
69759         * elf/tst-unique3.cc: New file.
69760         * elf/tst-unique3.h: New file.
69761         * elf/tst-unique3lib.cc: New file.
69762         * elf/tst-unique3lib2.cc: New file.
69764         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
69766 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
69768         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
69769         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
69770         to _start.
69772 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
69774         * elf/dl-load.c (_dl_map_object): If we are looking for the first
69775         to-be-loaded object along a path to loader is ld.so.
69777 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
69778             Ulrich Drepper  <drepper@gmail.com>
69780         * sysdeps/x86_64/memset.S: After aligning destination, code
69781         branches to different locations depending on the value of
69782         misalignment, when multiarch is enabled. Fix this.
69784 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
69786         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
69787         Set _x86_64_preferred_memory_instruction for AMD processsors.
69788         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
69789         Set bit_Prefer_SSE_for_memop for AMD processors.
69791 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
69793         * libio/fmemopen.c (fmemopen): Optimize a bit.
69795 2011-03-03  Andreas Schwab  <schwab@redhat.com>
69797         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
69799 2011-03-03  Roland McGrath  <roland@redhat.com>
69801         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
69803 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
69805         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
69806         __bzero_ultra1 instead of __memset_ultra1.
69808 2011-02-23  Andreas Schwab  <schwab@redhat.com>
69809             Ulrich Drepper  <drepper@gmail.com>
69811         [BZ #12509]
69812         * include/link.h (struct link_map): Add l_orig_initfini.
69813         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
69814         returning unsuccessfully.
69815         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
69816         close of a file loaded at startup, restore the original l_initfini
69817         list.
69818         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
69819         list, store the pointer.
69820         * elf/Makefile ($(objpfx)noload-mem): New rule.
69821         (noload-ENV): Define.
69822         (tests): Add $(objpfx)noload-mem.
69823         * elf/noload.c: Include <memcheck.h>.
69824         (main): Call mtrace.  Close all opened handles.
69826 2011-02-17  Andreas Schwab  <schwab@redhat.com>
69828         [BZ #12454]
69829         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
69830         dependencies are missing.
69832 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
69834         Fix __if_freereq crash: Unlike the generic version which uses free,
69835         Hurd needs munmap.
69836         * sysdeps/mach/hurd/ifreq.h: New file.
69838 2011-01-27  Petr Baudis  <pasky@suse.cz>
69839             Ulrich Drepper  <drepper@gmail.com>
69841         [BZ 12445]#
69842         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
69843         to extend_alloca().
69844         * stdio-common/bug23.c: New file.
69845         * stdio-common/Makefile (tests): Add bug23.
69847 2010-09-28  Andreas Schwab  <schwab@redhat.com>
69848             Ulrich Drepper  <drepper@gmail.com>
69850         [BZ #12489]
69851         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
69852         before performing relro protection.  At old place add assertion
69853         to make sure nothing changed.
69855 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
69856             Glauber de Oliveira Costa  <glommer@gmail.com>
69858         * elf/elf.h: Add new ARM TLS relocs.
69860 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
69862         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
69863         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
69864         cast from r3.
69865         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
69866         'tests' variable.
69867         * sysdeps/wordsize-64/tst-writev.c: New file.
69869 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
69871         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
69872         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
69873         insns in _dl_start to prevent a TOC reference before relocs are
69874         resolved.
69876 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
69878         [BZ #12469]
69879         * Makeconfig: Remove RANLIB definition.
69880         * Makerules: Don't use RANLIB.
69881         * aclocal.m4: Remove ranlib test.
69882         * configure.in: No need to check for ranlib.
69883         * elf/rtld-Rules: Don't use RANLIB.
69885 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
69887         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
69888         protection macro.
69889         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
69890         inclusion protection macro.
69892         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
69893         SIGRTMIN and SIGRTMAX and print information in that case only when
69894         SIGRTMIN is defined.
69896 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
69898         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
69899         arginfo fn returning -1.
69901         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
69902         and thousands string is zero terminated.
69904 2011-02-03  Andreas Schwab  <schwab@redhat.com>
69906         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
69907         sysdeps/unix/sysv/linux/bits/socket.h.
69909 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
69911         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
69912         (__CPU_COUNT): Remove old macros.
69913         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
69914         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
69915         (__CPU_ALLOC, __CPU_FREE): Add macros.
69916         (__sched_cpualloc, __sched_cpufree): Add declarations.
69918 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
69920         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
69921         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
69922         * nscd/aicache.c (addhstaiX): Return timeout of added value.
69923         (readdhstai): Return value of addhstaiX call.
69924         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
69925         (addgrbyX): Return value returned by cache_addgr.
69926         (readdgrbyname): Return value returned by addgrbyX.
69927         (readdgrbygid): Likewise.
69928         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
69929         (addpwbyX): Return value returned by cache_addpw.
69930         (readdpwbyname): Return value returned by addhstbyX.
69931         (readdpwbyuid): Likewise.
69932         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
69933         (addservbyX): Return value returned by cache_addserv.
69934         (readdservbyname): Return value returned by addservbyX:
69935         (readdservbyport): Likewise.
69936         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
69937         (addhstbyX): Return value returned by cache_addhst.
69938         (readdhstbyname): Return value returned by addhstbyX.
69939         (readdhstbyaddr): Likewise.
69940         (readdhstbynamev6): Likewise.
69941         (readdhstbyaddrv6): Likewise.
69942         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
69943         (readdinitgroups): Return value returned by addinitgroupsX.
69944         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
69945         (prune_cache): Keep track of timeout value of re-added entries.
69946         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
69947         * nscd/nscd.h: Adjust prototypes of readd* functions.
69949 2011-02-04  Roland McGrath  <roland@redhat.com>
69951         * nis/nis_server.c (nis_servstate): Use the right name for 0.
69952         (nis_stats): Likewise.
69953         * nis/nis_modify.c (nis_modify): Likewise.
69954         * nis/nis_remove.c (nis_remove): Likewise.
69955         * nis/nis_add.c (nis_add): Likewise.
69957         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
69959         * posix/fnmatch_loop.c: Add some consts.
69961         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
69963 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
69965         [BZ #12460]
69966         * config.make.in (config-cflags-novzeroupper): Define.
69967         * configure.in: Substitute libc_cv_cc_novzeroupper.
69968         * elf/Makefile (AVX-CFLAGS): Define.
69969         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
69970         (CFLAGS-tst-auditmod4a.c): Likewise.
69971         (CFLAGS-tst-auditmod4b.c): Likewise.
69972         (CFLAGS-tst-auditmod6b.c): Likewise.
69973         (CFLAGS-tst-auditmod6c.c): Likewise.
69974         (CFLAGS-tst-auditmod7b.c): Likewise.
69975         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
69977 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
69979         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
69980         function to the callback.
69981         Patch partly by Jiri Olsa <jolsa@redhat.com>.
69983 2011-02-02  Andreas Schwab  <schwab@redhat.com>
69985         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
69986         of errno.
69988 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
69990         [BZ #11724]
69991         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
69992         of constructors.
69993         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
69994         of destructors.
69995         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
69997         [BZ #11724]
69998         * elf/Makefile: Add rules to build and run new test.
69999         * elf/tst-initorder.c: New file.
70000         * elf/tst-initorder.exp: New file.
70001         * elf/tst-initordera1.c: New file.
70002         * elf/tst-initordera2.c: New file.
70003         * elf/tst-initordera3.c: New file.
70004         * elf/tst-initordera4.c: New file.
70005         * elf/tst-initorderb1.c: New file.
70006         * elf/tst-initorderb2.c: New file.
70007         * elf/tst-order-a1.c: New file.
70008         * elf/tst-order-a2.c: New file.
70009         * elf/tst-order-a3.c: New file.
70010         * elf/tst-order-a4.c: New file.
70011         * elf/tst-order-b1.c: New file.
70012         * elf/tst-order-b2.c: New file.
70013         * elf/tst-order-main.c: New file.
70014         New test case by George Gensure <werkt0@gmail.com>.
70016 2010-10-01  Andreas Schwab  <schwab@redhat.com>
70018         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
70019         decoding ACE if AI_CANONIDN.
70021 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
70023         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
70025 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
70027         * version.h (RELEASE): Bump for 2.13 release.
70028         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
70030         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
70032         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
70033         MADV_NOHUGEPAGE.
70034         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
70035         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
70036         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
70037         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
70038         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
70039         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
70041         * posix/getconf.c: Update copyright year.
70042         * catgets/gencat.c: Likewise.
70043         * csu/version.c: Likewise.
70044         * debug/catchsegv.sh: Likewise.
70045         * debug/xtrace.sh: Likewise.
70046         * elf/ldconfig.c: Likewise.
70047         * elf/ldd.bash.in: Likewise.
70048         * elf/sprof.c (print_version): Likewise.
70049         * iconv/iconv_prog.c: Likewise.
70050         * iconv/iconvconfig.c: Likewise.
70051         * locale/programs/locale.c: Likewise.
70052         * locale/programs/localedef.c: Likewise.
70053         * malloc/memusage.sh: Likewise.
70054         * malloc/mtrace.pl: Likewise.
70055         * nscd/nscd.c (print_version): Likewise.
70056         * nss/getent.c: Likewise.
70058         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
70059         PF_CAIF, and PF_ALG.
70060         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
70062 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
70064         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
70065         (modules-names): Use them.
70066         (ifunc-test-modules, ifunc-pie-tests): Define.
70067         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
70068         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
70069         (test-extras): Likewise.
70070         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
70071         $(compile-command.c).
70072         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
70073         (all-built-dso): Define.
70074         (check-textrel.out, check-execstack.out): Depend on it.
70076         * configure.in: Don't override --enable-multi-arch.
70078 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
70080         [BZ #6812]
70081         * nscd/hstcache.c (tryagain): Define.
70082         (cache_addhst): Return tryagain not notfound for temporary errors.
70083         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
70084         failed.
70086 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
70088         [BZ #10563]
70089         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
70090         to make the syscall.
70091         * sysdeps/unix/sysv/linux/setgroups.c: New file.
70093         [BZ #12378]
70094         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
70095         and fall back to matching as normal character if the string ends before
70096         the matching ']' is found.  This is what POSIX requires.
70097         * posix/testfnm.c: Adjust test result.
70098         * posix/globtest.sh: Adjust test result.  Add new test.
70099         * posix/tst-fnmatch.input: Likewise.
70100         * posix/tst-fnmatch2.c: Add new test.
70102 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
70104         * elf/Makefile (check-execstack): Revert last change.  Depend on
70105         check-execstack.h.
70106         (check-execstack.h): New target.
70107         (generated): Add check-execstack.h.
70108         * elf/check-execstack.c: Include "check-execstack.h".
70109         (main): Revert last change.
70110         (handle_file): Return zero if GNU_STACK is absent and
70111         DEFAULT_STACK_PERMS doesn't include PF_X.
70113 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
70115         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
70116         in child fails because the descriptor is already closed.
70117         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
70118         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
70119         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
70121         [BZ #12397]
70122         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
70123         syscall.
70125         [BZ #10484]
70126         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
70127         temporary buffer used to handle multi lookups locally.
70128         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
70130 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
70132         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
70133         loader is ld.so.
70135 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
70137         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
70138         alignment for SSE2.
70140 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
70142         [BZ #12394]
70143         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
70144         characters.  When rounding increased number of integer digits recompute
70145         number of groups.
70146         * stdio-common/tst-grouping.c: New file.
70147         * stdio-common/Makefile: Add rules to build and run tst-grouping.
70149 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
70151         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
70152         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
70154         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
70155         void.
70156         * bits/select.h: Likewise.
70158 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
70160         * po/ja.po: Update from translation team.
70162 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
70164         [BZ #11155]
70165         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
70166         implementation just like for lxstat, fxstatat, et al.
70168 2010-12-27  Jim Meyering  <meyering@redhat.com>
70170         [BZ #12348]
70171         * posix/regexec.c (build_trtable): Return failure indication upon
70172         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
70174 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
70176         [BZ #12201]
70177         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
70178         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
70179         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
70180         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
70182         [BZ #12207]
70183         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
70185         [BZ #12204]
70186         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
70187         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
70189 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
70191         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
70192         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
70193         script has SORT_BY_INIT_PRIORITY.
70194         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
70195         NO_CTORS_DTORS_SECTIONS is defined.
70196         * elf/soinit.c: Likewise.
70197         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
70198         NO_CTORS_DTORS_SECTIONS is defined.
70199         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
70200         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
70201         * sysdeps/sh/init-first.c: Likewise.
70202         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
70204 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
70206         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
70207         always use the slow path.
70209 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
70211         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
70212         similar rule which adds the sysdep directories to the header search in
70213         order to pick up the correct platform stackinfo.h.
70214         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
70215         perform test if it is, otherwise return successfully without testing.
70216         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
70217         DEFAULT_STACK_PERMS define in stackinfo.h.
70218         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
70219         defined in stackinfo.h.
70220         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
70221         DEFAULT_STACK_PERMS defined in stackinfo.h.
70222         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
70223         * sysdeps/ia64/stackinfo.h: Likewise.
70224         * sysdeps/s390/stackinfo.h: Likewise.
70225         * sysdeps/sh/stackinfo.h: Likewise.
70226         * sysdeps/sparc/stackinfo.h: Likewise.
70227         * sysdeps/x86_64/stackinfo.h: Likewise.
70228         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
70229         PF_X for powerpc64.  Retain PF_X for powerpc32.
70231 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
70233         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
70234         accurately.
70235         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
70236         GETDENTS_64BIT_ALIGNED.
70238 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
70240         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
70242 2010-12-10  Andreas Schwab  <schwab@redhat.com>
70244         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
70245         _GNU_SOURCE.
70247         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
70248         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
70249         Remove __restrict.
70250         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
70251         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
70253 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
70255         [BZ #11655]
70256         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
70257         are initialized.
70259 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
70261         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
70263 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
70265         * po/it.po: Update from translation team.
70267 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
70269         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
70270         unused codes.
70272 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
70274         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
70276 2010-11-24  Andreas Schwab  <schwab@redhat.com>
70278         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
70279         specially.
70280         (gaih_getanswer_slice): Likewise.
70282 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
70284         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
70286 2010-05-31  Petr Baudis  <pasky@suse.cz>
70288         [BZ #11149]
70289         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
70290         silently even in the chroot mode.
70292 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
70294         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
70295         last patch a bit.  Pretty printing
70297 2010-05-31  Petr Baudis <pasky@suse.cz>
70299         [BZ #10085]
70300         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
70301         initialization of skip_initgroups_dyn.
70303 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
70305         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
70306         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
70308 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
70310         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
70312 2010-11-11  Andreas Schwab  <schwab@redhat.com>
70314         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
70315         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
70316         (tst-fnmatch-ENV): Set MALLOC_TRACE.
70317         ($(objpfx)tst-fnmatch-mem): New rule.
70318         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
70319         * posix/tst-fnmatch.c (main): Call mtrace.
70321 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
70323         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
70324         Support Intel processor model 6 and model 0x2c.
70326 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
70328         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
70329           signed comparison.
70331 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
70333         [BZ #12205]
70334         * string/test-strncasecmp.c (check_result): New function.
70335         (do_one_test): Use it.
70336         (check1): New function.
70337         (test_main): Use it.
70338         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
70339         Support strcasecmp and strncasecmp.
70341 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
70343         [BZ #12194]
70344         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
70345         * sysdeps/x86_64/bits/byteswap.h: Likewise.
70347 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
70349         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
70350         IFUNC support.
70351         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
70352         memset-x86-64.
70353         * sysdeps/x86_64/multiarch/bzero.S: New file.
70354         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
70355         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
70356         * sysdeps/x86_64/multiarch/memset.S: New file.
70357         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
70358         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
70359         Set bit_Prefer_SSE_for_memop for Intel processors.
70360         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
70361         Define.
70362         (index_Prefer_SSE_for_memop): Define.
70363         (HAS_PREFER_SSE_FOR_MEMOP): Define.
70365 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
70367         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
70368         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
70370 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
70372         [BZ #12191]
70373         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
70374         (__x86_64_raw_data_cache_size_half): Likewise.
70375         (__x86_64_raw_shared_cache_size): Likewise.
70376         (__x86_64_raw_shared_cache_size_half): Likewise.
70378         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
70379         (__x86_64_raw_data_cache_size_half): Likewise.
70380         (__x86_64_raw_shared_cache_size): Likewise.
70381         (__x86_64_raw_shared_cache_size_half): Likewise.
70382         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
70383         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
70384         and __x86_64_raw_shared_cache_size_half.  Round
70385         __x86_64_data_cache_size_half, __x86_64_data_cache_size
70386         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
70387         to multiple of 256 bytes.
70389 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
70391         [BZ #12167]
70392         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
70393         of inacessible symlinks.  Verify result of symlink before returning it.
70394         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
70395         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
70397 2010-10-28  Erich Ritz  <erichritz@gmail.com>
70399         * math/math.h (isinf): Fix typo in comment.
70401 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
70403         * po/da.po: Update from translation team.
70405 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
70407         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
70408         is added to the list.
70410 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
70411             Ulrich Drepper  <drepper@gmail.com>
70413         * elf/dl-object.c (_dl_new_object): Don't append the new object to
70414         the global list here.  Move code to...
70415         (_dl_add_to_namespace_list): ...here.  New function.
70416         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
70417         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
70418         * elf/dl-load.c (lose): Don't remove the element from the list.
70419         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
70420         (_dl_map_object): Likewise.
70422 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
70424         [BZ #12159]
70425         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
70426         into all bytes of SSE register.
70427         Patch by Richard Li <richardpku@gmail.com>.
70429 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
70431         [BZ #12140]
70432         * malloc/malloc.c (_int_free): Fill correct number of bytes when
70433         perturbing.
70435 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
70437         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
70438         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
70439         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
70440         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
70441         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
70442         submachine.
70443         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
70445 2010-10-22  Andreas Schwab  <schwab@redhat.com>
70447         * include/dlfcn.h (__RTLD_SECURE): Define.
70448         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
70449         mode & __RTLD_SECURE instead.
70450         (open_path): Rename preloaded parameter to secure.
70451         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
70452         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
70453         * elf/dl-deps.c (openaux): Likewise.
70454         * elf/rtld.c (struct map_args): Remove is_preloaded.
70455         (map_doit): Don't use it.
70456         (dl_main): Likewise.
70457         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
70458         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
70460 2010-09-09  Andreas Schwab  <schwab@redhat.com>
70462         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
70463         (sysd-rules-targets): Remove duplicates.
70464         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
70465         rtld-%.$o dependency.
70467 2010-10-18  Andreas Schwab  <schwab@redhat.com>
70469         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
70470         _dl_map_object do it.
70472 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
70474         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
70475         fast fma builtins, define the macros in the C99 standard.
70476         (FP_FAST_FMAF): Likewise.
70477         (FP_FAST_FMAL): Likewise.
70478         * sysdeps/x86_64/bits/mathdef.h: Likewise.
70480         * bits/mathdef.h: Update copyright year.
70481         * sysdeps/powerpc/bits/mathdef.h: Likewise.
70483 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
70485         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
70486         builtins, define the macros in the C99 standard.
70487         (FP_FAST_FMAF): Likewise.
70488         (FP_FAST_FMAL): Likewise.
70489         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
70490         multiply/add.
70491         (FP_FAST_FMAF): Likewise.
70493 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
70495         [BZ #3268]
70496         * math/libm-test.inc (fma_test): Some new testcases.
70497         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
70498         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
70499         y and infinite z.  Do multiplication by C already in long double.
70500         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
70501         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
70502         y and infinite z.  Do bitwise or of inexact bit into u.d.
70503         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
70504         * sysdeps/i386/fpu/s_fmaf.S: Removed.
70505         * sysdeps/i386/fpu/s_fma.S: Removed.
70506         * sysdeps/i386/fpu/s_fmal.S: Removed.
70508 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
70510         [BZ #3268]
70511         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
70512         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
70513         computation is not scheduled after fetestexcept.  Fix value
70514         of minimum denormal long double.
70516 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
70518         [BZ #3268]
70519         * math/libm-test.inc (fma_test): Add some more tests.
70520         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
70521         correctly.
70523 2010-10-15  Andreas Schwab  <schwab@redhat.com>
70525         * scripts/data/localplt-s390-linux-gnu.data: New file.
70526         * scripts/data/localplt-s390x-linux-gnu.data: New file.
70528 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
70530         [BZ #3268]
70531         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
70532         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
70533         instead of dbl-64.
70534         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
70535         inlines.
70536         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
70537         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
70538         if one of x and y is very large and the other is subnormal.
70539         * sysdeps/s390/fpu/s_fmaf.c: New file.
70540         * sysdeps/s390/fpu/s_fma.c: New file.
70541         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
70542         * sysdeps/powerpc/fpu/s_fma.S: New file.
70543         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
70544         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
70545         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
70547 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
70549         [BZ #3268]
70550         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
70551         fma tests.
70552         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
70553         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
70554         * sysdeps/i386/i686/multiarch/s_fma.c: Include
70555         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
70556         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
70557         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
70558         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
70560 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
70562         [BZ #12078]
70563         * posix/regcomp.c (parse_branch): One more memory leak plugged.
70564         * posix/bug-regex31.input: Add test case.
70566 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
70568         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
70569         * posix/bug-regex31.input: New file.
70571         [BZ #12078]
70572         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
70573         (parse_sub_exp): Fix last change, use postorder.
70575         * posix/bug-regex31.c: New file.
70576         * posix/Makefile: Add rules to build and run bug-regex31.
70578         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
70580         [BZ #12078]
70581         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
70583         [BZ #12108]
70584         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
70585         to have entries in sys_siglist.
70587         [BZ #12093]
70588         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
70589         be NULL.
70591 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
70593         [BZ #3268]
70594         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
70595         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
70596         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
70597         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
70598         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
70599         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
70600         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
70601         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
70602         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
70603         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
70604         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
70605         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
70606         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
70607         * math/ftestexcept.c (fetestexcept): Likewise.
70608         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
70609         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
70610         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
70611         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
70612         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
70613         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
70614         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
70616 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
70618         [BZ #12107]
70619         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
70620         newline.
70622 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
70624         * string/bug-strstr1.c: New file.
70625         * string/Makefile: Add rules to build and run bug-strstr1.
70627 2010-10-05  Eric Blake  <eblake@redhat.com>
70629         [BZ #12092]
70630         * string/str-two-way.h (two_way_long_needle): Always clear memory
70631         when skipping input due to the shift table.
70633 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
70635         [BZ #12005]
70636         * malloc/mcheck.c: Handle large requests.
70638         [BZ #12077]
70639         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
70640         for strncmp and strncasecmp.
70641         * string/stratcliff.c: Add tests for strcmp and strncmp.
70642         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
70644 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
70646         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
70647         __set_fpscr.
70649 2010-09-30  Andreas Jaeger  <aj@suse.de>
70651         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
70652         (CGROUP_SUPER_MAGIC): Define.
70653         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
70654         Handle btrfs and cgroup file systems.
70655         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
70656         Likewise.
70658 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
70660         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
70661         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
70663 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
70665         [BZ #12067]
70666         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
70667         trying to locate the ELF header.
70669 2010-09-27  Andreas Schwab  <schwab@redhat.com>
70671         [BZ #11611]
70672         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
70673         Mask out sign-bit copies when constructing f_fsid.
70675 2010-09-24  Petr Baudis <pasky@suse.cz>
70677         * debug/stack_chk_fail_local.c: Add missing licence exception.
70678         * debug/warning-nop.c: Likewise.
70680 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
70682         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
70683         implementing getdents64 using getdents syscall, set d_type if
70684         __ASSUME_GETDENTS32_D_TYPE.
70686 2010-09-16  Andreas Schwab  <schwab@redhat.com>
70688         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
70689         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
70691 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
70693         [BZ #12037]
70694         * posix/unistd.h: Undo change of feature selection for ftruncate from
70695         2010-01-11.
70697 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
70699         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
70700         detection.
70702 2010-09-20  Andreas Schwab  <schwab@redhat.com>
70704         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
70705         fanotify_mark.
70706         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
70708 2010-09-14  Andreas Schwab  <schwab@redhat.com>
70710         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
70711         variables after CHECK_SP call.
70712         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
70714 2010-09-13  Andreas Schwab  <schwab@redhat.com>
70715             Ulrich Drepper  <drepper@redhat.com>
70717         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
70718         re-relocationg ld.so.
70719         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
70720         _dl_init_paths call.
70721         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
70722         here anymore.
70724 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
70726         * resolv/res_init.c (__res_vinit): Count the default server we added.
70728 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
70729             Ulrich Drepper  <drepper@redhat.com>
70731         [BZ #11968]
70732         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
70733         (____longjmp_chk): Use %ebx for saving value across system call.
70734         Add unwind info.
70736 2010-09-06  Andreas Schwab  <schwab@redhat.com>
70738         * manual/Makefile: Don't mix pattern rules with normal rules.
70740 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
70742         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
70743         operation.
70744         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
70745         * libio/iofopncook.c (_IO_cookie_init): Likewise.
70746         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
70747         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
70748         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
70749         Likewise.
70751 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
70753         [BZ #11979]
70754         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
70755         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
70757 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
70759         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
70760         * sysdeps/x86_64/addmul_1.S: Likewise.
70761         * sysdeps/x86_64/lshift.S: Likewise.
70762         * sysdeps/x86_64/mul_1.S: Likewise.
70763         * sysdeps/x86_64/rshift.S: Likewise.
70764         * sysdeps/x86_64/sub_n.S: Likewise.
70765         * sysdeps/x86_64/submul_1.S: Likewise.
70767 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
70769         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
70770         Define __sched_param instead of SCHED_* and sched_param when
70771         <bits/sched.h> is included with __need_schedparam defined.
70772         * bits/sched.h [__need_schedparam]
70773         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
70774         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
70775         (__defined_schedparam): Define to 1.
70776         (__sched_param): New structure, identical to sched_param.
70777         (__need_schedparam): Undefine.
70779 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
70781         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
70782         (epoll_create1): Declare.
70784         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
70786 2010-08-31  Andreas Schwab  <schwab@redhat.com>
70788         [BZ #7066]
70789         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
70790         shifting retval into place.
70792 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
70794         * nis/rpcsvc/nis.h: Update copyright notice.
70795         * nis/rpcsvc/nis.x: Likewise.
70796         * nis/rpcsvc/nis_callback.h: Likewise.
70797         * nis/rpcsvc/nis_callback.x: Likewise.
70798         * nis/rpcsvc/nis_object.x: Likewise.
70799         * nis/rpcsvc/nis_tags.h: Likewise.
70800         * nis/rpcsvc/yp.h: Likewise.
70801         * nis/rpcsvc/yp.x: Likewise.
70802         * nis/rpcsvc/ypupd.h: Likewise.
70803         * nis/yp_xdr.c: Likewise.
70804         * nis/ypupdate_xdr.c: Likewise.
70806         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
70807         mainly the body of pmap_getport.  Add parameters to specify timeouts.
70808         (pmap_getport): Use __libc_rpc_getport.
70809         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
70810         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
70811         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
70813 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
70815         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
70816         fanotify_mark.
70818 2010-08-27  Roland McGrath  <roland@redhat.com>
70820         * sysdeps/i386/i686/multiarch/Makefile
70821         (CFLAGS-varshift.c): New variable.
70823 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
70825         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
70826         * sysdeps/i386/i686/multiarch/varshift.c: New file.
70828         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
70830         * sysdeps/x86_64/strlen.S: Minimal code improvement.
70832 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
70834         * sysdeps/x86_64/strlen.S: Unroll the loop.
70835         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
70836         strlen-sse2 strlen-sse2-bsf.
70837         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
70838         __strlen_no_bsf if bit_Slow_BSF is set.
70839         (__strlen_sse42): Removed.
70840         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
70841         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
70843 2010-08-25  Roland McGrath  <roland@redhat.com>
70845         * sysdeps/x86_64/multiarch/varshift.S: File removed.
70846         * sysdeps/x86_64/multiarch/varshift.c: New file.
70847         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
70848         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
70849         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
70850         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
70852 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
70854         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
70855         strlen-sse2 strlen-sse2-bsf.
70856         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
70857         __strlen_sse2_bsf if bit_Slow_BSF is unset.
70858         (__strlen_sse2): Removed.
70859         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
70860         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
70861         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
70862         bit_Slow_BSF for Atom.
70863         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
70864         (index_Slow_BSF): Define.
70865         (HAS_SLOW_BSF): Define.
70867 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
70869         [BZ #10851]
70870         * resolv/res_init.c (__res_vinit): When no server address at all
70871         is given default to loopback.
70873 2010-08-24  Roland McGrath  <roland@redhat.com>
70875         * configure.in: Remove config-name.h generation.
70876         * configure: Regenerated.
70877         * config-name.in: File removed.
70878         * scripts/config-uname.sh: New file.
70879         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
70880         ($(objdir)config-name.h): New target.
70882         * sunrpc/rpc_parse.h: Avoid nested comment.
70884 2010-08-24  Richard Henderson  <rth@redhat.com>
70885             Ulrich Drepper  <drepper@redhat.com>
70886             H.J. Lu  <hongjiu.lu@intel.com>
70888         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
70889         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
70890         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
70891         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
70892         _mm_alignr_epi8 with _mm_loadu_si128.
70893         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
70894         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
70895         (__m128i_shift_right): Removed.
70896         * sysdeps/i386/i686/multiarch/varshift.h: New file.
70897         * sysdeps/i386/i686/multiarch/varshift.S: New file.
70898         * sysdeps/x86_64/multiarch/varshift.h: New file.
70899         * sysdeps/x86_64/multiarch/varshift.S: New file.
70901 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
70903         * configure.in: Move assembler checks to before sysdep dir checking.
70905 2010-08-20  Petr Baudis  <pasky@suse.cz>
70907         * LICENSES: Sync the sunrpc license.
70909 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
70911         * sunrpc/auth_des.c: Update copyright notice once again.
70912         * sunrpc/auth_none.c: Likewise.
70913         * sunrpc/auth_unix.c: Likewise.
70914         * sunrpc/authdes_prot.c: Likewise.
70915         * sunrpc/authuxprot.c: Likewise.
70916         * sunrpc/bindrsvprt.c: Likewise.
70917         * sunrpc/clnt_gen.c: Likewise.
70918         * sunrpc/clnt_perr.c: Likewise.
70919         * sunrpc/clnt_raw.c: Likewise.
70920         * sunrpc/clnt_simp.c: Likewise.
70921         * sunrpc/clnt_tcp.c: Likewise.
70922         * sunrpc/clnt_udp.c: Likewise.
70923         * sunrpc/clnt_unix.c: Likewise.
70924         * sunrpc/des_crypt.c: Likewise.
70925         * sunrpc/des_soft.c: Likewise.
70926         * sunrpc/get_myaddr.c: Likewise.
70927         * sunrpc/getrpcport.c: Likewise.
70928         * sunrpc/key_call.c: Likewise.
70929         * sunrpc/key_prot.c: Likewise.
70930         * sunrpc/openchild.c: Likewise.
70931         * sunrpc/pm_getmaps.c: Likewise.
70932         * sunrpc/pm_getport.c: Likewise.
70933         * sunrpc/pmap_clnt.c: Likewise.
70934         * sunrpc/pmap_prot.c: Likewise.
70935         * sunrpc/pmap_prot2.c: Likewise.
70936         * sunrpc/pmap_rmt.c: Likewise.
70937         * sunrpc/rpc/auth.h: Likewise.
70938         * sunrpc/rpc/auth_unix.h: Likewise.
70939         * sunrpc/rpc/clnt.h: Likewise.
70940         * sunrpc/rpc/des_crypt.h: Likewise.
70941         * sunrpc/rpc/key_prot.h: Likewise.
70942         * sunrpc/rpc/netdb.h: Likewise.
70943         * sunrpc/rpc/pmap_clnt.h: Likewise.
70944         * sunrpc/rpc/pmap_prot.h: Likewise.
70945         * sunrpc/rpc/pmap_rmt.h: Likewise.
70946         * sunrpc/rpc/rpc.h: Likewise.
70947         * sunrpc/rpc/rpc_des.h: Likewise.
70948         * sunrpc/rpc/rpc_msg.h: Likewise.
70949         * sunrpc/rpc/svc.h: Likewise.
70950         * sunrpc/rpc/svc_auth.h: Likewise.
70951         * sunrpc/rpc/types.h: Likewise.
70952         * sunrpc/rpc/xdr.h: Likewise.
70953         * sunrpc/rpc_clntout.c: Likewise.
70954         * sunrpc/rpc_cmsg.c: Likewise.
70955         * sunrpc/rpc_common.c: Likewise.
70956         * sunrpc/rpc_cout.c: Likewise.
70957         * sunrpc/rpc_dtable.c: Likewise.
70958         * sunrpc/rpc_hout.c: Likewise.
70959         * sunrpc/rpc_main.c: Likewise.
70960         * sunrpc/rpc_parse.c: Likewise.
70961         * sunrpc/rpc_parse.h: Likewise.
70962         * sunrpc/rpc_prot.c: Likewise.
70963         * sunrpc/rpc_sample.c: Likewise.
70964         * sunrpc/rpc_scan.c: Likewise.
70965         * sunrpc/rpc_scan.h: Likewise.
70966         * sunrpc/rpc_svcout.c: Likewise.
70967         * sunrpc/rpc_tblout.c: Likewise.
70968         * sunrpc/rpc_util.c: Likewise.
70969         * sunrpc/rpc_util.h: Likewise.
70970         * sunrpc/rpcinfo.c: Likewise.
70971         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
70972         * sunrpc/rpcsvc/key_prot.x: Likewise.
70973         * sunrpc/rpcsvc/klm_prot.x: Likewise.
70974         * sunrpc/rpcsvc/mount.x: Likewise.
70975         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
70976         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
70977         * sunrpc/rpcsvc/rex.x: Likewise.
70978         * sunrpc/rpcsvc/rstat.x: Likewise.
70979         * sunrpc/rpcsvc/rusers.x: Likewise.
70980         * sunrpc/rpcsvc/sm_inter.x: Likewise.
70981         * sunrpc/rpcsvc/spray.x: Likewise.
70982         * sunrpc/rpcsvc/yppasswd.x: Likewise.
70983         * sunrpc/rtime.c: Likewise.
70984         * sunrpc/svc.c: Likewise.
70985         * sunrpc/svc_auth.c: Likewise.
70986         * sunrpc/svc_authux.c: Likewise.
70987         * sunrpc/svc_raw.c: Likewise.
70988         * sunrpc/svc_run.c: Likewise.
70989         * sunrpc/svc_simple.c: Likewise.
70990         * sunrpc/svc_tcp.c: Likewise.
70991         * sunrpc/svc_udp.c: Likewise.
70992         * sunrpc/svc_unix.c: Likewise.
70993         * sunrpc/svcauth_des.c: Likewise.
70994         * sunrpc/xcrypt.c: Likewise.
70995         * sunrpc/xdr.c: Likewise.
70996         * sunrpc/xdr_array.c: Likewise.
70997         * sunrpc/xdr_float.c: Likewise.
70998         * sunrpc/xdr_mem.c: Likewise.
70999         * sunrpc/xdr_rec.c: Likewise.
71000         * sunrpc/xdr_ref.c: Likewise.
71001         * sunrpc/xdr_sizeof.c: Likewise.
71002         * sunrpc/xdr_stdio.c: Likewise.
71004         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
71005         handling.
71007 2010-08-19  Andreas Schwab  <schwab@redhat.com>
71009         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
71011 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
71013         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
71014         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
71015         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
71016         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
71017         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
71018         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
71019         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
71020         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
71021         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
71022         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
71023         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
71024         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
71025         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
71026         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
71028 2010-07-26  Anton Blanchard  <anton@samba.org>
71030         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
71031         * malloc/arena.c (heap_trim): Likewise.
71033 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
71035         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
71036         here.  Not...
71037         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
71038         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
71040 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
71042         * sysdeps/i386/elf/Makefile: New file.
71044 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
71046         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
71047         from fanotify_init.
71048         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
71049         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
71051 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
71053         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
71054         of strncasecmp_l.
71055         * sysdeps/multiarch/strcmp.S: Likewise.
71057 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
71059         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
71060         strncase_l-nonascii.
71061         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
71062         Add strncase_l-ssse3.
71063         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
71064         * sysdeps/x86_64/strcmp.S: Likewise.
71065         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
71066         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
71067         * sysdeps/x86_64/strncase.S: New file.
71068         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
71069         * sysdeps/x86_64/strncase_l.S: New file.
71070         * string/Makefile (strop-tests): Add strncasecmp.
71071         * string/test-strncasecmp.c: New file.
71073         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
71074         warning.
71076         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
71077         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
71079 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
71081         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
71083 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
71085         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
71086         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
71087         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
71089 2010-05-01  Alan Modra  <amodra@gmail.com>
71091         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
71092         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
71093         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
71094         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
71095         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
71096         tidying.  Don't tail-call __sigjmp_save for static lib.
71097         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
71098         save location.
71099         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
71100         (CALL_MCOUNT): Add eh info, and nop after bl.
71101         (TAIL_CALL_SYSCALL_ERROR): New macro.
71102         (PSEUDO_RET): Use it.
71103         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
71104         Correct save location of integer regs and cr.
71105         (_dl_profile_resolve): Correct cr save location.  Delete nops
71106         after bl when SHARED.  Reduce cfi size a little by better
71107         placement of cfi directives.
71108         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
71109         make a stack frame.  Instead use parm save area as a temp.
71110         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
71111         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
71112         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
71113         Don't make a stack frame for parent, use parm save area.
71114         Increase child stack frame to 112 bytes.  Don't save unused reg,
71115         and adjust reg usage.  Set up cfi on error recovery and
71116         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
71117         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
71118         (__makecontext): Add dummy nop after jump to exit.
71119         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
71120         Use correct parm save area and cr save, reduce stack frame.
71121         Correct cfi for possible PSEUDO_RET frame setup.
71122         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
71123         Branch to local label emitted by PSEUDO_RET rather than
71124         __syscall_error.
71126 2010-08-12  Andreas Schwab  <schwab@redhat.com>
71128         [BZ #11904]
71129         * locale/programs/locale.c (print_assignment): New function.
71130         (show_locale_vars): Use it.
71132 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
71134         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
71135         field.
71136         (struct statfs64): Likewise.
71137         (_STATFS_F_FLAGS): Define.
71138         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
71139         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
71140         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
71141         (ST_VALID): Define locally.
71142         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
71143         __statvfs_getflags, use the provided value.
71144         * sysdeps/unix/sysv/linux/kernel-features.h: Define
71145         __ASSUME_STATFS_F_FLAGS.
71147         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
71149         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
71150         Add sys/fanotify.h.
71151         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
71152         fanotify_mask for GLIBC_2.13.
71153         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
71154         fanotify_init and fanotify_mark.
71155         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
71156         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
71158         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
71159         Add prlimit.
71160         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
71161         prlimit64 for GLIBC_2.13.
71162         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
71163         prlimit64.
71164         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
71165         syscall.
71166         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
71167         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
71168         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
71169         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
71170         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
71171         add prlimit alias.
71172         * sysdeps/unix/sysv/linux/prlimit.c: New file.
71174         [BZ #11903]
71175         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
71176         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
71178         * nss/Makefile: Add rules to build and run tst-nss-test1.
71179         * shlib-versions: Add entry for libnss_test1.
71180         * nss/nss_test1.c: New file.
71181         * nss/tst-nss-test1.c: New file.
71183         * nss/nsswitch.c (__nss_database_custom): Define new variable.
71184         (__nss_configure_lookup): Set appropriate entry in
71185         __nss_configure_lookup to true.
71186         * nss/nsswitch.h: Define enum with indeces of databases in
71187         databases and __nss_database_custom arrays.  Declare
71188         __nss_database_custom.
71189         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
71190         to avoid using nscd when custom rules are installed.
71191         * nss/getXXbyYY_r.c: Likewise.
71192         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
71194         * nss/nss_files/files-parse.c: Whitespace fixes.
71196 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
71198         [BZ #11883]
71199         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
71200         * posix/fnmatch_loop.c: Likewise.
71202 2010-07-17  Andi Kleen  <ak@linux.intel.com>
71204         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
71205         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
71206         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
71207         * Versions.def [GLIBC_2.13]: Add.
71209 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
71211         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
71212         Also fail if tpwd after pwuid call is NULL.
71214 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
71216         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
71217         when converting to ms.
71219 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
71221         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
71222         EOPNOTSUPP errors with ENOTTY.
71223         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
71224         EOPNOTSUPP errors with ENOTTY.
71226 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
71228         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
71229         Add strcasecmp_l-ssse3.
71230         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
71231         strcasecmp.
71232         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
71233         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
71234         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
71236 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
71238         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
71240         * string/Makefile (strop-tests): Add strcasecmp.
71241         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
71242         strcasecmp_l-nonascii.
71243         (gen-as-const-headers): Add locale-defines.sym.
71244         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
71245         * sysdeps/x86_64/strcasecmp.S: New file.
71246         * sysdeps/x86_64/strcasecmp_l.S: New file.
71247         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
71248         * sysdeps/x86_64/locale-defines.sym: New file.
71249         * string/test-strcasecmp.c: New file.
71251         * string/test-strcasestr.c: Test both ends of the range of characters.
71252         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
71254 2010-07-29  Roland McGrath  <roland@redhat.com>
71256         [BZ #11856]
71257         * manual/locale.texi (Yes-or-No Questions): Fix example code.
71259 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
71261         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
71262         for ld.so.
71264 2010-07-27  Andreas Schwab  <schwab@redhat.com>
71266         * manual/memory.texi (Malloc Tunable Parameters): Document
71267         M_PERTURB.
71269 2010-07-26  Roland McGrath  <roland@redhat.com>
71271         [BZ #11840]
71272         * configure.in (-fgnu89-inline check): Set and substitute
71273         gnu89_inline, not libc_cv_gnu89_inline.
71274         * configure: Regenerated.
71275         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
71277 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
71279         * string/test-strnlen.c: New file.
71280         * string/Makefile (strop-tests): Add strnlen.
71281         * string/tester.c (test_strnlen): Add a few more test cases.
71282         * string/tst-strlen.c: Better error reporting.
71284         * sysdeps/x86_64/strnlen.S: New file.
71286 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
71288         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
71289         lower-latency instructions.
71291 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
71293         * string/test-strcasestr.c: New file.
71294         * string/test-strstr.c: New file.
71295         * string/Makefile (strop-tests): Add strstr and strcasestr.
71296         * string/str-two-way.h: Don't undefine MAX.
71297         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
71299 2010-07-21  Andreas Schwab  <schwab@redhat.com>
71301         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
71302         strcasestr-nonascii.
71303         (CFLAGS-strcasestr-nonascii.c): Define.
71304         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
71305         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
71306         Remove unused attribute.
71308 2010-07-20  Roland McGrath  <roland@redhat.com>
71310         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
71311         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
71312         ld.so.cache was broken.  With it, there is no way to disable dsocaps
71313         like LD_HWCAP_MASK can disable hwcaps.
71315 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
71317         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
71319 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
71321         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
71322         call in strcasestr.
71323         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
71324         __strcasestr_sse42_nonascii.
71325         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
71326         strcasestr-nonascii.c.
71327         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
71329 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
71331         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
71332         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
71333         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
71334         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
71336 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
71338         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
71339         fcntl.
71341 2010-07-06  Andreas Schwab  <schwab@redhat.com>
71343         [BZ #11577]
71344         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
71345         dl_signal_cerror.
71347 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
71349         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
71350         _PC_PIPE_BUF using F_GETPIPE_SZ.
71352 2010-07-05  Roland McGrath  <roland@redhat.com>
71354         * manual/arith.texi (Rounding Functions): Fix rint description
71355         implicit in round description.
71357 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
71359         * elf/Makefile: Fix linking for a few tests to make recent linker
71360         happy.
71362 2010-06-30  Andreas Schwab  <schwab@redhat.com>
71364         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
71365         $(common-objpfx)libc_nonshared.a.
71367 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
71369         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
71370         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
71371         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
71372         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
71373         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
71374         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
71375         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
71376         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
71377         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
71378         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
71379         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
71380         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
71381         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
71382         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
71383         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
71384         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
71385         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
71386         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
71387         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
71388         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
71389         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
71390         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
71391         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
71392         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
71393         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
71394         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
71395         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
71396         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
71397         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
71398         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
71399         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
71400         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
71401         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
71402         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
71403         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
71404         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
71405         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
71406         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
71407         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
71408         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
71409         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
71410         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
71411         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
71412         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
71413         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
71414         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
71415         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
71416         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
71418 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
71420         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
71421         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
71422         * string/memmove.c (memmove): Renamed to ...
71423         (MEMMOVE): ...this.  Default to memmove.
71424         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
71425         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
71426         (END_CHK): Define.
71427         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
71428         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
71429         mempcpy-ssse3-back memmove-ssse3-back.
71430         * sysdeps/x86_64/multiarch/bcopy.S: New file .
71431         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
71432         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
71433         * sysdeps/x86_64/multiarch/memcpy.S: New file.
71434         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
71435         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
71436         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
71437         * sysdeps/x86_64/multiarch/memmove.c: New file.
71438         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
71439         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
71440         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
71441         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
71442         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
71443         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
71444         Define.
71445         (index_Fast_Copy_Backward): Define.
71446         (HAS_ARCH_FEATURE): Define.
71447         (HAS_FAST_REP_STRING): Define.
71448         (HAS_FAST_COPY_BACKWARD): Define.
71450 2010-06-21  Andreas Schwab  <schwab@redhat.com>
71452         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
71453         Restore proper fallback handling.
71455 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
71457         [BZ #11701]
71458         * posix/group_member.c (__group_member): Correct checking loop.
71460         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
71461         OOM in getpwuid_r correctly.  Return error number when the caller
71462         should return, otherwise -1.
71463         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
71464         call returning > 0 value.
71465         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
71467 2010-06-07  Andreas Schwab  <schwab@redhat.com>
71469         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
71470         libc_nonshared.a from targets in modules-names.
71472 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
71474         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
71475         requires it.
71477 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
71479         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
71480         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
71481         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
71482         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
71484 2010-06-02  Andreas Schwab  <schwab@redhat.com>
71486         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
71488 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
71490         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
71491         and F_GETPIPE_SZ.
71492         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
71493         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
71494         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
71495         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
71496         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
71497         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
71499 2010-06-14  Roland McGrath  <roland@redhat.com>
71501         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
71503 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
71505         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
71506         __REDIRECT followed by __THROW.
71507         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
71508         * posix/getopt.h (getopt): Likewise.
71510 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
71512         * hurd/lookup-at.c (__file_name_lookup_at): Accept
71513         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
71514         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
71515         in AT_FLAGS.
71516         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
71517         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
71519 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
71521         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
71523 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
71525         [BZ #11640]
71526         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
71527         Properly check family and model.
71529 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
71531         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
71533 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
71535         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
71537 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
71539         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
71540         symbol reference.
71542 2010-05-19  Andreas Schwab  <schwab@redhat.com>
71544         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
71545         symbol reference.
71547 2010-05-21  Andreas Schwab  <schwab@redhat.com>
71549         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
71550         and internal_recvmmsg.
71551         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
71552         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
71553         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
71554         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
71556         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
71557         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
71558         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
71560 2010-05-20  Andreas Schwab  <schwab@redhat.com>
71562         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
71564 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
71566         POWER7 optimizations.
71567         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
71568         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
71570 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
71572         * version.h: Update for 2.13 development version.
71574 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
71576         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
71577         exceptions.  Return 0.
71579 2010-05-07  Roland McGrath  <roland@redhat.com>
71581         * elf/ldconfig.c (main): Add a const.
71583 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
71585         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
71586         (args_options): Add no-idn option.
71587         (ahosts_keys_int): Add idn_flags to ai_flags.
71588         (parse_option): Handle 'i' option to clear idn_flags.
71590         * malloc/malloc.c (_int_free): Possible race in the most recently
71591         added check.  Only act on the data if no current modification
71592         happened.
71594 See ChangeLog.17 for earlier changes.