powerpc: Add hwcap2 bits for POWER9.
[glibc.git] / ChangeLog
blobdf4d15a2450cb42ec846b2bca71a1464523a6464
1 2016-01-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
3         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_ARCH_3_00 and
4         PPC_FEATURE2_HAS_IEEE128.
5         * sysdeps/powerpc/dl-procinfo.c:
6         (_dl_powerpc_cap_flags): Add corresponding names to new capabilities.
8 2016-01-08  John David Anglin  <danglin@gcc.gnu.org>
10         [BZ #19415]
11         * sysdeps/hppa/dl-fptr.c (_dl_fixup): Declare.
12         (elf_machine_resolve): New.  Return address of _dl_runtime_resolve.
13         (_dl_lookup_address): Rewrite using function resolver trampoline.
14         * sysdeps/hppa/dl-lookupcfg.h (DL_LOOKUP_ADDRESS): Don't clear bottom
15         two bits in address.
17 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
19         * longlong.h: Change !__SHMEDIA__ to
20         (!defined (__SHMEDIA__) || !__SHMEDIA__).
21         Change __SHMEDIA__ to defined (__SHMEDIA__) && __SHMEDIA__.
23 2016-01-07  Daniel Jacobowitz  <dan@codesourcery.com>
24             Joseph Myers  <joseph@codesourcery.com>
25             Mark Shinwell  <shinwell@codesourcery.com>
26             Andrew Stubbs  <ams@codesourcery.com>
27             Rich Felker <dalias@libc.org>
29         * longlong.h (udiv_qrnnd): Add FDPIC compatible version for SH.
31 2016-01-07  Richard Henderson  <rth@redhat.com>
33         * longlong.h [__alpha] (umul_ppmm): Disable for c++.
35 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
37         * sysdeps/unix/sysv/linux/fxstat64.c (___fxstat64): Change
38         __ASSUME_ST_INO_64_BIT == 0 to !defined __ASSUME_ST_INO_64_BIT.
39         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
40         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
41         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat32_conv): Likewise.
43 2016-01-07  Paul Eggert  <eggert@cs.ucla.edu>
44             Joseph Myers  <joseph@codesourcery.com>
46         * timezone/private.h: Update from tzcode 2015g.
47         * timezone/tzfile.h: Likewise.
48         * timezone/tzselect.ksh: Likewise.
49         * timezone/zdump.c: Likewise.
50         * timezone/zic.c: Likewise.
51         * timezone/ialloc.c: Remove file.
52         * timezone/scheck.c: Likewise.
53         * timezone/Makefile (extra-objs): Remove variable.
54         ($(objpfx)zic): Do not depend on scheck.o and ialloc.o.
55         (tz-cflags): Add -DHAVE_GETTEXT -DUSE_LTZ=0
56         -Wno-maybe-uninitialized.
57         (CFLAGS-zdump.c): Remove -fwrapv -DNOID -DHAVE_GETTEXT.
58         (CFLAGS-zic.c): Remove -DNOID -DHAVE_GETTEXT.
59         (CFLAGS-ialloc.c): Remove variable.
60         (CFLAGS-scheck.c): Likewise.
61         * timezone/README: Update list of files from tzcode.
63 2016-01-07  Khem Raj  <raj.khem@gmail.com>
65         * argp/argp-fmtstream.c (__argp_fmtstream_free): Use fwrite_unlocked
66         instead of __fxprintf when _LIBC is undefined.
68 2016-01-07  Marko Myllynen  <myllynen@redhat.com>
70         * catgets/test-gencat.sh: Remove space after shebang.
71         * conform/GlibcConform.pm: Likewise.
72         * conform/check-header-lists.sh: Likewise.
73         * conform/conformtest.pl: Likewise.
74         * conform/linknamespace.pl: Likewise.
75         * conform/list-header-symbols.pl: Likewise.
76         * debug/catchsegv.sh: Likewise.
77         * elf/genrtldtbl.awk: Likewise.
78         * elf/tst-pathopt.sh: Likewise.
79         * elf/tst-rtld-load-self.sh: Likewise.
80         * grp/tst_fgetgrent.sh: Likewise.
81         * iconvdata/gen-8bit-gap-1.sh: Likewise.
82         * iconvdata/gen-8bit-gap.sh: Likewise.
83         * iconvdata/gen-8bit.sh: Likewise.
84         * iconvdata/run-iconv-test.sh: Likewise.
85         * intl/tst-gettext.sh: Likewise.
86         * intl/tst-gettext2.sh: Likewise.
87         * intl/tst-gettext4.sh: Likewise.
88         * intl/tst-gettext6.sh: Likewise.
89         * intl/tst-translit.sh: Likewise.
90         * io/ftwtest-sh: Likewise.
91         * libio/test-freopen.sh: Likewise.
92         * locale/gen-translit.pl: Likewise.
93         * malloc/tst-mtrace.sh: Likewise.
94         * manual/check-safety.sh: Likewise.
95         * manual/libc-texinfo.sh: Likewise.
96         * manual/tsort.awk: Likewise.
97         * manual/xtract-typefun.awk: Likewise.
98         * nptl/tst-cancel-wrappers.sh: Likewise.
99         * nptl/tst-tls6.sh: Likewise.
100         * posix/globtest.sh: Likewise.
101         * posix/tst-getconf.sh: Likewise.
102         * posix/wordexp-tst.sh: Likewise.
103         * scripts/check-c++-types.sh: Likewise.
104         * scripts/check-local-headers.sh: Likewise.
105         * scripts/config.guess: Likewise.
106         * scripts/config.sub: Likewise.
107         * scripts/cpp: Likewise.
108         * scripts/cross-test-ssh.sh: Likewise.
109         * scripts/documented.sh: Likewise.
110         * scripts/evaluate-test.sh: Likewise.
111         * scripts/gen-libc-abis: Likewise.
112         * scripts/gen-sorted.awk: Likewise.
113         * scripts/list-fixed-bugs.py: Likewise.
114         * scripts/merge-test-results.sh: Likewise.
115         * scripts/mkinstalldirs: Likewise.
116         * scripts/rellns-sh: Likewise.
117         * scripts/test-installation.pl: Likewise.
118         * scripts/update-copyrights: Likewise.
119         * stdio-common/tst-printf.sh: Likewise.
120         * stdio-common/tst-unbputc.sh: Likewise.
121         * stdlib/tst-fmtmsg.sh: Likewise.
122         * stdlib/tst-setcontext3.sh: Likewise.
123         * sysdeps/i386/tst-ld-sse-use.sh: Likewise.
124         * sysdeps/unix/make-syscalls.sh: Likewise.
126 2016-01-06  John David Anglin  <dave.anglin@bell.net>
128         * sysdeps/hppa/nptl/pthread_spin_init.c (pthread_spin_init): Replace
129         asm stw with atomic_exchange_rel.  Add explanatory comment.
130         * sysdeps/hppa/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
131         Likewise.
133 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
135         [BZ #19122]
136         * include/unistd.h [IS_IN (rtld)]: Include <dl-unistd.h>.
137         * sysdeps/generic/dl-unistd.h: New file.
138         * sysdeps/mach/hurd/dl-unistd.h: Likewise.
140 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
142          [BZ #19122]
143          * include/sys/mman.h [IS_IN (rtld)]: Include <dl-mman.h>.
144          * sysdeps/generic/dl-mman.h: New file.
145          * sysdeps/mach/hurd/dl-mman.h: Likewise.
147 2016-01-05  Joseph Myers  <joseph@codesourcery.com>
149         * manual/texinfo.tex: Update to version 2016-01-04.21 with
150         trailing whitespace removed.
151         * scripts/config.guess: Update to version 2016-01-01.
152         * scripts/config.sub: Update to version 2016-01-01.
153         * scripts/move-if-change: Update from gnulib.
155 2016-01-04  Anton Blanchard  <anton@samba.org>
157         * sysdeps/ieee754/dbl-64/e_pow.c (log1): Use unsigned int
158         for array indices.
159         * sysdeps/ieee754/dbl-64/e_pow.c (my_log2): Likewise.
161 2016-01-04  Joseph Myers  <joseph@codesourcery.com>
163         * NEWS: Update copyright dates.
164         * catgets/gencat.c (print_version): Likewise.
165         * csu/version.c (banner): Likewise.
166         * debug/catchsegv.sh: Likewise.
167         * debug/pcprofiledump.c (print_version): Likewise.
168         * debug/xtrace.sh (do_version): Likewise.
169         * elf/ldconfig.c (print_version): Likewise.
170         * elf/ldd.bash.in: Likewise.
171         * elf/pldd.c (print_version): Likewise.
172         * elf/sotruss.sh: Likewise.
173         * elf/sprof.c (print_version): Likewise.
174         * iconv/iconv_prog.c (print_version): Likewise.
175         * iconv/iconvconfig.c (print_version): Likewise.
176         * locale/programs/locale.c (print_version): Likewise.
177         * locale/programs/localedef.c (print_version): Likewise.
178         * login/programs/pt_chown.c (print_version): Likewise.
179         * malloc/memusage.sh (do_version): Likewise.
180         * malloc/memusagestat.c (print_version): Likewise.
181         * malloc/mtrace.pl: Likewise.
182         * manual/libc.texinfo: Likewise.
183         * nptl/version.c (banner): Likewise.
184         * nscd/nscd.c (print_version): Likewise.
185         * nss/getent.c (print_version): Likewise.
186         * nss/makedb.c (print_version): Likewise.
187         * posix/getconf.c (main): Likewise.
188         * scripts/test-installation.pl: Likewise.
189         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
191         * All files with FSF copyright notices: Update copyright dates
192         using scripts/update-copyrights.
193         * intl/plural.c: Regenerated.
194         * locale/programs/charmap-kw.h: Likewise.
195         * locale/programs/locfile-kw.h: Likewise.
197 2016-01-02  Helge Deller  <deller@gmx.de>
199         [BZ #19285]
200         * sysdeps/unix/sysv/linux/hppa/bits/mman.h (MAP_STACK): Define.
201         (MAP_HUGETLB, MCL_ONFAULT): Likewise.
202         (MADV_HUGEPAGE, MADV_NOHUGEPAGE, MADV_DONTDUMP, MADV_DODUMP): Likewise.
203         (MADV_xxK_PAGES): Remove.
205 2016-01-01  Mike Frysinger  <vapier@gentoo.org>
207         [BZ #15421]
208         * sysdeps/ia64/fpu/w_lgamma_main.c: Include math.h & math_private.h.
209         [BUILD_LGAMMA]: Wrap all code by define.  Re-indent sub-preprocessor.
210         * sysdeps/ia64/fpu/w_lgammaf_main.c: Likewise.
211         * sysdeps/ia64/fpu/w_lgammal_main.c: Likewise.
213 2015-12-30  Dmitry V. Levin  <ldv@altlinux.org>
215         [BZ #19408]
216         * sysdeps/unix/sysv/linux/personality.c: New file.
217         * sysdeps/unix/sysv/linux/sparc/sparc64/personality.c: Likewise.
218         * sysdeps/unix/sysv/linux/tst-personality.c: Likewise.
219         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == misc]
220         (sysdep_routines): Add personality.
221         (tests): Add tst-personality.
222         * sysdeps/unix/sysv/linux/syscalls.list (personality): Move ...
223         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ... here.
224         * sysdeps/unix/sysv/linux/arm/syscalls.list (personality): New entry.
225         * sysdeps/unix/sysv/linux/hppa/syscalls.list (personality): Likewise.
226         * sysdeps/unix/sysv/linux/i386/syscalls.list (personality): Likewise.
227         * sysdeps/unix/sysv/linux/m68k/syscalls.list (personality): Likewise.
228         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (personality):
229         Likewise.
230         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (personality):
231         Likewise.
232         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (personality):
233         Likewise.
234         * sysdeps/unix/sysv/linux/sh/syscalls.list (personality): Likewise.
235         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (personality):
236         Likewise.
238 2015-12-30  Aurelien Jarno  <aurelien@aurel32.net>
240         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include <string.h>.
241         (PATH_ARM_SYSTYPE): Remove.
242         (PATH_CPUINFO): Likewise.
243         (IO_BASE_FOOTBRIDGE): Likewise.
244         (IO_SHIFT_FOOTBRIDGE): Likewise.
245         (struct platform): Likewise.
246         (init_iosys): Remove compatibility code for 2.4 kernels.
247         * sysdeps/unix/sysv/linux/arm/localplt.data: Remove fscanf.
249 2015-12-29  Florian Weimer  <fweimer@redhat.com>
251         * malloc/tst-malloc-thread-fail.c: New file.
252         * malloc/Makefile (tests): Add tst-malloc-thread-fail.
253         (tst-malloc-thread-fail): Link against libpthread.
255 2015-12-29  Mike Frysinger  <vapier@gentoo.org>
257         * scripts/list-fixed-bugs.py: Import argparse.  Call main instead.
258         (get_parser): New function.
259         (main): New function.
261 2015-12-29  Rob Wu  <rob@robwu.nl>
263         [BZ #19369]
264         * resolv/res_init.c (__res_vinit): Reset defdname before use.
266 2015-12-29  John David Anglin  <danglin@gcc.gnu.org>
268         [BZ #19270]
269         * sysdeps/hppa/fpu/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
271 2015-12-28  Mike Frysinger  <vapier@gentoo.org>
273         [BZ #15421]
274         * sysdeps/ia64/fpu/w_lgamma_main.c: Change gammaf to gamma.
276 2015-12-23  Torvald Riegel  <triegel@redhat.com>
278         [BZ #13690]
279         * sysdeps/nptl/lowlevellock.h (__lll_unlock): Do not access the lock
280         after releasing it.
281         (__lll_robust_unlock): Likewise.
282         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
283         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_unlock): Likewise.
284         (lll_robust_unlock): Likewise.
285         * sysdeps/unix/sysv/linux/lowlevellock-futex.h (__lll_private_flag):
286         Prevent warnings in callers.
288 2015-12-23  Florian Weimer  <fweimer@redhat.com>
290         * malloc/arena.c (list_lock): Update comment.
292 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
294         * sysdeps/powerpc/hwcapinfo.c: Export symbol
295         __parse_hwcap_and_convert_at_platform to libc.a.
297 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
299         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Added
300         platform and feature support for POWER9.
301         * sysdeps/powerpc/dl-procinfo.h: Likewise.
302         * sysdeps/powerpc/powerpc32/power9/Implies: New file.
303         * sysdeps/powerpc/powerpc32/power9/fpu/multiarch/Implies: Likewise.
304         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Likewise.
305         * sysdeps/powerpc/powerpc64/power9/Implies: Likewise, for powerpc64.
306         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
307         * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
308         * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
310 2015-12-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
312         Harmonize generic stdio-lock support with nptl
314         This fixes build when _IO_funlockfile is a macro, fixes build where
315         _IO_acquire_lock_clear_flags2 is used, and fixes unlocking on unexpected
316         stack unwind.
318         * sysdeps/generic/stdio-lock.h [__EXCEPTIONS] (_IO_acquire_lock,
319         _IO_release_lock ): Use cleanup attribute on new
320         _IO_acquire_lock_file variable instead of assuming that
321         _IO_release_lock will be called.
322         [!__EXCEPTIONS] (_IO_acquire_lock): Define to non-existing
323         _IO_acquire_lock_needs_exceptions_enabled.
324         (_IO_acquire_lock_clear_flags2): New macro.
326 2015-12-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
328         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
330 2015-12-21  Florian Weimer  <fweimer@redhat.com>
332         [BZ #19182]
333         * malloc/arena.c (list_lock): Document lock ordering requirements.
334         (free_list_lock): New lock.
335         (ptmalloc_lock_all): Comment on free_list_lock.
336         (ptmalloc_unlock_all2): Reinitialize free_list_lock.
337         (detach_arena): Update comment.  free_list_lock is now needed.
338         (_int_new_arena): Use free_list_lock around detach_arena call.
339         Acquire arena lock after list_lock.  Add comment, including FIXME
340         about incorrect synchronization.
341         (get_free_list): Switch to free_list_lock.
342         (reused_arena): Acquire free_list_lock around detach_arena call
343         and attached threads counter update.  Add two FIXMEs about
344         incorrect synchronization.
345         (arena_thread_freeres): Switch to free_list_lock.
346         * malloc/malloc.c (struct malloc_state): Update comments to
347         mention free_list_lock.
349 2015-12-21  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
351         * sysdeps/ieee754/dbl-64/s_sin.c (csloww, csloww1, csloww2):
352         Remove functions.
353         (sloww, sloww1): Accept argument to offset quadrant.
354         (sloww, sloww1, sloww2): Call __mpsin or __mpcos based on
355         quadrant.
356         (__sin, __cos): Consolidate common code into new functions.
357         (reduce_sincos_1, do_sincos_1): New functions.
358         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
360         * sysdeps/ieee754/dbl-64/s_sin.c (__sin, __cos): Move common
361         code to new functions.
362         (reduce_sincos_2, do_sincos_2): New functions.
363         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
365         * sysdeps/ieee754/dbl-64/s_sin.c (__sin) [!IN_SINCOS]: Skip
366         common code for sincos.
367         (__cos) [!IN_SINCOS]: Likewise.
368         * sysdeps/ieee754/dbl-64/s_sincos.c (reduce_and_compute_sincos):
369         New function.
370         (__sincos): Use it.
372 2015-12-20  Aurelien Jarno  <aurelien@aurel32.net>
374         * sysdeps/i386/fpu/libm-test-ulps: Move to ....
375         * sysdeps/i386/i686/multiarch/fpu/libm-test-ulps: ...here.
376         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
378 2015-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
380         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: New file.
381         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new file.
382         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
383         * sysdeps/x86_64/multiarch/memset.S: Added new IFUNC branch.
384         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
385         * sysdeps/x86/cpu-features.h (bit_Prefer_No_VZEROUPPER,
386         index_Prefer_No_VZEROUPPER): New feature.
387         * sysdeps/x86/cpu-features.c (init_cpu_features): Set the
388         Prefer_No_VZEROUPPER for Knights Landing.
390 015-12-18  Torvald Riegel  <triegel@redhat.com>
392         * math/atest-exp2.c (mp_exp_m1): Remove.
394 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
396         * sysdeps/unix/sysdep.h (SYSCALL_CANCEL): Fix macro for zero argument
397         syscalls.
398         (__SYSCALL0): New macro.
399         (__SYSCALL1): Likewise.
400         (__SYSCALL2): Likewise.
401         (__SYSCALL3): Likewise.
402         (__SYSCALL4): Likewise.
403         (__SYSCALL5): Likewise.
404         (__SYSCALL6): Likewise.
405         (__SYSCALL_CONCAT_X): Likewise.
406         (__SYSCALL_CONCAT): Likewise.
407         (__SYSCALL_DIST): Likewise.
408         (__SYSCALL_CALL): Likewise.
410 2015-12-17  H.J. Lu  <hongjiu.lu@intel.com>
412         [BZ #19363]
413         * sysdeps/unix/sysv/linux/x86_64/x32/times.c: New file.
415 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
417         [BZ #19375]
418         * sysdeps/powerpc/power7/fpu/s_logb.c (__logb): Fix return for
419         negative subnormals.
421 2015-12-16  H.J. Lu  <hongjiu.lu@intel.com>
423         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
424         (REGISTERS_CLOBBERED_BY_SYSCALL): New.
425         (INTERNAL_SYSCALL_NCS): Use it.
426         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
428 2015-12-16  Florian Weimer  <fweimer@redhat.com>
430         [BZ #19243]
431         * malloc/arena.c (get_free_list): Remove assert and adjust
432         reference count handling.  Add comment about reused_arena
433         interaction.
434         (reused_arena): Add comments abount get_free_list interaction.
435         * malloc/tst-malloc-thread-exit.c: New file.
436         * malloc/Makefile (tests): Add tst-malloc-thread-exit.
437         (tst-malloc-thread-exit): Link against libpthread.
439 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
441         [BZ #19367]
442         * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: New file.
443         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h: Likewise.
444         * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
445         * sysdeps/x86/cpu-features.h (bit_Prefer_MAP_32BIT_EXEC): New.
446         (index_Prefer_MAP_32BIT_EXEC): Likewise.
448 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
450         * sysdeps/x86/cpu-features.c (init_cpu_features): Enable
451         Silvermont optimizations for Knights Landing.
453 2015-12-15  Andreas Schwab  <schwab@suse.de>
455         [BZ #17197]
456         * iconvdata/ibm930.c (BODY for TO_LOOP): Record current DBCS state
457         immediately after emitting SI.
458         * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
459         * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
460         * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
461         * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
462         * iconvdata/bug-iconv10.c: New file.
463         * iconvdata/Makefile (tests): Add bug-iconv10.
464         ($(objpfx)bug-iconv10.out): New rule.
466 2015-12-15  Florian Weimer  <fweimer@redhat.com>
468         * dlfcn/tst-rec-dlopen.c (call_func): Cast dlsym result, fixing an
469         aliasing violation.
471 2015-12-14  Joseph Myers  <joseph@codesourcery.com>
473         [BZ #18472]
474         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Handle entries
475         for the form NAME@VERSION:OBSOLETED and generate SHLIB_COMPAT
476         conditionals for them.
477         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Likewise.
478         * sysdeps/unix/sysv/linux/sys/kdaemon.h: Remove file.
479         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
480         sys/kdaemon.h.
481         * sysdeps/unix/sysv/linux/syscalls.list (bdflush): Make into
482         compat-only syscall, obsoleted in glibc 2.23.
483         (create_module): Likewise.
484         (get_kernel_syms): Likewise.
485         (query_module): Likewise.
486         (uselib): Likewise.
487         * manual/sysinfo.texi (System Parameters): Do not mention bdflush.
489 2015-12-11  Aurelien Jarno  <aurelien@aurel32.net>
491         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include
492         <linux/version.h>.
493         [LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,23)]: Remove
494         conditional code.
495         (init_iosys): Use CTL_BUS_ISA instead of BUS_ISA in iobase_name
496         and ioshift_name initialization.
498 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
500         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
501         Fix indentation.
503 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
505         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Fix indentation.
507 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
509         * stdlib/strtol_l.c (__strtol_l): Fix indentation.
511 2015-12-10  Aurelien Jarno  <aurelien@aurel32.net>
512             Jakub Wilk  <jwilk@debian.org>
514         [BZ #19347]
515         * sysdeps/unix/grantpt.c [!HAVE_PT_CHOWN] (grantpt): Do not try
516         to change the group of the device to the tty group.
518 2015-12-10  Paul Eggert  <eggert@cs.ucla.edu>
520         Split large string section; add truncation advice
521         * manual/examples/strncat.c: Remove.
522         This example was misleading, as the code would have undefined
523         behavior if "hello" was longer than SIZE.  Anyway, the manual
524         shouldn't encourage strncpy+strncat for this sort of thing.
525         * manual/string.texi (Copying Strings and Arrays): Split into
526         three sections Copying Strings and Arrays, Concatenating Strings,
527         and Truncating Strings, as this section was way too long.  All
528         cross-referenced changed.  Add advice about string-truncation
529         functions.  Remove misleading strncat example.
531 2015-12-10  Carlos O'Donell  <carlos@redhat.com>
533         * manual/nss.texi (NSS Modules Interface): Document
534         NSS_STATUS_NOTFOUND and SUCCESS.
536 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
538         [BZ 18568]
539         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
540         201505L, for Unicode 8.
542 2015-12-09  Carlos O'Donell  <carlos@redhat.com>
544         * locale/C-translit.h: Regenerate.
546 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
548         * locale/C-translit.h.in: Remove duplicate transliterations for U+0152
549         and U+0153.
551 2015-12-09  Joseph Myers  <joseph@codesourcery.com>
553         [BZ #19351]
554         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): When
555         expanding log(1+z), compare z rather than its square with epsilon
556         to determine when to avoid evaluating the expansion.
558         [BZ #19350]
559         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
560         Increase overflow threshold.
562         [BZ #19349]
563         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Return argument
564         when small.
566         * sysdeps/unix/sysv/linux/i386/kernel-features.h
567         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
568         New macro.
569         [__LINUX_KERNEL_VERSION >= 0x040300]
570         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
571         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
572         Likewise.
573         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
574         Likewise.
575         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
576         Likewise.
577         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
578         Likewise.
579         [__LINUX_KERNEL_VERSION >= 0x040300]
580         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
581         [__LINUX_KERNEL_VERSION >= 0x040300]
582         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
583         [__LINUX_KERNEL_VERSION >= 0x040300]
584         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
585         [__LINUX_KERNEL_VERSION >= 0x040300]
586         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
587         [__LINUX_KERNEL_VERSION >= 0x040300]
588         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
589         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
590         Likewise.
591         [__LINUX_KERNEL_VERSION >= 0x040300]
592         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
593         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
594         Likewise.
595         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
596         Likewise.
597         [__LINUX_KERNEL_VERSION >= 0x040300]
598         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
599         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
600         Likewise.
601         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
602         Likewise.
603         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
604         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMMSG_SYSCALL):
605         Likewise.
606         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMMSG_SYSCALL):
607         Likewise.
608         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
609         Likewise.
610         [__LINUX_KERNEL_VERSION >= 0x040300]
611         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
612         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
613         Likewise.
614         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
615         Likewise.
616         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
617         Likewise.
618         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
619         Likewise.
620         [__LINUX_KERNEL_VERSION >= 0x040300]
621         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
622         [__LINUX_KERNEL_VERSION >= 0x040300]
623         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
624         [__LINUX_KERNEL_VERSION >= 0x040300]
625         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
626         [__LINUX_KERNEL_VERSION >= 0x040300]
627         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
628         [__LINUX_KERNEL_VERSION >= 0x040300]
629         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
630         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
631         Likewise.
632         [__LINUX_KERNEL_VERSION >= 0x040300]
633         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
634         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
635         Likewise.
636         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
637         Likewise.
638         [__LINUX_KERNEL_VERSION >= 0x040300]
639         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
640         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
641         Likewise.
642         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
643         Likewise.
644         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
645         (__ASSUME_SOCKET_SYSCALL): Likewise.
646         (__ASSUME_BIND_SYSCALL): Likewise.
647         (__ASSUME_CONNECT_SYSCALL): Likewise.
648         (__ASSUME_LISTEN_SYSCALL): Likewise.
649         (__ASSUME_ACCEPT_SYSCALL): Likewise.
650         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
651         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
652         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
653         (__ASSUME_SEND_SYSCALL): Likewise.
654         (__ASSUME_SENDTO_SYSCALL): Likewise.
655         (__ASSUME_RECV_SYSCALL): Likewise.
656         (__ASSUME_RECVFROM_SYSCALL): Likewise.
657         (__ASSUME_SHUTDOWN_SYSCALL): Likewise.
658         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
659         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
660         (__ASSUME_SENDMSG_SYSCALL): Likewise.
661         (__ASSUME_RECVMSG_SYSCALL): Likewise.
662         * sysdeps/unix/sysv/linux/sh/kernel-features.h
663         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SOCKET_SYSCALL):
664         Likewise.
665         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_BIND_SYSCALL):
666         Likewise.
667         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_CONNECT_SYSCALL):
668         Likewise.
669         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_LISTEN_SYSCALL):
670         Likewise.
671         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_ACCEPT_SYSCALL):
672         Likewise.
673         [__LINUX_KERNEL_VERSION >= 0x020625]
674         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
675         [__LINUX_KERNEL_VERSION >= 0x020625]
676         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
677         [__LINUX_KERNEL_VERSION >= 0x020625]
678         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
679         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SEND_SYSCALL):
680         Likewise.
681         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDTO_SYSCALL):
682         Likewise.
683         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECV_SYSCALL):
684         Likewise.
685         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVFROM_SYSCALL):
686         Likewise.
687         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SHUTDOWN_SYSCALL):
688         Likewise.
689         [__LINUX_KERNEL_VERSION >= 0x020625]
690         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
691         [__LINUX_KERNEL_VERSION >= 0x020625]
692         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
693         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDMSG_SYSCALL):
694         Likewise.
695         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVMSG_SYSCALL):
696         Likewise.
698 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
700         * sysdeps/unix/sysv/linux/mips/configure.ac (has-mpf64): Define to
701         record the current if the current ABI and CPU support the FP64
702         extension.
703         (has-modd-spreg): Define to record the current if the current ABI and
704         CPU support 32-bit floating point values in odd FPU registers.
705         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
706         * sysdeps/mips/Makefile (tst-abi-fpxxomod): Only build when
707         $(has-modd-spreg) equals yes.
708         (tst-abi-fp64amod): Only build when $(has-mpf64) equals yes.
709         (tst-abi-fp64mod): Only build when both $(has-mpf64) and
710         $(has-modd-spreg) equal yes.
712 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
714         * sysdeps/unix/grantpt.c (grantpt): Call__basename instead of
715         basename.
717 2015-12-08  Siddhesh Poyarekar  <sid@reserved-bit.com>
719         * benchtests/Makefile (bench-math): Move ffs and ffsll...
720         (bench-string): ... here.
721         (bench): Add bench-string.
722         (string-bench, wcsmbs-bench, stdlib-bench, stdio-common-bench): Rename
723         to *-benchset to reflect what they are.
724         (benchset): Adjust.
726         * benchtests/sincos-inputs: Add inputs from sin-inputs and
727         cos-inputs.
729 2015-12-07  Andrew Senkevich  <andrew.senkevich@intel.com>
731         * sysdeps/x86/fpu/bits/math-vector.h: W/o -fopenmp use GCC 6.*
732         __attribute__ ((__simd__)) for vector math function declarations.
734 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
736         Fix typo in strncat, wcsncat manual entries
737         * manual/string.texi (Copying and Concatenation): Fix typos in
738         sample implementations of strncat and wcsncat, by having them use
739         the old value of the destination length, not the new one.
741 2015-12-04  Joseph Myers  <joseph@codesourcery.com>
743         [BZ #16961]
744         [BZ #16962]
745         * math/s_nan.c (__nan): Use __strtod_nan instead of constructing a
746         string on the stack for strtod.
747         * math/s_nanf.c (__nanf): Use __strtof_nan instead of constructing
748         a string on the stack for strtof.
749         * math/s_nanl.c (__nanl): Use __strtold_nan instead of
750         constructing a string on the stack for strtold.
751         * stdlib/Versions (libc): Add __strtof_nan, __strtod_nan and
752         __strtold_nan to GLIBC_PRIVATE.
753         * math/test-nan-overflow.c: New file.
754         * math/test-nan-payload.c: Likewise.
755         * math/Makefile (tests): Add test-nan-overflow and
756         test-nan-payload.
758 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
760         Consistency about byte vs character in string.texi
761         * manual/string.texi (String and Array Utilities):
762         Distinguish more carefully among bytes, multibyte characters,
763         and wide characters.  Use "byte" when talking about C 'char',
764         to distinguish it more clearly from multibyte characters.
765         Say "wide character" or "multibyte character" instead of
766         "character", when a wide or multibyte character is intended.
767         Similarly for "multibyte string" versus "string".
768         Define these terms more carefully.
770 2015-12-03  Chris Metcalf  <cmetcalf@ezchip.com>
772         * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): New symbol.
773         * sysdeps/microblaze/math_private.h (LDBL_CLASSIFY_COMPAT):
774         Likewise.
775         * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
776         * sysdeps/nios2/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
777         * sysdeps/sh/math_private.h: New file.
778         * sysdeps/m68k/coldfire/fpu/math_private.h: Likewise.
779         * sysdeps/ieee754/dbl-64/s_finite.c [defined NO_LONG_DOUBLE &&
780         defined LDBL_CLASSIFY_COMPAT]: Create compat symbol for internal
781         long double function name.
782         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
783         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
784         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
785         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
786         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
787         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
788         Remove __finitel, __isinfl, and __isnanl.
789         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
790         Likewise.
791         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
792         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
793         Remove __finitel.
794         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
795         Likewise.
796         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
798 2015-12-03  Andrew Senkevich  <andrew.senkevich@intel.com>
800         * math/Makefile ($(inst_libdir)/libm.so): Corrected path to
801         installed libmvec_nonshared.a.
803 2015-12-03  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
805         * sysdeps/powerpc/Makefile (sysdep-dl-routines): Add hwcapinfo.
806         (sysdep_routines): Likewise.
807         (sysdep-rtld-routines): Likewise.
808         [$(subdir) = nptl](tests): Add test-get_hwcap and test-get_hwcap-static
809         [$(subdir) = nptl](tests-static): test-get_hwcap-static
810         * sysdeps/powerpc/Versions: Added new
811         __parse_hwcap_and_convert_at_platform symbol to GLIBC-2.23.
812         * sysdeps/powerpc/hwcapinfo.c: New file.
813         (__tcb_parse_hwcap_and_convert_at_platform): New function to initialize
814         and parse hwcap, hwcap2 and platform number information.
815         * sysdeps/powerpc/hwcapinfo.h: New file.  Creates global variables
816         to store HWCAP+HWCAP2 and platform number.
817         * sysdeps/powerpc/nptl/tcb-offsets.sym: Added new offsets
818         for HWCAP+HWCAP2 and platform number in the TCB.
819         * sysdeps/powerpc/nptl/tls.h: New functionality.  Stores
820         the HWCAP, HWCAP2 and platform number in the TCB.
821         (dtv): Added new fields for HWCAP+HWCAP2 and platform number.
822         (TLS_INIT_TP): Included calls to add the hwcap and
823         at_platform values in the TCB in TP initialization.
824         (TLS_DEFINE_INIT_TP): Likewise.
825         (THREAD_GET_HWCAP): New macro.
826         (THREAD_SET_HWCAP): Likewise.
827         (THREAD_GET_AT_PLATFORM): Likewise.
828         (THREAD_SET_AT_PLATFORM): Likewise.
829         * sysdeps/powerpc/powerpc32/dl-machine.h:
830         (dl_platform_init): New function that calls
831         __parse_hwcap_and_convert_at_platform for the dymanic linking case for
832         powerpc32.
833         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise, for powerpc64.
834         * sysdeps/powerpc/test-get_hwcap-static.c: New file.  Testcase for
835         this functionality, static linking case.
836         * sysdeps/powerpc/test-get_hwcap.c: New file.  Likewise, dynamic
837         linking case.
838         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Added call to
839         __parse_hwcap_and_convert_at_platform for the static linking case.
840         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist:
841         Included the new __parse_hwcap_and_convert_at_platform symbol in the
842         ABI list for GLIBC 2.23.
843         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist:
844         Likewise.
845         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist:
846         Likewise.
848 2015-12-02  Ludovic Courtès  <ludo@gnu.org>
850         * configure.ac: Use 'pwd -P' instead of '/bin/pwd'.
851         * configure: Regenerate.
852         * io/ftwtest-sh: Use 'pwd -P' instead of '/bin/pwd'.
853         * scripts/rellns-sh: Likewise.  Remove 'pwd' variable.
855 2015-12-02  Carlos O'Donell  <carlos@redhat.com>
857         * iconvdata/ibm930.c: Add comment explaining encoding uses.
858         * iconvdata/ibm933.c: Likewise.
859         * iconvdata/ibm935.c: Likewise.
860         * iconvdata/ibm937.c: Likewise.
861         * iconvdata/ibm939.c: Likewise.
863 2015-12-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
865         * nptl/tst-cancel20.c (do_one_test): Move the pipe closing after
866         pthread_join.
867         * nptl/tst-cancel21.c (tf): Likewise.
869 2015-12-01  H.J. Lu  <hongjiu.lu@intel.com>
871         [BZ #19313]
872         * bits/typesizes.h (__CPU_MASK_TYPE): New.
873         * sysdeps/mach/hurd/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
874         * sysdeps/nacl/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
875         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__CPU_MASK_TYPE):
876         Likewise.
877         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h (__CPU_MASK_TYPE):
878         Likewise.
879         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h (__CPU_MASK_TYPE):
880         Likewise.
881         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__CPU_MASK_TYPE):
882         Likewise.
883         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h (__CPU_MASK_TYPE):
884         * sysdeps/unix/sysv/linux/bits/sched.h (__cpu_mask): Replace
885         unsigned long int with __CPU_MASK_TYPE.
887 2015-12-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
889         * sysdeps/aarch64/libm-test-ulps: Regenerated.
891 2015-12-01  Joseph Myers  <joseph@codesourcery.com>
893         * sysdeps/ieee754/dbl-64/e_sqrt.c: Do not include uroot.h.
894         (__ieee754_sqrt): Use hex float constants instead of tm256.x and
895         t512.x.
896         * sysdeps/ieee754/dbl-64/uroot.h: Remove file.
898 2015-11-30  Amit Pawar  <amit.pawar@amd.com>
900         [BZ #19214]
901         * sysdeps/x86/cpu-features.c (get_common_indeces): Add an
902         argument to return extended model.  Update family and model
903         with extended family and model when family == 0x0f.
904         (init_cpu_features): Updated.
906 2015-11-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
908         The RPC interface used by mmap uses the unsigned vm_offset_t, not the
909         signed off_t, so 32bit bigger than 2GiB values are fine actually.
911         * sysdeps/mach/hurd/mmap64.c: New file.
913 2015-11-29  Thomas Schwinge  <thomas@codesourcery.com>
915         * sysdeps/mach/hurd/fork.c (__fork): Install correct number of send
916         rights for its main user thread in NEWTASK.
918 2015-11-28  Maciej W. Rozycki  <macro@imgtec.com>
920         * sysdeps/mips/fpu_control.h (_FPU_RESERVED): Include ABS2008.
921         (_FPU_DEFAULT, _FPU_IEEE) [__mips_nan2008]: Set ABS2008.
923 2015-11-27  Carlos O'Donell  <carlos@redhat.com>
925         [BZ #14259]
926         * Makeconfig: Rename localedir to complocaledir.
927         Rename inst_localedir to inst_complocaledir.
928         * aclocal.m4: Rename libc_cv_localedir to libc_cv_complocaledir.
929         * config.make.in: Use complocaledir and libc_cv_complocaledir.
930         * configure.ac: Use libc_cv_complocaledir.
931         * configure: Regenerate.
932         * locale/Makefile: Use complocaledir. Rename define -DLOCALEDIR to
933         -DCOMPLOCALEDIR.
934         * locale/findlocale.c: Use COMPLOCALEDIR.
935         * locale/loadarchive.c: Likewise.
936         * locale/programs/locale.c: Likewise.
937         * locale/programs/localedef.c: Likewise.
938         * locale/programs/locarchive.c: Likewise.
939         * localedata/Makefile: Use inst_complocaledir.
940         * sysdeps/gnu/configure: Regenerate.
941         * sysdeps/hppa/configure: Regenerate.
942         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
943         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
944         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
945         * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
946         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
947         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
948         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
950 2015-11-27  Andrew Senkevich  <andrew.senkevich@intel.com>
952         [BZ #19058]
953         * math/Makefile ($(inst_libdir)/libm.so): Added libmvec_nonshared.a to
954         AS_NEEDED.
955         * sysdeps/x86/fpu/bits/math-vector.h: Removed code with asm aliases
956         workaround.
957         * sysdeps/x86_64/fpu/Makefile (libmvec-support,
958         libmvec-static-only-routines): Added new file.
959         * sysdeps/x86_64/fpu/svml_finite_alias.S: New file.
961 2015-11-25  Samuel Thibault  <samuel.thibault@ens-lyon.org>
963         * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Destroy reply port
964         of interrupted RPC instead of restoring it.
966         * sysdeps/i386/setjmp.S (__sigsetjmp): Add hidden_def.
967         * sysdeps/mach/hurd/accept4.c (__libc_accept4): Remove
968         libc_hidden_def.
969         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Initialize to get
970         into initialized data instead of common. Define rtld_hidden_data_def.
971         * sysdeps/mach/hurd/fxstatat64.c (__fxstatat64): Add libc_hidden_def.
972         * sysdeps/mach/hurd/if_index.c (__if_freenameindex): Add
973         libc_hidden_def.
974         (if_freenameindex): Add libc_hidden_weak.
975         (if_nameindex): Add libc_hidden_weak.
976         * sysdeps/mach/hurd/open.c (_open64): Rename libc_hidden_weak into
977         __open64.
978         * sysdeps/mach/hurd/sigwait.c (__sigwait): Add libc_hidden_def.
979         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Add libc_hidden_def.
980         * sysdeps/mach/nanosleep.c: Include <time.h>
981         (__nanosleep): Rename to __libc_nanosleep.
982         (__nanosleep): Add weak_alias.
983         (nanosleep): Update alias.
985 2015-11-24  Joseph Myers  <joseph@codesourcery.com>
987         * stdlib/strtod_nan.c: New file.
988         * stdlib/strtod_nan_double.h: Likewise.
989         * stdlib/strtod_nan_float.h: Likewise.
990         * stdlib/strtod_nan_main.c: Likewise.
991         * stdlib/strtod_nan_narrow.h: Likewise.
992         * stdlib/strtod_nan_wide.h: Likewise.
993         * stdlib/strtof_nan.c: Likewise.
994         * stdlib/strtold_nan.c: Likewise.
995         * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Likewise.
996         * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Likewise.
997         * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Likewise.
998         * wcsmbs/wcstod_nan.c: Likewise.
999         * wcsmbs/wcstof_nan.c: Likewise.
1000         * wcsmbs/wcstold_nan.c: Likewise.
1001         * stdlib/Makefile (routines): Add strtof_nan, strtod_nan and
1002         strtold_nan.
1003         * wcsmbs/Makefile (routines): Add wcstod_nan, wcstold_nan and
1004         wcstof_nan.
1005         * include/stdlib.h (__strtof_nan): Declare and use
1006         libc_hidden_proto.
1007         (__strtod_nan): Likewise.
1008         (__strtold_nan): Likewise.
1009         (__wcstof_nan): Likewise.
1010         (__wcstod_nan): Likewise.
1011         (__wcstold_nan): Likewise.
1012         * include/wchar.h (____wcstoull_l_internal): Declare.
1013         * stdlib/strtod_l.c: Do not include <ieee754.h>.
1014         (____strtoull_l_internal): Remove declaration.
1015         (STRTOF_NAN): Define macro.
1016         (SET_MANTISSA): Remove macro.
1017         (STRTOULL): Likewise.
1018         (____STRTOF_INTERNAL): Use STRTOF_NAN to parse NaN payload.
1019         * stdlib/strtof_l.c (____strtoull_l_internal): Remove declaration.
1020         (STRTOF_NAN): Define macro.
1021         (SET_MANTISSA): Remove macro.
1022         * sysdeps/ieee754/ldbl-128/strtold_l.c (STRTOF_NAN): Define macro.
1023         (SET_MANTISSA): Remove macro.
1024         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (STRTOF_NAN): Define
1025         macro.
1026         (SET_MANTISSA): Remove macro.
1027         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (STRTOF_NAN): Define
1028         macro.
1029         (SET_MANTISSA): Remove macro.
1030         * sysdeps/ieee754/ldbl-96/strtold_l.c (STRTOF_NAN): Define macro.
1031         (SET_MANTISSA): Remove macro.
1032         * wcsmbs/wcstod_l.c (____wcstoull_l_internal): Remove declaration.
1033         * wcsmbs/wcstof_l.c (____wcstoull_l_internal): Likewise.
1034         * wcsmbs/wcstold_l.c (____wcstoull_l_internal): Likewise.
1036         [BZ #19266]
1037         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check directly for
1038         upper case and lower case letters inside NAN(), not using TOLOWER.
1039         * stdlib/tst-strtod-nan-locale-main.c: New file.
1040         * stdlib/tst-strtod-nan-locale.c: Likewise.
1041         * stdlib/Makefile (tests): Add tst-strtod-nan-locale.
1042         [$(run-built-tests) = yes] ($(objpfx)tst-strtod-nan-locale.out):
1043         Depend on $(gen-locales).
1044         ($(objpfx)tst-strtod-nan-locale): Depend on $(libm).
1045         * wcsmbs/tst-wcstod-nan-locale.c: New file.
1046         * wcsmbs/Makefile (tests): Add tst-wcstod-nan-locale.
1047         [$(run-built-tests) = yes] ($(objpfx)tst-wcstod-nan-locale.out):
1048         Depend on $(gen-locales).
1049         ($(objpfx)tst-wcstod-nan-locale): Depend on $(libm).
1051 2015-11-24  Chris Metcalf  <cmetcalf@ezchip.com>
1053         * misc/tst-tsearch.c (TIMEOUT): Set to 10.
1055         * sysdeps/tile/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
1056         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Add
1057         __finitel, __isinfl, and __isnanl.
1058         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
1059         Likewise.
1060         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
1061         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Add
1062         __finitel.
1063         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
1064         Likewise.
1065         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
1067 2015-11-24  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
1069         * malloc/memusage.c (me): Remove redundant getenv call.
1071 2015-10-24  Florian Weimer  <fweimer@redhat.com>
1073         [BZ #19143]
1074         [BZ #19164]
1075         * nptl/check-cpuset.h: Remove.
1076         * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
1077         Remove CPU set size check.
1078         * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
1079         Likewise.
1080         * sysdeps/unix/sysv/linux/check-cpuset.h: Remove.
1081         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
1082         (__kernel_cpumask_size, __determine_cpumask_size): Remove.
1083         (__pthread_setaffinity_new): Remove CPU set size check.
1084         * sysdeps/unix/sysv/linux/sched_setaffinity.c
1085         (__kernel_cpumask_size): Remove.
1086         (__sched_setaffinity_new): Remove CPU set size check.
1087         * manual/threads.texi (Default Thread Attributes): Remove stale
1088         reference to check_cpuset_attr, determine_cpumask_size in comment.
1089         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == posix] (tests):
1090         Remove tst-getcpu.  Add tst-affinity, tst-affinity-pid.
1091         [$(subdir) == nptl] (tests): Add tst-thread-affinity-pthread,
1092         tst-thread-affinity-pthread2, tst-thread-affinity-sched.
1093         * sysdeps/unix/sysv/linux/tst-affinity.c: New file.
1094         * sysdeps/unix/sysv/linux/tst-affinity-pid.c: New file.
1095         * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c: New skeleton test file.
1096         * sysdeps/unix/sysv/linux/tst-thread-affinity-sched.c: New file.
1097         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread.c: New file.
1098         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread2.c: New file.
1099         * sysdeps/unix/sysv/linux/tst-thread-skeleton-affinity.c: New
1100         skeleton test file.
1101         * sysdeps/unix/sysv/linux/tst-getcpu.c: Remove.  Superseded by
1102         tst-affinity-pid.
1104 2015-11-24  Florian Weimer  <fweimer@redhat.com>
1106         * scripts/update-abilist.sh: New file.
1107         * Makefile (+subdir_targets): Add subdir_update-all-abi.
1108         * Makerules (update-all-abi-%, update-all-abi)
1109         (subdir_update-all-abi): New targets.
1110         * elf/Makefile (update-all-abi): New target.
1112 2015-11-24  Florian Weimer  <fweimer@redhat.com>
1114         Replace MUTEX_INITIALIZER with _LIBC_LOCK_INITIALIZER in generic code.
1115         * sysdeps/mach/hurd/libc-lock.h (_LIBC_LOCK_INITIALIZER): Define.
1116         (__libc_lock_define_initialized): Use it.
1117         * sysdeps/nptl/libc-lockP.h (_LIBC_LOCK_INITIALIZER): Define.
1118         * malloc/arena.c (list_lock): Use _LIBC_LOCK_INITIALIZER.
1119         * malloc/malloc.c (main_arena): Likewise.
1120         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): Remove.
1121         * sysdeps/nptl/malloc-machine.h (MUTEX_INITIALIZER): Remove.
1123 2015-11-23  Joseph Myers  <joseph@codesourcery.com>
1125         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
1126         (PTRACE_O_EXITKILL): New value in enum __ptrace_setoptions.
1127         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
1128         (PTRACE_O_MASK): Update value.
1129         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_O_EXITKILL):
1130         New value in enum __ptrace_setoptions.
1131         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
1132         (PTRACE_O_MASK): Update value.
1133         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
1134         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
1135         (PTRACE_O_MASK): Update value.
1136         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
1137         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
1138         (PTRACE_O_MASK): Update value.
1139         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
1140         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
1141         (PTRACE_O_MASK): Update value.
1142         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_SUSPEND_SECCOMP):
1143         New value in enum __ptrace_setoptions.
1144         (PTRACE_O_MASK): Update value.
1145         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_O_EXITKILL):
1146         New value in enum __ptrace_setoptions.
1147         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
1148         (PTRACE_O_MASK): Update value.
1150         * sysdeps/unix/sysv/linux/netpacket/packet.h (PACKET_COPY_THRESH):
1151         New macro.
1152         (PACKET_AUXDATA): Likewise.
1153         (PACKET_ORIGDEV): Likewise.
1154         (PACKET_VERSION): Likewise.
1155         (PACKET_HDRLEN): Likewise.
1156         (PACKET_RESERVE): Likewise.
1157         (PACKET_TX_RING): Likewise.
1158         (PACKET_LOSS): Likewise.
1159         (PACKET_VNET_HDR): Likewise.
1160         (PACKET_TX_TIMESTAMP): Likewise.
1161         (PACKET_TIMESTAMP): Likewise.
1162         (PACKET_FANOUT): Likewise.
1163         (PACKET_TX_HAS_OFF): Likewise.
1164         (PACKET_QDISC_BYPASS): Likewise.
1165         (PACKET_ROLLOVER_STATS): Likewise.
1166         (PACKET_FANOUT_DATA): Likewise.
1167         (PACKET_MR_UNICAST): Likewise.
1169         [BZ #19242]
1170         * stdlib/strtol_l.c (ISALPHA): Use _nl_C_locobj_ptr for locale.
1171         (TOUPPER): Likewise.
1172         * stdlib/tst-strtol-locale-main.c: New file.
1173         * stdlib/tst-strtol-locale.c: Likewise.
1174         * stdlib/Makefile (tests): Add tst-strtol-locale.
1175         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.ISO-8859-9.
1176         [$(run-built-tests) = yes] ($(objpfx)tst-strtol-locale.out):
1177         Depend on $(gen-locales).
1178         * wcsmbs/tst-wcstol-locale.c: New file.
1179         * wcsmbs/Makefile (tests): Add tst-wcstol-locale.
1180         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.UTF-8 and
1181         tr_TR.ISO-8859-9.
1182         [$(run-built-tests) = yes] ($(objpfx)tst-wcstol-locale.out):
1183         Depend on $(gen-locales).
1185 2015-11-20  Roland McGrath  <roland@hack.frob.com>
1187         * sysdeps/nacl/dl-map-segments.h (_dl_map_segments): Use
1188         __glibc_likely instead of __builtin_expect.  After falling back to
1189         dyncode_create in a non-ET_DYN case, use the allocate_code_data
1190         system interface to register the code pages as occupied.
1192 2015-11-20  Joseph Myers  <joseph@codesourcery.com>
1194         * sysdeps/arm/math_private.h [!_MATH_PRIVATE_H]: Change guard to
1195         [!ARM_MATH_PRIVATE_H].
1196         [!ARM_MATH_PRIVATE_H] (ARM_MATH_PRIVATE_H): Define macro.
1197         * sysdeps/hppa/math_private.h [!_MATH_PRIVATE_H]: Change guard to
1198         [!HPPA_MATH_PRIVATE_H].
1199         [!HPPA_MATH_PRIVATE_H] (HPPA_MATH_PRIVATE_H): Define macro.
1200         * sysdeps/i386/fpu/math_private.h [!_MATH_PRIVATE_H]: Change guard
1201         to [!I386_MATH_PRIVATE_H].
1202         [!I386_MATH_PRIVATE_H] (I386_MATH_PRIVATE_H): Define macro.
1203         * sysdeps/m68k/m680x0/fpu/math_private.h [!_MATH_PRIVATE_H]:
1204         Change guard to [!M68K_MATH_PRIVATE_H].
1205         [!M68K_MATH_PRIVATE_H] (M68K_MATH_PRIVATE_H): Define macro.
1206         * sysdeps/microblaze/math_private.h [!_MATH_PRIVATE_H]: Change
1207         guard to [!MICROBLAZE_MATH_PRIVATE_H].
1208         [!MICROBLAZE_MATH_PRIVATE_H] (MICROBLAZE_MATH_PRIVATE_H): Define
1209         macro.
1210         * sysdeps/mips/math_private.h [!_MATH_PRIVATE_H]: Change guard to
1211         [!MIPS_MATH_PRIVATE_H].
1212         [!MIPS_MATH_PRIVATE_H] (MIPS_MATH_PRIVATE_H): Define macro.
1213         * sysdeps/nios2/math_private.h [!_MATH_PRIVATE_H]: Change guard to
1214         [!NIO2_MATH_PRIVATE_H].
1215         [!NIO2_MATH_PRIVATE_H] (NIO2_MATH_PRIVATE_H): Define macro.
1216         * sysdeps/tile/math_private.h [!_MATH_PRIVATE_H]: Change guard to
1217         [!TILE_MATH_PRIVATE_H].
1218         [!TILE_MATH_PRIVATE_H] (TILE_MATH_PRIVATE_H): Define macro.
1220         [BZ #15421]
1221         * sysdeps/ieee754/s_signgam.c (signgam): Rename to __signgam,
1222         initialize with 0 and define as weak alias of __signgam.
1223         * include/math.h [!_ISOMAC] (__signgam): Declare.
1224         * math/Makefile (libm-calls): Add w_lgamma_compat.
1225         (tests): Add test-signgam-uchar, test-signgam-uchar-init,
1226         test-signgam-uint, test-signgam-uint-init, test-signgam-ullong and
1227         test-signgam-ullong-init.
1228         (tests-static): Add test-signgam-uchar-static,
1229         test-signgam-uchar-init-static, test-signgam-uint-static,
1230         test-signgam-uint-init-static, test-signgam-ullong-static and
1231         test-signgam-ullong-init-static.
1232         (CFLAGS-test-signgam-uchar.c): New variable.
1233         (CFLAGS-test-signgam-uchar-init.c): Likewise.
1234         (CFLAGS-test-signgam-uchar-static.c): Likewise.
1235         (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
1236         (CFLAGS-test-signgam-uint.c): Likewise.
1237         (CFLAGS-test-signgam-uint-init.c): Likewise.
1238         (CFLAGS-test-signgam-uint-static.c): Likewise.
1239         (CFLAGS-test-signgam-uint-init-static.c): Likewise.
1240         (CFLAGS-test-signgam-ullong.c): Likewise.
1241         (CFLAGS-test-signgam-ullong-init.c): Likewise.
1242         (CFLAGS-test-signgam-ullong-static.c): Likewise.
1243         (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
1244         * math/Versions (libm): Add GLIBC_2.23.
1245         * math/lgamma-compat.h: New file.
1246         * math/test-signgam-main.c: Likewise.
1247         * math/test-signgam-uchar-init-static.c: Likewise.
1248         * math/test-signgam-uchar-init.c: Likewise.
1249         * math/test-signgam-uchar-static.c: Likewise.
1250         * math/test-signgam-uchar.c: Likewise.
1251         * math/test-signgam-uint-init-static.c: Likewise.
1252         * math/test-signgam-uint-init.c: Likewise.
1253         * math/test-signgam-uint-static.c: Likewise.
1254         * math/test-signgam-uint.c: Likewise.
1255         * math/test-signgam-ullong-init-static.c: Likewise.
1256         * math/test-signgam-ullong-init.c: Likewise.
1257         * math/test-signgam-ullong-static.c: Likewise.
1258         * math/test-signgam-ullong.c: Likewise.
1259         * math/w_lgamma.c: Rename to w_lgamma_main.c and replace by
1260         wrapper of w_lgamma_main.c.
1261         * math/w_lgamma_compat.c: New file.
1262         * math/w_lgamma_compatf.c: Likewise.
1263         * math/w_lgamma_compatl.c: Likewise.
1264         * math/w_lgamma_main.c: New file.  Based on w_lgamma.c.  Include
1265         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
1266         defining compatibility symbols.
1267         (__lgamma): Change to LGFUNC (__lgamma).  Use CALL_LGAMMA.
1268         * math/w_lgammaf.c: Rename to w_lgammaf_main.c and replace by
1269         wrapper of w_lgammaf_main.c.
1270         * math/w_lgammaf_main.c: New file.  Based on w_lgammaf.c.  Include
1271         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
1272         defining compatibility symbols.
1273         (__lgammaf): Change to LGFUNC (__lgammaf).  Use CALL_LGAMMA.
1274         * math/w_lgammal.c: Rename to w_lgammal_main.c and replace by
1275         wrapper of w_lgammal_main.c.
1276         * math/w_lgammal_main.c: New file.  Based on w_lgammal.c.  Include
1277         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
1278         defining compatibility symbols.
1279         (__lgammal): Change to LGFUNC (__lgammal).  Use CALL_LGAMMA.
1280         * sysdeps/ia64/fpu/lgamma-compat.h: New file.
1281         * sysdeps/ia64/fpu/w_lgamma.c: Move to ....
1282         * sysdeps/ia64/fpu/w_lgamma_main.c: ...here.  Include
1283         <lgamma-compat.h>.
1284         (__ieee754_lgamma): Change to LGFUNC (lgamma).  Use CALL_LGAMMA.
1285         (__ieee754_gamma): Define as alias.
1286         * sysdeps/ia64/fpu/w_lgammaf.c: Move to ....
1287         * sysdeps/ia64/fpu/w_lgammaf_main.c: ...here.  Include
1288         <lgamma-compat.h>.
1289         (__ieee754_lgammaf): Change to LGFUNC (lgammaf).  Use CALL_LGAMMA.
1290         (__ieee754_gammaf): Define as alias.
1291         * sysdeps/ia64/fpu/w_lgammal.c: Move to ....
1292         * sysdeps/ia64/fpu/w_lgammal_main.c: ...here.  Include
1293         <lgamma-compat.h>.
1294         (__ieee754_lgammal): Change to LGFUNC (lgammal).  Use CALL_LGAMMA.
1295         (__ieee754_gammal): Define as alias.
1296         * sysdeps/ieee754/ldbl-opt/w_lgamma.c: Move to ....
1297         * sysdeps/ieee754/ldbl-opt/w_lgamma_compat.c: ...here.  Include
1298         <math/w_lgamma_compat.c>.
1299         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__lgammal_dbl_compat):
1300         Define as alias of __lgamma_compat and use in defining lgammal.
1301         * sysdeps/ieee754/ldbl-opt/w_lgammal.c: Move to ....
1302         * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c: ...here.  Include
1303         <math/lgamma-compat.h> and <math/w_lgamma_compatl.c>.
1304         (USE_AS_COMPAT): New macro.
1305         (LGAMMA_OLD_VER): Undefine and redefine.
1306         (lgammal): Do not define here.
1307         (gammal): Only define here if [GAMMA_ALIAS].
1308         * conform/linknamespace.pl (@whitelist): Remove signgam.
1309         * sysdeps/nacl/libm.abilist: Update.
1310         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
1311         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
1312         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
1313         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
1314         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
1315         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
1316         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
1317         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
1318         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
1319         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
1320         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
1321         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
1322         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
1323         Likewise.
1324         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
1325         Likewise.
1326         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
1327         Likewise.
1328         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
1329         Likewise.
1330         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
1331         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
1332         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
1333         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
1334         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
1335         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
1336         Likewise.
1337         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
1338         Likewise.
1339         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
1340         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
1341         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
1343 2015-11-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1345         [BZ #16364]
1346         * sysdeps/unix/sysv/linux/sleep.c: Remove file.
1347         * sysdeps/posix/sleep.c (__sleep): Simplify cancellation handling.
1349 2015-11-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
1351         * sysdeps/s390/fpu/bits/mathinline.h:
1352         Use __asm__ [__volatile__] instead of asm [volatile].
1353         * sysdeps/s390/abort-instr.h: Likewise.
1354         * sysdeps/s390/atomic-machine.h: Likewise.
1355         * sysdeps/s390/bits/string.h: Likewise.
1356         * sysdeps/s390/dl-tls.h: Likewise.
1357         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
1358         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
1359         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
1360         * sysdeps/s390/fpu/fesetround.c: Likewise.
1361         * sysdeps/s390/fpu/fpu_control.h: Likewise.
1362         * sysdeps/s390/fpu/s_fma.c: Likewise.
1363         * sysdeps/s390/fpu/s_fmaf.c: Likewise.
1364         * sysdeps/s390/memusage.h: Likewise.
1365         * sysdeps/s390/multiarch/ifunc-resolve.h: Likewise.
1366         * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
1367         * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
1368         * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
1369         * sysdeps/s390/nptl/tls.h: Likewise.
1370         * sysdeps/s390/s390-32/__longjmp.c: Likewise.
1371         * sysdeps/s390/s390-32/backtrace.c: Likewise.
1372         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
1373         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
1374         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
1375         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
1376         * sysdeps/s390/s390-64/__longjmp.c: Likewise.
1377         * sysdeps/s390/s390-64/backtrace.c: Likewise.
1378         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
1379         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Likewise.
1380         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
1381         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
1382         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
1383         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Likewise.
1384         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
1385         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
1386         * sysdeps/unix/sysv/linux/s390/brk.c: Likewise.
1387         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
1388         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Likewise.
1389         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
1390         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c: Likewise.
1391         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
1392         * sysdeps/unix/sysv/linux/s390/sysconf.c: Likewise.
1394 2015-11-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1395             Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1397         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
1398         Add lwarx hint, and use macro for acquire instruction.
1399         * sysdeps/powerpc/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
1400         Likewise.
1401         * sysdep/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Move to ...
1402         * sysdeps/powerpc/nptl/pthread_spin_unlock.c: ... here, and
1403         update to use new atomic macros.
1405 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1407         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
1408         (__lll_trylock_elision): Fix setting of adapt_count.
1409         * sysdeps/unix/sysv/linux/powerpc/htm.h
1410         (_ABORT_PERSISTENT): Define to clarify persistent aborts.
1411         (_ABORT_NESTED_TRYLOCK): Renumber, and make persistent.
1412         (_ABORT_SYSCALL): Renumber, and clarify definition.
1413         (_ABORT_LOCK_BUSY): Renumber, make non-persistent.
1415 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1417         * sysdeps/ieee754/ldbl-128ibm/mpn2ldl.c: Include gmp headers
1418         after system headers to prevent MIN/MAX redefinition.  Define
1419         HAVE_ALLOCA to preserve builtin alloca usage.
1421 2015-11-17  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
1423         * sysdeps/ieee754/dbl-64/s_sin.c (__sin)[IN_SINCOS]: Mark function
1424         static and don't set or restore rounding.
1425         (__cos)[IN_SINCOS]: Likewise.
1426         * sysdeps/ieee754/dbl-64/s_sincos.c: Include s_sin.c.
1427         (__sincos): Set and restore rounding mode.  Remove check for infinite
1428         or NaN input.
1430         * sysdeps/ieee754/dbl-64/s_sin.c: Remove redundant else clauses.
1432         * benchtests/scripts/bench.py (_print_arg_data): Mark output variables
1433         as used.
1435 2015-11-16  Florian Weimer  <fweimer@redhat.com>
1437         * math/test-signgam-finite-c99.c (_Mlong_double_): Undefine.
1439 2015-11-14  H.J. Lu  <hongjiu.lu@intel.com>
1441         * config.make.in (have-glob-dat-reloc): New.
1442         * configure.ac (libc_cv_has_glob_dat): New.  Set to yes if
1443         target supports GLOB_DAT relocaton. AC_SUBST.
1444         * configure: Regenerated.
1445         * elf/Makefile (tests): Add tst-prelink.
1446         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
1447         (tst-prelink-ENV): New.
1448         ($(objpfx)tst-prelink-conflict.out): Likewise.
1449         ($(objpfx)tst-prelink-cmp.out): Likewise.
1450         * sysdeps/x86/tst-prelink.c: Moved to ...
1451         * elf/tst-prelink.c: Here.
1452         * sysdeps/x86/tst-prelink.exp: Moved to ...
1453         * elf/tst-prelink.exp: Here.
1454         * sysdeps/x86/Makefile (tests): Don't add tst-prelink.
1455         (tst-prelink-ENV): Removed.
1456         ($(objpfx)tst-prelink-conflict.out): Likewise.
1457         ($(objpfx)tst-prelink-cmp.out): Likewise.
1458         (tests-special): Don't add $(objpfx)tst-prelink-cmp.out.
1460 2015-11-13  Joseph Myers  <joseph@codesourcery.com>
1462         [BZ #14551]
1463         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Include <errno.h>.
1464         (__mpn_construct_long_double): If high part overflows to infinity,
1465         set errno and recompute overflowed result of the correct sign.
1466         * sysdeps/ieee754/ldbl-128ibm/Makefile
1467         [$(subdir) = stdlib] (tests): Add tst-strtold-ldbl-128ibm.
1468         [$(subdir) = stdlib] ($(objpfx)tst-strtold-ldbl-128ibm): Depend on
1469         $(libm).
1470         * sysdeps/ieee754/ldbl-128ibm/tst-strtold-ldbl-128ibm.c: New file.
1472 2015-11-12  Joseph Myers  <joseph@codesourcery.com>
1474         [BZ #15479]
1475         [BZ #19238]
1476         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Save
1477         floating-point state after first operation on input.  Restore full
1478         state rather than just rounding mode.
1479         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
1480         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
1481         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
1483         [BZ #19235]
1484         * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Do not
1485         add 0.5 to integer arguments.
1486         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf):
1487         Likewise.
1488         (.LC2): New object.
1490 2015-11-11  Mike Frysinger  <vapier@gentoo.org>
1492         * scripts/pylintrc (reports): Set to no.
1494 2015-11-10  Roland McGrath  <roland@hack.frob.com>
1496         * elf/dl-load.c (open_verify): Take new argument FD.
1497         Skip __open call if passed FD is not -1.
1498         (_dl_map_object, open_path): Update callers.
1499         * elf/dl-sysdep-open.h: New file.
1500         * elf/dl-load.c: Include it.
1501         (_dl_map_object): Try _dl_sysdep_open_object before ldconfig cache.
1502         * sysdeps/nacl/dl-sysdep.c (_dl_sysdep_open_object): New function.
1503         * sysdeps/nacl/dl-sysdep-open.h: New file.
1504         * sysdeps/nacl/nacl-interface-list.h: Move nacl_irt_resource_open
1505         from libc to rtld.
1507 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
1509         [BZ #19228]
1510         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Save
1511         and restore full floating-point state.
1512         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
1513         Likewise.
1514         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
1515         Likewise.
1516         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
1517         Likewise.
1518         * math/test-nearbyint-except-2.c: New file.
1519         * math/Makefile (tests): Add test-nearbyint-except-2.
1521 2015-11-10  H.J. Lu  <hongjiu.lu@intel.com>
1523         [BZ #19178]
1524         * sysdeps/x86/Makefile (tests): Add tst-prelink.
1525         (tst-prelink-ENV): New.
1526         ($(objpfx)tst-prelink-conflict.out): Likewise.
1527         ($(objpfx)tst-prelink-cmp.out): Likewise.
1528         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
1529         * sysdeps/x86/tst-prelink.c: New file.
1530         * sysdeps/x86/tst-prelink.exp: Likewise.
1532 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
1534         * math/auto-libm-test-in: Add another test of pow.
1535         * math/auto-libm-test-out: Regenerated.
1536         * math/libm-test.inc (pow_test_data): Add another test.
1538 2015-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1540         [BZ #19219]
1541         * sysdeps/ia64/fpu/s_nearbyintl.S (__nearbyint): Define and
1542         weak_alias to nearbyintl.
1544 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
1546         * sysdeps/aarch64/bits/string.h: New file.
1547         (_STRING_ARCH_unaligned): Define.
1549 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
1551         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Remove __signbit*.
1552         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
1553         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
1554         * sysdeps/unix/sysv/linux/nios2/localplt.data: Likewise.
1555         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data: Likewise.
1557 2015-11-09  Ulrich Drepper  <drepper@gmail.com>
1559         * elf/dl-load.c (_dl_map_object_from_fd): Add additional parameter
1560         for original name of the DSO.  Add it to the name list of the DSO
1561         if it is actually given.
1562         (_dl_map_object): Keep track of whether an audit module rewrote
1563         the file name.  If yes, pass the original name to
1564         _dl_map_object_from_fd in a new parameter, otherwise NULL.  When
1565         debugging is enabled, log the change of the file name.
1566         * sysdeps/mach/hur/dl-sysdep.c: Adjust commented-out call to
1567         _dl_map_object_from_fd.
1568         * elf/Makefile: Build and run tst-audit11 and tst-audit12.
1569         * elf/tst-audit11.c: New file
1570         * elf/tst-auditmod11.c: New file.
1571         * elf/tst-audit11mod1.c: New file.
1572         * elf/tst-audit11mod2.c: New file.
1573         * elf/tst-audit11mod2.map: New file.
1574         * elf/tst-audit12.c: New file
1575         * elf/tst-auditmod12.c: New file.
1576         * elf/tst-audit12mod1.c: New file.
1577         * elf/tst-audit12mod2.c: New file.
1578         * elf/tst-audit12mod2.map: New file.
1579         * elf/tst-audit12mod3.c: New file.
1581 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
1583         * sysdeps/s390/longjmp.c (longjmp, _longjmp, siglongjmp):
1584         Don't create weak aliases,
1585         because versioned symbols are created later.
1586         * sysdeps/s390/s390-32/setjmp.S
1587         (setjmp, _setjmp): Remove weak and rename to an unique name
1588         in SHARED case due to existing versioned symbols.
1589         * sysdeps/s390/s390-64/setjmp.S: Likewise.
1590         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S
1591         (getcontext): Create weak alias only in non SHARED case.
1592         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
1594 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
1596         * sysdeps/unix/sysv/linux/s390/kernel-features.h:
1597         (__ASSUME_*_SYSCALL) Define new macros.
1598         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list:
1599         Remove socketcall syscalls.
1600         * sysdeps/unix/sysv/linux/accept.c (__libc_accept):
1601         Use accept4 if defined __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL.
1602         * sysdeps/unix/sysv/linux/recv.c (__libc_recv):
1603         Use recvfrom if defined __ASSUME_RECVFROM_FOR_RECV_SYSCALL.
1604         * sysdeps/unix/sysv/linux/send.c (__libc_send):
1605         Use sendto if defined __ASSUME_SENDTO_FOR_SEND_SYSCALL.
1607 2015-11-09  Florian Weimer  <fweimer@redhat.com>
1609         [BZ #12926]
1610         Terminate process on invalid netlink response.
1611         * sysdeps/unix/sysv/linux/netlinkaccess.h
1612         (__netlink_assert_response): Declare.
1613         * sysdeps/unix/sysv/linux/netlink_assert_response.c: New file.
1614         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == inet]
1615         (sysdep_routines): Add netlink_assert_response.
1616         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Call
1617         __netlink_assert_response.
1618         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
1619         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
1620         * sysdeps/unix/sysv/linux/Versions (GLIBC_PRIVATE): Add
1621         __netlink_assert_response.
1623 2015-11-07  H.J. Lu  <hongjiu.lu@intel.com>
1625         [BZ #19178]
1626         * elf/dl-lookup.c (RTYPE_CLASS_VALID): New.
1627         (RTYPE_CLASS_PLT): Likewise.
1628         (RTYPE_CLASS_COPY): Likewise.
1629         (RTYPE_CLASS_TLS): Likewise.
1630         (_dl_debug_bindings): Use RTYPE_CLASS_TLS and RTYPE_CLASS_VALID
1631         to set relocation type class for DL_DEBUG_PRELINK.  Keep only
1632         ELF_RTYPE_CLASS_PLT and ELF_RTYPE_CLASS_COPY bits for
1633         DL_DEBUG_PRELINK.
1635 2015-11-06  Joseph Myers  <joseph@codesourcery.com>
1637         * math/test-signgam-finite.c (RUN_TESTS): Correct messages about
1638         calls with argument -0.5.
1639         * math/test-signgam-finite-c99.c (RUN_TESTS): Likewise.
1641         * configure.ac (libc_cv_z_nodelete): Remove configure test.
1642         (libc_cv_z_nodlopen): Likewise.
1643         (libc_cv_z_initfirst): Likewise.
1644         * configure: Regenerated.
1646 2015-11-06  Florian Weimer  <fweimer@redhat.com>
1648         Simplify abilist format to be line-based.
1649         * scripts/abilist.awk: Collect descriptors in the descs variable.
1650         (emit): Write descs variable and sort it
1651         externally, with sort.
1652         * sysdeps/**/*.abilist: Convert to new format.
1654 2015-11-06  Mark Wielaard  <mjw@redhat.com>
1656         [BZ #11460]
1657         * io/Makefile (routines): Add fts64.
1658         (tests): Add tst-fts and tst-fts-lfs.
1659         (CFLAGS-fts64.c): New.
1660         * io/Versions (GLIBC_2.23): New.
1661         * io/fts.c: Replace FTS with FTSOBJ, FTSENT with FTSENTRY. Use
1662         function defines FTS_OPEN, FTS_CLOSE, FTS_READ, FTS_SET and
1663         FTS_CHILDREN. Define FTSOBJ, FTSENTRY, FTS_OPEN, FTS_CLOSE,
1664         FTS_READ, FTS_SET, FTS_CHILDREN, INO_T, STAT and LSTAT if necessary.
1665         * io/fts.h (FTS64): New if _USE_LARGEFILE64.
1666         (FTSENT64): Likewise.
1667         (fts64_children): Likewise.
1668         (fts64_close): Likewise.
1669         (fts64_open): Likewise.
1670         (fts64_read): Likewise.
1671         (fts64_set): Likewise.
1672         * io/fts64.c: New file.
1673         * io/tst-fts.c: New test.
1674         * io/tst-fts-lfs.c: Likewise.
1675         * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.23): Add
1676         GLIBC_2.23, fts64_children, fts64_close, fts64_open, fts64_read and
1677         fts64_set.
1678         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
1679         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
1680         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
1681         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
1682         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
1683         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
1684         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
1685         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
1686         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
1687         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
1688         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
1689         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
1690         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
1691         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
1692         Likewise.
1693         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
1694         Likewise.
1695         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
1696         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
1697         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
1698         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
1699         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
1700         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
1701         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
1702         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
1703         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
1704         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
1705         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
1706         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
1707         * sysdeps/wordsize-64/fts.c: New file.
1708         * sysdeps/wordsize-64/fts64.c: Likewise.
1709         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts.c: Likewise.
1710         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts64.c: Likewise.
1711         * sysdeps/unix/sysv/linux/x86_64/x32/fts.c: likewise.
1712         * sysdeps/unix/sysv/linux/x86_64/x32/fts64.c: likewise.
1714 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
1716         * math/libm-test.inc (NON_FINITE): New macro.
1717         (enable_test): Do not run tests flagged NON_FINITE if TEST_FINITE.
1718         * math/gen-libm-test.pl (show_exceptions): Add argument
1719         $non_finite.
1720         (parse_args): Update call to show_exceptions.
1721         * math/test-math-finite.h: New file.
1722         * math/test-math-no-finite.h: Likewise.
1723         * math/test-double-finite.c: Likewise.
1724         * math/test-float-finite.c: Likewise.
1725         * math/test-ldouble-finite.c: Likewise.
1726         * math/test-double.c: Include "test-math-no-finite.h".
1727         * math/test-float.c: Include "test-math-no-finite.h".
1728         * math/test-ldouble.c: Include "test-math-no-finite.h".
1729         * math/test-math-inline.h (TEST_FINITE): New macro.
1730         * math/test-math-vector.h (TEST_FINITE): Likewise.
1731         * math/Makefile (test-longdouble-yes): Add test-ldouble-finite.
1732         (libm-tests): Add test-float-finite and test-double-finite.
1733         ($(objpfx)test-float-finite.o): New dependency on
1734         $(objpfx)libm-test.stmp.
1735         ($(objpfx)test-double-finite.o): Likewise.
1736         ($(objpfx)test-ldouble-finite.o): Likewise.
1737         (libm-test-no-inline-cflags): New variable.
1738         (libm-test-finite-cflags): Likewise.
1739         (CFLAGS-test-float-finite.c): Likewise.
1740         (CFLAGS-test-double-finite.c): Likewise.
1741         (CFLAGS-test-ldouble-finite.c): Likewise.
1742         (CFLAGS-test-float.c): Use $(libm-test-no-inline-cflags).
1743         (CFLAGS-test-double.c): Likewise.
1744         (CFLAGS-test-ldouble.c): Likewise.
1746 2015-11-05  Roland McGrath  <roland@hack.frob.com>
1748         * io/fcntl.c (__fcntl): Add ... to prototype.
1749         * misc/ioctl.c (__ioctl): Likewise.
1750         * misc/syscall.c (syscall): Likewise.
1752 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
1754         * scripts/list-fixed-bugs.py: New file.
1756         [BZ #19213]
1757         * sysdeps/i386/fpu/e_log.S (__log_finite): Ensure +0 is always
1758         returned for argument 1.
1759         * sysdeps/i386/fpu/e_logf.S (__logf_finite): Likewise.
1760         * sysdeps/i386/fpu/e_logl.S (__logl_finite): Likewise.
1761         * sysdeps/i386/i686/fpu/e_logl.S (__logl_finite): Likewise.
1762         * sysdeps/x86_64/fpu/e_log10l.S (__log10l_finite): Likewise.
1763         * sysdeps/x86_64/fpu/e_log2l.S (__log2l_finite): Likewise.
1764         * sysdeps/x86_64/fpu/e_logl.S (__logl_finite): Likewise.
1766         [BZ #19211]
1767         * math/bits/math-finite.h (lgamma): Set signgam if [__USE_MISC ||
1768         __USE_XOPEN], not if [!__USE_ISOC99].
1769         (lgammaf): Likewise.
1770         (lgammal): Likewise.
1771         (gamma): Set signgam unconditionally, not if [!__USE_ISOC99].
1772         (gammaf): Likewise.
1773         (gammal): Likewise.
1774         * math/test-signgam-finite-c11.c: New file.
1775         * math/test-signgam-finite-c99.c: Likewise.
1776         * math/test-signgam-finite.c: Likewise.
1777         * math/Makefile (tests): Add test-signgam-finite,
1778         test-signgam-finite-c99 and test-signgam-finite-c11.
1779         (CFLAGS-test-signgam-finite.c): New variable.
1780         (CFLAGS-test-signgam-finite-c99.c): Likewise.
1781         (CFLAGS-test-signgam-finite-c11.c): Likewise.
1783         [BZ #19212]
1784         * include/features.h [(_XOPEN_SOURCE - 0) >= 500]: Change
1785         conditional to [defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >=
1786         500].
1787         [_POSIX_C_SOURCE >= 1]: Change conditional to [defined
1788         _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 1].
1789         [(_POSIX_C_SOURCE - 0) >= 199309L]: Change conditional to [defined
1790         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199309L].
1791         [(_POSIX_C_SOURCE - 0) >= 199506L]: Change conditional to [defined
1792         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199506L].
1793         [(_POSIX_C_SOURCE - 0) >= 200112L]: Change conditional to [defined
1794         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200112L].
1795         [(_POSIX_C_SOURCE - 0) >= 200809L]: Change conditional to [defined
1796         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200809L].
1798         [BZ #19209]
1799         * math/bits/math-finite.h (ldexp): Remove declaration.
1800         (ldexpf): Likewise.
1801         (ldexpl): Likewise.
1803         [BZ #19205]
1804         * math/bits/math-finite.h (acosf): Condition declaration on
1805         [__USE_ISOC99].
1806         (acosl): Likewise.
1807         (acoshf): Likewise.
1808         (acoshl): Likewise.
1809         (asinf): Likewise.
1810         (asinl): Likewise.
1811         (atan2f): Likewise.
1812         (atan2l): Likewise.
1813         (atanhf): Likewise.
1814         (atanhl): Likewise.
1815         (coshf): Likewise.
1816         (coshl): Likewise.
1817         (expf): Likewise.
1818         (expl): Likewise.
1819         (fmodf): Likewise.
1820         (fmodl): Likewise.
1821         (hypot): Change condition to [__USE_XOPEN || __USE_ISOC99].
1822         (j0f): Change condition to [__USE_MISC && __USE_ISOC99].
1823         (j0l): Likewise.
1824         (y0f): Likewise.
1825         (y0l): Likewise.
1826         (j1f): Likewise.
1827         (j1l): Likewise.
1828         (y1f): Likewise.
1829         (y1l): Likewise.
1830         (jnf): Likewise.
1831         (jnl): Likewise.
1832         (ynf): Likewise.
1833         (ynl): Likewise.
1834         (lgammaf_r): Condition declaration on [__USE_ISOC99].
1835         (lgammal_r): Likewise.
1836         (__lgamma_r_finite): New declaration.
1837         (__lgammaf_r_finite): Likewise.
1838         (__lgammal_r_finite): Likewise.
1839         (lgamma): Use __lgamma_r_finite.
1840         (lgammaf): Condition definition on [__USE_ISOC99].  Use
1841         __lgammaf_r_finite.
1842         (lgammal): Condition definition on [__USE_ISOC99].  Use
1843         __lgammal_r_finite.
1844         (gamma): Do not define for [!__USE_MISC && __USE_XOPEN2K].  Use
1845         __lgamma_r_finite.
1846         (gammaf): Condition definition on [__USE_ISOC99].  Use
1847         __lgammaf_r_finite.
1848         (gammal): Condition definition on [__USE_ISOC99].  Use
1849         __lgammal_r_finite.
1850         (logf): Condition declaration on [__USE_ISOC99].
1851         (logl): Likewise.
1852         (log10f): Likewise.
1853         (log10l): Likewise.
1854         (ldexpf): Likewise.
1855         (ldexpl): Likewise.
1856         (powf): Likewise.
1857         (powl): Likewise.
1858         (remainder): Condition declaration on [__USE_XOPEN_EXTENDED ||
1859         __USE_ISOC99].
1860         (remainderf): Condition declaration on [__USE_ISOC99].
1861         (remainderl): Likewise.
1862         (scalb): Do not declare for [!__USE_MISC && __USE_XOPEN2K8].
1863         (scalbf): Change condition to [__USE_MISC && __USE_ISOC99].
1864         (scalbl): Likewise.
1865         (sinhf): Condition declaration on [__USE_ISOC99].
1866         (sinhl): Likewise.
1867         (sqrtf): Likewise.
1868         (sqrtl): Likewise.
1870 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
1872         * sysdeps/arm/atomic-machine.h
1873         [__GNUC_PREREQ (4, 7) && __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
1874         Change conditional to [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
1875         [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 && !__GNUC_PREREQ (4, 7)]:
1876         Remove conditional code.
1877         [!__GNUC_PREREQ (4, 7) || !__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
1878         Change conditional to [!__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
1879         * sysdeps/i386/sysdep.h [__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]:
1880         Change conditional to [__ASSEMBLER__].
1881         [__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
1882         [!__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]: Change conditional to
1883         [!__ASSEMBLER__].
1884         [!__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional
1885         code.
1886         * sysdeps/unix/sysv/linux/sh/atomic-machine.h (rNOSP): Remove
1887         conditional macro definitions.
1888         (__arch_compare_and_exchange_val_8_acq): Use "u" instead of rNOSP.
1889         (__arch_compare_and_exchange_val_16_acq): Likewise.
1890         (__arch_compare_and_exchange_val_32_acq): Likewise.
1891         (atomic_exchange_and_add): Likewise.
1892         (atomic_add): Likewise.
1893         (atomic_add_negative): Likewise.
1894         (atomic_add_zero): Likewise.
1895         (atomic_bit_set): Likewise.
1896         (atomic_bit_test_set): Likewise.
1897         * sysdeps/x86_64/atomic-machine.h [__GNUC_PREREQ (4, 7)]: Make
1898         code unconditional.
1899         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
1901         * math/test-math-errno.h: New file.
1902         * math/test-math-inline.h (TEST_INLINE): Define to 1 instead of
1903         empty.
1904         (TEST_ERRNO): New macro.
1905         (TEST_EXCEPTIONS): Likewise.
1906         * math/test-math-no-inline.h (TEST_INLINE): Likewise.
1907         (TEST_EXCEPTIONS): Likewise.
1908         * math/test-math-vector.h (TEST_ERRNO): Likewise.
1909         * math/test-double.c: Include "test-math-errno.h".
1910         * math/test-float.c: Likewise.
1911         * math/test-ldouble.c: Likewise.
1912         * math/libm-test.inc (test_single_exception) [!TEST_INLINE]: Make
1913         code unconditional.
1914         (test_exceptions): Only run code if TEST_EXCEPTIONS.
1915         (test_single_errno) [!TEST_INLINE && !TEST_MATHVEC]: Make code
1916         unconditional.
1917         (test_errno): Only run code if TEST_ERRNO.
1918         (enable_test): Use "if" conditional on TEST_INLINE, not #ifdef.
1920 2015-11-04  Florian Weimer  <fweimer@redhat.com>
1922         * nptl/tst-once5.cc: Remove attribution.
1924 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
1926         * math/auto-libm-test-in: Add more tests of sin, sincos, sinh,
1927         sqrt, tan, tanh, y0, y1 and yn.
1928         * math/auto-libm-test-out: Regenerated.
1929         * math/libm-test.inc (scalb_test_data): Add more tests.
1930         (scalbn_test_data): Likewise.
1931         (scalbln_test_data): Likewise.
1932         (signbit_test_data): Likewise.
1933         (sin_test_data): Likewise.
1934         (sincos_test_data): Likewise.
1935         (sinh_test_data): Likewise.
1936         (sqrt_test_data): Likewise.
1937         (tan_test_data): Likewise.
1938         (tanh_test_data): Likewise.
1939         (tgamma_test_data): Likewise.
1940         (y0_test_data): Likewise.
1941         (y1_test_data): Likewise.
1942         (yn_test_data): Likewise.
1943         (significand_test_data): Likewise.
1944         * sysdeps/i386/fpu/libm-test-ulps: Update.
1946 2015-11-03  David Kastrup  <dak@gnu.org>
1948         [BZ #18604]
1949         * assert/assert.h (assert): Don't macro-expand failed assertion
1950         expression in error message.
1951         * malloc/malloc.c (assert): Likewise.
1953 2015-11-03  Joseph Myers  <joseph@codesourcery.com>
1955         * configure.ac (libc_cv_ld_no_whole_archive): Remove configure
1956         test.
1957         * configure: Regenerated.
1959 2015-11-02  Joseph Myers  <joseph@codesourcery.com>
1961         * math/libm-test.inc (modf_test_data): Add more tests.
1962         (nearbyint_test_data): Likewise.
1963         (nextafter_test_data): Likewise.
1964         (nexttoward_test_data): Likewise.
1965         (pow_test_data): Likewise.
1966         (remainder_test_data): Likewise.
1967         (remquo_test_data): Likewise.
1968         (rint_test_data): Likewise.
1970         [BZ #19201]
1971         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
1972         Check for zero remainder in case of large exponents and ensure
1973         correct sign of result in that case.
1974         * math/libm-test.inc (remainder_test_data): Add more tests.
1976         [BZ #6799]
1977         * math/s_nextafter.c: Include <errno.h>.
1978         (__nextafter): Set errno on overflow and underflow.
1979         * math/s_nexttowardf.c: Include <errno.h>.
1980         (__nexttowardf): Set errno on overflow and underflow.
1981         * sysdeps/i386/fpu/s_nextafterl.c: Include <errno.h>.
1982         (__nextafterl): Set errno on overflow and underflow.
1983         * sysdeps/i386/fpu/s_nexttoward.c: Include <errno.h>.
1984         (__nexttoward): Set errno on overflow and underflow.
1985         * sysdeps/i386/fpu/s_nexttowardf.c: Include <errno.h>.
1986         (__nexttowardf): Set errno on overflow and underflow.
1987         * sysdeps/ieee754/flt-32/s_nextafterf.c: Include <errno.h>.
1988         (__nextafterf): Set errno on overflow and underflow.
1989         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include <errno.h>.
1990         (__nextafterl): Set errno on overflow and underflow.
1991         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Include <errno.h>.
1992         (__nexttoward): Set errno on overflow and underflow.
1993         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Include <errno.h>.
1994         (__nexttowardf): Set errno on overflow and underflow.
1995         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <errno.h>.
1996         (__nextafterl): Set errno on overflow and underflow.
1997         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Include <errno.h>.
1998         (__nexttoward): Set errno on overflow and underflow.
1999         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include <errno.h>.
2000         (__nexttowardf): Set errno on overflow and underflow.
2001         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Include <errno.h>.
2002         (__nexttoward): Set errno on overflow and underflow.
2003         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include <errno.h>.
2004         (__nexttowardf): Set errno on overflow and underflow.
2005         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include <errno.h>.
2006         (__nldbl_nexttowardf): Set errno on overflow and underflow.
2007         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Include <errno.h>.
2008         (__nextafterl): Set errno on overflow and underflow.
2009         * math/libm-test.inc (nextafter_test_data): Do not allow errno
2010         setting to be missing on overflow.  Add more tests.
2011         (nexttoward_test_data): Likewise.
2013         * configure.ac (libc_cv_initfini_array): Remove configure test.
2014         * configure: Regenerated.
2016 2015-10-29  Joseph Myers  <joseph@codesourcery.com>
2018         [BZ #19189]
2019         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Make check for
2020         non-finite argument handle arguments with negative sign.
2022         * math/libm-test.inc (j0_test_data): Do not test sign of zero
2023         result from infinite argument.
2024         (j1_test_data): Likewise.
2025         (jn_test_data): Likewise.
2026         (y0_test_data): Likewise.
2027         (y1_test_data): Likewise.
2028         (yn_test_data): Likewise.
2030         [BZ #16171]
2031         * math/w_remainder.c (drem): Define as weak alias of __remainder.
2032         [NO_LONG_DOUBLE] (dreml): Define as weak alias of __remainder.
2033         * math/w_remainderf.c (dremf): Define as weak alias of
2034         __remainderf.
2035         * math/w_remainderl.c (dreml): Define as weak alias of
2036         __remainderl.
2037         * sysdeps/ia64/fpu/e_remainder.S (drem): Define as weak alias of
2038         __remainder.
2039         * sysdeps/ia64/fpu/e_remainderf.S (dremf): Define as weak alias of
2040         __remainderf.
2041         * sysdeps/ia64/fpu/e_remainderl.S (dreml): Define as weak alias of
2042         __remainderl.
2043         * sysdeps/ieee754/ldbl-opt/nldbl-remainder.c (dreml): Define as
2044         weak alias of remainderl.
2045         * sysdeps/ieee754/ldbl-opt/w_remainder.c
2046         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__drem): Define as strong
2047         alias of __remainder.
2048         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (dreml): Use compat_symbol.
2049         * sysdeps/ieee754/ldbl-opt/w_remainderl.c (__dreml): Define as
2050         strong alias of __remainderl.
2051         (dreml): Use long_double_symbol.
2052         * math/Makefile (libm-calls): Remove w_drem.
2053         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove drem.
2054         (CFLAGS-nldbl-drem.c): Remove variable.
2055         (CFLAGS-nldbl-remainder.c): Add -fno-builtin-dreml.
2056         * math/w_drem.c: Remove file.
2057         * math/w_dremf.c: Likewise.
2058         * math/w_dreml.c: Likewise.
2059         * sysdeps/ieee754/ldbl-opt/nldbl-drem.c: Likewise.
2060         * sysdeps/ieee754/ldbl-opt/w_drem.c: Likewise.
2061         * sysdeps/ieee754/ldbl-opt/w_dreml.c: Likewise.
2063         * sysdeps/i386/configure.ac (cpuid.h): Do not test for header.
2064         * sysdeps/i386/configure: Regenerated.
2065         * sysdeps/x86_64/configure.ac (cpuid.h): Do not test for header.
2066         * sysdeps/x86_64/configure: Regenerated.
2068         * configure.ac (libc_cv_asm_protected_directive): Remove configure
2069         test.
2070         (libc_cv_visibility_attribute): Likewise.
2071         (libc_cv_protected_data): Test unconditionally.
2072         (libc_cv_broken_visibility_attribute): Remove configure test.
2073         (libc_cv_have_sdata_section): Test unconditionally.
2074         * configure: Regenerated.
2076         * include/libc-internal.h (libc_max_align_t): Remove typedef.
2077         * include/scratch_buffer.h: Include <stddef.h> instead of
2078         <libc-internal.h>.
2079         (struct scratch_buffer): Use max_align_t instead of
2080         libc_max_align_t.
2082 2015-10-29  Florian Weimer  <fweimer@redhat.com>
2084         * elf/dl-fini.c (_dl_fini): Rewrite to use variable-length array
2085         instead of extend_alloca.  Change control flow to avoid a goto.
2086         Remove assert which is trivially always true.
2088 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
2090         [BZ #16068]
2091         * sysdeps/i386/fpu/fesetenv.c: Include <fpu_control.h>.
2092         (FE_ALL_EXCEPT_X86): New macro.
2093         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
2094         FE_ALL_EXCEPT.  Ensure precision control is included in
2095         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
2096         handle "denormal operand exception" and clear FZ and DAZ bits.
2097         * sysdeps/x86_64/fpu/fesetenv.c: Include <fpu_control.h>.
2098         (FE_ALL_EXCEPT_X86): New macro.
2099         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
2100         FE_ALL_EXCEPT.  Ensure precision control is included in
2101         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
2102         handle "denormal operand exception" and clear FZ and DAZ bits.
2103         * sysdeps/x86/fpu/test-fenv-sse-2.c: New file.
2104         * sysdeps/x86/fpu/test-fenv-x87.c: Likewise.
2105         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
2106         test-fenv-x87 and test-fenv-sse-2.
2107         [$(subdir) = math] (CFLAGS-test-fenv-sse-2.c): New variable.
2109         * math/libm-test.inc (BUILD_COMPLEX): Remove macro.
2110         * math/test-double.h (BUILD_COMPLEX): New macro.
2111         * math/test-float.h (BUILD_COMPLEX): Likewise.
2112         * math/test-ldouble.h (BUILD_COMPLEX): Likewise.
2114         * math/libm-test.inc (min_subnorm_value): Use LDBL_TRUE_MIN,
2115         DBL_TRUE_MIN and FLT_TRUE_MIN instead of __LDBL_DENORM_MIN__,
2116         __DBL_DENORM_MIN__ and __FLT_DENORM_MIN__.
2117         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Refer to DBL_TRUE_MIN
2118         instead of DBL_DENORM_MIN in comment.
2119         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Refer to
2120         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
2121         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <float.h>.
2122         (__nextafterl): Use LDBL_TRUE_MIN instead of __LDBL_DENORM_MIN__.
2123         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Refer to
2124         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
2126 2015-10-28  Florian Weimer  <fweimer@redhat.com>
2128         [BZ# 19048]
2129         * malloc/malloc.c (struct malloc_state): Update comment.  Add
2130         attached_threads member.
2131         (main_arena): Initialize attached_threads.
2132         * malloc/arena.c (list_lock): Update comment.
2133         (ptmalloc_lock_all, ptmalloc_unlock_all): Likewise.
2134         (ptmalloc_unlock_all2): Reinitialize arena reference counts.
2135         (deattach_arena): New function.
2136         (_int_new_arena): Initialize arena reference count and deattach
2137         replaced arena.
2138         (get_free_list, reused_arena): Update reference count and deattach
2139         replaced arena.
2140         (arena_thread_freeres): Update arena reference count and only put
2141         unreferenced arenas on the free list.
2143 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
2145         [BZ #19181]
2146         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Clear already-raised
2147         SSE exceptions when argument is FE_DFL_ENV or FE_NOMASK_ENV.
2148         * sysdeps/x86_64/fpu/fesetenv.c (__fesetenv): Likewise.
2149         * math/test-fenv-clear-main.c: New file.
2150         * math/test-fenv-clear.c: Likewise.
2151         * math/Makefile (tests): Add test-fenv-clear.
2152         * sysdeps/x86/fpu/test-fenv-clear-sse.c: New file.
2153         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
2154         test-fenv-clear-sse.
2155         [$(subdir) = math] (CFLAGS-test-fenv-clear-sse.c): New variable.
2157         * math/libm-test.inc (TYPE_DECIMAL_DIG): Use LDBL_DECIMAL_DIG,
2158         DBL_DECIMAL_DIG and FLT_DECIMAL_DIG instead of __DECIMAL_DIG__,
2159         __DBL_DECIMAL_DIG__ and __FLT_DECIMAL_DIG__.
2161 2015-10-28  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
2163         * sysdeps/powerpc/libc-tls.c: New file. Provides __tls_get_addr () in
2164         static libc.
2166 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
2168         * sysdeps/i386/configure.ac (libc_cv_cc_avx2): Remove configure
2169         test.
2170         * sysdeps/i386/configure: Regenerated.
2171         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx2): Remove configure
2172         test.
2173         * sysdeps/x86_64/configure: Regenerated.
2174         * config.h.in (HAVE_AVX2_SUPPORT): Remove #undef.
2175         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2176         memset-avx2 unconditionally instead of conditionally on
2177         [$(config-cflags-avx2) = yes].
2178         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
2179         (__libc_ifunc_impl_list) [HAVE_AVX2_SUPPORT]: Make code
2180         unconditional.
2181         * sysdeps/x86_64/multiarch/memset.S [HAVE_AVX2_SUPPORT]: Likewise.
2182         * sysdeps/x86_64/multiarch/memset_chk.S
2183         [IS_IN (libc) && SHARED && HAVE_AVX2_SUPPORT]: Change conditional
2184         to [IS_IN (libc) && SHARED].
2186 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
2188         * sysdeps/arm/configure.ac (libc_cv_arm_tls_desc): Remove
2189         configure test.
2190         * sysdeps/arm/configure: Regenerated.
2191         * sysdeps/arm/Makefile [!have-arm-tls-desc] (have-arm-tls-desc):
2192         Define variable if not already defined.
2194         [BZ #17404]
2195         * sysdeps/mips/atomic-machine.h
2196         [__GNUC_PREREQ (4, 8) || (__mips16 && __GNUC_PREREQ (4, 7))]:
2197         Change conditional to [__GNUC_PREREQ (4, 8) || __mips16].
2198         [__mips16 && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
2200         * resolv/res_send.c (send_vc) [__GNUC_PREREQ (4, 7)]: Make code
2201         unconditional.
2202         * soft-fp/fmadf4.c [__GNUC_PREREQ (4, 7)]: Likewise.
2203         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
2204         * soft-fp/fmasf4.c [__GNUC_PREREQ (4, 7)]: Make code
2205         unconditional.
2206         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
2207         * soft-fp/fmatf4.c [__GNUC_PREREQ (4, 7)]: Make code
2208         unconditional.
2209         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
2210         * stdlib/setenv.c
2211         [((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7)]: Make
2212         code unconditional.
2213         [!(((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7))]:
2214         Remove conditional code.
2215         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
2216         (__ieee754_lgamma_r) [__GNUC_PREREQ (4, 7)]: Make code
2217         unconditional.
2218         (__ieee754_lgamma_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
2219         code.
2220         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
2221         (__ieee754_lgammaf_r) [__GNUC_PREREQ (4, 7)]: Make code
2222         unconditional.
2223         (__ieee754_lgammaf_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
2224         code.
2225         * sysdeps/ieee754/ldbl-128/k_tanl.c
2226         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
2227         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
2228         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
2229         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
2230         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
2231         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
2232         (__ieee754_lgammal_r) [__GNUC_PREREQ (4, 7)]: Make code
2233         unconditional.
2234         (__ieee754_lgammal_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
2235         code.
2236         * sysdeps/ieee754/ldbl-96/k_tanl.c
2237         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
2238         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
2240         * nptl/tst-initializers1-c11.c: New file.
2241         * nptl/tst-initializers1-gnu11.c: Likewise.
2242         * nptl/Makefile (tests): Add these new tests.
2243         (CFLAGS-tst-initializers1-c11.c): New variable.
2244         (CFLAGS-tst-initializers1-gnu11.c): Likewise.
2246         * Makeconfig (CFLAGS): Use -std=gnu11 instead of -std=gnu99.
2247         * Makefile ($(objpfx)c++-types-check.out): Filter out -std=gnu11
2248         instead of -std=gnu99.
2249         * configure.ac (systemtap): Test with -std=gnu11 instead of
2250         -std=gnu99.
2251         * configure: Regenerated.
2252         * math/gen-auto-libm-tests.c: Use -std=gnu11 instead of -std=gnu99
2253         in compilation command in comment.
2255         * sysdeps/nptl/configure.ac: Remove file.
2256         * sysdeps/nptl/configure: Remove generated file.
2257         * configure.ac (libc_cv_forced_unwind): Do not substitute.
2258         * configure: Regenerated.
2259         * config.h.in (HAVE_FORCED_UNWIND): Remove #undef.
2260         * config.make.in (have-forced-unwind): Remove variable.
2261         * nptl/Makefile [$(have-forced-unwind) = yes]: Make code
2262         unconditional.
2263         * nptl/descr.h [HAVE_FORCED_UNWIND]: Likewise.
2264         * nptl/unwind.c [HAVE_FORCED_UNWIND]: Likewise.
2265         (__pthread_unwind) [!HAVE_FORCED_UNWIND]: Remove conditional code.
2266         * nptl/version.c [HAVE_FORCED_UNWIND]: Make code unconditional.
2267         * sysdeps/nptl/Makefile [$(have-forced-unwind) = yes]: Make code
2268         unconditional.
2270 2015-10-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2272         [BZ #19174]
2273         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Fix usage of
2274         .skip_lock_out_of_tbegin_retries.
2275         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
2276         (__lll_lock_elision): Likewise, and respect a value of
2277         try_tbegin <= 0.
2279 2015-10-27  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
2281         * elf/dl-support.c (_dl_aux_init): Added AT_PLATFORM to the case
2282         statement.
2284 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
2286         * conform/Makefile (test-xfail-ISO11/complex.h/conform): Remove
2287         variable.
2288         (test-xfail-ISO11/stdalign.h/conform): Likewise.
2289         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
2291         * conform/GlibcConform.pm ($CFLAGS{"ISO11"}): Use -std=c11 instead
2292         of -std=c1x -D_ISOC11_SOURCE.
2294         * configure.ac (libc_cv_compiler_ok): Require GCC 4.7 or later.
2295         * configure: Regenerated.
2296         * manual/install.texi (Tools for Compilation): Document
2297         requirement for GCC 4.7 or later.
2298         * INSTALL: Regenerated.
2300 2015-10-27  Ludovic Courtès  <ludo@gnu.org>
2302         * locale/loadlocale.c (_nl_intern_locale_data): Change assertion
2303         on CNT to a conditional jump to 'puntdata'.
2305 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
2307         * configure.ac (libc_cv_gcc___thread): Remove configure test.
2308         (libc_cv_gcc_tls_model_attr): Likewise.
2309         * configure: Regenerated.
2311         * configure.ac (libc_cv_need_minus_P): Remove configure test.
2312         * configure: Regenerated.
2313         * Makeconfig (asm-CPPFLAGS): Remove reference to -P in comment.
2315 2015-10-26  Joseph Myers  <joseph@codesourcery.com>
2317         * configure.ac (old_glibc_headers): Remove configure test.
2318         * configure: Regenerated.
2319         * config.make.in (old-glibc-headers): Remove variable.
2320         * Makefile [!$(install_root) && $(old-glibc-headers) = yes]
2321         (install): Remove dependency on remove-old-headers.
2322         (headers2_0): Remove variable.
2323         (remove-old-headers): Remove rule.
2325         * configure.ac (libc_cv_dot_text): Remove configure test.
2326         (libc_cv_asm_set_directive): Use .text instead of
2327         ${libc_cv_dot_text} in configure test.
2328         * configure: Regenerated.
2330 2015-10-26  Florian Weimer  <fweimer@redhat.com>
2332         [BZ #19168]
2333         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
2335 2015-10-26  Florian Weimer  <fweimer@redhat.com>
2337         * configure.ac (CXX): Clear the variable if the C++ toolchain does
2338         not support static linking.
2339         * configure: Regenerate.
2341 2015-10-23  Joseph Myers  <joseph@codesourcery.com>
2343         * math/libm-test.inc (check_float_internal): Do not special-case
2344         errors up to 0.5 ulp.
2346         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
2347         log2.
2348         * math/auto-libm-test-out: Regenerated.
2349         * math/libm-test.inc (MAX_EXP): New macro.
2350         (ilogb_test_data): Add more tests.
2351         (isfinite_test_data): Likewise.
2352         (isgreater_test_data): Likewise.
2353         (isgreaterequal_test_data): Likewise.
2354         (isinf_test_data): Likewise.
2355         (isless_test_data): Likewise.
2356         (islessequal_test_data): Likewise.
2357         (islessgreater_test_data): Likewise.
2358         (isnan_test_data): Likewise.
2359         (isnormal_test_data): Likewise.
2360         (issignaling_test_data): Likewise.
2361         (isunordered_test_data): Likewise.
2362         (j0_test_data): Likewise.
2363         (j1_test_data): Likewise.
2364         (jn_test_data): Likewise.
2365         (lgamma_test_data): Likewise.
2366         (log_test_data): Likewise.
2367         (log10_test_data): Likewise.
2368         (log1p_test_data): Likewise.
2369         (log2_test_data): Likewise.
2370         (logb_test_data): Likewise.
2371         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2373         [BZ #18611]
2374         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Set errno and
2375         avoid excess range and precision on underflow.
2376         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
2377         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
2378         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
2379         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Set errno on
2380         underflow.
2381         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
2382         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
2383         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
2384         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
2385         * math/auto-libm-test-in: Do not allow missing errno setting for
2386         tests of j1 and jn.
2387         * math/auto-libm-test-out: Regenerated.
2389 2015-10-22  Joseph Myers  <joseph@codesourcery.com>
2391         [BZ #15491]
2392         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Save and restore
2393         floating-point environment instead of clearing all exceptions.
2394         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
2395         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise,
2396         merging in "invalid" exceptions from frndint.
2397         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
2398         * math/test-nearbyint-except.c: New file.
2399         * math/Makefile (tests): Add test-nearbyint-except.
2401 2015-10-22  Chris Metcalf  <cmetcalf@ezchip.com>
2403         * NEWS: Mention bug 18699 fixed by commit fe8c2b33aed0.
2405         * sysdeps/tile/libm-test-ulps: Regenerated.
2407 2015-10-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2409         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c
2410         (__NR_sync_file_range2): Assume it is always defined.
2411         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
2412         (__NR_sync_file_range): Assume it is always defined.
2414 2015-10-22  Andreas Schwab  <schwab@suse.de>
2416         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
2417         INTERNAL_SYSCALL_ERRNO.
2418         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
2419         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
2420         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
2421         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
2422         Likewise.
2423         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
2425 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
2427         * io/tst-fcntl.c (fd): New static variable.
2428         (do_prepare): Open temporary file here....
2429         (do_test): ...not here.
2431         * io/ftwtest-sh: Also trap on exit to remove temporary files.
2433 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
2435         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: Replace
2436         __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
2437         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
2438         Moved before "#ifdef __ASSEMBLER__".
2440 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
2442         [BZ #19156]
2443         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Return 1 for
2444         arguments very close to 0.
2446 2015-10-21  Chris Metcalf  <cmetcalf@ezchip.com>
2448         * sysdeps/unix/sysv/linux/tile/sysdep.h (PSEUDO_END)
2449         (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO): Undef before defining.
2451 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
2453         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
2454         New.  Defined for GCC 5 and above when not compiling for
2455         profiling.
2456         Replace __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
2458         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
2459         Renamed to ...
2460         (CFLAGS-epoll_pwait.o): This.
2461         (CFLAGS-mmap.c): Renamed to ...
2462         (CFLAGS-mmap.o): This.
2463         (CFLAGS-mmap64.c): Renamed to ...
2464         (CFLAGS-mmap64.o): This.
2465         (CFLAGS-epoll_pwait.os): New.
2466         (CFLAGS-mmap.os): Likewise.
2467         (CFLAGS-mmap64.os): Likewise.
2468         (CFLAGS-semtimedop.os): Likewise.
2469         (CFLAGS-semtimedop.c): Renamed to ...
2470         (CFLAGS-semtimedop.o): This.
2472 2015-10-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
2474         * debug/tst-backtrace4.c (handle_signal): Fix a comment and
2475         warning message.
2477 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
2479         * Makeconfig (+gccwarn-c): Add -Wold-style-definition.
2480         * Makefile ($(objpfx)c++-types-check.out): Filter out
2481         $(+gccwarn-c) instead of -Wstrict-prototypes.
2483         * io/fts.c (fts_open): Convert to prototype-style function
2484         definition.
2485         * malloc/mcheck.c (mcheck): Likewise.
2486         (mcheck_pedantic): Likewise.
2487         * posix/regexec.c (re_search_2_stub): Likewise.  Use
2488         internal_function.
2489         (re_search_internal): Likewise.
2490         * resolv/res_init.c [RESOLVSORT] (net_mask): Convert to
2491         prototype-style function definition.
2492         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
2493         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
2494         * sunrpc/rpcsvc/rusers.x (xdr_utmp): Likewise.
2495         (xdr_utmpptr): Likewise.
2496         (xdr_utmparr): Likewise.
2497         (xdr_utmpidle): Likewise.
2498         (xdr_utmpidleptr): Likewise.
2499         (xdr_utmpidlearr): Likewise.
2501         * math/auto-libm-test-in: Add more tests of hypot, j0, j1, jn,
2502         log, log10 and log2.
2503         * math/auto-libm-test-out: Regenerated.
2504         * math/libm-test.inc (fmod_test_data): Add more tests.
2505         (fpclassify_test_data): Likewise.
2506         (frexp_test_data): Likewise.
2507         (hypot_test_data): Likewise.
2508         (ilogb_test_data): Likewise.
2510 2015-10-20  Joseph Myers  <joseph@codesourcery.com>
2512         * debug/fortify_fail.c (__fortify_fail): Convert to
2513         prototype-style function definition.  Use internal_function.
2514         * libio/genops.c (save_for_backup): Convert to prototype-style
2515         function definition.
2516         * libio/wgenops.c (save_for_wbackup): Likewise.
2517         * login/grantpt.c (grantpt): Likewise.
2518         * login/ptsname.c (ptsname): Likewise.
2519         (__ptsname_r): Likewise.
2520         * login/unlockpt.c (unlockpt): Likewise.
2521         * mach/msgserver.c (__mach_msg_server): Likewise.
2522         * misc/efgcvt.c (__APPEND (FUNC_PREFIX, fcvt)): Likewise.
2523         (__APPEND (FUNC_PREFIX, ecvt)): Likewise.
2524         (__APPEND (FUNC_PREFIX, gcvt)): Likewise.
2525         * misc/efgcvt_r.c (__APPEND (FUNC_PREFIX, fcvt_r)): Likewise.
2526         (__APPEND (FUNC_PREFIX, ecvt_r)): Likewise.
2527         * nptl/cleanup_compat.c (_pthread_cleanup_push): Likewise.
2528         * nptl/cleanup_defer_compat.c (_pthread_cleanup_push_defer):
2529         Likewise.
2530         * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.  Use
2531         internal_function.
2532         * nptl/pthread_atfork.c (__pthread_atfork): Convert to
2533         prototype-style function definition.
2534         * nptl/pthread_create.c (__pthread_create_2_1): Likewise.
2535         [SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)]
2536         (__pthread_create_2_0): Likewise.
2537         * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
2538         * nptl/register-atfork.c (__register_atfork): Likewise.
2539         * posix/glob.c (glob): Likewise.
2540         * posix/regcomp.c (re_comp): Likewise.
2541         * posix/regexec.c (re_exec): Likewise.
2542         * stdlib/add_n.c [__STDC__]: Make code unconditional.
2543         [!__STDC__]: Remove conditional code.
2544         * stdlib/cmp.c [__STDC__]: Make code unconditional.
2545         [!__STDC__]: Remove conditional code.
2546         * stdlib/divmod_1.c [__STDC__]: Make code unconditional.
2547         [!__STDC__]: Remove conditional code.
2548         * stdlib/divrem.c [__STDC__]: Make code unconditional.
2549         [!__STDC__]: Remove conditional code.
2550         * stdlib/lshift.c [__STDC__]: Make code unconditional.
2551         [!__STDC__]: Remove conditional code.
2552         * stdlib/mod_1.c [__STDC__]: Make code unconditional.
2553         [!__STDC__]: Remove conditional code.
2554         * stdlib/mul.c [__STDC__]: Make code unconditional.
2555         [!__STDC__]: Remove conditional code.
2556         * stdlib/mul_n.c [__STDC__]: Make code unconditional.
2557         [!__STDC__]: Remove conditional code.
2558         * stdlib/rshift.c [__STDC__]: Make code unconditional.
2559         [!__STDC__]: Remove conditional code.
2560         * stdlib/strtod.c (INTERNAL (STRTOF)): Convert to prototype-style
2561         function definition.
2562         (STRTOF): Likewise.
2563         * stdlib/strtod_l.c (__STRTOF): Likewise.
2564         * stdlib/strtol.c (INTERNAL (strtol)): Likewise.
2565         * stdlib/strtol_l.c (INTERNAL (__strtol_l)): Likewise.
2566         (__strtol_l): Likewise.
2567         * stdlib/sub_n.c [__STDC__]: Make code unconditional.
2568         [!__STDC__]: Remove conditional code.
2569         * string/memrchr.c (MEMRCHR): Convert to prototype-style function
2570         definition.
2571         * string/strcasecmp.c (LOCALE_PARAM_DECL): Remove macro.
2572         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
2573         type.
2574         (__strcasecmp): Convert to prototype-style function definition.
2575         * string/strncase.c (LOCALE_PARAM_DECL): Remove macro.
2576         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
2577         type.
2578         (__strncasecmp): Convert to prototype-style function definition.
2579         * sunrpc/pm_getport.c (__libc_rpc_getport): Likewise.
2580         * sunrpc/xdr.c (xdr_union): Likewise.
2581         * sunrpc/xdr_array.c (xdr_array): Likewise.
2582         * sunrpc/xdr_ref.c (xdr_reference): Likewise.
2583         * sysdeps/m68k/m680x0/fpu/s_atan.c (__CONCATX(__,FUNC)): Likewise.
2584         * sysdeps/m68k/m680x0/fpu/s_isinf.c (__CONCATX(__,FUNC)):
2585         Likewise.
2586         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(__scalbn,suffix):
2587         Likewise.
2588         * sysdeps/m68k/m680x0/fpu/s_sincos.c (CONCATX(__,FUNC)): Likewise.
2589         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
2590         Likewise.
2591         * time/strftime_l.c (LOCALE_PARAM_DECL): Remove macro.
2592         (LOCALE_PARAM_PROTO): Likewise.
2593         [_LIBC && USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include
2594         argument type.
2595         (ut_argument_spec): Remove macro.
2596         (ut_argument_spec_iso): Rename to ut_argument_spec.
2597         (memcpy_lowcase): Use LOCALE_PARAM in declaration.  Convert to
2598         prototype-style function definition.
2599         (memcpy_uppcase): Likewise.
2600         (__strftime_internal): Likewise.
2601         (my_strftime): Likewise.
2602         * time/strptime_l.c (LOCALE_PARAM_PROTO): Remove macro.
2603         (LOCALE_PARAM_DECL): Likewise.
2604         [_LIBC] (LOCALE_PARAM): Include argument type.
2605         (__strptime_internal): Convert to prototype-style function
2606         definition.
2607         (strptime): Likewise.
2608         * wcsmbs/wcscasecmp.c (LOCALE_PARAM_DECL): Remove macro.
2609         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
2610         type.
2611         (__wcscasecmp): Convert to prototype-style function definition.
2612         * wcsmbs/wcsncase.c (LOCALE_PARAM_DECL): Remove macro.
2613         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
2614         type.
2615         (__wcsncasecmp): Convert to prototype-style function definition.
2617         * crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style
2618         function definition.
2619         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
2620         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
2621         * debug/backtracesyms.c (__backtrace_symbols): Likewise.
2622         * elf/dl-minimal.c (_itoa): Likewise.
2623         * hurd/hurdmalloc.c (malloc): Likewise.
2624         (free): Likewise.
2625         (realloc): Likewise.
2626         * inet/inet6_option.c (inet6_option_space): Likewise.
2627         (inet6_option_init): Likewise.
2628         (inet6_option_append): Likewise.
2629         (inet6_option_alloc): Likewise.
2630         (inet6_option_next): Likewise.
2631         (inet6_option_find): Likewise.
2632         * io/ftw.c (FTW_NAME): Likewise.
2633         (NFTW_NAME): Likewise.
2634         (NFTW_NEW_NAME): Likewise.
2635         (NFTW_OLD_NAME): Likewise.
2636         * libio/iofwide.c (_IO_fwide): Likewise.
2637         * libio/strops.c (_IO_str_init_static_internal): Likewise.
2638         (_IO_str_init_static): Likewise.
2639         (_IO_str_init_readonly): Likewise.
2640         (_IO_str_overflow): Likewise.
2641         (_IO_str_underflow): Likewise.
2642         (_IO_str_count): Likewise.
2643         (_IO_str_seekoff): Likewise.
2644         (_IO_str_pbackfail): Likewise.
2645         (_IO_str_finish): Likewise.
2646         * libio/wstrops.c (_IO_wstr_init_static): Likewise.
2647         (_IO_wstr_overflow): Likewise.
2648         (_IO_wstr_underflow): Likewise.
2649         (_IO_wstr_count): Likewise.
2650         (_IO_wstr_seekoff): Likewise.
2651         (_IO_wstr_pbackfail): Likewise.
2652         (_IO_wstr_finish): Likewise.
2653         * locale/programs/localedef.c (normalize_codeset): Likewise.
2654         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
2655         (add_locales_to_archive): Likewise.
2656         (delete_locales_from_archive): Likewise.
2657         * malloc/malloc.c (__libc_mallinfo): Likewise.
2658         * math/gen-auto-libm-tests.c (init_fp_formats): Likewise.
2659         * misc/tsearch.c (__tfind): Likewise.
2660         * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise.
2661         * nptl/pthread_attr_getdetachstate.c
2662         (__pthread_attr_getdetachstate): Likewise.
2663         * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
2664         Likewise.
2665         * nptl/pthread_attr_getinheritsched.c
2666         (__pthread_attr_getinheritsched): Likewise.
2667         * nptl/pthread_attr_getschedparam.c
2668         (__pthread_attr_getschedparam): Likewise.
2669         * nptl/pthread_attr_getschedpolicy.c
2670         (__pthread_attr_getschedpolicy): Likewise.
2671         * nptl/pthread_attr_getscope.c (__pthread_attr_getscope):
2672         Likewise.
2673         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack):
2674         Likewise.
2675         * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
2676         Likewise.
2677         * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
2678         Likewise.
2679         * nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise.
2680         (__pthread_attr_init_2_0): Likewise.
2681         * nptl/pthread_attr_setdetachstate.c
2682         (__pthread_attr_setdetachstate): Likewise.
2683         * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
2684         Likewise.
2685         * nptl/pthread_attr_setinheritsched.c
2686         (__pthread_attr_setinheritsched): Likewise.
2687         * nptl/pthread_attr_setschedparam.c
2688         (__pthread_attr_setschedparam): Likewise.
2689         * nptl/pthread_attr_setschedpolicy.c
2690         (__pthread_attr_setschedpolicy): Likewise.
2691         * nptl/pthread_attr_setscope.c (__pthread_attr_setscope):
2692         Likewise.
2693         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack):
2694         Likewise.
2695         * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
2696         Likewise.
2697         * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
2698         Likewise.
2699         * nptl/pthread_condattr_setclock.c (pthread_condattr_setclock):
2700         Likewise.
2701         * nptl/pthread_create.c (__find_in_stack_list): Likewise.
2702         * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
2703         * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to
2704         use internal_function.
2705         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to
2706         prototype-style function definition.
2707         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
2708         (__pthread_mutex_cond_lock_adjust): Likewise.  Use
2709         internal_function.
2710         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock):
2711         Convert to prototype-style function definition.
2712         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
2713         Likewise.
2714         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
2715         Likewise.
2716         (__pthread_mutex_unlock): Likewise.
2717         * nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
2718         * nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise.
2719         * nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
2720         * nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise.
2721         * nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise.
2722         * nss/makedb.c (process_input): Likewise.
2723         * posix/fnmatch.c (__strchrnul): Likewise.
2724         (__wcschrnul): Likewise.
2725         (fnmatch): Likewise.
2726         * posix/fnmatch_loop.c (FCT): Likewise.
2727         * posix/glob.c (globfree): Likewise.
2728         (__glob_pattern_type): Likewise.
2729         (__glob_pattern_p): Likewise.
2730         * posix/regcomp.c (re_compile_pattern): Likewise.
2731         (re_set_syntax): Likewise.
2732         (re_compile_fastmap): Likewise.
2733         (regcomp): Likewise.
2734         (regerror): Likewise.
2735         (regfree): Likewise.
2736         * posix/regexec.c (regexec): Likewise.
2737         (re_match): Likewise.
2738         (re_search): Likewise.
2739         (re_match_2): Likewise.
2740         (re_search_2): Likewise.
2741         (re_search_stub): Likewise.  Use internal_function
2742         (re_copy_regs): Likewise.
2743         (re_set_registers): Convert to prototype-style function
2744         definition.
2745         (prune_impossible_nodes): Likewise.  Use internal_function.
2746         * resolv/inet_net_pton.c (inet_net_pton): Convert to
2747         prototype-style function definition.
2748         (inet_net_pton_ipv4): Likewise.
2749         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
2750         * sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise.
2751         * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
2752         * sysdeps/pthread/timer_delete.c (timer_delete): Likewise.
2753         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
2754         Make variadic.
2755         * time/strptime_l.c (localtime_r): Convert to prototype-style
2756         function definition.
2757         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
2758         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
2759         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
2760         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
2762         * crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function
2763         definition.
2764         (_ufc_doit_r): Likewise.
2765         * crypt/crypt_util.c (_ufc_copymem): Likewise.
2766         (_ufc_output_conversion_r): Likewise.
2767         * inet/inet_mkadr.c (__inet_makeaddr): Likewise.
2768         * inet/rcmd.c (rcmd_af): Likewise.
2769         (rcmd): Likewise.
2770         (ruserok_af): Likewise.
2771         (ruserok): Likewise.
2772         (ruserok2_sa): Likewise.
2773         (ruserok_sa): Likewise.
2774         (iruserok_af): Likewise.
2775         (iruserok): Likewise.
2776         (__ivaliduser): Likewise.
2777         (__validuser2_sa): Likewise.
2778         * inet/rexec.c (rexec_af): Likewise.
2779         (rexec): Likewise.
2780         * inet/ruserpass.c (ruserpass): Likewise.
2781         * locale/programs/xmalloc.c (xcalloc): Likewise.
2782         * manual/examples/timeval_subtract.c (timeval_subtract): Likewise.
2783         * math/w_drem.c (__drem): Likewise.
2784         * math/w_dremf.c (__dremf): Likewise.
2785         * math/w_dreml.c (__dreml): Likewise.
2786         * misc/daemon.c (daemon): Likewise.
2787         * resolv/res_debug.c (p_fqnname): Likewise.
2788         * stdlib/div.c (div): Likewise.
2789         * string/memcmp.c (memcmp_bytes): Likewise.
2790         * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
2791         * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
2793         * crypt/cert.c (main): Convert to prototype-style function
2794         definition.
2795         * io/pipe.c (__pipe): Likewise.
2796         * io/pipe2.c (__pipe2): Likewise.
2797         * misc/futimesat.c (futimesat): Likewise.
2798         * misc/utimes.c (__utimes): Likewise.
2799         * posix/execve.c (__execve): Likewise.
2800         * posix/execvp.c (execvp): Likewise.
2801         * posix/execvpe.c (__execvpe): Likewise.
2802         * posix/fexecve.c (fexecve): Likewise.
2803         * socket/socketpair.c (socketpair): Likewise.
2804         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
2805         * stdlib/erand48.c (erand48): Likewise.
2806         * stdlib/erand48_r.c (__erand48_r): Likewise.
2807         * stdlib/jrand48.c (jrand48): Likewise.
2808         * stdlib/jrand48_r.c (__jrand48_r): Likewise.
2809         * stdlib/lcong48.c (lcong48): Likewise.
2810         * stdlib/lcong48_r.c (__lcong48_r): Likewise.
2811         * stdlib/nrand48.c (nrand48): Likewise.
2812         * stdlib/nrand48_r.c (__nrand48_r): Likewise.
2813         * stdlib/seed48.c (seed48): Likewise.
2814         * stdlib/seed48_r.c (__seed48_r): Likewise.
2815         * sysdeps/mach/hurd/execve.c (__execve): Likewise.
2816         * sysdeps/mach/hurd/utimes.c (__utimes): Likewise.
2817         * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Likewise.
2819 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
2821         * configure.ac (libc_cv_asm_unique_object): Remove configure test.
2822         * configure: Regenerated.
2823         * config.h.in (HAVE_ASM_UNIQUE_OBJECT): Remove #undef.
2824         * elf/tst-unique1.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Make code
2825         unconditional.
2826         * elf/tst-unique1mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
2827         * elf/tst-unique1mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
2828         * elf/tst-unique2.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
2829         (do_test) [!HAVE_ASM_UNIQUE_OBJECT]: Remove conditional code.
2830         * elf/tst-unique2mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Make code
2831         unconditional.
2832         * elf/tst-unique2mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
2834         * posix/Makefile (CFLAGS-regex.c): Remove variable.
2835         * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.
2837         * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
2838         function definition.
2839         * crypt/crypt_util.c (__encrypt_r): Likewise.
2840         * libio/genops.c (_IO_no_init): Likewise.
2841         * libio/iofopncook.c (_IO_fopencookie): Likewise.
2842         (_IO_old_fopencookie): Likewise.
2843         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
2844         * libio/iogetline.c (_IO_getline): Likewise.
2845         (_IO_getline_info): Likewise.
2846         * libio/iogetwline.c (_IO_getwline): Likewise.
2847         (_IO_getwline_info): Likewise.
2848         * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
2849         * libio/vswprintf.c (_IO_vswprintf): Likewise.
2850         * locale/programs/simple-hash.c (insert_entry_2): Likewise.
2851         (find_entry): Likewise.
2852         (iterate_table): Likewise.
2853         (lookup): Likewise.
2854         * login/forkpty.c (forkpty): Likewise.
2855         * misc/hsearch_r.c (__hsearch_r): Likewise.
2856         * misc/select.c (__select): Likewise.
2857         * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
2858         Likewise.
2859         * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
2860         Likewise.
2861         * nptl/old_pthread_cond_timedwait.c
2862         (__pthread_cond_timedwait_2_0): Likewise.
2863         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
2864         * nptl/pthread_barrierattr_getpshared.c
2865         (pthread_barrierattr_getpshared): Likewise.
2866         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
2867         Likewise.
2868         * nptl/pthread_mutex_setprioceiling.c
2869         (pthread_mutex_setprioceiling): Likewise.
2870         * nptl/pthread_mutexattr_getprioceiling.c
2871         (pthread_mutexattr_getprioceiling): Likewise.
2872         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
2873         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
2874         Likewise.
2875         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
2876         Likewise.
2877         * nptl/pthread_setschedparam.c (__pthread_setschedparam):
2878         Likewise.
2879         * socket/recvfrom.c (__recvfrom): Likewise.
2880         * socket/sendto.c (__sendto): Likewise.
2881         * socket/setsockopt.c (__setsockopt): Likewise.
2882         * stdio-common/_itoa.c (_itoa): Likewise.
2883         * stdio-common/_itowa.c (_itowa): Likewise.
2884         * stdio-common/reg-printf.c (__register_printf_specifier):
2885         Likewise.
2886         (__register_printf_function): Likewise.
2887         * stdio-common/tempname.c (__path_search): Likewise.
2888         * stdlib/addmul_1.c (mpn_addmul_1): Likewise.
2889         * stdlib/mul_1.c (mpn_mul_1): Likewise.
2890         * stdlib/random_r.c (__initstate_r): Likewise.
2891         * stdlib/setenv.c (__add_to_environ): Likewise.
2892         * stdlib/submul_1.c (mpn_submul_1): Likewise.
2893         * streams/getpmsg.c (getpmsg): Likewise.
2894         * streams/putmsg.c (putmsg): Likewise.
2895         * streams/putpmsg.c (putpmsg): Likewise.
2896         * sunrpc/clnt_raw.c (clntraw_call): Likewise.
2897         * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
2898         * sunrpc/clnt_udp.c (clntudp_create): Likewise.
2899         * sunrpc/clnt_unix.c (clntunix_call): Likewise.
2900         * sunrpc/pm_getport.c (pmap_getport): Likewise.
2901         * sunrpc/svc_udp.c (cache_get): Likewise.
2902         * sunrpc/xdr_array.c (xdr_vector): Likewise.
2903         * sysdeps/mach/hurd/getcwd.c
2904         (__canonicalize_directory_name_internal): Likewise.
2905         * sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
2906         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
2907         * sysdeps/mach/hurd/select.c (__select): Likewise.
2908         * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
2909         * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
2910         * sysdeps/sparc/nptl/pthread_barrier_init.c
2911         (__pthread_barrier_init): Likewise.
2912         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
2913         (__pthread_cond_timedwait): Likewise.
2914         * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
2915         * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
2916         Likewise.
2917         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
2918         * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
2919         Likewise.
2920         * sysvipc/semtimedop.c (semtimedop): Likewise.
2921         * time/setitimer.c (__setitimer): Likewise.
2922         * time/strftime_l.c (emacs_strftime): Likewise.
2924 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
2926         * config.make.in (have-ssp): Delete.
2927         (stack-protector): New variable.
2928         * configure.ac: Delete libc_cv_ssp export.  Add libc_cv_ssp_strong
2929         cache test for -fstack-protector-strong.  Export stack_protector to
2930         the best ssp flag.
2931         * configure: Regenerated.
2932         * login/Makefile (pt_chown-cflags): Always add $(stack-protector).
2933         * nscd/Makefile (CFLAGS-nscd): Likewise.
2934         * resolv/Makefile (CFLAGS-libresolv): Likewise.
2936 2015-10-16  H.J. Lu  <hongjiu.lu@intel.com>
2938         [BZ #19122]
2939         * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
2940         attribute_hidden.
2942 2015-10-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
2944         [BZ #18743]
2945         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this
2946         code to...
2947         (ELIDE_LOCK): ...here.
2948         (__get_new_count): New function with part of the code from
2949         __elide_lock that updates the value of adapt_count after a
2950         transaction abort.
2951         (__elided_trylock): Moved this code to...
2952         (ELIDE_TRYLOCK): ...here.
2954 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
2956         * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing.
2957         * configure: Regenerate.
2958         * INSTALL: Regenerate.
2959         * manual/install.texi (--disable-timezone-tools): Use @theglibc{}
2960         and tweak grammar.
2962 2015-10-19  Geoffrey Thomas  <geofft@ldpreload.com>
2964         * login/programs/pt_chown.c: Include signal.h
2965         (main): Clear any signal mask from the parent process.
2967 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
2969         * configure.ac (libc_cv_gnu89_inline): Remove configure test.
2970         * configure: Regenerated.
2971         * config.make.in (gnu89-inline-CFLAGS): Remove variable.
2972         * Makeconfig (CFLAGS): Use -fgnu89-inline instead of
2973         $(gnu89-inline-CFLAGS).
2975         * configure.ac (libc_cv_asm_weak_directive): Remove configure
2976         test.
2977         (libc_cv_asm_weakext_directive): Likewise.
2978         * configure: Regenerated.
2979         * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef.
2980         (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise.
2981         * include/libc-symbols.h
2982         [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove
2983         #error.
2984         [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code.
2985         [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional.
2987         * sysdeps/arm/backtrace.c (__backtrace): Convert to
2988         prototype-style function definition.
2989         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
2990         * sysdeps/i386/ffs.c (__ffs): Likewise.
2991         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
2992         * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
2993         Likewise.
2994         * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
2995         Likewise.
2996         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
2997         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
2998         Likewise.
2999         * sysdeps/m68k/ffs.c (__ffs): Likewise.
3000         * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
3001         * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
3002         * sysdeps/mach/adjtime.c (__adjtime): Likewise.
3003         * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
3004         * sysdeps/mach/hurd/_exit.c (_exit): Likewise.
3005         * sysdeps/mach/hurd/access.c (__access): Likewise.
3006         * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
3007         * sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
3008         * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
3009         * sysdeps/mach/hurd/chown.c (__chown): Likewise.
3010         * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
3011         (cthread_getspecific): Likewise.
3012         (cthread_setspecific): Likewise.
3013         (__libc_getspecific): Likewise.
3014         * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
3015         * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
3016         * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
3017         * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
3018         * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
3019         * sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
3020         * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
3021         * sysdeps/mach/hurd/flock.c (__flock): Likewise.
3022         * sysdeps/mach/hurd/fsync.c (fsync): Likewise.
3023         * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
3024         * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
3025         * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
3026         * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
3027         * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
3028         * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
3029         * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
3030         * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
3031         * sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
3032         * sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
3033         * sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
3034         * sysdeps/mach/hurd/link.c (__link): Likewise.
3035         * sysdeps/mach/hurd/linkat.c (linkat): Likewise.
3036         * sysdeps/mach/hurd/listen.c (__listen): Likewise.
3037         * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
3038         * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
3039         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
3040         * sysdeps/mach/hurd/poll.c (__poll): Likewise.
3041         * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
3042         * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
3043         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
3044         * sysdeps/mach/hurd/rename.c (rename): Likewise.
3045         * sysdeps/mach/hurd/renameat.c (renameat): Likewise.
3046         * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
3047         * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
3048         * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
3049         * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
3050         * sysdeps/mach/hurd/send.c (__send): Likewise.
3051         * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
3052         * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
3053         * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
3054         * sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
3055         * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
3056         * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
3057         * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
3058         * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
3059         * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
3060         * sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
3061         * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
3062         * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
3063         * sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
3064         * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
3065         * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
3066         * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
3067         * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
3068         * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
3069         * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
3070         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
3071         * sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
3072         * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
3073         * sysdeps/mach/hurd/telldir.c (telldir): Likewise.
3074         * sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
3075         * sysdeps/mach/hurd/umask.c (__umask): Likewise.
3076         * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
3077         * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
3078         * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
3079         * sysdeps/posix/alarm.c (alarm): Likewise.
3080         * sysdeps/posix/cuserid.c (cuserid): Likewise.
3081         * sysdeps/posix/dirfd.c (dirfd): Likewise.
3082         * sysdeps/posix/dup.c (__dup): Likewise.
3083         * sysdeps/posix/dup2.c (__dup2): Likewise.
3084         * sysdeps/posix/euidaccess.c (euidaccess): Likewise.
3085         (main): Likewise.
3086         * sysdeps/posix/flock.c (__flock): Likewise.
3087         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
3088         * sysdeps/posix/getcwd.c (__getcwd): Likewise.
3089         * sysdeps/posix/gethostname.c (__gethostname): Likewise.
3090         * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
3091         * sysdeps/posix/isatty.c (__isatty): Likewise.
3092         * sysdeps/posix/killpg.c (killpg): Likewise.
3093         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
3094         * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
3095         * sysdeps/posix/raise.c (raise): Likewise.
3096         * sysdeps/posix/remove.c (remove): Likewise.
3097         * sysdeps/posix/rename.c (rename): Likewise.
3098         * sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
3099         * sysdeps/posix/seekdir.c (seekdir): Likewise.
3100         * sysdeps/posix/sigblock.c (__sigblock): Likewise.
3101         * sysdeps/posix/sigignore.c (sigignore): Likewise.
3102         * sysdeps/posix/sigintr.c (siginterrupt): Likewise.
3103         * sysdeps/posix/signal.c (__bsd_signal): Likewise.
3104         * sysdeps/posix/sigset.c (sigset): Likewise.
3105         * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
3106         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
3107         * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
3108         * sysdeps/posix/time.c (time): Likewise.
3109         * sysdeps/posix/ttyname.c (getttyname): Likewise.
3110         (ttyname): Likewise.
3111         * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
3112         * sysdeps/posix/utime.c (utime): Likewise.
3113         * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
3114         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
3115         Likewise.
3116         * sysdeps/powerpc/nptl/pthread_spin_trylock.c
3117         (pthread_spin_trylock): Likewise.
3118         * sysdeps/pthread/aio_error.c (aio_error): Likewise.
3119         * sysdeps/pthread/aio_read.c (aio_read): Likewise.
3120         * sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
3121         * sysdeps/pthread/aio_write.c (aio_write): Likewise.
3122         * sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
3123         * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
3124         * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
3125         * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
3126         * sysdeps/pthread/timer_create.c (timer_create): Likewise.
3127         * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
3128         * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
3129         * sysdeps/s390/ffs.c (__ffs): Likewise.
3130         * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
3131         Likewise.
3132         * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
3133         Likewise.
3134         * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
3135         Likewise.
3136         * sysdeps/sparc/nptl/pthread_barrier_destroy.c
3137         (pthread_barrier_destroy): Likewise.
3138         * sysdeps/sparc/nptl/pthread_barrier_wait.c
3139         (__pthread_barrier_wait): Likewise.
3140         * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
3141         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
3142         (__pthread_barrier_wait): Likewise.
3143         * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
3144         * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
3145         (memcmp_not_common_alignment): Likewise.
3146         (MEMCMP): Likewise.
3147         * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
3148         (_wordcopy_fwd_dest_aligned): Likewise.
3149         (_wordcopy_bwd_aligned): Likewise.
3150         (_wordcopy_bwd_dest_aligned): Likewise.
3151         * sysdeps/unix/bsd/ftime.c (ftime): Likewise.
3152         * sysdeps/unix/bsd/gtty.c (gtty): Likewise.
3153         * sysdeps/unix/bsd/stty.c (stty): Likewise.
3154         * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
3155         * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
3156         * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
3157         * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
3158         * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
3159         * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
3160         * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
3161         * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
3162         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
3163         * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
3164         * sysdeps/unix/sockatmark.c (sockatmark): Likewise.
3165         * sysdeps/unix/stime.c (stime): Likewise.
3166         * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
3167         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
3168         Likewise.  Use internal_function.
3169         * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
3170         Convert to prototype-style function definition.
3171         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
3172         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
3173         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
3174         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
3175         Likewise.  Use internal_function.
3176         * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
3177         prototype-style function definition
3178         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
3179         Likewise.
3180         (__getlogin_r): Likewise.
3181         * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
3182         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
3183         (__pthread_cond_broadcast): Likewise.
3184         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
3185         (__pthread_cond_destroy): Likewise.
3186         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
3187         (__pthread_cond_init): Likewise.
3188         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
3189         (__pthread_cond_signal): Likewise.
3190         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
3191         (__pthread_cond_wait): Likewise.
3192         * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
3193         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
3194         * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
3195         Likewise.
3196         * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
3197         Likewise.
3198         * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
3199         Likewise.
3200         * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
3201         Likewise.
3202         * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
3203         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
3204         (__ftruncate64): Likewise.
3205         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
3206         (truncate64): Likewise.
3207         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
3208         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
3209         (pthread_getcpuclockid): Likewise.
3210         * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
3211         Likewise.
3212         * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
3213         Likewise.
3214         * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
3215         Likewise.
3216         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
3217         Likewise.
3218         * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
3219         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
3220         (__libc_sigaction): Likewise.
3221         * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
3222         Likewise.
3223         * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
3224         (__sigprocmask): Likewise.
3225         * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
3226         * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
3227         * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
3228         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
3229         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
3230         * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
3231         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
3232         Likewise.
3233         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
3234         * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
3235         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
3236         * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
3237         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
3238         Likewise.
3239         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
3240         (__sigprocmask): Likewise.
3241         * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
3242         (cfgetispeed): Likewise.
3243         (cfsetospeed): Likewise.
3244         (cfsetispeed): Likewise.
3245         * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
3246         * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
3247         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
3248         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
3249         * sysdeps/unix/sysv/linux/time.c (time): Likewise.
3250         * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
3251         * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
3252         * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
3253         Likewise.
3254         * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
3255         Likewise.
3256         * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
3257         Likewise.
3258         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
3259         Likewise.
3260         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
3262 2015-10-17  Florian Weimer  <fweimer@redhat.com>
3264         sunrpc: Rewrite with explicit TLS access using __thread.
3265         * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable.
3266         (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars
3267         directly.
3268         (__rpc_thread_variables): Access thread_rpc_vars directly.
3269         Eliminate redundant assignment of the tvp variable.
3271 2015-10-17  Florian Weimer  <fweimer@redhat.com>
3273         malloc: Rewrite with explicit TLS access using __thread.
3274         * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create)
3275         (tsd_setspecific, tsd_getspecific): Remove.
3276         * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create)
3277         (tsd_setspecific, tsd_getspecific): Likewise.
3278         * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create)
3279         (tsd_setspecific, tsd_getspecific): Likewise.
3280         * malloc/arena.c (thread_arena): New TLS variable.
3281         (arena_key): Remove variable.
3282         (arena_get): Use thread_arena.
3283         (arena_lookup): Remove macro.
3284         (malloc_atfork, free_atfork, ptmalloc_lock_all)
3285         (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init)
3286         (_int_new_arena, get_free_list, reused_arena)
3287         (arena_thread_freeres): Use thread_arena.
3288         * manual/memory.texi (Basic Allocation): Remove arena_lookup,
3289         tsd_getspecific, tsd_setspecific from safety annotations.
3290         (Allocating Cleared Space): Remove arena_lookup from safety
3291         annotations.
3293 2015-10-17  Florian Weimer  <fweimer@redhat.com>
3295         * stdio-common/vfprintf.c (printf_positional): Rewrite to use
3296         struct scratch_buffer instead of extend_alloca.
3298 2015-10-17  Florian Weimer  <fweimer@redhat.com>
3300         * sysdeps/unix/sysv/linux/kernel-features.h
3301         (__ASSUME_SOCK_CLOEXEC): Remove.
3302         * include/sys/socket.h (__have_sock_cloexec): Remove declaration.
3303         (__have_paccept): Remove unused macro.
3304         * include/unistd.h (__have_sock_cloexec): Remove declaration.
3305         * misc/syslog.c (openlog_internal): Remove fallback code for
3306         !__ASSUME_SOCK_CLOEXEC.
3307         * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for
3308         missing SOCK_CLOEXEC.
3309         * nscd/connections.c (have_sock_cloexec): Remove definition.
3310         (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
3311         * nscd/nscd_helper.c (open_socket): Remove fallback code for
3312         !__ASSUME_SOCK_CLOEXEC.
3313         * resolv/res_send.c (__have_o_nonblock): Remove definition.
3314         (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
3315         * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove
3316         definition.
3317         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback
3318         code for !__ASSUME_SOCK_CLOEXEC.
3320 2015-10-17  Florian Weimer  <fweimer@redhat.com>
3322         [BZ #18982]
3323         * manual/stdio.texi (Variable Arguments Output): Add portability
3324         note, explaining that vfprintf clobbers the va_list pointer.
3326 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
3328         * math/libm-test.inc (fabs_test_data): Add more tests.
3329         (fdim_test_data): Likewise.
3330         (fma_test_data): Likewise.
3331         (fmax_test_data): Likewise.
3332         (fmin_test_data): Likewise.
3333         (fmod_test_data): Likewise.
3335 2015-10-16  Steve Ellcey  <sellcey@imgtec.com>
3337         * sysdeps/mips/memcpy.S (memcpy):  Add word copies for small aligned
3338         data.
3340 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
3342         * math/libm-test.inc (ceil_test_data): Add more tests and more
3343         expectations for "inexact".
3344         (floor_test_data): Add more tests.
3345         (round_test_data): Likewise.
3346         (trunc_test_data): Likewise.
3348         * crypt/cert.c (good_bye): Convert to prototype-style function
3349         definition.
3350         (get8): Likewise.
3351         (put8): Likewise.
3352         * crypt/crypt-entry.c (crypt): Likewise.
3353         (__fcrypt): Likewise.
3354         * crypt/crypt_util.c (_ufc_prbits): Likewise.
3355         (_ufc_set_bits): Likewise.
3356         (_ufc_clearmem): Likewise.
3357         (__init_des_r): Likewise.
3358         (shuffle_sb): Likewise.
3359         (shuffle_sb): Likewise.
3360         (_ufc_setup_salt_r): Likewise.
3361         (_ufc_mk_keytab_r): Likewise.
3362         (_ufc_dofinalperm_r): Likewise.
3363         (encrypt): Likewise.
3364         (__setkey_r): Likewise.
3365         (setkey): Likewise.
3366         * crypt/md5.c (md5_init_ctx): Likewise.
3367         (md5_read_ctx): Likewise.
3368         (md5_finish_ctx): Likewise.
3369         (md5_stream): Likewise.
3370         (md5_buffer): Likewise.
3371         (md5_process_bytes): Likewise.
3372         * crypt/sha256.c (__sha256_init_ctx): Likewise.
3373         (__sha256_finish_ctx): Likewise.
3374         (__sha256_process_bytes): Likewise.
3375         * crypt/sha512.c (__sha512_init_ctx): Likewise.
3376         (__sha512_finish_ctx): Likewise.
3377         (__sha512_process_bytes): Likewise.
3378         * ctype/isctype.c (__isctype): Likewise.
3379         * debug/backtrace.c (__backtrace): Likewise.
3380         * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
3381         * debug/fgets_chk.c (__fgets_chk): Likewise.
3382         * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
3383         * debug/memcpy_chk.c (__memcpy_chk): Likewise.
3384         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
3385         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
3386         * debug/memset_chk.c (__memset_chk): Likewise.
3387         * debug/strcat_chk.c (__strcat_chk): Likewise.
3388         * debug/strncat_chk.c (__strncat_chk): Likewise.
3389         * debug/strncpy_chk.c (__strncpy_chk): Likewise.
3390         * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
3391         * dirent/dirfd.c (dirfd): Likewise.
3392         * dirent/getdents.c (__getdirentries): Likewise.
3393         * dirent/getdents64.c (getdirentries64): Likewise.
3394         * dirent/rewinddir.c (__rewinddir): Likewise.
3395         * dirent/seekdir.c (seekdir): Likewise.
3396         * dirent/telldir.c (telldir): Likewise.
3397         * elf/sln.c (makesymlinks): Likewise.
3398         (makesymlink): Likewise.
3399         * gmon/gmon.c (__moncontrol): Likewise.
3400         (__monstartup): Likewise.
3401         (write_hist): Likewise.
3402         (write_call_graph): Likewise.
3403         (write_bb_counts): Likewise.
3404         * grp/setgroups.c (setgroups): Likewise.
3405         * inet/inet_lnaof.c (inet_lnaof): Likewise.
3406         * inet/inet_net.c (inet_network): Likewise.
3407         * inet/inet_netof.c (inet_netof): Likewise.
3408         * inet/rcmd.c (rresvport_af): Likewise.
3409         (rresvport): Likewise.
3410         * io/access.c (__access): Likewise.
3411         * io/chdir.c (__chdir): Likewise.
3412         * io/chmod.c (__chmod): Likewise.
3413         * io/chown.c (__chown): Likewise.
3414         * io/close.c (__close): Likewise.
3415         * io/creat.c (creat): Likewise.
3416         * io/creat64.c (creat64): Likewise.
3417         * io/dup.c (__dup): Likewise.
3418         * io/dup2.c (__dup2): Likewise.
3419         * io/dup3.c (__dup3): Likewise.
3420         * io/euidaccess.c (__euidaccess): Likewise.
3421         * io/faccessat.c (faccessat): Likewise.
3422         * io/fchmod.c (__fchmod): Likewise.
3423         * io/fchmodat.c (fchmodat): Likewise.
3424         * io/fchown.c (__fchown): Likewise.
3425         * io/fchownat.c (fchownat): Likewise.
3426         * io/fcntl.c (__fcntl): Likewise.
3427         * io/flock.c (__flock): Likewise.
3428         * io/fts.c (fts_load): Likewise.
3429         (fts_close): Likewise.
3430         (fts_read): Likewise.
3431         (fts_set): Likewise.
3432         (fts_children): Likewise.
3433         (fts_build): Likewise.
3434         (fts_stat): Likewise.
3435         (fts_sort): Likewise.
3436         (fts_alloc): Likewise.
3437         (fts_lfree): Likewise.
3438         (fts_palloc): Likewise.
3439         (fts_padjust): Likewise.
3440         (fts_maxarglen): Likewise.
3441         (fts_safe_changedir): Likewise.
3442         * io/getwd.c (getwd): Likewise.
3443         * io/isatty.c (__isatty): Likewise.
3444         * io/lchown.c (__lchown): Likewise.
3445         * io/link.c (__link): Likewise.
3446         * io/linkat.c (linkat): Likewise.
3447         * io/lseek.c (__libc_lseek): Likewise.
3448         * io/mkdir.c (__mkdir): Likewise.
3449         * io/mkdirat.c (mkdirat): Likewise.
3450         * io/mkfifo.c (mkfifo): Likewise.
3451         * io/mkfifoat.c (mkfifoat): Likewise.
3452         * io/open.c (__libc_open): Likewise.
3453         * io/open64.c (__libc_open64): Likewise.
3454         * io/readlink.c (__readlink): Likewise.
3455         * io/readlinkat.c (readlinkat): Likewise.
3456         * io/rmdir.c (__rmdir): Likewise.
3457         * io/symlink.c (__symlink): Likewise.
3458         * io/symlinkat.c (symlinkat): Likewise.
3459         * io/ttyname.c (ttyname): Likewise.
3460         * io/ttyname_r.c (__ttyname_r): Likewise.
3461         * io/umask.c (__umask): Likewise.
3462         * io/unlink.c (__unlink): Likewise.
3463         * io/unlinkat.c (unlinkat): Likewise.
3464         * io/utime.c (utime): Likewise.
3465         * libio/clearerr.c (clearerr): Likewise.
3466         * libio/clearerr_u.c (clearerr_unlocked): Likewise.
3467         * libio/feof.c (_IO_feof): Likewise.
3468         * libio/feof_u.c (feof_unlocked): Likewise.
3469         * libio/ferror.c (_IO_ferror): Likewise.
3470         * libio/ferror_u.c (ferror_unlocked): Likewise.
3471         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
3472         * libio/fileno.c (__fileno): Likewise.
3473         * libio/fputc.c (fputc): Likewise.
3474         * libio/fputc_u.c (fputc_unlocked): Likewise.
3475         * libio/fputwc.c (fputwc): Likewise.
3476         * libio/fputwc_u.c (fputwc_unlocked): Likewise.
3477         * libio/freopen.c (freopen): Likewise.
3478         * libio/freopen64.c (freopen64): Likewise.
3479         * libio/fseek.c (fseek): Likewise.
3480         * libio/fseeko.c (fseeko): Likewise.
3481         * libio/fseeko64.c (fseeko64): Likewise.
3482         * libio/ftello.c (__ftello): Likewise.
3483         * libio/ftello64.c (ftello64): Likewise.
3484         * libio/fwide.c (fwide): Likewise.
3485         * libio/genops.c (_IO_un_link): Likewise.
3486         (_IO_link_in): Likewise.
3487         (_IO_least_marker): Likewise.
3488         (_IO_switch_to_main_get_area): Likewise.
3489         (_IO_switch_to_backup_area): Likewise.
3490         (_IO_switch_to_get_mode): Likewise.
3491         (_IO_free_backup_area): Likewise.
3492         (_IO_switch_to_put_mode): Likewise.
3493         (__overflow): Likewise.
3494         (__underflow): Likewise.
3495         (__uflow): Likewise.
3496         (_IO_setb): Likewise.
3497         (_IO_doallocbuf): Likewise.
3498         (_IO_default_underflow): Likewise.
3499         (_IO_default_uflow): Likewise.
3500         (_IO_default_xsputn): Likewise.
3501         (_IO_sgetn): Likewise.
3502         (_IO_default_xsgetn): Likewise.
3503         (_IO_sync): Likewise.
3504         (_IO_default_setbuf): Likewise.
3505         (_IO_default_seekpos): Likewise.
3506         (_IO_default_doallocate): Likewise.
3507         (_IO_init): Likewise.
3508         (_IO_old_init): Likewise.
3509         (_IO_default_sync): Likewise.
3510         (_IO_default_finish): Likewise.
3511         (_IO_default_seekoff): Likewise.
3512         (_IO_sputbackc): Likewise.
3513         (_IO_sungetc): Likewise.
3514         (_IO_set_column): Likewise.
3515         (_IO_set_column): Likewise.
3516         (_IO_adjust_column): Likewise.
3517         (_IO_get_column): Likewise.
3518         (_IO_init_marker): Likewise.
3519         (_IO_remove_marker): Likewise.
3520         (_IO_marker_difference): Likewise.
3521         (_IO_marker_delta): Likewise.
3522         (_IO_seekmark): Likewise.
3523         (_IO_unsave_markers): Likewise.
3524         (_IO_nobackup_pbackfail): Likewise.
3525         (_IO_default_pbackfail): Likewise.
3526         (_IO_default_seek): Likewise.
3527         (_IO_default_stat): Likewise.
3528         (_IO_default_read): Likewise.
3529         (_IO_default_write): Likewise.
3530         (_IO_default_showmanyc): Likewise.
3531         (_IO_default_imbue): Likewise.
3532         (_IO_iter_next): Likewise.
3533         (_IO_iter_file): Likewise.
3534         * libio/getc.c (_IO_getc): Likewise.
3535         * libio/getwc.c (_IO_getwc): Likewise.
3536         * libio/iofclose.c (_IO_new_fclose): Likewise.
3537         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
3538         * libio/iofflush.c (_IO_fflush): Likewise.
3539         * libio/iofflush_u.c (__fflush_unlocked): Likewise.
3540         * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
3541         * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
3542         * libio/iofgets.c (_IO_fgets): Likewise.
3543         * libio/iofgets_u.c (__fgets_unlocked): Likewise.
3544         * libio/iofgetws.c (fgetws): Likewise.
3545         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
3546         * libio/iofopen64.c (_IO_fopen64): Likewise.
3547         * libio/iofopncook.c (_IO_cookie_read): Likewise.
3548         (_IO_cookie_write): Likewise.
3549         (_IO_cookie_seek): Likewise.
3550         (_IO_cookie_close): Likewise.
3551         (_IO_cookie_seekoff): Likewise.
3552         (_IO_old_cookie_seek): Likewise.
3553         * libio/iofputs.c (_IO_fputs): Likewise.
3554         * libio/iofputs_u.c (__fputs_unlocked): Likewise.
3555         * libio/iofputws.c (fputws): Likewise.
3556         * libio/iofputws_u.c (fputws_unlocked): Likewise.
3557         * libio/iofread.c (_IO_fread): Likewise.
3558         * libio/iofread_u.c (__fread_unlocked): Likewise.
3559         * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
3560         * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
3561         * libio/ioftell.c (_IO_ftell): Likewise.
3562         * libio/iofwrite.c (_IO_fwrite): Likewise.
3563         * libio/iogetdelim.c (_IO_getdelim): Likewise.
3564         * libio/iogets.c (_IO_gets): Likewise.
3565         * libio/iopadn.c (_IO_padn): Likewise.
3566         * libio/iopopen.c (_IO_new_proc_open): Likewise.
3567         (_IO_new_popen): Likewise.
3568         (_IO_new_proc_close): Likewise.
3569         * libio/ioputs.c (_IO_puts): Likewise.
3570         * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
3571         (_IO_seekoff): Likewise.
3572         * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
3573         (_IO_seekpos): Likewise.
3574         * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
3575         * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
3576         * libio/ioungetc.c (_IO_ungetc): Likewise.
3577         * libio/ioungetwc.c (ungetwc): Likewise.
3578         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
3579         * libio/iovsscanf.c (_IO_vsscanf): Likewise.
3580         * libio/iowpadn.c (_IO_wpadn): Likewise.
3581         * libio/libc_fatal.c (__libc_fatal): Likewise.
3582         * libio/memstream.c (__open_memstream): Likewise.
3583         (_IO_mem_sync): Likewise.
3584         (_IO_mem_finish): Likewise.
3585         * libio/oldfileops.c (_IO_old_file_init): Likewise.
3586         (_IO_old_file_close_it): Likewise.
3587         (_IO_old_file_finish): Likewise.
3588         (_IO_old_file_fopen): Likewise.
3589         (_IO_old_file_attach): Likewise.
3590         (_IO_old_file_setbuf): Likewise.
3591         (_IO_old_do_write): Likewise.
3592         (old_do_write): Likewise.
3593         (_IO_old_file_underflow): Likewise.
3594         (_IO_old_file_overflow): Likewise.
3595         (_IO_old_file_sync): Likewise.
3596         (_IO_old_file_seekoff): Likewise.
3597         (_IO_old_file_write): Likewise.
3598         (_IO_old_file_xsputn): Likewise.
3599         * libio/oldiofclose.c (_IO_old_fclose): Likewise.
3600         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
3601         * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
3602         * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
3603         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
3604         * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
3605         * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
3606         * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
3607         (_IO_old_popen): Likewise.
3608         (_IO_old_proc_close): Likewise.
3609         * libio/oldpclose.c (__old_pclose): Likewise.
3610         * libio/pclose.c (__new_pclose): Likewise.
3611         * libio/peekc.c (_IO_peekc_locked): Likewise.
3612         * libio/putc.c (_IO_putc): Likewise.
3613         * libio/putc_u.c (putc_unlocked): Likewise.
3614         * libio/putchar.c (putchar): Likewise.
3615         * libio/putchar_u.c (putchar_unlocked): Likewise.
3616         * libio/putwc.c (putwc): Likewise.
3617         * libio/putwc_u.c (putwc_unlocked): Likewise.
3618         * libio/putwchar.c (putwchar): Likewise.
3619         * libio/putwchar_u.c (putwchar_unlocked): Likewise.
3620         * libio/rewind.c (rewind): Likewise.
3621         * libio/setbuf.c (setbuf): Likewise.
3622         * libio/setlinebuf.c (setlinebuf): Likewise.
3623         * libio/vasprintf.c (_IO_vasprintf): Likewise.
3624         * libio/vscanf.c (_IO_vscanf): Likewise.
3625         * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
3626         * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
3627         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
3628         * libio/wgenops.c (_IO_least_wmarker): Likewise.
3629         (_IO_switch_to_main_wget_area): Likewise.
3630         (_IO_switch_to_wbackup_area): Likewise.
3631         (_IO_wsetb): Likewise.
3632         (_IO_wdefault_pbackfail): Likewise.
3633         (_IO_wdefault_finish): Likewise.
3634         (_IO_wdefault_uflow): Likewise.
3635         (__woverflow): Likewise.
3636         (__wuflow): Likewise.
3637         (__wunderflow): Likewise.
3638         (_IO_wdefault_xsputn): Likewise.
3639         (_IO_wdefault_xsgetn): Likewise.
3640         (_IO_wdoallocbuf): Likewise.
3641         (_IO_wdefault_doallocate): Likewise.
3642         (_IO_switch_to_wget_mode): Likewise.
3643         (_IO_free_wbackup_area): Likewise.
3644         (_IO_switch_to_wput_mode): Likewise.
3645         (_IO_sputbackwc): Likewise.
3646         (_IO_sungetwc): Likewise.
3647         (_IO_adjust_wcolumn): Likewise.
3648         (_IO_init_wmarker): Likewise.
3649         (_IO_wmarker_delta): Likewise.
3650         (_IO_seekwmark): Likewise.
3651         (_IO_unsave_wmarkers): Likewise.
3652         * libio/wmemstream.c (open_wmemstream): Likewise.
3653         (_IO_wmem_sync): Likewise.
3654         (_IO_wmem_finish): Likewise.
3655         * locale/nl_langinfo.c (nl_langinfo): Likewise.
3656         * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
3657         * locale/programs/simple-hash.c (init_hash): Likewise.
3658         (delete_hash): Likewise.
3659         (insert_entry): Likewise.
3660         (set_entry): Likewise.
3661         (next_prime): Likewise.
3662         (is_prime): Likewise.
3663         * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
3664         (xmalloc): Likewise.
3665         (xrealloc): Likewise.
3666         * locale/programs/xstrdup.c (xstrdup): Likewise.
3667         * localedata/collate-test.c (xstrcoll): Likewise.
3668         * localedata/xfrm-test.c (xstrcmp): Likewise.
3669         * login/getlogin_r.c (__getlogin_r): Likewise.
3670         * login/getpt.c (__posix_openpt): Likewise.
3671         * login/login_tty.c (login_tty): Likewise.
3672         * login/setlogin.c (setlogin): Likewise.
3673         * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
3674         (mach_msg_destroy_port): Likewise.
3675         (mach_msg_destroy_memory): Likewise.
3676         * malloc/mcheck.c (flood): Likewise.
3677         * misc/acct.c (acct): Likewise.
3678         * misc/brk.c (__brk): Likewise.
3679         * misc/chflags.c (chflags): Likewise.
3680         * misc/chroot.c (chroot): Likewise.
3681         * misc/fchflags.c (fchflags): Likewise.
3682         * misc/fstab.c (getfsspec): Likewise.
3683         (getfsfile): Likewise.
3684         * misc/fsync.c (fsync): Likewise.
3685         * misc/ftruncate.c (__ftruncate): Likewise.
3686         * misc/ftruncate64.c (__ftruncate64): Likewise.
3687         * misc/getdomain.c (getdomainname): Likewise.
3688         (getdomainname): Likewise.
3689         * misc/gethostname.c (__gethostname): Likewise.
3690         * misc/getpass.c (getpass): Likewise.
3691         * misc/getttyent.c (skip): Likewise.
3692         (value): Likewise.
3693         * misc/gtty.c (gtty): Likewise.
3694         * misc/hsearch.c (hsearch): Likewise.
3695         (hcreate): Likewise.
3696         * misc/hsearch_r.c (__hcreate_r): Likewise.
3697         (__hdestroy_r): Likewise.
3698         * misc/ioctl.c (__ioctl): Likewise.
3699         * misc/mkdtemp.c (mkdtemp): Likewise.
3700         * misc/mkostemp.c (mkostemp): Likewise.
3701         * misc/mkostemp64.c (mkostemp64): Likewise.
3702         * misc/mkostemps.c (mkostemps): Likewise.
3703         * misc/mkostemps64.c (mkostemps64): Likewise.
3704         * misc/mkstemp.c (mkstemp): Likewise.
3705         * misc/mkstemp64.c (mkstemp64): Likewise.
3706         * misc/mkstemps.c (mkstemps): Likewise.
3707         * misc/mkstemps64.c (mkstemps64): Likewise.
3708         * misc/mktemp.c (__mktemp): Likewise.
3709         * misc/preadv.c (preadv): Likewise.
3710         * misc/preadv64.c (preadv64): Likewise.
3711         * misc/pwritev.c (pwritev): Likewise.
3712         * misc/pwritev64.c (pwritev64): Likewise.
3713         * misc/readv.c (__readv): Likewise.
3714         * misc/revoke.c (revoke): Likewise.
3715         * misc/setdomain.c (setdomainname): Likewise.
3716         * misc/setegid.c (setegid): Likewise.
3717         * misc/seteuid.c (seteuid): Likewise.
3718         * misc/sethostid.c (sethostid): Likewise.
3719         * misc/sethostname.c (sethostname): Likewise.
3720         * misc/setregid.c (__setregid): Likewise.
3721         * misc/setreuid.c (__setreuid): Likewise.
3722         * misc/sstk.c (sstk): Likewise.
3723         * misc/stty.c (stty): Likewise.
3724         * misc/syscall.c (syscall): Likewise.
3725         * misc/syslog.c (setlogmask): Likewise.
3726         * misc/truncate.c (__truncate): Likewise.
3727         * misc/truncate64.c (truncate64): Likewise.
3728         * misc/ualarm.c (ualarm): Likewise.
3729         * misc/usleep.c (usleep): Likewise.
3730         * misc/ustat.c (ustat): Likewise.
3731         * misc/writev.c (__writev): Likewise.
3732         * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
3733         * nptl/old_pthread_cond_broadcast.c
3734         (__pthread_cond_broadcast_2_0): Likewise.
3735         * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
3736         Likewise.
3737         * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
3738         Likewise.
3739         * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
3740         Likewise.
3741         * nptl/pt-raise.c (raise): Likewise.
3742         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
3743         Likewise.
3744         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
3745         * nptl/pthread_barrierattr_destroy.c
3746         (pthread_barrierattr_destroy): Likewise.
3747         * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
3748         Likewise.
3749         * nptl/pthread_barrierattr_setpshared.c
3750         (pthread_barrierattr_setpshared): Likewise.
3751         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
3752         Likewise.
3753         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
3754         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
3755         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
3756         * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
3757         Likewise.
3758         * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
3759         Likewise.
3760         * nptl/pthread_condattr_getpshared.c
3761         (pthread_condattr_getpshared): Likewise.
3762         * nptl/pthread_condattr_init.c (__pthread_condattr_init):
3763         Likewise.
3764         * nptl/pthread_condattr_setpshared.c
3765         (pthread_condattr_setpshared): Likewise.
3766         * nptl/pthread_detach.c (pthread_detach): Likewise.
3767         * nptl/pthread_equal.c (__pthread_equal): Likewise.
3768         * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
3769         * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
3770         * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
3771         * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
3772         Likewise.
3773         * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
3774         Likewise.
3775         * nptl/pthread_mutex_getprioceiling.c
3776         (pthread_mutex_getprioceiling): Likewise.
3777         * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
3778         Likewise.
3779         * nptl/pthread_mutexattr_getprotocol.c
3780         (pthread_mutexattr_getprotocol): Likewise.
3781         * nptl/pthread_mutexattr_getpshared.c
3782         (pthread_mutexattr_getpshared): Likewise.
3783         * nptl/pthread_mutexattr_getrobust.c
3784         (pthread_mutexattr_getrobust): Likewise.
3785         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
3786         Likewise.
3787         * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
3788         Likewise.
3789         * nptl/pthread_mutexattr_setprioceiling.c
3790         (pthread_mutexattr_setprioceiling): Likewise.
3791         * nptl/pthread_mutexattr_setprotocol.c
3792         (pthread_mutexattr_setprotocol): Likewise.
3793         * nptl/pthread_mutexattr_setpshared.c
3794         (pthread_mutexattr_setpshared): Likewise.
3795         * nptl/pthread_mutexattr_setrobust.c
3796         (pthread_mutexattr_setrobust): Likewise.
3797         * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
3798         Likewise.
3799         * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
3800         Likewise.
3801         * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
3802         Likewise.
3803         * nptl/pthread_rwlockattr_getkind_np.c
3804         (pthread_rwlockattr_getkind_np): Likewise.
3805         * nptl/pthread_rwlockattr_getpshared.c
3806         (pthread_rwlockattr_getpshared): Likewise.
3807         * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
3808         Likewise.
3809         * nptl/pthread_rwlockattr_setkind_np.c
3810         (pthread_rwlockattr_setkind_np): Likewise.
3811         * nptl/pthread_rwlockattr_setpshared.c
3812         (pthread_rwlockattr_setpshared): Likewise.
3813         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
3814         Likewise.
3815         * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
3816         Likewise.
3817         * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
3818         Likewise.
3819         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
3820         * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
3821         * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
3822         * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
3823         * nptl/sem_close.c (sem_close): Likewise.
3824         * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
3825         * nptl/sem_init.c (__old_sem_init): Likewise.
3826         * nptl/sigaction.c (__sigaction): Likewise.
3827         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
3828         * posix/_exit.c (_exit): Likewise.
3829         * posix/alarm.c (alarm): Likewise.
3830         * posix/confstr.c (confstr): Likewise.
3831         * posix/fpathconf.c (__fpathconf): Likewise.
3832         * posix/getgroups.c (__getgroups): Likewise.
3833         * posix/getpgid.c (__getpgid): Likewise.
3834         * posix/group_member.c (__group_member): Likewise.
3835         * posix/pathconf.c (__pathconf): Likewise.
3836         * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
3837         * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
3838         * posix/setgid.c (__setgid): Likewise.
3839         * posix/setpgid.c (__setpgid): Likewise.
3840         * posix/setuid.c (__setuid): Likewise.
3841         * posix/sleep.c (__sleep): Likewise.
3842         * posix/sysconf.c (__sysconf): Likewise.
3843         * posix/times.c (__times): Likewise.
3844         * posix/uname.c (__uname): Likewise.
3845         * posix/waitid.c (__waitid): Likewise.
3846         * pwd/getpw.c (__getpw): Likewise.
3847         * resolv/base64.c (b64_pton): Likewise.
3848         * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
3849         * resolv/gethnamaddr.c (Dprintf): Likewise.
3850         (gethostbyname): Likewise.
3851         (gethostbyname2): Likewise.
3852         (gethostbyaddr): Likewise.
3853         (_sethtent): Likewise.
3854         (_gethtbyname): Likewise.
3855         (_gethtbyname2): Likewise.
3856         (_gethtbyaddr): Likewise.
3857         (map_v4v6_address): Likewise.
3858         (map_v4v6_hostent): Likewise.
3859         (addrsort): Likewise.
3860         (ht_sethostent): Likewise.
3861         (ht_gethostbyname): Likewise.
3862         (ht_gethostbyaddr): Likewise.
3863         * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
3864         (inet_net_ntop_ipv4): Likewise.
3865         * resolv/inet_neta.c (inet_neta): Likewise.
3866         * resolv/inet_ntop.c (inet_ntop): Likewise.
3867         (inet_ntop4): Likewise.
3868         (inet_ntop6): Likewise.
3869         * resolv/inet_pton.c (__inet_pton): Likewise.
3870         (inet_pton4): Likewise.
3871         (inet_pton6): Likewise.
3872         * resolv/res_debug.c (loc_aton): Likewise.
3873         (loc_ntoa): Likewise.
3874         * resource/getpriority.c (__getpriority): Likewise.
3875         * resource/getrusage.c (__getrusage): Likewise.
3876         * resource/nice.c (nice): Likewise.
3877         * resource/setpriority.c (__setpriority): Likewise.
3878         * resource/setrlimit64.c (setrlimit64): Likewise.
3879         * resource/vlimit.c (vlimit): Likewise.
3880         * resource/vtimes.c (vtimes): Likewise.
3881         * rt/aio_error.c (aio_error): Likewise.
3882         * rt/aio_return.c (aio_return): Likewise.
3883         * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
3884         * signal/kill.c (__kill): Likewise.
3885         * signal/killpg.c (killpg): Likewise.
3886         * signal/raise.c (raise): Likewise.
3887         * signal/sigaction.c (__sigaction): Likewise.
3888         * signal/sigaddset.c (sigaddset): Likewise.
3889         * signal/sigaltstack.c (sigaltstack): Likewise.
3890         * signal/sigandset.c (sigandset): Likewise.
3891         * signal/sigblock.c (__sigblock): Likewise.
3892         * signal/sigdelset.c (sigdelset): Likewise.
3893         * signal/sigempty.c (sigemptyset): Likewise.
3894         * signal/sigfillset.c (sigfillset): Likewise.
3895         * signal/sighold.c (sighold): Likewise.
3896         * signal/sigignore.c (sigignore): Likewise.
3897         * signal/sigintr.c (siginterrupt): Likewise.
3898         * signal/sigisempty.c (sigisemptyset): Likewise.
3899         * signal/sigismem.c (sigismember): Likewise.
3900         * signal/signal.c (signal): Likewise.
3901         * signal/sigorset.c (sigorset): Likewise.
3902         * signal/sigpause.c (__sigpause): Likewise.
3903         * signal/sigpending.c (sigpending): Likewise.
3904         * signal/sigprocmask.c (__sigprocmask): Likewise.
3905         * signal/sigrelse.c (sigrelse): Likewise.
3906         * signal/sigreturn.c (__sigreturn): Likewise.
3907         * signal/sigset.c (sigset): Likewise.
3908         * signal/sigsetmask.c (__sigsetmask): Likewise.
3909         * signal/sigstack.c (sigstack): Likewise.
3910         * signal/sigsuspend.c (__sigsuspend): Likewise.
3911         * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
3912         * signal/sysv_signal.c (__sysv_signal): Likewise.
3913         * socket/accept.c (accept): Likewise.
3914         * socket/accept4.c (__libc_accept4): Likewise.
3915         * socket/bind.c (__bind): Likewise.
3916         * socket/connect.c (__connect): Likewise.
3917         * socket/getpeername.c (getpeername): Likewise.
3918         * socket/getsockname.c (__getsockname): Likewise.
3919         * socket/getsockopt.c (getsockopt): Likewise.
3920         * socket/listen.c (__listen): Likewise.
3921         * socket/recv.c (__recv): Likewise.
3922         * socket/recvmsg.c (__recvmsg): Likewise.
3923         * socket/send.c (__send): Likewise.
3924         * socket/sendmsg.c (__sendmsg): Likewise.
3925         * socket/shutdown.c (shutdown): Likewise.
3926         * socket/sockatmark.c (sockatmark): Likewise.
3927         * socket/socket.c (__socket): Likewise.
3928         * stdio-common/ctermid.c (ctermid): Likewise.
3929         * stdio-common/cuserid.c (cuserid): Likewise.
3930         * stdio-common/printf-prs.c (parse_printf_format): Likewise.
3931         * stdio-common/remove.c (remove): Likewise.
3932         * stdio-common/rename.c (rename): Likewise.
3933         * stdio-common/renameat.c (renameat): Likewise.
3934         * stdio-common/tempname.c (__gen_tempname): Likewise.
3935         * stdio-common/xbug.c (InitBuffer): Likewise.
3936         (AppendToBuffer): Likewise.
3937         (ReadFile): Likewise.
3938         * stdlib/a64l.c (a64l): Likewise.
3939         * stdlib/drand48_r.c (drand48_r): Likewise.
3940         * stdlib/getcontext.c (getcontext): Likewise.
3941         * stdlib/getenv.c (getenv): Likewise.
3942         * stdlib/l64a.c (l64a): Likewise.
3943         * stdlib/llabs.c (llabs): Likewise.
3944         * stdlib/lldiv.c (lldiv): Likewise.
3945         * stdlib/lrand48_r.c (lrand48_r): Likewise.
3946         * stdlib/mrand48_r.c (mrand48_r): Likewise.
3947         * stdlib/putenv.c (putenv): Likewise.
3948         * stdlib/random.c (__srandom): Likewise.
3949         (__initstate): Likewise.
3950         (__setstate): Likewise.
3951         * stdlib/random_r.c (__srandom_r): Likewise.
3952         (__setstate_r): Likewise.
3953         (__random_r): Likewise.
3954         * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
3955         * stdlib/setcontext.c (setcontext): Likewise.
3956         * stdlib/setenv.c (setenv): Likewise.
3957         (unsetenv): Likewise.
3958         * stdlib/srand48.c (srand48): Likewise.
3959         * stdlib/srand48_r.c (__srand48_r): Likewise.
3960         * stdlib/swapcontext.c (swapcontext): Likewise.
3961         * stdlib/system.c (__libc_system): Likewise.
3962         * stdlib/tst-strtod.c (expand): Likewise.
3963         * stdlib/tst-strtol.c (expand): Likewise.
3964         * stdlib/tst-strtoll.c (expand): Likewise.
3965         * streams/fattach.c (fattach): Likewise.
3966         * streams/fdetach.c (fdetach): Likewise.
3967         * streams/getmsg.c (getmsg): Likewise.
3968         * streams/isastream.c (isastream): Likewise.
3969         * string/ffs.c (__ffs): Likewise.
3970         * string/ffsll.c (ffsll): Likewise.
3971         * string/memcmp.c (memcmp_common_alignment): Likewise.
3972         (memcmp_not_common_alignment): Likewise.
3973         (MEMCMP): Likewise.
3974         * string/memcpy.c (memcpy): Likewise.
3975         * string/memmove.c (MEMMOVE): Likewise.
3976         * string/memset.c (memset): Likewise.
3977         * string/rawmemchr.c (RAWMEMCHR): Likewise.
3978         * string/strchrnul.c (STRCHRNUL): Likewise.
3979         * string/strerror.c (strerror): Likewise.
3980         * string/strndup.c (__strndup): Likewise.
3981         * string/strverscmp.c (__strverscmp): Likewise.
3982         * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
3983         * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
3984         (clnttcp_freeres): Likewise.
3985         * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
3986         * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
3987         * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
3988         * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
3989         * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
3990         (xdr_callhdr): Likewise.
3991         * sunrpc/rpcinfo.c (udpping): Likewise.
3992         (tcpping): Likewise.
3993         (pstatus): Likewise.
3994         (pmapdump): Likewise.
3995         (brdcst): Likewise.
3996         (deletereg): Likewise.
3997         (getprognum): Likewise.
3998         (getvers): Likewise.
3999         (get_inet_address): Likewise.
4000         * sunrpc/svc_raw.c (svcraw_recv): Likewise.
4001         * sunrpc/svc_udp.c (svcudp_create): Likewise.
4002         (svcudp_stat): Likewise.
4003         (svcudp_recv): Likewise.
4004         (svcudp_reply): Likewise.
4005         (svcudp_getargs): Likewise.
4006         (svcudp_freeargs): Likewise.
4007         (svcudp_destroy): Likewise.
4008         * sunrpc/xdr.c (xdr_bytes): Likewise.
4009         (xdr_netobj): Likewise.
4010         (xdr_string): Likewise.
4011         (xdr_wrapstring): Likewise.
4012         * sunrpc/xdr_float.c (xdr_float): Likewise.
4013         (xdr_double): Likewise.
4014         * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
4015         * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
4016         * sysvipc/ftok.c (ftok): Likewise.
4017         * sysvipc/msgctl.c (msgctl): Likewise.
4018         * sysvipc/msgget.c (msgget): Likewise.
4019         * sysvipc/msgrcv.c (msgrcv): Likewise.
4020         * sysvipc/msgsnd.c (msgsnd): Likewise.
4021         * sysvipc/semget.c (semget): Likewise.
4022         * sysvipc/semop.c (semop): Likewise.
4023         * sysvipc/shmat.c (shmat): Likewise.
4024         * sysvipc/shmctl.c (shmctl): Likewise.
4025         * sysvipc/shmdt.c (shmdt): Likewise.
4026         * sysvipc/shmget.c (shmget): Likewise.
4027         * termios/cfmakeraw.c (cfmakeraw): Likewise.
4028         * termios/speed.c (cfgetospeed): Likewise.
4029         (cfgetispeed): Likewise.
4030         (cfsetospeed): Likewise.
4031         (cfsetispeed): Likewise.
4032         * termios/tcflow.c (tcflow): Likewise.
4033         * termios/tcflush.c (tcflush): Likewise.
4034         * termios/tcgetattr.c (__tcgetattr): Likewise.
4035         * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
4036         * termios/tcgetsid.c (tcgetsid): Likewise.
4037         * termios/tcsendbrk.c (tcsendbreak): Likewise.
4038         * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
4039         * time/adjtime.c (__adjtime): Likewise.
4040         * time/dysize.c (dysize): Likewise.
4041         * time/ftime.c (ftime): Likewise.
4042         * time/getitimer.c (__getitimer): Likewise.
4043         * time/gettimeofday.c (__gettimeofday): Likewise.
4044         * time/gmtime.c (__gmtime_r): Likewise.
4045         (gmtime): Likewise.
4046         * time/localtime.c (__localtime_r): Likewise.
4047         (localtime): Likewise.
4048         * time/offtime.c (__offtime): Likewise.
4049         * time/settimeofday.c (__settimeofday): Likewise.
4050         * time/stime.c (stime): Likewise.
4051         * time/strftime_l.c (tm_diff): Likewise.
4052         (iso_week_days): Likewise.
4053         * time/strptime.c (strptime): Likewise.
4054         * time/time.c (time): Likewise.
4055         * time/timespec_get.c (timespec_get): Likewise.
4056         * time/tzset.c (tzset_internal): Likewise.
4057         (compute_change): Likewise.
4058         (__tz_compute): Likewise.
4059         * wcsmbs/btowc.c (__btowc): Likewise.
4060         * wcsmbs/mbrlen.c (__mbrlen): Likewise.
4061         * wcsmbs/mbsinit.c (__mbsinit): Likewise.
4062         * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
4063         * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
4064         * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
4065         * wcsmbs/wcscat.c (__wcscat): Likewise.
4066         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
4067         * wcsmbs/wcscmp.c (WCSCMP): Likewise.
4068         * wcsmbs/wcscpy.c (WCSCPY): Likewise.
4069         * wcsmbs/wcscspn.c (wcscspn): Likewise.
4070         * wcsmbs/wcsdup.c (wcsdup): Likewise.
4071         * wcsmbs/wcslen.c (__wcslen): Likewise.
4072         * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
4073         * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
4074         * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
4075         * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
4076         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
4077         * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
4078         * wcsmbs/wcsspn.c (wcsspn): Likewise.
4079         * wcsmbs/wcsstr.c (wcsstr): Likewise.
4080         * wcsmbs/wcstok.c (wcstok): Likewise.
4081         * wcsmbs/wctob.c (wctob): Likewise.
4082         * wcsmbs/wmemchr.c (__wmemchr): Likewise.
4083         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
4084         * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
4085         * wcsmbs/wmemmove.c (__wmemmove): Likewise.
4086         * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
4087         * wcsmbs/wmemset.c (__wmemset): Likewise.
4088         * wctype/wcfuncs.c (__towlower): Likewise.
4089         (__towupper): Likewise.
4091         * sysdeps/unix/sysv/linux/i386/lowlevellock.h
4092         (lll_unlock_elision): Add adapt_count parameter.
4094 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
4096         * sysdeps/nptl/configure.ac: Do not give errors based on the
4097         results of top-level configure tests.
4098         * sysdeps/nptl/configure: Regenerated.
4100         * configure.ac (libc_cv_Bgroup): Remove configure test.
4101         * configure: Regenerated.
4102         * config.make.in (have-Bgroup): Remove variable.
4104         * configure.ac (sizeof_long_double): Remove configure test.
4105         * configure: Regenerated.
4106         * config.make.in (sizeof-long-double): Remove variable.
4108         * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
4109         * configure: Regenerated.
4110         * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
4111         variable.
4112         (exceptions): Likewise.
4113         * sysdeps/arm/configure: Regenerated.
4114         * config.make.in (exceptions): Remove variable.
4115         * Makeconfig (uses-callbacks): Use -fexceptions instead of
4116         $(exceptions).
4117         * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
4118         (CFLAGS-vdprintf_chk.c): Likewise.
4119         (CFLAGS-printf_chk.c): Likewise.
4120         (CFLAGS-fprintf_chk.c): Likewise.
4121         (CFLAGS-vprintf_chk.c): Likewise.
4122         (CFLAGS-vfprintf_chk.c): Likewise.
4123         (CFLAGS-gets_chk.c): Likewise.
4124         (CFLAGS-fgets_chk.c): Likewise.
4125         (CFLAGS-fgets_u_chk.c): Likewise.
4126         (CFLAGS-fread_chk.c): Likewise.
4127         (CFLAGS-fread_u_chk.c): Likewise.
4128         (CFLAGS-wprintf_chk.c): Likewise.
4129         (CFLAGS-fwprintf_chk.c): Likewise.
4130         (CFLAGS-vwprintf_chk.c): Likewise.
4131         (CFLAGS-vfwprintf_chk.c): Likewise.
4132         (CFLAGS-fgetws_chk.c): Likewise.
4133         (CFLAGS-fgetws_u_chk.c): Likewise.
4134         * libio/Makefile (CFLAGS-fileops.c): Likewise.
4135         (CFLAGS-fputc.c): Likewise.
4136         (CFLAGS-fputwc.c): Likewise.
4137         (CFLAGS-freopen64.c): Likewise.
4138         (CFLAGS-freopen.c): Likewise.
4139         (CFLAGS-fseek.c): Likewise.
4140         (CFLAGS-fseeko64.c): Likewise.
4141         (CFLAGS-fseeko.c): Likewise.
4142         (CFLAGS-ftello64.c): Likewise.
4143         (CFLAGS-ftello.c): Likewise.
4144         (CFLAGS-fwide.c): Likewise.
4145         (CFLAGS-genops.c): Likewise.
4146         (CFLAGS-getc.c): Likewise.
4147         (CFLAGS-getchar.c): Likewise.
4148         (CFLAGS-getwc.c): Likewise.
4149         (CFLAGS-getwchar.c): Likewise.
4150         (CFLAGS-iofclose.c): Likewise.
4151         (CFLAGS-iofflush.c): Likewise.
4152         (CFLAGS-iofgetpos64.c): Likewise.
4153         (CFLAGS-iofgetpos.c): Likewise.
4154         (CFLAGS-iofgets.c): Likewise.
4155         (CFLAGS-iofgetws.c): Likewise.
4156         (CFLAGS-iofputs.c): Likewise.
4157         (CFLAGS-iofputws.c): Likewise.
4158         (CFLAGS-iofread.c): Likewise.
4159         (CFLAGS-iofsetpos64.c): Likewise.
4160         (CFLAGS-iofsetpos.c): Likewise.
4161         (CFLAGS-ioftell.c): Likewise.
4162         (CFLAGS-iofwrite.c): Likewise.
4163         (CFLAGS-iogetdelim.c): Likewise.
4164         (CFLAGS-iogetline.c): Likewise.
4165         (CFLAGS-iogets.c): Likewise.
4166         (CFLAGS-iogetwline.c): Likewise.
4167         (CFLAGS-ioputs.c): Likewise.
4168         (CFLAGS-ioseekoff.c): Likewise.
4169         (CFLAGS-ioseekpos.c): Likewise.
4170         (CFLAGS-iosetbuffer.c): Likewise.
4171         (CFLAGS-iosetvbuf.c): Likewise.
4172         (CFLAGS-ioungetc.c): Likewise.
4173         (CFLAGS-ioungetwc.c): Likewise.
4174         (CFLAGS-oldfileops.c): Likewise.
4175         (CFLAGS-oldiofclose.c): Likewise.
4176         (CFLAGS-oldiofgetpos64.c): Likewise.
4177         (CFLAGS-oldiofgetpos.c): Likewise.
4178         (CFLAGS-oldiofsetpos64.c): Likewise.
4179         (CFLAGS-oldiofsetpos.c): Likewise.
4180         (CFLAGS-peekc.c): Likewise.
4181         (CFLAGS-putc.c): Likewise.
4182         (CFLAGS-putchar.c): Likewise.
4183         (CFLAGS-putwc.c): Likewise.
4184         (CFLAGS-putwchar.c): Likewise.
4185         (CFLAGS-rewind.c): Likewise.
4186         (CFLAGS-wfileops.c): Likewise.
4187         (CFLAGS-wgenops.c): Likewise.
4188         (CFLAGS-oldiofopen.c): Likewise.
4189         (CFLAGS-iofopen.c): Likewise.
4190         (CFLAGS-iofopen64.c): Likewise.
4191         (CFLAGS-oldtmpfile.c): Likewise.
4192         * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
4193         (CFLAGS-fprintf.c): Likewise.
4194         (CFLAGS-printf.c): Likewise.
4195         (CFLAGS-vfwprintf.c): Likewise.
4196         (CFLAGS-vfscanf.c): Likewise.
4197         (CFLAGS-vfwscanf.c): Likewise.
4198         (CFLAGS-fscanf.c): Likewise.
4199         (CFLAGS-scanf.c): Likewise.
4200         (CFLAGS-isoc99_vfscanf.c): Likewise.
4201         (CFLAGS-isoc99_vscanf.c): Likewise.
4202         (CFLAGS-isoc99_fscanf.c): Likewise.
4203         (CFLAGS-isoc99_scanf.c): Likewise.
4204         * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
4205         (CFLAGS-isoc99_fwscanf.c): Likewise.
4206         (CFLAGS-isoc99_vwscanf.c): Likewise.
4207         (CFLAGS-isoc99_vfwscanf.c): Likewise.
4209         * io/test-lfs.c (do_prepare): Do not call add_temp_file until
4210         after mkstemp64.
4211         * login/tst-utmp.c (do_prepare): Likewise.
4212         * rt/tst-aio.c (do_prepare): Likewise.
4213         * rt/tst-aio64.c (do_prepare): Likewise.
4215 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4217         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
4218         (__lll_lock_elision): Remove adapt_count decrement...
4219         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
4220         (__lll_trylock_elision): Likewise.
4221         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
4222         (__lll_unlock_elision): ... to here. And utilize
4223         new adapt_count parameter.
4224         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
4225         (__lll_unlock_elision): Update to include adapt_count
4226         parameter.
4227         (lll_unlock_elision): Pass pointer to adapt_count
4228         variable.
4230 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4232         * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
4233         Add elision adapt_count parameter to list of arguments.
4234         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
4235         (lll_unlock_elision): Update with new parameter list
4236         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
4237         (lll_unlock_elision): Likewise
4238         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
4239         (lll_unlock_elision): Likewise
4241 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
4243         [BZ #19122]
4244         * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
4245         attribute_hidden.
4247         * include/string.h [IS_IN (rtld)] (__stpcpy): Add
4248         attribute_hidden.
4249         [IS_IN (rtld)] (__strdup): Likewise.
4250         [IS_IN (rtld)] (__strerror_r): Likewise.
4251         [IS_IN (rtld)] (__strsep_g): Likewise.
4252         [IS_IN (rtld)] (memchr): Likewise.
4253         [IS_IN (rtld)] (memcmp): Likewise.
4254         [IS_IN (rtld)] (memcpy): Likewise.
4255         [IS_IN (rtld)] (memmove): Likewise.
4256         [IS_IN (rtld)] (memset): Likewise.
4257         [IS_IN (rtld)] (rawmemchr): Likewise.
4258         [IS_IN (rtld)] (stpcpy): Likewise.
4259         [IS_IN (rtld)] (strchr): Likewise.
4260         [IS_IN (rtld)] (strcmp): Likewise.
4261         [IS_IN (rtld)] (strlen): Likewise.
4262         [IS_IN (rtld)] (strnlen): Likewise.
4263         [IS_IN (rtld)] (strsep): Likewise.
4265         * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
4266         attribute_hidden.
4267         [IS_IN (rtld)] (__strtoul_internal): Likewise.
4269         * include/signal.h [IS_IN (rtld)] (__sigaction): Add
4270         attribute_hidden.
4271         [IS_IN (rtld)] (__libc_sigaction): Likewise.
4273         * include/setjmp.h (__longjmp): Add attribute_hidden.
4274         [IS_IN (rtld)] (__sigsetjmp): Likewise.
4276         * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
4277         Add attribute_hidden.
4279         * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
4280         [IS_IN (rtld)] (__open): Likewise.
4281         [IS_IN (rtld)] (__fcntl): Likewise.
4283         * include/dirent.h (__opendirat): Add attribute_hidden.
4284         (__getdents): Likewise.
4285         (__getdents64): Likewise.
4286         (__alloc_dir): Likewise.
4287         [IS_IN (rtld)] (__closedir): Likewise.
4288         [IS_IN (rtld)] (__fdopendir): Likewise.
4289         [IS_IN (rtld)] (__readdir): Likewise.
4290         [IS_IN (rtld)] (__readdir64): Likewise.
4291         [IS_IN (rtld)] (__rewinddir): Likewise.
4293         * include/dlfcn.h (_dl_catch_error): Moved to ...
4294         * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
4295         attribute_hidden.
4297         * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
4298         (_itoa_word): Likewise.
4300         * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
4301         * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
4302         * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
4303         * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
4304         (_dl_higher_prime_number): Likewise.
4305         (_dl_debug_printf_c): Likewise.
4306         (_dl_signal_cerror): Likewise.
4307         (_dl_receive_error): Likewise.
4308         (_dl_reloc_bad_type): Likewise.
4309         (_dl_resolve_conflicts): Likewise.
4310         (_dl_check_all_versions): Likewise.
4311         (_dl_check_map_versions): Likewise.
4312         (_dl_sort_fini): Likewise.
4313         (_dl_debug_initialize): Likewise.
4314         (_dl_init_paths): Likewise.
4315         (_dl_show_auxv): Likewise.
4316         (_dl_next_ld_env_entry): Likewise.
4317         (_dl_important_hwcaps): Likewise.
4318         (_dl_load_cache_lookup): Likewise.
4319         (_dl_update_slotinfo): Likewise.
4320         (_dl_show_scope): Likewise.
4322         * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
4323         attribute_hidden.
4324         (_wordcopy_fwd_dest_aligned): Likewise.
4325         (_wordcopy_bwd_aligned): Likewise.
4326         (_wordcopy_bwd_dest_aligned): Likewise.
4328         * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
4329         * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
4330         Likewise.
4331         * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
4332         Likewise.
4333         * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
4335 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
4337         * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
4338         GCC 5 requirement.
4340 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
4342         * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
4343         test.
4344         * sysdeps/i386/configure: Regenerated.
4345         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
4346         code unconditional.
4348         * configure.ac (libc_cv_asm_previous_directive): Remove configure
4349         test.
4350         (libc_cv_asm_popsection_directive): Likewise.
4351         * configure: Regenerated.
4352         * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
4353         (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
4354         * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
4355         (__make_section_unallocated): Make definition unconditional.
4356         [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
4357         Remove conditional definition.
4358         [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
4359         (__make_section_unallocated): Likewise.
4361         * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
4362         * configure: Regenerated.
4363         * config.make.in (static-libgcc): Remove variable.
4364         * Makerules (build-shlib-helper): Use -static-libgcc instead of
4365         $(static-libgcc).
4366         (build-module-helper): Likewise.
4368         * configure.ac (libc_cv_friendly_stddef): Remove configure test.
4369         * configure: Regenerated.
4371 2015-10-15  Florian Weimer  <fweimer@redhat.com>
4373         * stdio-common/vfscanf.c (MEMCPY): Remove macro.
4374         (struct char_buffer): New type.
4375         (char_buffer_start, char_buffer_size, char_buffer_error)
4376         (char_buffer_rewind, char_buffer_add): New functions.
4377         (ADDW): Remove macro, replaced by the char_buffer_add function.
4378         (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
4379         of extend_alloca.  Make control flow more explicit.
4381 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
4383         [BZ #19137]
4384         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
4385         Add -fomit-frame-pointer.
4386         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
4388 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
4390         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
4391         (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
4392         * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
4393         only if !__GNUC_PREREQ (5,0).
4394         (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
4395         (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
4396         (INTERNAL_SYSCALL_NCS): Likewise.
4397         (LOADREGS_0): New macro for GCC 5.
4398         (ASMARGS_0): Likewise.
4399         (LOADREGS_1): Likewise.
4400         (ASMARGS_1): Likewise.
4401         (LOADREGS_2): Likewise.
4402         (ASMARGS_2): Likewise.
4403         (LOADREGS_3): Likewise.
4404         (ASMARGS_3): Likewise.
4405         (LOADREGS_4): Likewise.
4406         (ASMARGS_4): Likewise.
4407         (LOADREGS_5): Likewise.
4408         (ASMARGS_5): Likewise.
4409         (LOADREGS_6): Likewise.
4410         (ASMARGS_6): Likewise.
4412 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
4414         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
4415         -fomit-frame-pointer.
4416         (CFLAGS-mmap64.c): Likewise.
4417         (CFLAGS-semtimedop.c): Likewise.
4418         * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
4419         * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
4420         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
4421         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
4423 2015-10-15  Florian Weimer  <fweimer@redhat.com>
4425         [BZ #18928]
4426         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
4427         _dl_pointer_guard member.
4428         * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
4429         initializer.
4430         (security_init): Always set up pointer guard.
4431         (process_envvars): Do not process LD_POINTER_GUARD.
4433 2015-10-14  Joseph Myers  <joseph@codesourcery.com>
4435         [BZ #19134]
4436         * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
4437         (.LC2): Likewise.
4438         (.LC3): Likewise.
4439         (__lround): Do not add 0.5 to integer or out-of-range arguments.
4441 2015-10-14  Szabolcs Nagy  <szabolcs.nagy@arm.com>
4443         [BZ #19129]
4444         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
4445         r0 and r1.
4447 2015-10-14  Namhyung Kim  <namhyung@gmail.com>
4449         * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
4451 2015-10-14  Carlos O'Donell  <carlos@redhat.com>
4453         * include/stap-probe.h: Fix macro definition formatting.
4455 2015-10-14  Florian Weimer  <fweimer@redhat.com>
4457         [BZ #19074]
4458         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
4459         load and store num_ifs.
4461 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
4463         [BZ #18822]
4464         * sysdeps/unix/sysv/linux/sched_getaffinity.c
4465         (__sched_getaffinity_new): Add libc_hidden_proto and
4466         libc_hidden_def.
4468 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
4470         [BZ #19007]
4471         * scripts/localplt.awk: Also allow GOT references.
4472         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
4473         _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
4474         with "+ REL R_386_GLOB_DAT".
4475         * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
4476         and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
4478 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
4480         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
4481         INLINE_SYSCALL_ERROR_RETURN_VALUE.
4482         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
4483         Likewise.
4484         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
4485         * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
4486         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
4487         INTERNAL_SYSCALLINTERNAL_SYSCALL and
4488         INLINE_SYSCALL_ERROR_RETURN_VALUE.
4489         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
4490         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
4491         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
4492         Likewise.
4493         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
4495 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
4497         [BZ #19125]
4498         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
4499         <math_private.h> and <stdint.h>.
4500         (__llround): Avoid conversions to and from long long int, and
4501         subtractions, where those might raise spurious exceptions.
4502         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
4503         <math_private.h> and <stdint.h>.
4504         (__llroundf): Avoid conversions to and from long long int, and
4505         subtractions, where those might raise spurious exceptions.
4507 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
4509         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
4510         INLINE_SYSCALL_ERROR_RETURN_VALUE.
4511         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
4512         * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
4513         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
4514         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
4515         * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
4516         * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
4517         * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
4518         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
4519         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
4520         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
4521         * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
4522         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
4523         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
4524         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
4525         * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
4526         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
4527         * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
4528         * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
4529         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
4530         * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
4531         * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
4532         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
4533         * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
4534         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
4535         * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
4536         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
4537         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
4538         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
4539         (__xstat64_conv): Likewise.
4540         (__xstat32_conv): Likewise.
4542 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
4544         * sysdeps/unix/sysv/linux/sysdep.h: New file.
4545         * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
4546         * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
4547         <sysdeps/unix/sysv/linux/sysdep.h>.
4548         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
4549         * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
4550         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
4551         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
4552         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
4553         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
4554         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
4555         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
4556         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
4557         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
4558         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
4559         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
4560         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
4561         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
4562         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
4563         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
4564         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
4565         (sysdep-dl-routines): Add sysdep.
4566         [$(subdir) == nptl] (libpthread-routines): Likewise.
4567         [$(subdir) == rt] (librt-routines): Likewise.
4568         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
4569         PIC when branching to SYSCALL_ERROR_LABEL.
4570         * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
4571         * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
4572         <sysdeps/unix/sysv/linux/sysdep.h>.
4573         (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
4574         (SYSCALL_ERROR_ERRNO): Removed.
4575         (SYSCALL_ERROR_HANDLER): Changed to empty.
4576         (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
4577         (__syscall_error): New prototype.
4578         [IS_IN (libc)] (INLINE_SYSCALL): New macro.
4579         (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
4581 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
4583         [BZ #19124]
4584         * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
4585         (_dl_runtime_resolve_avx512): Make it a hidden alias of
4586         _dl_runtime_resolve_avx.
4587         (_dl_runtime_profile_avx512): Make it a hidden alias of
4588         _dl_runtime_profile_avx.
4590 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
4592         * sysdeps/powerpc/fpu/s_llround.c: Move to ....
4593         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
4594         * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
4595         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
4597         [BZ #16422]
4598         * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
4599         New configure test.
4600         * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
4601         * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
4602         * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
4603         <math_private.h> and <stdint.h>.
4604         (__llrint): Avoid conversions to long long int where those might
4605         raise spurious exceptions.
4606         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
4607         <math_private.h> and <stdint.h>.
4608         (__llrintf): Avoid conversions to long long int where those might
4609         raise spurious exceptions.
4611 2015-10-12  Andreas Schwab  <schwab@suse.de>
4613         [BZ #18969]
4614         * debug/Makefile (LOCALES): Define.  Include gen-locales.mk.
4615         ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
4616         * iconvdata/Makefile (LOCALES): Define.  Include gen-locales.mk.
4617         ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
4618         $(gen-locales).
4619         * intl/Makefile (LOCALES): Define.  Include gen-locales.mk.
4620         ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
4621         ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
4622         ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
4623         ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
4624         $(gen-locales).
4625         * libio/Makefile (LOCALES): Define.  Include gen-locales.mk.
4626         ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
4627         ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
4628         ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
4629         ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
4630         ($(objpfx)tst-ftell-active-handler.out)
4631         ($(objpfx)tst-ftell-append.out)
4632         ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
4633         ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
4634         ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
4635         ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
4636         * posix/Makefile (LOCALES): Define.  Include gen-locales.mk.
4637         ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
4638         ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
4639         ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
4640         ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
4641         ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
4642         ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
4643         ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
4644         ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
4645         ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
4646         ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
4647         ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
4648         ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
4649         ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
4650         * stdio-common/Makefile (LOCALES): Define.  Include gen-locales.mk.
4651         ($(objpfx)bug14.out, $(objpfx)scanf13.out)
4652         ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
4653         ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
4654         ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
4655         * stdlib/Makefile (LOCALES): Define.  Include gen-locales.mk.
4656         ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
4657         ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
4658         ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
4659         $(gen-locales).
4660         * time/Makefile (LOCALES): Define.  Include gen-locales.mk.
4661         ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
4662         $(gen-locales).
4663         * wcsmbs/Makefile (LOCALES): Define.  Include gen-locales.mk.
4664         ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
4665         ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
4666         ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
4667         $(gen-locales).
4668         * libio/tst_wprintf2.c (main): Use explicit locale.
4669         * wcsmbs/wcsmbs-tst1.c (main): Likewise.
4671 2015-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4673         * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
4674         __msg_sig_post.
4675         * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
4677 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
4679         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
4680         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
4682         * sysdeps/arm/libm-test-ulps: Regenerated.
4684         [BZ #15470]
4685         * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
4687         [BZ #16399]
4688         * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
4689         * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
4690         and <fix-fp-int-convert-overflow.h>.
4691         (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
4692         FIX_DBL_LLONG_CONVERT_OVERFLOW.
4693         * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
4694         and <fix-fp-int-convert-overflow.h>.
4695         (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
4696         FIX_DBL_LLONG_CONVERT_OVERFLOW.
4697         * sysdeps/ieee754/dbl-64/s_lrint.c: Include
4698         <fix-fp-int-convert-overflow.h>.
4699         (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
4700         FIX_DBL_LLONG_CONVERT_OVERFLOW.
4701         * sysdeps/ieee754/dbl-64/s_lround.c: Include
4702         <fix-fp-int-convert-overflow.h>.
4703         (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
4704         FIX_DBL_LLONG_CONVERT_OVERFLOW.
4705         * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
4706         and <fix-fp-int-convert-overflow.h>.
4707         (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
4708         FIX_DBL_LLONG_CONVERT_OVERFLOW.
4709         * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
4710         <limits.h> and <fix-fp-int-convert-overflow.h>.
4711         (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
4712         FIX_DBL_LLONG_CONVERT_OVERFLOW.
4713         * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
4714         and <fix-fp-int-convert-overflow.h>.
4715         (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
4716         FIX_DBL_LLONG_CONVERT_OVERFLOW.
4717         * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
4718         and <fix-fp-int-convert-overflow.h>.
4719         (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
4720         FIX_DBL_LLONG_CONVERT_OVERFLOW.
4721         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
4723 2015-10-09  Carlos O'Donell  <carlos@redhat.com>
4725         [BZ #18589]
4726         * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
4727         * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
4728         $(gen-locales).
4730 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4731             Phil Blundell <pb@pbcl.net>
4733         * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
4734         * nptl/tst-cancel26.c: New file.
4735         * nptl/tst-cancel27.c: Likewise.
4737 2015-10-09  H.J. Lu  <hongjiu.lu@intel.com>
4739         * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
4740         __ILP32__ isn't defined.
4741         (lrint): Likewise.
4742         * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
4743         (lrintf): Likewise.
4744         * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
4745         (lrintl): Likewise.
4746         * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
4747         * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
4748         * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
4750 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4752         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
4753         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
4755         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
4756         file.
4757         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
4758         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
4760 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
4762         * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
4763         configure test.
4764         * sysdeps/i386/configure: Regenerated.
4765         * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
4766         configure test.
4767         * sysdeps/x86_64/configure: Regenerated.
4768         * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
4769         Make code unconditional.
4771         * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
4772         test.
4773         * sysdeps/i386/configure: Regenerated.
4774         * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
4775         test.
4776         * sysdeps/x86_64/configure: Regenerated.
4777         * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
4778         Make code unconditional.
4779         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
4780         Likewise.
4781         * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
4782         Likewise.
4783         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
4784         * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
4785         code unconditional.
4786         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
4787         * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
4788         code unconditional.
4789         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
4790         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
4791         code unconditional.
4792         * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
4793         code unconditional.
4794         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
4795         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
4796         code unconditional.
4797         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
4798         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
4799         code unconditional.
4800         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
4801         * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
4802         code unconditional.
4803         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
4804         * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
4805         code unconditional.
4806         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
4807         * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
4809         [BZ #19095]
4810         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
4811         mantissa to long int before shifting left.
4813 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
4815         [BZ #19094]
4816         * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
4817         <limits.h>.
4818         (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
4819         when result overflows but exception would not result from cast.
4820         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
4821         <limits.h>.
4822         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
4823         when result overflows but exception would not result from cast.
4824         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
4825         <limits.h>.
4826         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
4827         when result overflows but exception would not result from cast.
4828         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
4829         <limits.h>.
4830         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
4831         when result overflows but exception would not result from cast.
4832         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
4833         <limits.h>.
4834         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
4835         when result overflows but exception would not result from cast.
4836         * math/libm-test.inc (lrint_test_data): Add more tests.
4837         (llrint_test_data): Likewise.
4839 2015-10-08  Roland McGrath  <roland@hack.frob.com>
4841         [BZ #18872]
4842         * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
4843         Move out from under [$(run-built-tests) = yes] conditional.
4844         ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
4845         ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
4847 2015-10-08  Carlos O'Donell  <carlos@redhat.com>
4849         [BZ #18589]
4850         * string/Makefile (tests): Add bug-strcoll2.
4851         (LOCALES): Add cs_CZ.UTF-8.
4852         * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
4854         [BZ #18589]
4855         * string/bug-strcoll2.c: New file.
4856         * locale/categories.def: Revert commit
4857         f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
4858         * locale/langinfo.h: Likewise.
4859         * locale/localeinfo.h: Likewise.
4860         * locale/C-collate.c: Likewise.
4861         * locale/programs/ld-collate.c (collate_output): Likewise.
4862         * string/strcoll_l.c (STRDIFF): Likewise.
4863         (STRCOLL): Likewise.
4864         * wcsmbs/wcscoll_l.c: Likewise.
4866 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
4868         * math/libm-test.inc (lround_test_data): Do not expect the absence
4869         of "inexact" for some tests with non-integer arguments.
4870         (llround_test_data): Likewise.
4872         * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
4873         test.
4874         (libc_cv_cc_sse2avx): Likewise.
4875         * sysdeps/i386/configure: Regenerated.
4876         * sysdeps/i386/i686/multiarch/Makefile
4877         [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
4878         [$(subdir) = math].
4879         * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
4880         code unconditional.
4881         * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
4882         Likewise.
4883         * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
4884         Likewise.
4885         * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
4886         Likewise.
4887         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
4888         test.
4889         (libc_cv_cc_sse2avx): Likewise.
4890         * sysdeps/x86_64/configure: Regenerated.
4891         * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
4892         unconditional.
4893         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
4894         [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
4895         unconditional.
4896         (_dl_runtime_profile)
4897         [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
4898         conditional code.
4899         * sysdeps/x86_64/fpu/multiarch/Makefile
4900         [$(config-cflags-sse2avx) = yes]: Make code unconditional.
4901         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
4902         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
4903         * sysdeps/x86_64/fpu/multiarch/e_exp.c
4904         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
4905         * sysdeps/x86_64/fpu/multiarch/e_log.c
4906         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
4907         * sysdeps/x86_64/fpu/multiarch/s_atan.c
4908         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
4909         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
4910         Likewise.
4911         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
4912         Likewise.
4913         * sysdeps/x86_64/fpu/multiarch/s_sin.c
4914         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
4915         * sysdeps/x86_64/fpu/multiarch/s_tan.c
4916         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
4917         * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
4918         * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
4919         (HAVE_SSE2AVX_SUPPORT): Likewise.
4921 2015-10-07  Paul Pluzhnikov  <ppluzhnikov@google.com>
4923         * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
4924         instead of #pragma optimize.
4926 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
4928         [BZ #17195]
4929         * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
4930         as is similarly done in systrim and _int_free already.
4932 2015-10-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4934         * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
4936 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
4938         [BZ #19088]
4939         * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
4940         <limits.h>.
4941         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
4942         overflows but exception would not result from cast.
4943         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
4944         and <limits.h>.
4945         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
4946         overflows but exception would not result from cast.
4947         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
4948         <limits.h>.
4949         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
4950         overflows but exception would not result from cast.
4951         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
4952         <limits.h>.
4953         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
4954         overflows but exception would not result from cast.
4955         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
4956         <limits.h>.
4957         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
4958         overflows but exception would not result from cast.
4959         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
4960         <limits.h>.
4961         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
4962         overflows but exception would not result from cast.
4963         * math/libm-test.inc (lround_test_data): Add more tests.
4964         (llround_test_data): Likewise.
4966 2015-10-07  Steve Ellcey  <sellcey@imgtec.com>
4968         * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
4969         (CFLAGS-ialloc.c): Ditto.
4970         (CFLAGS-scheck.c): Ditto.
4972 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
4974         [BZ #19086]
4975         * manual/filesys.texi (Storage Allocation): Fix argument order for
4976         posix_fallocate64.
4978 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
4980         [BZ #19085]
4981         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
4982         exponent below 48 inside case for non-overflowing exponent.
4983         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
4985 2015-10-07  Florian Weimer  <fweimer@redhat.com>
4987         * iconvdata/cp737.h (from_idx): Add const.
4988         * iconvdata/cp775.h (from_idx): Likewise.
4990 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
4992         * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
4993         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
4994         (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
4996         [BZ #19079]
4997         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
4998         file, conditioned on [!_LP64].
4999         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
5000         [!_LP64] (__lround): Do not define as function or alias.
5001         [!_LP64] (lround): Likewise.
5002         [!_LP64] (__lroundl): Likewise.
5003         [!_LP64] (lroundl): Likewise.
5004         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
5005         macro.
5006         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
5007         Likewise.
5009 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
5011         * math/libm-test.inc (lrint_test_data): Add more tests.
5012         (llrint_test_data): Likewise.
5013         (lround_test_data): Likewise.
5014         (llround_test_data): Likewise.
5016         * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
5017         (llrint_test_data): Add tests used for lrint.
5019         * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
5020         test.
5021         * sysdeps/i386/configure: Regenerated.
5022         * sysdeps/i386/i686/multiarch/Makefile
5023         [$(config-cflags-sse4) = yes]: Make code unconditional.
5024         * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
5025         Likewise.
5026         * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
5027         Likewise.
5028         * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
5029         test.
5030         * sysdeps/x86_64/configure: Regenerated.
5031         * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
5032         Make code unconditional.
5033         * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
5034         Likewise.
5035         * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
5036         * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
5038         * scripts/rpm2dynsym.sh: Remove file.
5040 2015-10-06  Florian Weimer  <fweimer@redhat.com>
5042         * configure.ac (libc_cv_cxx_thread_local): Define.
5043         * configure: Regenerate.
5044         * config.make.in (have-cxx-thread_local): Define.
5045         * nptl/Makefile (CFLAGS-tst-thread_local1.o):
5046         (LDLIBS-tst-thread_local1): Define.
5047         (tests): Add tst-thread_local1.
5048         [have-cxx-thread_local != yes] (tests-unsupported): Add
5049         tst-thread_local1.
5050         * nptl/tst-thread_local1.cc: New file.
5052 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
5054         [BZ #19078]
5055         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
5056         (u_thres): Likewise.
5057         (__expl): Determine whether to call __kernel_standard_l based on
5058         value of result, not argument.
5060         * math/libm-test.inc (scalb_test_data): Add more expectations for
5061         the "inexact" exception.
5063         [BZ #19077]
5064         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
5065         0.0L for argument 1.0L.
5067         [BZ #19076]
5068         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
5069         constant 0.0L when computing infinite result.
5071 2015-10-06  Florian Weimer  <fweimer@redhat.com>
5073         [BZ #10432]
5074         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
5075         malloc_usable_size.
5077 2015-10-06  Florian Weimer  <fweimer@redhat.com>
5079         [BZ #19018]
5080         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
5081         Mangle function pointer before storing it.
5082         (__call_tls_dtors): Demangle function pointer before calling it.
5084 2015-10-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
5086         [BZ #19012]
5087         * iconv/gconv_db.c (gen_steps): Check for additional errors.
5088         Clean up on failure.
5090 2015-10-05  Joseph Myers  <joseph@codesourcery.com>
5092         [BZ #19071]
5093         * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
5094         long int variable to store possibly incremented high part of
5095         mantissa.
5096         * math/libm-test.inc (lround_test_data): Add tests used for
5097         llround.  Use [LONG_MAX > 0x7fffffff] consistently as condition
5098         for tests requiring 64-bit long.  Do not condition tests on
5099         [TEST_FLOAT] unnecessarily.
5100         (llround_test_data): Add tests used for lround.  Add another
5101         expectation for the "inexact" exception.  Do not condition tests
5102         on [TEST_FLOAT] unnecessarily.
5104         [BZ #887]
5105         [BZ #19049]
5106         [BZ #19050]
5107         * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
5108         * sysdeps/ieee754/dbl-64/e_log10.c: Include
5109         <fix-int-fp-convert-zero.h>.
5110         (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
5111         * sysdeps/ieee754/dbl-64/e_log2.c: Include
5112         <fix-int-fp-convert-zero.h>.
5113         (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
5114         * sysdeps/ieee754/dbl-64/s_erf.c: Include
5115         <fix-int-fp-convert-zero.h>.
5116         (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
5117         * sysdeps/ieee754/dbl-64/s_logb.c: Include
5118         <fix-int-fp-convert-zero.h>.
5119         (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
5120         * sysdeps/ieee754/flt-32/e_log10f.c: Include
5121         <fix-int-fp-convert-zero.h>.
5122         (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
5123         * sysdeps/ieee754/flt-32/e_log2f.c: Include
5124         <fix-int-fp-convert-zero.h>.
5125         (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
5126         * sysdeps/ieee754/flt-32/s_erff.c: Include
5127         <fix-int-fp-convert-zero.h>.
5128         (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
5129         * sysdeps/ieee754/flt-32/s_logbf.c: Include
5130         <fix-int-fp-convert-zero.h>.
5131         (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
5132         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
5133         <fix-int-fp-convert-zero.h>.
5134         (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
5135         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
5136         <fix-int-fp-convert-zero.h>.
5137         (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
5138         * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
5139         * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
5140         * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
5141         file.
5142         * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
5144 2015-10-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
5146         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
5148 2015-10-02  Joseph Myers  <joseph@codesourcery.com>
5150         [BZ #19059]
5151         * math/s_nexttowardf.c (__nexttowardf): Do not return value from
5152         overflowing computation.
5153         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
5154         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
5155         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
5156         Likewise.
5157         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
5158         Likewise.
5159         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
5160         Likewise.
5161         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
5162         Likewise.
5163         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
5164         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
5165         Likewise.
5166         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
5167         Likewise.
5168         * math/libm-test.inc (nexttoward_test_data): Add more tests.
5170         * nss/rewrite_field.c (__nss_rewrite_field): Use
5171         internal_function.
5172         * nss/valid_field.c (__nss_valid_field): Likewise.
5173         * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
5175 2015-10-02  Florian Weimer  <fweimer@redhat.com>
5177         [BZ #18724]
5178         * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
5179         (__nss_invalid_field_characters, __nss_valid_field)
5180         (__nss_valid_list_field, __nss_rewrite_field): Declare.
5181         * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
5182         tst-field.c: New file.
5183         * nss/Makefile (routines): Add valid_field, rewrite_field.
5184         (tests-static): Define unconditionally.
5185         (tests): Include tests-static.
5186         [build-static-nss] (tests-static): Use append.
5187         [build-static-nss] (tests): Remove modification.
5188         * nss/getent.c (print_group): Call putgrent.  Report error.
5189         (print_gshadow): Call putsgent.  Report error.
5190         (print_passwd): Call putpwent.  Report error.
5191         (print_shadow): Call putspent.  Report error.
5192         * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
5193         * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
5194         * pwd/putpwent.c (putpwent): Use ISO function definition.  Check
5195         name, password, directory, shell fields for valid syntax.  Rewrite
5196         GECOS field to match syntax.
5197         * pwd/Makefile (tests): Add tst-putpwent.
5198         * pwd/tst-putpwent.c: New file.
5199         * grp/putgrent.c (putgrent): Convert to ISO function definition.
5200         Check grName, grpasswd, gr_mem fields for valid syntax.
5201         Change loop variable i to size_t.
5202         * grp/Makefile (tests): Add tst-putgrent.
5203         * grp/tst-putgrent.c: New file.
5204         * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
5205         valid syntax.
5206         * shadow/Makefile (tests): Add tst-putspent.
5207         * shadow/tst-putspent.c: New file.
5208         * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
5209         sg_mem fields for valid syntax.
5210         * gshadow/Makefile (tests): Add tst-putsgent.
5211         * gshadow/tst-putsgent.c: New file.
5213 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
5215         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
5216         assembly instructions.
5218 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
5220         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
5221         prefix from operands.
5223 2015-10-01  Joseph Myers  <joseph@codesourcery.com>
5225         [BZ #16347]
5226         [BZ #19046]
5227         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
5228         <libc-internal.h>.
5229         (MAXLGM): Do not use diagnostic control macros.
5230         [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
5231         threshold for ldbl-128ibm.
5232         (__ieee754_lgammal_r): For large arguments, multiply by log - 1
5233         instead of multiplying by log then subtracting.
5234         * math/auto-libm-test-in: Add more tests of lgamma.
5235         * math/auto-libm-test-out: Regenerated.
5237         * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
5238         (TYPE_HEX_DIG): Likewise.
5239         (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
5240         precisions when printing floating-point numbers.
5241         (check_float_internal): Likewise.
5243 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
5245         [BZ #16620]
5246         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
5247         of log (10) rounded downward to 48 bits.
5248         (log10_low): Use corresponding low part of log (10).
5250         [BZ #19032]
5251         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
5252         compute result as (x - x) / (x - x) not as 0 / 0.
5253         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
5254         * math/libm-test.inc (acosh_test_data): Add another test of acosh.
5256         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
5257         atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
5258         and expm1.
5259         * math/auto-libm-test-out: Regenerated.
5260         * math/libm-test.inc (acos_test_data): Add more tests.
5261         (asin_test_data): Likewise.
5262         (asinh_test_data): Likewise.
5263         (atan_test_data): Likewise.
5264         (atanh_test_data): Likewise.
5265         (atan2_test_data): Likewise.
5266         (cbrt_test_data): Likewise.
5267         (ceil_test_data): Likewise.
5268         (copysign_test_data): Likewise.
5269         (cos_test_data): Likewise.
5270         (cosh_test_data): Likewise.
5271         (erf_test_data): Likewise.
5272         (erfc_test_data): Likewise.
5273         (exp_test_data): Likewise.
5274         (exp10_test_data): Likewise.
5275         (exp2_test_data): Likewise.
5276         (expm1_test_data): Likewise.
5277         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5279 2015-09-30  H.J. Lu  <hongjiu.lu@intel.com>
5281         [BZ #19006]
5282         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
5283         to ...
5284         * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
5285         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
5286         to ...
5287         * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
5288         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
5289         to ...
5290         * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
5291         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
5292         * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
5293         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
5294         to ...
5295         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
5296         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
5297         Moved to ...
5298         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
5299         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
5300         Moved to ...
5301         * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
5302         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
5303         to ...
5304         * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
5305         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
5306         Moved to ...
5307         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
5308         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
5309         to ...
5310         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
5311         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
5312         Removed.
5313         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
5314         Likewise.
5315         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
5316         Likewise.
5317         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
5318         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
5319         Likewise.
5320         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
5321         Likewise.
5322         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
5323         Likewise.
5324         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
5325         Likewise.
5326         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
5327         Likewise.
5328         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
5329         Likewise.
5330         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
5331         Likewise.
5332         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
5333         Likewise.
5334         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
5335         Likewise.
5336         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
5337         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
5338         Likewise.
5339         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
5340         Likewise.
5341         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
5342         Likewise.
5343         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
5344         Likewise.
5345         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
5346         Likewise.
5347         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
5348         Replace ../i486/pthread_cond_timedwait.S with
5349         ../pthread_cond_timedwait.S.
5351 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
5353         * math/libm-test.inc (acos_test_data): Refine expectations for
5354         errno and "inexact" exceptions.
5355         (acosh_test_data): Likewise.
5356         (asin_test_data): Likewise.
5357         (asinh_test_data): Likewise.
5358         (atan_test_data): Likewise.
5359         (atanh_test_data): Likewise.
5360         (atan2_test_data): Likewise.
5361         (cbrt_test_data): Likewise.
5362         (ceil_test_data): Likewise.
5363         (copysign_test_data): Likewise.
5364         (cosh_test_data): Likewise.
5365         (erf_test_data): Likewise.
5366         (erfc_test_data): Likewise.
5367         (exp_test_data): Likewise.
5368         (exp10_test_data): Likewise.
5369         (exp2_test_data): Likewise.
5370         (expm1_test_data): Likewise.
5371         (fabs_test_data): Likewise.
5372         (floor_test_data): Likewise.
5373         (fma_test_data): Likewise.
5374         (fmax_test_data): Likewise.
5375         (fmin_test_data): Likewise.
5376         (fmod_test_data): Likewise.
5377         (fpclassify_test_data): Likewise.
5378         (frexp_test_data): Likewise.
5379         (hypot_test_data): Likewise.
5380         (ilogb_test_data): Likewise.
5381         (isgreater_test_data): Likewise.
5382         (isgreaterequal_test_data): Likewise.
5383         (isinf_test_data): Likewise.
5384         (isless_test_data): Likewise.
5385         (islessequal_test_data): Likewise.
5386         (islessgreater_test_data): Likewise.
5387         (isnan_test_data): Likewise.
5388         (isnormal_test_data): Likewise.
5389         (issignaling_test_data): Likewise.
5390         (isunordered_test_data): Likewise.
5391         (j0_test_data): Likewise.
5392         (j1_test_data): Likewise.
5393         (jn_test_data): Likewise.
5394         (lgamma_test_data): Likewise.
5395         (lrint_test_data): Likewise.
5396         (llrint_test_data): Likewise.
5397         (log_test_data): Likewise.
5398         (log10_test_data): Likewise.
5399         (log1p_test_data): Likewise.
5400         (log2_test_data): Likewise.
5401         (logb_test_data): Likewise.
5402         (lround_test_data): Likewise.
5403         (llround_test_data): Likewise.
5404         (modf_test_data): Likewise.
5405         (nearbyint_test_data): Likewise.
5406         (nextafter_test_data): Likewise.
5407         (nexttoward_test_data): Likewise.
5408         (pow_test_data): Likewise.
5409         (remainder_test_data): Likewise.
5410         (remquo_test_data): Likewise.
5411         (rint_test_data): Likewise.
5412         (round_test_data): Likewise.
5413         (signbit_test_data): Likewise.
5414         (sinh_test_data): Likewise.
5415         (sqrt_test_data): Likewise.
5416         (tanh_test_data): Likewise.
5417         (tgamma_test_data): Likewise.
5418         (trunc_test_data): Likewise.
5419         (y0_test_data): Likewise.
5420         (y1_test_data): Likewise.
5421         (yn_test_data): Likewise.
5422         (significand_test_data): Likewise.
5424 2015-09-29  Carlos O'Donell  <carlos@redhat.com>
5426         * manual/filesys.texi (Storage Allocation): Document that
5427         posix_fallocate emulation fails when fd is open with O_WRONLY.
5429 2015-09-28  Joseph Myers  <joseph@codesourcery.com>
5431         [BZ #19016]
5432         * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
5433         allow more cases with X^2 + Y^2 >= 0.5.
5434         * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise.  Add -1 as
5435         normal element in sum instead of special-casing based on values of
5436         arguments.
5437         * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
5438         * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise.  Add
5439         -1 as normal element in sum instead of special-casing based on
5440         values of arguments.
5441         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
5442         * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
5443         (__x2y2m1): Update comment.
5444         * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise.  Add -1
5445         as normal element in sum instead of special-casing based on values
5446         of arguments.
5447         * math/s_clog.c (__clog): Handle more cases using log1p without
5448         hypot.
5449         * math/s_clog10.c (__clog10): Likewise.
5450         * math/s_clog10f.c (__clog10f): Likewise.
5451         * math/s_clog10l.c (__clog10l): Likewise.
5452         * math/s_clogf.c (__clogf): Likewise.
5453         * math/s_clogl.c (__clogl): Likewise.
5454         * math/auto-libm-test-in: Add more tests of clog and clog10.
5455         * math/auto-libm-test-out: Regenerated.
5456         * sysdeps/i386/fpu/libm-test-ulps: Update.
5457         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5459 2015-09-28  Martin Sebor  <msebor@redhat.com>
5461         [BZ #18969]
5462         * string/Makefile (LOCALES): Define.
5463         (gen-locales.mk): Include.
5464         (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
5465         (tst-strxfrm2.out): Add deppendency on $(gen-locales).
5466         * string/tst-strxfrm2.c (do_test): Print the name of the locale
5467         on setlocale failure.
5469 2015-09-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
5471         [BZ #18985]
5472         * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
5473         (__strftime_internal): Likewise.
5474         * time/tst-strftime.c (do_bz18985): New test.
5475         (do_test): Call it.
5477 2015-09-26  Joseph Myers  <joseph@codesourcery.com>
5479         [BZ #18956]
5480         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
5481         not 0x0040000 for high bit of mantissa.  Mask with 0xfffff000 when
5482         extracting high part.
5483         * math/auto-libm-test-in: Add another test of pow.
5484         * math/auto-libm-test-out: Regenerated.
5485         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5487 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
5489         [BZ #18825]
5490         * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
5491         New macro.
5492         (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
5493         (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
5494         * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
5495         (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
5496         DBL_NARROW_EVAL, reloading the PIC register as needed.
5497         * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
5498         (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
5499         FLT_NARROW_EVAL.  Use separate return path for case when first
5500         argument is NaN.
5501         * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>.  Use
5502         DEFINE_LDBL_MIN.
5503         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
5504         PIC register.
5505         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
5506         math_check_force_underflow_nonneg.
5507         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
5508         underflow for subnormal result.
5509         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
5510         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
5511         math_check_force_underflow_nonneg.
5512         * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
5513         math_check_force_underflow.
5514         * sysdeps/x86_64/fpu/x86_64-math-asm.h
5515         (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
5516         * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>.  Use
5517         DEFINE_LDBL_MIN.
5518         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
5519         * math/auto-libm-test-in: Add more tests of pow.
5520         * math/auto-libm-test-out: Regenerated.
5522 2015-09-25  Florian Weimer  <fweimer@redhat.com>
5524         * nss/bug17079.c (init_test_items): Add diagnostic for
5525         inconsistent entries.
5526         (test_buffer_size): Skip inconsistent entries.
5528 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
5530         [BZ #13304]
5531         * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
5532         * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
5533         * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
5535         [BZ #13304]
5536         * sysdeps/microblaze/s_fma.c: New file.
5537         * sysdeps/microblaze/s_fmaf.c: Likewise.
5538         * sysdeps/microblaze/sfp-machine.h: Likewise.
5540 2015-09-25  Maciej W. Rozycki  <macro@imgtec.com>
5542         [BZ #17250]
5543         * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
5544         member.
5546 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
5548         [BZ #18803]
5549         * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
5550         (MO): New macro.
5551         (__ieee754_hypot) [PIC]: Load PIC register.
5552         (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
5553         DBL_NARROW_EVAL.
5554         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
5555         math_check_force_underflow_nonneg in case where result might be
5556         tiny.
5557         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
5558         Likewise.
5559         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
5560         Likewise.
5561         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
5562         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
5563         * math/auto-libm-test-in: Add more tests of hypot.
5564         * math/auto-libm-test-out: Regenerated.
5566 2015-09-24  Steve Ellcey  <sellcey@imgtec.com>
5568         * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
5570 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
5572         * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
5573         * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
5574         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
5575         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
5576         * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
5577         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
5578         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
5580         * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
5581         LOAD_PIC_REG.
5583         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
5584         (FLT_CHECK_FORCE_UFLOW): Likewise.
5585         (DBL_CHECK_FORCE_UFLOW): Likewise.
5586         (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
5587         (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
5588         (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
5589         (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
5590         (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
5591         (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
5592         (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
5593         (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
5594         * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
5595         (dbl_min): Replace with use of DEFINE_DBL_MIN.
5596         (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
5597         * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
5598         (flt_min): Replace with use of DEFINE_FLT_MIN.
5599         (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
5600         * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
5601         (dbl_min): Replace with use of DEFINE_DBL_MIN.
5602         (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
5603         * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
5604         (flt_min): Replace with use of DEFINE_FLT_MIN.
5605         (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
5606         * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
5607         (dbl_min): Replace with use of DEFINE_DBL_MIN.
5608         (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
5609         * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
5610         (flt_min): Replace with use of DEFINE_FLT_MIN.
5611         (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
5612         * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
5613         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
5614         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
5615         * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
5616         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
5617         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
5618         * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
5619         (dbl_min): Replace with use of DEFINE_DBL_MIN.
5620         (__atan): Use DBL_CHECK_FORCE_UFLOW.
5621         * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
5622         (flt_min): Replace with use of DEFINE_FLT_MIN.
5623         (__atanf): Use FLT_CHECK_FORCE_UFLOW.
5624         * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
5625         (dbl_min): Replace with use of DEFINE_DBL_MIN.
5626         (__expm1): Use DBL_CHECK_FORCE_UFLOW.  Move underflow check after
5627         main computation.
5628         * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
5629         (flt_min): Replace with use of DEFINE_FLT_MIN.
5630         (__expm1f): Use FLT_CHECK_FORCE_UFLOW.  Move underflow check after
5631         main computation.
5632         * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
5633         (dbl_min): Replace with use of DEFINE_DBL_MIN.
5634         (MO): New macro.
5635         (__log1p): Use MO.  Use DBL_CHECK_FORCE_UFLOW_NONNAN.
5636         * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
5637         (flt_min): Replace with use of DEFINE_FLT_MIN.
5638         (MO): New macro.
5639         (__log1pf): Use MO.  Use FLT_CHECK_FORCE_UFLOW_NONNAN.
5640         * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
5641         (__log1pl): Use MO.
5643         [BZ #19003]
5644         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
5645         $(config-cflags-nofma).
5647 2015-09-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
5649         * sysdeps/aarch64/libm-test-ulps: Regenerated.
5651 2015-09-23  Joseph Myers  <joseph@codesourcery.com>
5653         * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
5654         (TWO127): Likewise.
5656         * sysdeps/generic/math_private.h (fabs_tg): New macro.
5657         (min_of_type): Likewise.
5658         (math_check_force_underflow): Likewise.
5659         (math_check_force_underflow_nonneg): Likewise.
5660         (math_check_force_underflow_complex): Likewise.
5661         * math/e_exp2l.c (__ieee754_exp2l): Use
5662         math_check_force_underflow_nonneg.
5663         * math/k_casinh.c (__kernel_casinh): Likewise.
5664         * math/k_casinhf.c (__kernel_casinhf): Likewise.
5665         * math/k_casinhl.c (__kernel_casinhl): Likewise.
5666         * math/s_catan.c (__catan): Use
5667         math_check_force_underflow_complex.
5668         * math/s_catanf.c (__catanf): Likewise.
5669         * math/s_catanh.c (__catanh): Likewise.
5670         * math/s_catanhf.c (__catanhf): Likewise.
5671         * math/s_catanhl.c (__catanhl): Likewise.
5672         * math/s_catanl.c (__catanl): Likewise.
5673         * math/s_ccosh.c (__ccosh): Likewise.
5674         * math/s_ccoshf.c (__ccoshf): Likewise.
5675         * math/s_ccoshl.c (__ccoshl): Likewise.
5676         * math/s_cexp.c (__cexp): Likewise.
5677         * math/s_cexpf.c (__cexpf): Likewise.
5678         * math/s_cexpl.c (__cexpl): Likewise.
5679         * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
5680         * math/s_clog10.c (__clog10): Likewise.
5681         * math/s_clog10f.c (__clog10f): Likewise.
5682         * math/s_clog10l.c (__clog10l): Likewise.
5683         * math/s_clogf.c (__clogf): Likewise.
5684         * math/s_clogl.c (__clogl): Likewise.
5685         * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
5686         * math/s_csinf.c (__csinf): Likewise.
5687         * math/s_csinh.c (__csinh): Likewise.
5688         * math/s_csinhf.c (__csinhf): Likewise.
5689         * math/s_csinhl.c (__csinhl): Likewise.
5690         * math/s_csinl.c (__csinl): Likewise.
5691         * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
5692         * math/s_csqrtf.c (__csqrtf): Likewise.
5693         * math/s_csqrtl.c (__csqrtl): Likewise.
5694         * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
5695         * math/s_ctanf.c (__ctanf): Likewise.
5696         * math/s_ctanh.c (__ctanh): Likewise.
5697         * math/s_ctanhf.c (__ctanhf): Likewise.
5698         * math/s_ctanhl.c (__ctanhl): Likewise.
5699         * math/s_ctanl.c (__ctanl): Likewise.
5700         * stdlib/strtod_l.c (round_and_return): Use math_force_eval
5701         instead of volatile.
5702         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
5703         math_check_force_underflow.
5704         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
5705         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
5706         volatile when forcing underflow.
5707         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
5708         math_check_force_underflow_nonneg.
5709         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
5710         Likewise.
5711         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
5712         math_check_force_underflow.
5713         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
5714         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
5715         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
5716         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
5717         math_check_force_underflow_nonneg.
5718         * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
5719         math_check_force_underflow.
5720         * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
5721         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
5722         instead of volatile.
5723         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
5724         math_check_force_underflow.
5725         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
5726         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
5727         math_check_force_underflow_nonneg.
5728         * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
5729         math_check_force_underflow.
5730         * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
5731         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
5732         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
5733         math_check_force_underflow_nonneg.
5734         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
5735         Likewise.
5736         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
5737         math_check_force_underflow.
5738         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
5739         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
5740         * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
5741         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
5742         * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
5743         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
5744         * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
5745         * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
5746         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
5747         * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
5748         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
5749         * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
5750         Likewise.
5751         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
5752         math_check_force_underflow_nonneg.
5753         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
5754         Likewise.
5755         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
5756         math_check_force_underflow.
5757         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
5758         * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
5759         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
5760         Likewise.
5761         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
5762         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
5763         * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
5764         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
5765         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
5766         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
5767         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
5768         instead of volatile.
5769         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
5770         math_check_force_underflow.
5771         * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
5772         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
5773         math_check_force_underflow.
5774         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
5775         Likewise.
5776         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
5777         Use math_check_force_underflow_nonneg.
5778         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
5779         math_check_force_underflow.
5780         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
5781         Likewise.
5782         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
5783         Likewise.
5784         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
5785         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
5786         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
5787         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
5788         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
5789         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
5790         * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
5791         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
5792         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
5793         math_check_force_underflow_nonneg.
5794         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
5795         math_check_force_underflow.
5796         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
5797         * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
5798         * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
5799         * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
5800         math_check_force_underflow_nonneg.
5801         * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
5802         math_check_force_underflow.
5803         * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
5804         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
5805         instead of volatile.
5806         * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
5807         math_check_force_underflow.
5809         * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
5810         * stdlib/strtod_l.c: Include <math_private.h>.
5811         (overflow_value): Use math_narrow_eval.
5812         (underflow_value): Likewise.
5813         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
5814         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
5815         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
5816         (__ieee754_gamma_r): Likewise.
5817         * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
5818         Likewise.
5819         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
5820         Likewise.
5821         * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
5822         * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
5823         * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
5824         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
5825         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
5826         (__ieee754_gammaf_r): Likewise.
5827         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
5828         Likewise.
5829         * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
5830         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
5831         * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
5832         * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
5833         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
5834         volatile.
5835         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
5836         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
5837         math_narrow_eval.
5838         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
5839         Likewise.
5840         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
5841         Likewise.
5842         * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
5843         Likewise.
5844         * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
5845         volatile.
5846         * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
5847         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
5848         math_narrow_eval.
5849         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
5850         Likewise.
5851         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
5852         Likewise.
5854 2015-09-22  H.J. Lu  <hongjiu.lu@intel.com>
5856         * nptl/Versions: Remove ignored symbols.
5858 2015-09-22  Florian Weimer  <fweimer@redhat.com>
5860         * nss/bug17079.c: Renamed from nss/bug18287.c.  Add description.
5861         * nss/Makefile (tests): Update.
5863 2015-09-22  Florian Weimer  <fweimer@redhat.com>
5865         * nss/bug18287.c: New file.
5866         * nss/Makefile (tests): Add bug18287.
5868 2015-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5870         * mach/Versions (__mach_host_self_): Add symbol.
5872 2015-09-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5874         * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
5875         vm_page_size.
5877 2015-09-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5879         Really fix sysdeps/i386/fpu/s_scalbn.S build
5881         * math/Versions (libc: GLIBC_2_20): New (empty) version set.
5882         (libc: GLIBC_2_22): Remove unused version set.
5884 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
5886         * config.make.in (enable-timezone-tools): New variable.
5887         * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
5888         (enable_timezone_tools): Export to generated files.
5889         * configure: Regenerate.
5890         * INSTALL: Regenerate.
5891         * manual/install.texi (--disable-timezone-tools): Document new flag.
5892         * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
5893         ifeq ($(enable-timezone-tools),yes) check.
5895 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
5897         * timezone/Makefile: Revert previous change.
5899         [BZ #18980]
5900         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
5901         (DEFINE_DBL_MIN): Likewise.
5902         (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
5903         (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
5904         (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
5905         (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
5906         * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
5907         (dbl_min): Replace with use of DEFINE_DBL_MIN.
5908         (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
5909         (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
5910         * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
5911         (dbl_min): Replace with use of DEFINE_DBL_MIN.
5912         (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
5913         * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
5914         (flt_min): Replace with use of DEFINE_FLT_MIN.
5915         (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
5916         * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
5917         (dbl_min): Replace with use of DEFINE_DBL_MIN.
5918         (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
5919         * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
5920         (flt_min): Replace with use of DEFINE_FLT_MIN.
5921         (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
5922         * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
5923         (flt_min): Replace with use of DEFINE_FLT_MIN.
5924         (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
5925         (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
5926         * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
5927         (__ieee754_hypot): Use DBL_NARROW_EVAL.
5928         * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
5929         (__ieee754_hypotf): Use FLT_NARROW_EVAL.
5930         * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
5931         (__ieee754_pow): Use DBL_NARROW_EVAL.
5932         * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
5933         (__ieee754_powf): Use FLT_NARROW_EVAL.
5934         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
5935         (__ieee754_expf_sse2): Convert double-precision result to single
5936         precision.
5937         * sysdeps/i386/fpu/libm-test-ulps: Update.
5939 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
5941         * timezone/Makefile: Ignore unused variable errors due to private.h
5942         (time_t_min) and (time_t_max).
5943         * timezone/private.h (time_t_min): Revert removal.  (time_t_max):
5944         Likewise.
5946 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
5948         [BZ #18981]
5949         * sysdeps/i386/fpu/i386-math-asm.h: New file.
5950         * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
5951         (__ieee754_scalb): Use DBL_NARROW_EVAL.
5952         * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
5953         (__ieee754_scalbf): Use FLT_NARROW_EVAL.
5954         * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
5955         (__scalbn): Use DBL_NARROW_EVAL.
5956         * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
5957         (__scalbnf): Use FLT_NARROW_EVAL.
5959 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
5961         * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
5962         * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
5963         * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
5964         * stdio-common/printf_fp.c (___printf_fp):
5965         Use signbit to get the sign. Use isinf macro to allow inlining.
5966         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
5967         * stdio-common/printf_size.c (__printf_size): Likewise.
5969 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
5971         * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
5973 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
5975         [BZ #18980]
5976         * sysdeps/generic/math_private.h: Include <float.h>.
5977         (math_narrow_eval): New macro.
5978         [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
5979         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
5980         math_narrow_eval on overflowing return value.
5981         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
5982         Likewise.
5983         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
5984         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
5985         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
5986         Likewise.
5987         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
5989 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
5991         * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
5992         * math/Makefile: Remove isinf_ns.c.
5993         * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
5994         * math/multc3.c (__multc3): Likewise.
5995         * math/s_casin.c (__casin): Likewise.
5996         * math/s_casinf.c (__casinf): Likewise.
5997         * math/s_casinl.c (__casinl): Likewise.
5998         * math/s_cproj.c (__cproj): Likewise.
5999         * math/s_cprojf.c (__cprojf): Likewise.
6000         * math/s_cprojl.c (__cprofl): Likewise.
6001         * math/s_ctan.c (__ctan): Likewise.
6002         * math/s_ctanf.c (__ctanf): Likewise.
6003         * math/s_ctanh.c (__ctanh): Likewise.
6004         * math/s_ctanhf.c (__ctanhf): Likewise.
6005         * math/s_ctanhl.c (__ctanhl): Likewise.
6006         * math/s_ctanl.c (__ctanl): Likewise.
6007         * math/w_fmod.c (__fmod): Likewise.
6008         * math/w_fmodf.c (__fmodf): Likewise.
6009         * math/w_fmodl.c (_fmodl): Likewise.
6010         * math/w_remainder.c (__remainder): Likewise.
6011         * math/w_remainderf.c (__remainderf): Likewise.
6012         * math/w_remainderl.c (__remainderl): Likewise.
6013         * math/w_scalb.c (__scalb): Likewise.
6014         * math/w_scalbf.c (__scalbf): Likewise.
6015         * math/w_scalbl.c (__scalbl): Likewise.
6016         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
6017         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
6018         with isinf.
6019         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
6020         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
6021         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
6022         __isinf_nsf with isinf.
6023         * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
6024         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
6025         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
6026         * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
6027         with isinf.
6028         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
6029         __isinf_nsl with isinf.
6030         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
6031         with isinf.
6032         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
6033         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
6034         __isinf_nsl with isinf.
6035         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
6036         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
6037         with isinf.
6039 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
6041         * resolv/base64.c (rcsid): Remove unused static.
6042         * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
6043         static.  (tqpi1): Likewise.
6044         * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
6045         * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
6046         * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
6047         * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
6048         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
6049         * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
6050         * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
6051         * timezone/private.h (time_t_min): Likewise.  (time_t_max):
6052         Likewise.
6054 2015-09-18  H.J. Lu  <hongjiu.lu@intel.com>
6056         * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
6057         <nptl/pthreadP.h>.
6058         (_longjmp_unwind): Use __libc_ptf_call.
6059         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
6061 2015-09-18  David Lamparter  <equinox-gentoo@diac24.net>
6063         * sysdeps/arm/setjmp.S: Change PIC to SHARED.
6064         * sysdeps/arm/__longjmp.S: Likewise
6066 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
6068         * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
6069         Use __builtin_signbit.
6070         * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
6071         Use __builtin_signbitf.
6072         * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
6073         Use __builtin_signbitl.
6074         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
6075         * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
6077 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
6079         [BZ #15367]
6080         [BZ #17441]
6082         * math/Makefile: Build test-snan.c with -fsignaling-nans.
6083         * math/math.h (fpclassify): Use __builtin_fpclassify when
6084         available.  (signbit): Use __builtin_signbit(f/l).
6085         (isfinite): Use__builtin_isfinite.  (isnormal): Use
6086         __builtin_isnormal.  (isnan): Use __builtin_isnan.
6087         (isinf): Use __builtin_isinf_sign.
6089 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
6091         * benchtests/Makefile: Add bench-math-inlines, link with libm.
6092         * benchtests/bench-math-inlines.c: New benchmark.
6093         * benchtests/bench-util.h: New file.
6094         * benchtests/bench-util.c: New file.
6095         * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
6097 2015-09-18  Carlos O'Donell  <carlos@redhat.com>
6099         * elf/tst-dlmopen1.c: Define TEST_SO.
6100         (do_test): Use TEST_SO.
6102         * elf/dl-load.c: Include libc-internal.h.
6103         (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
6105 2015-09-18  Vincent Bernat  <vincent@bernat.im>
6107         [BZ #17887]
6108         * time/strptime_l.c (__strptime_internal): Make %z accept
6109         [+-]HH:MM time zones.
6111 2015-09-18  Vincent Bernat  <vincent@bernat.im>
6113         [BZ #17886]
6114         * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
6115         valid time zone.
6117 2015-09-17  Mike Frysinger  <vapier@gentoo.org>
6119         * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
6120         * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
6121         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6122         (__ASSUME_FDATASYNC): Delete.
6124 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
6126         * conform/linknamespace.pl: Require weak undefined symbols to be
6127         in the standard namespace.
6128         (%strong_syms): Rename to %seen_syms.
6129         (%strong_seen): Rename to %seen_where.
6131 2015-09-17  H.J. Lu  <hongjiu.lu@intel.com>
6133         [BZ #18970]
6134         * misc/error.c (error): Replace pthread_setcancelstate with
6135         __pthread_setcancelstate.
6136         (error_at_line): Likewise.
6137         * posix/wordexp.c (parse_comm): Likewise.
6138         * stdlib/fmtmsg.c (fmtmsg): Likewise.
6139         * nptl/forward.c (pthread_setcancelstate): Renamed to ...
6140         (__pthread_setcancelstate): This.
6141         (pthread_setcancelstate): Add an alias.
6142         * nptl/nptl-init.c (pthread_functions): Replace
6143         ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
6144         * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
6145         * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
6146         hidden_proto.
6147         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
6148         it with hidden_def.
6149         * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
6150         (pthread_setcancelstate): Renamed to ...
6151         (__pthread_setcancelstate): This.
6152         * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
6153         __libc_ptf_call with __pthread_setcancelstate.
6155 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
6156             Andreas Schwab  <schwab@suse.de>
6158         [BZ #17118]
6159         * math/s_ctan.c (__ctan): Determine sign of zero real part of
6160         result when imaginary part of argument is infinite using sine and
6161         cosine.
6162         * math/s_ctanf.c (__ctanf): Likewise.
6163         * math/s_ctanl.c (__ctanl): Likewise.
6164         * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
6165         of result when real part of argument is infinite using sine and
6166         cosine.
6167         * math/s_ctanhf.c (__ctanhf): Likewise.
6168         * math/s_ctanhl.c (__ctanhl): Likewise.
6169         * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
6170         (ctanh_test_data): Add more tests of ctanh.
6172 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
6174         [BZ #15384]
6175         * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
6176         bit-mask as in subtraction.
6177         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
6178         Likewise.
6179         * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
6180         * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
6181         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
6183         [BZ #18951]
6184         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
6185         underflow exception for small results.
6186         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
6187         Likewise.
6188         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
6189         Likewise.
6190         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
6191         Likewise.
6192         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
6193         Likewise.
6194         * math/auto-libm-test-in: Add more tests of tgamma.
6195         * math/auto-libm-test-out: Regenerated.
6197 2015-09-17  Andreas Schwab  <schwab@suse.de>
6199         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
6201 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
6203         [BZ #18977]
6204         * math/bits/mathcalls.h
6205         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
6206         not declare.
6207         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
6208         Likewise.
6209         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
6210         Likewise.
6211         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
6212         Likewise.
6213         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
6214         Likewise.
6215         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
6216         Likewise.
6217         * conform/data/math.h-data
6218         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
6219         function.
6220         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
6221         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
6222         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
6223         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
6224         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
6225         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
6226         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
6227         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
6228         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
6229         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
6230         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
6232         [BZ #6803]
6233         * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
6234         [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
6235         * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
6236         * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
6237         * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
6238         * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
6239         * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
6240         * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
6241         [NO_LONG_DOUBLE] (scalbnl): Likewise.
6242         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
6243         Likewise.
6244         [NO_LONG_DOUBLE] (scalbnl): Likewise.
6245         * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
6246         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
6247         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
6248         long_double_symbol calls.
6249         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
6250         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
6251         strong alias of __ldexpl.
6252         (scalbnl): Define using long_double_symbol.
6253         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
6254         Remove alias.
6255         * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
6256         * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
6257         * math/libm-test.inc (scalbn_test_data): Add errno expectations.
6258         (scalbln_test_data): Add more errno expectations.
6260 2015-09-16  Justus Winter  <4winter@informatik.uni-hamburg.de>
6262         Cache the host port like we cache the task port.  This way we do not
6263         need to call the kernel just to get the port.  Furthermore, we no
6264         longer increase the reference count on every invocation of
6265         `mach_host_self'.
6267         * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
6268         Protect declarations against the macro expansion.
6269         * mach/mach_init.c (__mach_host_self_): New variable.
6270         (mach_init): Initialize `__mach_host_self_'.
6271         * mach/mach_init.h (__mach_host_self_): New declaration.
6272         (__mach_host_self, mach_host_self): New macros.
6273         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
6274         Release reference.
6276 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
6278         [BZ #4404]
6279         * po/de.po: Update from Translation Project.
6281         [BZ #16415]
6282         * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
6283         (__expm1l): Remove code to handle positive infinity and overflow.
6284         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
6285         variable.
6286         (__expm1l): Remove code to handle positive infinity and overflow.
6288 2015-09-16  Paul Eggert  <eggert@cs.ucla.edu>
6289             Paul Pluzhnikov  <ppluzhnikov@google.com>
6291         [BZ #18872]
6292         * stdio-common/Makefile (tst-printf-bz18872): New test.
6293         (tst-printf-bz18872-mem.out): Likewise.
6294         * stdio-common/tst-printf-bz18872.sh: Generate new test.
6295         * stdio-common/vfprintf.c: Fix memory leaks.
6297 2015-09-16  Andreas Schwab  <schwab@suse.de>
6299         [BZ #17244]
6300         * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
6301         Remove extra va_start/va_end calls.
6303         [BZ #17243]
6304         * posix/execl.c (execl): Add missing va_end.
6305         * posix/execle.c (execle): Likewise.
6306         * posix/execlp.c (execlp): Likewise.
6308 2015-09-15  Roland McGrath  <roland@hack.frob.com>
6310         * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
6311         (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
6313 2015-09-15  Joseph Myers  <joseph@codesourcery.com>
6315         [BZ #18967]
6316         * math/math.h (__MATH_DECLARING_DOUBLE): New macro.  Define and
6317         undefine around includes of <bits/mathcalls.h>.
6318         * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
6319         not declare function.
6320         [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
6321         [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
6322         (scalb): Likewise.
6323         * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
6324         not define macro.
6325         * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
6326         variable.
6327         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
6328         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
6329         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
6331         [BZ #18857]
6332         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
6333         return non-finite argument without doing ordered comparisons on
6334         it.
6336         [BZ #16296]
6337         * math/fenv.h (fegetround): Use __attribute_pure__.
6338         * include/fenv.h (__fegetround): Likewise.
6340         [BZ #18595]
6341         * math/s_ctan.c (__ctan): Force underflow exception for results
6342         whose real or imaginary part has small absolute value.
6343         * math/s_ctanf.c (__ctanf): Likewise.
6344         * math/s_ctanh.c (__ctanh): Likewise.
6345         * math/s_ctanhf.c (__ctanhf): Likewise.
6346         * math/s_ctanhl.c (__ctanhl): Likewise.
6347         * math/s_ctanl.c (__ctanl): Likewise.
6348         * math/auto-libm-test-in: Do not allow missing underflow for ctan
6349         and ctanh.  Add more tests of ctan and ctanh.
6351         [BZ #15918]
6352         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
6353         handling of cases where one argument is an infinity.
6355         [BZ #18875]
6356         [BZ #18966]
6357         * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
6358         (MO): New macro.
6359         (__ieee754_exp10): For small results, force underflow exception
6360         and remove excess range and precision from return value.
6361         * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
6362         (MO): New macro.
6363         (__ieee754_exp10f): For small results, force underflow exception
6364         and remove excess range and precision from return value.
6365         * math/auto-libm-test-in: Add more tests of exp10.
6366         * math/auto-libm-test-out: Regenerated.
6368 2015-09-14  Joseph Myers  <joseph@codesourcery.com>
6370         [BZ #18875]
6371         [BZ #18961]
6372         * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
6373         (MO): New macro.
6374         (__ieee754_exp): For small results, force underflow exception and
6375         remove excess range and precision from return value.
6376         (__exp_finite): Likewise.
6377         * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
6378         (MO): New macro.
6379         (__ieee754_expf): For small results, force underflow exception and
6380         remove excess range and precision from return value.
6381         (__expf_finite): Likewise.
6382         * math/auto-libm-test-in: Add more tests of exp.
6383         * math/auto-libm-test-out: Regenerated.
6385         [BZ #16521]
6386         [BZ #18875]
6387         * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
6388         small results.
6389         * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
6390         (MO): New macro.
6391         (__ieee754_exp2): For small results, force underflow exception and
6392         remove excess range and precision from return value.
6393         * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
6394         (MO): New macro.
6395         (__ieee754_exp2f): For small results, force underflow exception
6396         and remove excess range and precision from return value.
6397         * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
6398         (MO): New macro.
6399         (__ieee754_exp2l): Force underflow exception for small results.
6400         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
6401         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
6402         * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
6403         (MO): New macro.
6404         (__ieee754_exp2l): Force underflow exception for small results.
6405         * math/auto-libm-test-in: Add more tests or exp2.
6406         * math/auto-libm-test-out: Regenerated.
6408 2015-09-14  Carlos O'Donell  <carlos@redhat.com>
6410         * malloc/malloc.c (systrim): Use ALIGN_DOWN.
6412         * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
6413         /dev/null.
6415 2015-09-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6417         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
6418         io fs process)): Drop spurious backslash.
6420 2015-09-12  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
6422         * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
6423         Use sysinfo system call instead of parsing /proc/meminfo.
6424         * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
6425         Likewise.
6427 2015-09-11  Mike Frysinger  <vapier@gentoo.org>
6429         [BZ #16985]
6430         * programs/localedef.c (main): Display argv[remaining] when
6431         output_path is NULL.
6433 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
6435         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
6436         asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
6437         exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
6438         tanh.
6439         * math/auto-libm-test-out: Regenerated.
6440         * sysdeps/i386/fpu/libm-test-ulps: Update.
6441         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
6442         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
6443         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6445 2015-09-11  Roland McGrath  <roland@hack.frob.com>
6447         * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
6448         Use 'override' keyword to freeze the value here, preventing
6449         the addition of sys/mtio.h by sysdeps/gnu/Makefile.
6451 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
6453         [BZ #14912]
6454         * sysdeps/aarch64/bits/atomic.h: Move to ...
6455         * sysdeps/aarch64/atomic-machine.h: ...here.
6456         (_AARCH64_BITS_ATOMIC_H): Rename macro to
6457         _AARCH64_ATOMIC_MACHINE_H.
6458         * sysdeps/alpha/bits/atomic.h: Move to ...
6459         * sysdeps/alpha/atomic-machine.h: ...here.
6460         * sysdeps/arm/bits/atomic.h: Move to ...
6461         * sysdeps/arm/atomic-machine.h: ...here.  Update comments.
6462         * bits/atomic.h: Move to ...
6463         * sysdeps/generic/atomic-machine.h: ...here.
6464         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
6465         * sysdeps/i386/bits/atomic.h: Move to ...
6466         * sysdeps/i386/atomic-machine.h: ...here.
6467         * sysdeps/ia64/bits/atomic.h: Move to ...
6468         * sysdeps/ia64/atomic-machine.h: ...here.
6469         * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
6470         * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
6471         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
6472         * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
6473         * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
6474         * sysdeps/microblaze/bits/atomic.h: Move to ...
6475         * sysdeps/microblaze/atomic-machine.h: ...here.
6476         * sysdeps/mips/bits/atomic.h: Move to ...
6477         * sysdeps/mips/atomic-machine.h: ...here.
6478         (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
6479         * sysdeps/powerpc/bits/atomic.h: Move to ...
6480         * sysdeps/powerpc/atomic-machine.h: ...here.  Update comments.
6481         * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
6482         * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here.  Update
6483         comments.  Include <atomic-machine.h> instead of <bits/atomic.h>.
6484         * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
6485         * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here.  Include
6486         <atomic-machine.h> instead of <bits/atomic.h>.
6487         * sysdeps/s390/bits/atomic.h: Move to ...
6488         * sysdeps/s390/atomic-machine.h: ...here.
6489         * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
6490         * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
6491         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
6492         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
6493         * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
6494         * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
6495         * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
6496         * sysdeps/tile/bits/atomic.h: Move to ...
6497         * sysdeps/tile/atomic-machine.h: ...here.
6498         * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
6499         * sysdeps/tile/tilegx/atomic-machine.h: ...here.  Include
6500         <sysdeps/tile/atomic-machine.h> instead of
6501         <sysdeps/tile/bits/atomic.h>.
6502         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
6503         * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
6504         * sysdeps/tile/tilepro/atomic-machine.h: ...here.  Include
6505         <sysdeps/tile/atomic-machine.h> instead of
6506         <sysdeps/tile/bits/atomic.h>.
6507         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
6508         * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
6509         * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here.  Include
6510         <sysdeps/arm/atomic-machine.h> instead of
6511         <sysdeps/arm/bits/atomic.h>.
6512         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
6513         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
6514         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
6515         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
6516         * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
6517         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
6518         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
6519         * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
6520         (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
6521         * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
6522         * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
6523         * sysdeps/x86_64/bits/atomic.h: Move to ...
6524         * sysdeps/x86_64/atomic-machine.h: ...here.
6525         * include/atomic.h: Include <atomic-machine.h> instead of
6526         <bits/atomic.h>.
6528         * sysdeps/mips/mips32/libm-test-ulps: Update.
6529         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
6531         [BZ #18952]
6532         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
6533         not convert non-integer negative arguments to int to determine the
6534         value of signgam.
6535         * math/auto-libm-test-in: Add more tests of lgamma.
6536         * math/auto-libm-test-out: Regenerated.
6538         * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
6539         cosh, csqrt, erfc, expm1 and lgamma.
6540         * math/auto-libm-test-out: Regenerated.
6541         * sysdeps/i386/fpu/libm-test-ulps: Update.
6542         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6544 2015-09-10  Joseph Myers  <joseph@codesourcery.com>
6546         [BZ #2542]
6547         [BZ #2543]
6548         [BZ #2558]
6549         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
6550         __lgamma_neg for arguments from -28.0 to -2.0.
6551         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
6552         __lgamma_negf for arguments from -15.0 to -2.0.
6553         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
6554         Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
6555         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
6556         Call __lgamma_negl for arguments from -33.0 to -2.0.
6557         * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
6558         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
6559         * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
6560         * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
6561         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
6562         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
6563         * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
6564         * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
6565         * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
6566         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
6567         * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
6568         * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
6569         (__lgamma_neg): Likewise.
6570         (__lgamma_negl): Likewise.
6571         (__lgamma_product): Likewise.
6572         (__lgamma_productl): Likewise.
6573         * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
6574         * math/auto-libm-test-in: Add more tests of lgamma.
6575         * math/auto-libm-test-out: Regenerated.
6576         * sysdeps/i386/fpu/libm-test-ulps: Update.
6577         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6579 2015-09-09  Justin Maggard  <jmaggard@netgear.com>
6581         [BZ #18675]
6582         * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
6584 2015-09-08  Joseph Myers  <joseph@codesourcery.com>
6586         [BZ #14912]
6587         * bits/libc-lock.h: Move to ...
6588         * sysdeps/generic/libc-lock.h: ...here.
6589         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
6590         * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
6591         * sysdeps/mach/hurd/libc-lock.h: ...here.
6592         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
6593         [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
6594         * sysdeps/mach/bits/libc-lock.h: Move to ...
6595         * sysdeps/mach/libc-lock.h: ...here.
6596         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
6597         * sysdeps/nptl/bits/libc-lock.h: Move to ...
6598         * sysdeps/nptl/libc-lock.h: ...here.
6599         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
6600         * sysdeps/nptl/bits/libc-lockP.h: Move to ...
6601         * sysdeps/nptl/libc-lockP.h: ...here.
6602         (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
6603         * crypt/crypt_util.c: Include <libc-lock.h> instead of
6604         <bits/libc-lock.h>.
6605         * dirent/scandir-tail.c: Likewise.
6606         * dlfcn/dlerror.c: Likewise.
6607         * elf/dl-close.c: Likewise.
6608         * elf/dl-iteratephdr.c: Likewise.
6609         * elf/dl-lookup.c: Likewise.
6610         * elf/dl-open.c: Likewise.
6611         * elf/dl-support.c: Likewise.
6612         * elf/dl-writev.h: Likewise.
6613         * elf/rtld.c: Likewise.
6614         * grp/fgetgrent.c: Likewise.
6615         * gshadow/fgetsgent.c: Likewise.
6616         * gshadow/sgetsgent.c: Likewise.
6617         * iconv/gconv_conf.c: Likewise.
6618         * iconv/gconv_db.c: Likewise.
6619         * iconv/gconv_dl.c: Likewise.
6620         * iconv/gconv_int.h: Likewise.
6621         * iconv/gconv_trans.c: Likewise.
6622         * include/link.h: Likewise.
6623         * inet/getnameinfo.c: Likewise.
6624         * inet/getnetgrent.c: Likewise.
6625         * inet/getnetgrent_r.c: Likewise.
6626         * intl/bindtextdom.c: Likewise.
6627         * intl/dcigettext.c: Likewise.
6628         * intl/finddomain.c: Likewise.
6629         * intl/gettextP.h: Likewise.
6630         * intl/loadmsgcat.c: Likewise.
6631         * intl/localealias.c: Likewise.
6632         * intl/textdomain.c: Likewise.
6633         * libidn/idn-stub.c: Likewise.
6634         * libio/libioP.h: Likewise.
6635         * locale/duplocale.c: Likewise.
6636         * locale/freelocale.c: Likewise.
6637         * locale/newlocale.c: Likewise.
6638         * locale/setlocale.c: Likewise.
6639         * login/getutent_r.c: Likewise.
6640         * login/getutid_r.c: Likewise.
6641         * login/getutline_r.c: Likewise.
6642         * login/utmp-private.h: Likewise.
6643         * login/utmpname.c: Likewise.
6644         * malloc/mtrace.c: Likewise.
6645         * misc/efgcvt.c: Likewise.
6646         * misc/error.c: Likewise.
6647         * misc/fstab.c: Likewise.
6648         * misc/getpass.c: Likewise.
6649         * misc/mntent.c: Likewise.
6650         * misc/syslog.c: Likewise.
6651         * nis/nis_call.c: Likewise.
6652         * nis/nis_callback.c: Likewise.
6653         * nis/nss-default.c: Likewise.
6654         * nis/nss_compat/compat-grp.c: Likewise.
6655         * nis/nss_compat/compat-initgroups.c: Likewise.
6656         * nis/nss_compat/compat-pwd.c: Likewise.
6657         * nis/nss_compat/compat-spwd.c: Likewise.
6658         * nis/nss_nis/nis-alias.c: Likewise.
6659         * nis/nss_nis/nis-ethers.c: Likewise.
6660         * nis/nss_nis/nis-grp.c: Likewise.
6661         * nis/nss_nis/nis-hosts.c: Likewise.
6662         * nis/nss_nis/nis-network.c: Likewise.
6663         * nis/nss_nis/nis-proto.c: Likewise.
6664         * nis/nss_nis/nis-pwd.c: Likewise.
6665         * nis/nss_nis/nis-rpc.c: Likewise.
6666         * nis/nss_nis/nis-service.c: Likewise.
6667         * nis/nss_nis/nis-spwd.c: Likewise.
6668         * nis/nss_nisplus/nisplus-alias.c: Likewise.
6669         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
6670         * nis/nss_nisplus/nisplus-grp.c: Likewise.
6671         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
6672         * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
6673         * nis/nss_nisplus/nisplus-network.c: Likewise.
6674         * nis/nss_nisplus/nisplus-proto.c: Likewise.
6675         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
6676         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
6677         * nis/nss_nisplus/nisplus-service.c: Likewise.
6678         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
6679         * nis/ypclnt.c: Likewise.
6680         * nptl/libc_pthread_init.c: Likewise.
6681         * nss/getXXbyYY.c: Likewise.
6682         * nss/getXXent.c: Likewise.
6683         * nss/getXXent_r.c: Likewise.
6684         * nss/nss_db/db-XXX.c: Likewise.
6685         * nss/nss_db/db-netgrp.c: Likewise.
6686         * nss/nss_db/nss_db.h: Likewise.
6687         * nss/nss_files/files-XXX.c: Likewise.
6688         * nss/nss_files/files-alias.c: Likewise.
6689         * nss/nsswitch.c: Likewise.
6690         * posix/regex_internal.h: Likewise.
6691         * posix/wordexp.c: Likewise.
6692         * pwd/fgetpwent.c: Likewise.
6693         * resolv/res_hconf.c: Likewise.
6694         * resolv/res_libc.c: Likewise.
6695         * shadow/fgetspent.c: Likewise.
6696         * shadow/lckpwdf.c: Likewise.
6697         * shadow/sgetspent.c: Likewise.
6698         * socket/opensock.c: Likewise.
6699         * stdio-common/reg-modifier.c: Likewise.
6700         * stdio-common/reg-printf.c: Likewise.
6701         * stdio-common/reg-type.c: Likewise.
6702         * stdio-common/vfprintf.c: Likewise.
6703         * stdio-common/vfscanf.c: Likewise.
6704         * stdlib/abort.c: Likewise.
6705         * stdlib/cxa_atexit.c: Likewise.
6706         * stdlib/fmtmsg.c: Likewise.
6707         * stdlib/random.c: Likewise.
6708         * stdlib/setenv.c: Likewise.
6709         * string/strsignal.c: Likewise.
6710         * sunrpc/auth_none.c: Likewise.
6711         * sunrpc/bindrsvprt.c: Likewise.
6712         * sunrpc/create_xid.c: Likewise.
6713         * sunrpc/key_call.c: Likewise.
6714         * sunrpc/rpc_thread.c: Likewise.
6715         * sysdeps/arm/backtrace.c: Likewise.
6716         * sysdeps/generic/ldsodefs.h: Likewise.
6717         * sysdeps/generic/stdio-lock.h: Likewise.
6718         * sysdeps/generic/unwind-dw2-fde.c: Likewise.
6719         * sysdeps/i386/backtrace.c: Likewise.
6720         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
6721         * sysdeps/m68k/backtrace.c: Likewise.
6722         * sysdeps/mach/hurd/cthreads.c: Likewise.
6723         * sysdeps/mach/hurd/dirstream.h: Likewise.
6724         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
6725         * sysdeps/nptl/malloc-machine.h: Likewise.
6726         * sysdeps/nptl/stdio-lock.h: Likewise.
6727         * sysdeps/posix/dirstream.h: Likewise.
6728         * sysdeps/posix/getaddrinfo.c: Likewise.
6729         * sysdeps/posix/system.c: Likewise.
6730         * sysdeps/pthread/aio_suspend.c: Likewise.
6731         * sysdeps/s390/s390-32/backtrace.c: Likewise.
6732         * sysdeps/s390/s390-64/backtrace.c: Likewise.
6733         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
6734         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
6735         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
6736         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
6737         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
6738         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
6739         * sysdeps/unix/sysv/linux/system.c: Likewise.
6740         * sysdeps/x86_64/backtrace.c: Likewise.
6741         * time/alt_digit.c: Likewise.
6742         * time/era.c: Likewise.
6743         * time/tzset.c: Likewise.
6744         * wcsmbs/wcsmbsload.c: Likewise.
6745         * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
6746         instead of <bits/libc-lock.h> in comment.
6748 2015-09-08  Andrew Bennett  <andrew.bennett@imgtec.com>
6750         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
6751         Only use .set mips2 if the current ISA is below mips2.
6752         * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
6753         Likewise.
6754         * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
6755         mips32r2 if the current ISA is below mips32r2.
6756         * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
6757         (TLS_IE): Updated to use the TLD_RDHWR macro.
6758         (TLS_LE): Likewise.
6759         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
6760         __ASSEMBLER__ condition.
6762 2015-09-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6764         Fix parallel build of before-compile targets.
6766         * sysdeps/mach/Makefile ($(patsubst
6767         mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
6768         mach-before-compile target.
6769         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
6770         io fs process)): Move rule to dedicated hurd-before-compile target.
6772 2015-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6774         Fix rules generating headers in hurd/ and mach/ when initial make call
6775         has subdir= explicitly set.
6777         * sysdeps/mach/Makefile ($(patsubst
6778         mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
6779         calling $(MAKE).
6780         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
6781         io fs process)): Force subdir to hurd when calling $(MAKE).
6782         ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
6783         subdir to mach when calling $(MAKE).
6785 2015-09-06  Manolis Ragkousis  <manolis837@gmail.com>
6787         Check sysheaders when looking for Mach and Hurd headers
6789         * sysdeps/mach/configure.ac: Add sysheaders check.
6790         * sysdeps/mach/configure: Regenerate.
6791         * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
6792         * sysdeps/mach/hurd/configure: Regenerate.
6794 2015-09-04  Roland McGrath  <roland@hack.frob.com>
6796         [BZ #18921]
6797         * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
6798         Fix inverted sense of test of 'o_directory_works' value.
6799         Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
6800         Bernhard Voelker <mail@bernhard-voelker.de>.
6802 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
6804         [BZ #14912]
6805         * bits/linkmap.h: Move to ...
6806         * sysdeps/generic/linkmap.h: ...here.
6807         * sysdeps/aarch64/bits/linkmap.h: Move to ...
6808         * sysdeps/aarch64/linkmap.h: ...here.
6809         * sysdeps/arm/bits/linkmap.h: Move to ...
6810         * sysdeps/arm/linkmap.h: ...here.
6811         * sysdeps/hppa/bits/linkmap.h: Move to ...
6812         * sysdeps/hppa/linkmap.h: ...here.
6813         * sysdeps/ia64/bits/linkmap.h: Move to ...
6814         * sysdeps/ia64/linkmap.h: ...here.
6815         * sysdeps/mips/bits/linkmap.h: Move to ...
6816         * sysdeps/mips/linkmap.h: ...here.
6817         * sysdeps/s390/bits/linkmap.h: Move to ...
6818         * sysdeps/s390/linkmap.h: ...here.
6819         * sysdeps/sh/bits/linkmap.h: Move to ...
6820         * sysdeps/sh/linkmap.h: ...here.
6821         * sysdeps/x86/bits/linkmap.h: Move to ...
6822         * sysdeps/x86/linkmap.h: ...here.
6823         * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
6825 2015-09-04  Andreas Schwab  <schwab@suse.de>
6827         [BZ #18635]
6828         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
6829         (__makecontext): Terminate FDE before return label.
6830         (__novec_makecontext): Likewise.
6832 2015-09-04  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
6834         * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
6835         first member of struct sv in syscall macro.
6837 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
6839         [BZ #14912]
6840         * bits/stdio-lock.h: Move to ...
6841         * sysdeps/generic/stdio-lock.h: ...here.
6842         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
6843         * sysdeps/nptl/bits/stdio-lock.h: Move to ...
6844         * sysdeps/nptl/stdio-lock.h: ...here.
6845         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
6846         * include/libio.h: Include <stdio-lock.h> instead of
6847         <bits/stdio-lock.h>.
6848         * sysdeps/nptl/fork.c: Likewise.
6849         * sysdeps/pthread/flockfile.c: Likewise.
6850         * sysdeps/pthread/ftrylockfile.c: Likewise.
6851         * sysdeps/pthread/funlockfile.c: Likewise.
6853         [BZ #14912]
6854         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
6855         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
6856         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
6857         <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
6858         * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
6859         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
6860         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
6862 2015-09-03  Roland McGrath  <roland@hack.frob.com>
6864         * elf/Makefile (test-xfail-tst-protected1a): New variable.
6865         (test-xfail-tst-protected1b): New variable.
6867 2015-09-03  Joseph Myers  <joseph@codesourcery.com>
6869         [BZ #14912]
6870         * bits/libc-tsd.h: Move to ...
6871         * sysdeps/generic/libc-tsd.h: ...here.
6872         (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
6873         * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
6874         * sysdeps/mach/hurd/libc-tsd.h: ...here.
6875         (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
6876         * include/ctype.h: Include <libc-tsd.h> instead of
6877         <bits/libc-tsd.h>.
6878         * include/rpc/rpc.h: Likewise.
6879         * locale/localeinfo.h: Likewise.
6880         * sunrpc/rpc_thread.c: Likewise.
6881         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
6882         * sysdeps/nptl/malloc-machine.h: Likewise.
6884         * Makefile (headers): Remove bits/libc-lock.h.
6885         * libio/Makefile (headers): Remove bits/stdio-lock.h.
6887         * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
6888         <bits/stdio-lock.h> and commented-out include of <comthread.h>.
6889         * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
6890         <bits/stdio-lock.h>.
6891         * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
6892         * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
6894 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
6896         [BZ #18757]
6897         * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
6898         * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
6899         BZ #18757.
6901 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
6903         * malloc/mtrace.pl: Filter out NULL entries.
6905 2015-09-01  Joseph Myers  <joseph@codesourcery.com>
6907         * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
6908         * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
6909         macro.
6911         * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
6912         (TCP_CC_INFO): Likewise.
6913         (TCP_SAVE_SYN): Likewise.
6914         (TCP_SAVED_SYN): Likewise.
6916 2015-08-31  Brett Neumeier <brett@neumeier.us>
6918         [BZ #18870]
6919         * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
6921 2015-08-31  Paul Eggert  <eggert@cs.ucla.edu>
6923         [BZ #18873]
6924         Fix broken overflow check in posix_fallocate
6925         * sysdeps/posix/posix_fallocate.c (posix_fallocate):
6926         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
6927         Fix parenthesization typo.
6929 2015-08-28  Mike Frysinger  <vapier@gentoo.org>
6931         [BZ #18887]
6932         * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
6933         tst-mntent-blank-passno.
6934         * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
6935         * misc/tst-mntent-blank-corrupt.c: New test.
6936         * misc/tst-mntent-blank-passno.c: New test ripped from ...
6937         * misc/tst-mntent.c (do_test): ... here.
6939 2015-08-29  Mike Frysinger  <vapier@gentoo.org>
6941         [BZ #4404]
6942         * po/de.po: Fix SIGALRM typo.
6944 2015-08-28  James Perkins  <james@loowit.net>
6946         * time/tst-strptime2.c (tests): Replace short list of test
6947         strings for strptime %z specifier with code which exhaustively
6948         tests every combination of sign and 0 to 5 digits. Tests for
6949         rejection of invalid strings.
6951 2015-08-28  James Perkins  <james@loowit.net>
6953         [BZ #16141]
6954         * time/strptime_l.c (__strptime_internal): Fix %z minutes
6955         calculation, removing incorrect decimal time rounding, so that
6956         all minute values result in a valid seconds value.
6957         * time/strptime_l.c (__strptime_internal): Extend %z time zone
6958         offset range limits to UTC-99:59 through UTC+99:59 to parse
6959         current and historical use cases.
6960         * time/tst-strptime2.c (tests): Modify and add tests for the
6961         strptime %z input field descriptor, specifically conversion of
6962         minutes to seconds and validating an offset range of -9959 to
6963         +9959.
6965 2015-08-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6966             Dmitry V. Levin  <ldv@altlinux.org>
6968         [BZ #18877]
6969         * posix/Makefile (tests): Add tst-mmap-offset.
6970         * posix/tst-mmap.c: New file.
6971         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
6972         offset calculation for negative values.
6974 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
6976         * sysdeps/i386/init-arch.h: New file.
6977         * sysdeps/i386/i586/init-arch.h: Likewise.
6978         * sysdeps/i386/i686/init-arch.h: Likewise.
6979         * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
6980         bit if CX8 is available.  Set bit_I686 bit if CMOV is available.
6981         * sysdeps/x86/cpu-features.h (bit_I586): New.
6982         (bit_I686): Likewise.
6983         (bit_CX8): Likewise.
6984         (bit_CMOV): Likewise.
6985         (index_CX8): Likewise.
6986         (index_CMOV): Likewise.
6987         (index_I586): Likewise.
6988         (index_I686): Likewise.
6989         (reg_CX8): Likewise.
6990         (reg_CMOV): Likewise.
6991         (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
6992         available at compile-time.
6993         (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
6994         available at compile-time.
6995         * sysdeps/x86/init-arch.h (USE_I586): New macro.
6996         (USE_I686): Likewise.
6998 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
7000         * sysdeps/i386/bcopy.S: New file.
7001         * sysdeps/i386/bzero.S: Likewise.
7002         * sysdeps/i386/memcpy.S: Likewise.
7003         * sysdeps/i386/memmove.S: Likewise.
7004         * sysdeps/i386/mempcpy.S: Likewise.
7005         * sysdeps/i386/memset.S: Likewise.
7006         * sysdeps/i386/bzero.c: Removed.
7007         * sysdeps/i386/memset.c: Likewise.
7008         * sysdeps/i386/i586/memcpy_chk.S: Likewise.
7009         * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
7010         * sysdeps/i386/i586/memset_chk.S: Likewise.
7011         * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
7012         * sysdeps/i386/memcpy_chk.S: Here.
7013         * sysdeps/i386/i686/memmove_chk.S: Moved to ...
7014         * sysdeps/i386/memmove_chk.S: Here.
7015         * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
7016         * sysdeps/i386/mempcpy_chk.S: Likewise.
7017         * sysdeps/i386/i686/memset_chk.S: Moved to ...
7018         * sysdeps/i386/memset_chk.S: Likewise.
7020 2015-08-27  Steve Ellcey  <sellcey@imgtec.com>
7022         * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
7023         Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
7024         file, move DIAG_POP_NEEDS_COMMENT to end of file.
7025         * soft-fp/fmadf4.c: Ditto.
7026         * soft-fp/fmatf4.c: Ditto.
7028 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
7030         * sysdeps/i386/i586/Implies: Removed.
7031         * sysdeps/i386/i686/Implies: Likewise.
7033 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
7035         * sysdeps/i386/i486/strlen.S: Moved to ...
7036         * sysdeps/i386/strlen.S: Here.
7038 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
7040         * sysdeps/i386/i486/strcat.S: Moved to ...
7041         * sysdeps/i386/strcat.S: Here.
7043 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
7045         * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
7046         * sysdeps/i386/pthread_spin_trylock.S: Here.
7047         * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
7048         * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
7050 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
7052         * sysdeps/i386/i486/string-inlines.c: Moved to ...
7053         * sysdeps/i386/string-inlines.c: Here.
7055 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
7057         * sysdeps/i386/i486/htonl.S: Moved ...
7058         * sysdeps/i386/htonl.S: here.
7060 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
7062         * sysdeps/i386/i486/bits/atomic.h: Moved to ...
7063         * sysdeps/i386/bits/atomic.h: Here.
7065 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
7067         * sysdeps/i386/i486/Versions: Removed.
7069 2015-08-27  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
7071         [BZ #2898]
7072         * misc/mktemp.c: Add mkdtemp to the link_warning message.
7073         Based on patch by Aurelien Jarno.
7075 2015-08-26  Stan Shebs  <stanshebs@google.com>
7077         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
7078         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
7080 2015-08-26  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
7082         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
7083         * sysdeps/powerpc/dl-procinfo.c:
7084         (_dl_powerpc_cap_flags): Added descriptor for this hwcap
7085         feature so it shows when LD_SHOW_AUXV=1.
7087 2015-08-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7089         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
7090         (__arch_compare_and_exchange_val_32_acq): Remove and use common
7091         definition.  ISA 2.07B no longer requires full sync.
7093 2015-08-26  Mike Frysinger  <vapier@gentoo.org>
7095         [BZ #18863]
7096         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
7097         (si_call_addr): Define.
7098         (si_syscall): Define.
7099         (si_arch): Define.
7101 2015-08-26  H.J. Lu  <hongjiu.lu@intel.com>
7103         * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
7104         * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
7105         * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
7106         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
7107         (__memset_zero_constant_len_parameter): New.
7108         * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
7109         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
7110         (__memset_zero_constant_len_parameter): Don't define if
7111         __memset_chk or USE_AS_BZERO are defined.
7113         * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
7114         Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
7115         * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
7117         * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
7118         tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
7119         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
7120         tests-special, $(objpfx)tst-ld-sse-use.out): Here.  Update
7121         comments.
7122         * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
7123         -mno-mmx for $(all-rtld-routines).
7124         * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
7125         * sysdeps/i386/tst-ld-sse-use.sh: Here.  Replace x86-64 with
7126         i386.
7128 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
7130         * sysdeps/generic/unwind.h
7131         (_Unwind_Word): Use __mode__(__unwind_word__)
7132         instead of __mode__(__word__).
7133         (_Unwind_Sword): Likewise.
7135         * sysdeps/s390/s390-64/utf8-utf16-z9.c
7136         (MAX_NEEDED_INPUT): New define.
7137         (MAX_NEEDED_OUTPUT): New define.
7139         * NEWS: New item for IBM z13 string optimizations.
7141         * sysdeps/s390/multiarch/memrchr-c.c: New File.
7142         * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
7143         * sysdeps/s390/multiarch/memrchr.c: Likewise.
7144         * sysdeps/s390/multiarch/Makefile
7145         (sysdep_routines): Add memrchr functions.
7146         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
7147         (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
7149         * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
7150         * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
7151         * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
7152         * sysdeps/s390/multiarch/Makefile
7153         (sysdep_routines): Add wmemcmp functions.
7154         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
7155         (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
7156         * benchtests/bench-wmemcmp.c: New File.
7157         * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
7159         * sysdeps/s390/multiarch/wmemset-c.c: New File.
7160         * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
7161         * sysdeps/s390/multiarch/wmemset.c: Likewise.
7162         * sysdeps/s390/multiarch/Makefile
7163         (sysdep_routines): Add wmemset functions.
7164         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
7165         (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
7166         * wcsmbs/wmemset.c: Use WMEMSET if defined.
7167         * string/test-memset.c: Add wmemset support.
7168         * wcsmbs/test-wmemset.c: New File.
7169         * wcsmbs/Makefile (strop-tests): Add wmemset.
7170         * benchtests/bench-memset.c: Add wmemset support.
7171         * benchtests/bench-wmemset.c: New File.
7172         * benchtests/Makefile (wcsmbs-bench): Add wmemset.
7174         * sysdeps/s390/multiarch/memccpy-c.c: New File.
7175         * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
7176         * sysdeps/s390/multiarch/memccpy.c: Likewise.
7177         * sysdeps/s390/multiarch/Makefile
7178         (sysdep_routines): Add memccpy functions.
7179         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
7180         (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
7181         * string/memccpy.c: Use MEMCCPY if defined.
7183         * sysdeps/s390/multiarch/memchr-vx.S: New File.
7184         * sysdeps/s390/multiarch/memchr.c: Likewise.
7185         * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
7186         * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
7187         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
7188         * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
7189         * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
7190         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
7191         * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
7192         * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
7193         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
7194         and rawmemchr functions.
7195         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
7196         (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
7197         and wmemchr.
7198         * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
7199         * string/test-memchr.c: Add wmemchr support.
7200         * wcsmbs/test-wmemchr.c: New File.
7201         * wcsmbs/Makefile (strop-tests): Add wmemchr.
7202         * benchtests/bench-memchr.c: Add wmemchr support.
7203         * benchtests/bench-wmemchr.c: New File.
7204         * benchtests/Makefile (wcsmbs-bench): wmemchr.
7206         * sysdeps/s390/multiarch/strcspn-c.c: New File.
7207         * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
7208         * sysdeps/s390/multiarch/strcspn.c: Likewise.
7209         * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
7210         * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
7211         * sysdeps/s390/multiarch/wcscspn.c: Likewise.
7212         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
7213         wcscspn functions.
7214         * sysdeps/s390/multiarch/ifunc-impl-list.c
7215         (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
7216         * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
7217         * string/test-strcspn.c: Add wcscspn support.
7218         * wcsmbs/test-wcscspn.c: New File.
7219         * wcsmbs/Makefile (strop-tests): Add wcscspn.
7220         * benchtests/bench-strcspn.c: Add wcscspn support.
7221         * benchtests/bench-wcscspn.c: New File.
7222         * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
7224         * sysdeps/s390/multiarch/strpbrk-c.c: New File.
7225         * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
7226         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
7227         * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
7228         * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
7229         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
7230         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
7231         wcspbrk functions.
7232         * sysdeps/s390/multiarch/ifunc-impl-list.c
7233         (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
7234         * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
7235         * string/test-strpbrk.c: Add wcspbrk support.
7236         * wcsmbs/test-wcspbrk.c: New File.
7237         * wcsmbs/Makefile (strop-tests): Add wcspbrk.
7238         * benchtests/bench-strpbrk.c: Add wcspbrk support.
7239         * benchtests/bench-wcspbrk.c: New File.
7240         * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
7242         * sysdeps/s390/multiarch/strspn-c.c: New File.
7243         * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
7244         * sysdeps/s390/multiarch/strspn.c: Likewise.
7245         * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
7246         * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
7247         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
7248         * wcsmbs/wcsspn.c: Use WCSSPN if defined.
7249         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
7250         wcsspn functions.
7251         * sysdeps/s390/multiarch/ifunc-impl-list.c
7252         (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
7253         * string/test-strspn.c: Add wcsspn support.
7254         * wcsmbs/test-wcsspn.c: New File.
7255         * wcsmbs/Makefile (strop-tests): Add wcsspn.
7256         * benchtests/bench-strspn.c: Add wcsspn support.
7257         * benchtests/bench-wcsspn.c: New File.
7258         * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
7260         * sysdeps/s390/multiarch/strrchr-c.c: New File.
7261         * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
7262         * sysdeps/s390/multiarch/strrchr.c: Likewise.
7263         * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
7264         * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
7265         * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
7266         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
7267         wcsrchr functions.
7268         * sysdeps/s390/multiarch/ifunc-impl-list.c
7269         (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
7270         * benchtests/bench-wcsrchr.c: New File.
7271         * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
7273         * sysdeps/s390/multiarch/strchrnul-c.c: New File.
7274         * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
7275         * sysdeps/s390/multiarch/strchrnul.c: Likewise.
7276         * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
7277         * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
7278         * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
7279         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
7280         wcschrnul functions.
7281         * sysdeps/s390/multiarch/ifunc-impl-list.c
7282         (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
7283         * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
7284         * string/test-strchr.c: Add wcschrnul support.
7285         * wcsmbs/test-wcschrnul.c: New File.
7286         * wcsmbs/Makefile (strop-tests): Add wcschrnul.
7287         * benchtests/bench-strchr.c: Add wcschrnul support.
7288         * benchtests/bench-wcschrnul.c: New File.
7289         * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
7291         * sysdeps/s390/multiarch/strchr-c.c: New File.
7292         * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
7293         * sysdeps/s390/multiarch/strchr.c: Likewise.
7294         * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
7295         * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
7296         * sysdeps/s390/multiarch/wcschr.c: Likewise.
7297         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
7298         wcschr functions.
7299         * sysdeps/s390/multiarch/ifunc-impl-list.c
7300         (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
7301         * string/strchr.c (STRCHR): Define and use macro.
7302         * benchtests/bench-wcschr.c: New File.
7303         * benchtests/Makefile (wcsmbs-bench): Add wcschr.
7305         * sysdeps/s390/multiarch/strncmp-c.c: New File.
7306         * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
7307         * sysdeps/s390/multiarch/strncmp.c: Likewise.
7308         * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
7309         * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
7310         * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
7311         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
7312         wcsncmp functions.
7313         * sysdeps/s390/multiarch/ifunc-impl-list.c
7314         (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
7315         * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
7316         * benchtests/bench-strncmp.c: Add wcsncmp support.
7317         * benchtests/bench-wcsncmp.c: New File.
7318         * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
7320         * sysdeps/s390/multiarch/strcmp-vx.S: New File.
7321         * sysdeps/s390/multiarch/strcmp.c: Likewise.
7322         * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
7323         * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
7324         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
7325         * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
7326         * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
7327         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
7328         wcscmp functions.
7329         * sysdeps/s390/multiarch/ifunc-impl-list.c
7330         (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
7331         * string/strcmp.c (STRCMP): Define and use macro.
7332         * benchtests/bench-wcscmp.c: New File.
7333         * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
7334         * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
7335         instead of _HAVE_STRING_ARCH_memchr.
7337         * sysdeps/s390/multiarch/strncat-c.c: New File.
7338         * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
7339         * sysdeps/s390/multiarch/strncat.c: Likewise.
7340         * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
7341         * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
7342         * sysdeps/s390/multiarch/wcsncat.c: Likewise.
7343         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
7344         wcsncat functions.
7345         * sysdeps/s390/multiarch/ifunc-impl-list.c
7346         (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
7347         * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
7348         * string/test-strncat.c: Add wcsncat support.
7349         * wcsmbs/test-wcsncat.c: New File.
7350         * wcsmbs/Makefile (strop-tests): Add wcsncat.
7351         * benchtests/bench-strncat.c: Add wcsncat support.
7352         * benchtests/bench-wcsncat.c: New File.
7353         * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
7355         * sysdeps/s390/multiarch/strcat-c.c: New File.
7356         * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
7357         * sysdeps/s390/multiarch/strcat.c: Likewise.
7358         * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
7359         * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
7360         * sysdeps/s390/multiarch/wcscat.c: Likewise.
7361         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
7362         wcscat functions.
7363         * sysdeps/s390/multiarch/ifunc-impl-list.c
7364         (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
7365         * string/strcat.c (STRCAT): Define and use macro.
7366         * wcsmbs/wcscat.c: Use WCSCAT if defined.
7367         * string/test-strcat.c: Add wcscat support.
7368         * wcsmbs/test-wcscat.c: New File.
7369         * wcsmbs/Makefile (strop-tests): Add wcscat.
7370         * benchtests/bench-strcat.c: Add wcscat support.
7371         * benchtests/bench-wcscat.c: New File.
7372         * benchtests/Makefile (wcsmbs-bench): Add wcscat.
7374         * sysdeps/s390/multiarch/stpncpy-c.c: New File.
7375         * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
7376         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
7377         * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
7378         * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
7379         * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
7380         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
7381         wcpncpy functions.
7382         * sysdeps/s390/multiarch/ifunc-impl-list.c
7383         (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
7384         * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
7385         * string/test-stpncpy.c: Add wcpncpy support.
7386         * wcsmbs/test-wcpncpy.c: New File.
7387         * wcsmbs/Makefile (strop-tests): Add wcpncpy.
7388         * benchtests/bench-stpncpy.c: Add wcpncpy support.
7389         * benchtests/bench-wcpncpy.c: New File.
7390         * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
7392         * sysdeps/s390/multiarch/strncpy-vx.S: New File.
7393         * sysdeps/s390/multiarch/strncpy.c: Likewise.
7394         * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
7395         * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
7396         * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
7397         * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
7398         * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
7399         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
7400         wcsncpy functions.
7401         * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
7402         * sysdeps/s390/multiarch/ifunc-impl-list.c
7403         (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
7404         * string/test-strncpy.c: Add wcsncpy support.
7405         * wcsmbs/test-wcsncpy.c: New File.
7406         * wcsmbs/Makefile (strop-tests): Add wcsncpy.
7407         * benchtests/bench-strncpy.c: Add wcsncpy support.
7408         * benchtests/bench-wcsncpy.c: New File.
7409         * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
7411         * sysdeps/s390/multiarch/stpcpy-c.c: New File.
7412         * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
7413         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
7414         * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
7415         * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
7416         * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
7417         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
7418         wcpcpy functions.
7419         * string/stpcpy.c: Use STPCPY if defined.
7420         * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
7421         * sysdeps/s390/multiarch/ifunc-impl-list.c
7422         (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
7423         * string/test-stpcpy.c: Add wcpcpy support.
7424         * wcsmbs/test-wcpcpy.c: New File.
7425         * wcsmbs/Makefile (strop-tests): Add wcpcpy.
7426         * benchtests/bench-stpcpy.c: Add wcpcpy support.
7427         * benchtests/bench-wcpcpy.c: New File.
7428         * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
7430         * sysdeps/s390/multiarch/strcpy-vx.S: New File.
7431         * sysdeps/s390/multiarch/strcpy.c: Likewise.
7432         * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
7433         * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
7434         * sysdeps/s390/multiarch/wcscpy.c: Likewise.
7435         * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
7436         * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
7437         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
7438         wcscpy functions.
7439         * sysdeps/s390/multiarch/ifunc-impl-list.c
7440         (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
7441         * benchtests/bench-wcscpy.c: New File.
7442         * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
7444         * sysdeps/s390/multiarch/strnlen-c.c: New File.
7445         * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
7446         * sysdeps/s390/multiarch/strnlen.c: Likewise.
7447         * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
7448         * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
7449         * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
7450         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
7451         wcsnlen functions.
7452         * sysdeps/s390/multiarch/ifunc-impl-list.c
7453         (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
7454         * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
7455         * string/test-strnlen.c: Add wcsnlen support.
7456         * wcsmbs/test-wcsnlen.c: New File.
7457         * wcsmbs/Makefile (strop-tests): Add wcsnlen.
7458         * benchtests/bench-strnlen.c: Add wcsnlen support.
7459         * benchtests/bench-wcsnlen.c: New File.
7460         * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
7462         * sysdeps/s390/multiarch/Makefile: New File.
7463         * sysdeps/s390/multiarch/strlen-c.c: Likewise.
7464         * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
7465         * sysdeps/s390/multiarch/strlen.c: Likewise.
7466         * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
7467         * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
7468         * sysdeps/s390/multiarch/wcslen.c: Likewise.
7469         * string/strlen.c (STRLEN): Define and use macro.
7470         * sysdeps/s390/multiarch/ifunc-impl-list.c
7471         (IFUNC_VX_IMPL): New macro function.
7472         (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
7473         * benchtests/Makefile (wcsmbs-bench): New variable.
7474         (string-bench-all): Added wcsmbs-bench.
7475         * benchtests/bench-wcslen.c: New File.
7477         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
7478         s390_vx_libc_ifunc2): New macro function.
7480         * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
7481         * sysdeps/s390/configure.ac: Add test for S390 vector instruction
7482         assembler support.
7483         * sysdeps/s390/configure: Regenerated.
7485         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
7486         * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
7488         * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
7489         * sysdeps/s390/dl-procinfo.h: Add vector capability.
7490         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
7492         * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
7493         Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
7494         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
7495         * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
7496         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
7497         (memcmp, bcmp): Use __memcmp_default as alias source.
7498         * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
7499         * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
7500         Rename to __memcmp_default.
7501         * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
7502         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
7503         (memcpy): Use __memcpy_default as alias source.
7504         * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
7505         * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
7506         Rename to __memcpy_default.
7507         * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
7508         * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
7509         (memset): Use __memset_default as alias source.
7510         * sysdeps/s390/s390-32/multiarch/memset.c: New File.
7511         * sysdeps/s390/s390-32/memset.S (__memset_g5):
7512         Rename to __memset_default.
7513         * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
7514         Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
7515         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
7516         * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
7517         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
7518         (memcmp, bcmp): Use __memcmp_default as alias source.
7519         * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
7520         * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
7521         Rename to __memcmp_default.
7522         * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
7523         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
7524         (memcpy): Use __memcpy_default as alias source.
7525         * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
7526         * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
7527         Rename to __memcpy_default.
7528         * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
7529         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
7530         (memset): Use __memset_default as alias source.
7531         * sysdeps/s390/s390-64/multiarch/memset.c: New File.
7532         * sysdeps/s390/s390-64/memset.S (__memset_z900):
7533         Rename to __memset_default.
7534         * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
7535         * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
7537         [BZ #18610]
7538         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
7539         __ieee_instruction_pointer to __unused.
7540         * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
7541         __ieee_instruction_pointer.
7542         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
7543         * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
7544         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
7545         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
7546         * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
7547         Mark dxc-field as reserved.
7549 2015-08-25  Roland McGrath  <roland@hack.frob.com>
7551         * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
7552         if the weak reference is not null.
7554 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
7556         * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
7558         [BZ #11214]
7559         * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
7561 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
7563         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
7564         * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
7565         * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
7566         * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
7567         * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
7568         * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
7569         * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
7570         * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
7571         * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
7572         * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
7573         * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
7574         * sysdeps/unix/sysv/linux/send.c: Call direct system call.
7575         * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
7576         * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
7577         * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
7578         * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
7579         * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
7580         * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
7582 2015-08-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7584         * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
7585         register other than r0 for tabort, it has special meaning.
7586         * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise
7587         * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
7588         transaction before starting syscall.
7590 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
7592         * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
7594 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
7596         * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
7598         * sysdeps/x86_64/rtld-memcmp.c: Removed.
7599         * sysdeps/x86_64/rtld-memset.S: Likewise.
7600         * sysdeps/x86_64/rtld-strchr.S: Likewise.
7601         * sysdeps/x86_64/rtld-strlen.S: Likewise.
7602         * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
7603         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
7605         * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
7607 2015-08-25  Ondřej Bílka  <neleai@seznam.cz>
7609         * debug/strcpy_chk.c: Improve performance.
7610         * debug/stpcpy_chk.c: Likewise.
7611         * sysdeps/x86_64/strcpy_chk.S: Remove.
7612         * sysdeps/x86_64/stpcpy_chk.S: Remove.
7614         [BZ #18240]
7615         * misc/hsearch_r.c (__hcreate_r): Handle overflow.
7617 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
7619         [BZ #15128]
7620         * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
7621         ifuncmain8.
7622         (modules-names): Add ifuncmod8.
7623         ($(objpfx)ifuncmain8): New rule.
7624         * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
7625         <cpuid.h>.
7626         (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
7627         _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
7628         _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
7629         _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
7630         * sysdeps/x86_64/dl-trampoline.S: Rewrite.
7631         * sysdeps/x86_64/dl-trampoline.h: Likewise.
7632         * sysdeps/x86_64/ifuncmain8.c: New file.
7633         * sysdeps/x86_64/ifuncmod8.c: Likewise.
7634         * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
7635         Removed.
7636         * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
7637         (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
7638         Change rtld_savespace_sse to __glibc_unused2.
7639         (RTLD_CHECK_FOREIGN_CALL): Removed.
7640         (RTLD_ENABLE_FOREIGN_CALL): Likewise.
7641         (RTLD_PREPARE_FOREIGN_CALL): Likewise.
7642         (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
7644 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
7646         * sysdeps/aarch64/bzero.S (__bzero): Remove.
7648 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
7650         * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
7651         Unconditionally set __fpcr to avoid uninialized warning.
7652         (libc_feholdsetround_noex_aarch64_ctx): Likewise.
7654 2015-08-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
7656         * malloc/arena.c (arena_get_retry): Don't use main_arena if it
7657         is corrupt.
7659         * malloc/arena.c (arena_get2): Drop unused argument.
7660         (arena_lock): Adjust.
7661         (arena_get_retry): Likewise.
7663 2015-08-24  Andreas Schwab  <schwab@suse.de>
7665         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
7666         Don't define.
7667         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
7668         (__ASSUME_IPC64): Don't undef.
7669         * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
7670         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
7671         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
7672         * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
7673         * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
7674         * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
7675         * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
7676         * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
7677         * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
7678         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
7679         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
7680         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
7681         * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
7682         * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
7683         * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
7684         * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
7685         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
7686         * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
7687         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
7688         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
7689         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
7691 2015-08-21  Mike Frysinger  <vapier@gentoo.org>
7693         * manual/Makefile (install): Only build manual when perl is available.
7695 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
7697         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
7698         '#undef memcpy' by '#undef memchr'.
7700 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
7702         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
7703         memchr not point to the internal __GI_memchr implementation.
7705 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
7707         * timezone/Makefile (CFLAGS-zdump.c): Remove
7708         -Wno-strict-prototypes.
7709         (CFLAGS-zic.c): Likewise.
7710         (CFLAGS-ialloc.c): Likewise.
7711         (CFLAGS-scheck.c): Likewise.
7713         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
7714         -Wno-error=undef.
7716 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
7718         * i386/i686/multiarch/strcasestr-c.c: Removed.
7719         * x86_64/multiarch/strcasestr.c: Likewise.
7720         * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
7721         Remove strcasestr.
7723 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
7725         * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
7727         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
7728         variables for high and low parts before possibly modifying them.
7730 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
7732         * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
7733         * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
7734         * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
7735         of "multiarch/init-arch.h".
7736         * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
7737         * sysdeps/x86/init-arch.h: This.
7739 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
7741         * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
7742         * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
7744 2015-08-20  Ondřej Bílka  <neleai@seznam.cz>
7746         [BZ #17787]
7747         * manual/macros.texi: Add twoexp macro.
7748         * manual/filesys.texi: Fix exponents.
7749         * manual/llio.texi: Likewise.
7750         * manual/stdio.texi: Likewise.
7752 2015-08-20  Florian Weimer  <fweimer@redhat.com>
7754         * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
7755         incorrect use.
7757 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
7759         [BZ #18370]
7760         * math/s_csqrt.c (__csqrt): Force underflow exception for results
7761         whose real or imaginary part has small absolute value.
7762         * math/s_csqrtf.c (__csqrtf): Likewise.
7763         * math/s_csqrtl.c (__csqrtl): Likewise.
7764         * math/auto-libm-test-in: Add more tests of csqrt.
7765         * math/auto-libm-test-out: Regenerated.
7766         * sysdeps/i386/fpu/libm-test-ulps: Update.
7768 2015-08-19  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
7770         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
7771         __ppc_set_ppr_very_low): New functions.
7772         * manual/platform.texi: Add documentation about
7773         __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
7775 2015-08-19  Wilco Dijkstra  <wdijkstr@arm.com>
7777         * string/stpncpy.c (stpncpy): Improve performance using
7778         __strnlen/memcpy/memset.
7780 2015-08-19  Andrew Senkevich  <andrew.senkevich@intel.com>
7782         [BZ #18796]
7783         * scripts/test-installation.pl: Don't add -lmvec to build options if
7784         libmvec wasn't built.
7786 2015-08-19   Petar Jovanovic  <petar.jovanovic@rt-rk.com>
7788         [BZ #14341]
7789         * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
7790         case when there is a gap between DT_REL and DT_JMPREL sections.
7791         * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
7792         (LDFLAGS-tst-split-dynreloc): New.
7793         (tst-split-dynreloc-ENV): Likewise.
7794         * sysdeps/x86_64/tst-split-dynreloc.c: New file.
7795         * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
7797 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
7799         [BZ #18822]
7800         * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
7801         attribute_hidden.
7802         (__xstat64_conv): Likewise.
7803         (__xstat32_conv): Likewise.
7805 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
7807         [BZ #18822]
7808         * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
7809         Don't load %ebx when calling __setcontext.  Call __setcontext
7810         with HIDDEN_JUMPTARGET.
7811         * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
7812         libc_hidden_def.
7814 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
7816         * sysdeps/i386/i686/Makefile
7817         [$(subdir) == string] (sysdep_routines): Moved to ...
7818         * sysdeps/i386/Makefile: Here.
7819         * sysdeps/i386/i686/cacheinfo.c: Moved to ...
7820         * sysdeps/i386/cacheinfo.c: Here.
7821         * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
7822         * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
7823         * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
7824         * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
7826 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
7828         * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
7829         __i586__ is defined.
7830         (HAS_I686): Defined to 1 if __i686__ is defined.
7832 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
7834         * elf/Makefile [$(have-z-execstack) = yes]
7835         (CPPFLAGS-tst-execstack.c): New variable.
7837         * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
7838         conditional to [defined UTMPX || _HAVE_UT_TYPE].
7839         [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
7840         UTMPX || _HAVE_UT_TV].
7841         [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
7842         UTMPX || _HAVE_UT_TV - 0].
7844 2015-08-18  Joseph Myers  <joseph@codesourcery.com>
7846         * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
7847         conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
7848         * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
7850 2015-08-18  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
7852         * sysdeps/powerpc/dl-procinfo.c:
7853         (_dl_powerpc_cap_flags): Added missing strings for some
7854         hwcap features.
7855         * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
7857 2015-08-18  Paul Eggert  <eggert@cs.ucla.edu>
7859         Port the 0x7efe...feff pattern to GCC 6.
7860         See Steve Ellcey's bug report in:
7861         https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
7862         * string/memrchr.c (MEMRCHR):
7863         * string/rawmemchr.c (RAWMEMCHR):
7864         * string/strchr.c (strchr):
7865         * string/strchrnul.c (STRCHRNUL):
7866         Rewrite code to avoid issues with signed shift overflow.
7868 2015-08-18  H.J. Lu  <hongjiu.lu@intel.com>
7870         * sysdeps/x86/cpu-features.c (init_cpu_features): Check
7871         whether cpuid is available only if HAS_CPUID is 0.
7872         * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
7873         (HAS_I586): Likewise.
7874         (HAS_I686): Likewise.
7876 2015-08-18  Zack Weinberg  <zackw@panix.com>
7878         * misc/Versions (libc): Add GLIBC_2.23.
7880 2015-08-18  Alan Modra  <amodra@gmail.com>
7882         [BZ #18421]
7883         * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
7884         .Lp__global.
7885         (_start): Load %dp via .Lp__global.
7886         [!SHARED]: Use .section .rodata.
7888 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
7890         * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
7891         * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
7893 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
7895         * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
7896         * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
7898 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
7900         * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
7901         * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
7903 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
7905         * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
7906         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
7908 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
7910         * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
7911         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
7913 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
7915         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
7916         SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
7918 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
7920         * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
7922 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
7924         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
7925         kernel-features.h include.  Delete __ASSUME_LWS_CAS checks.
7926         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
7927         (__ASSUME_LWS_CAS): Delete.
7929 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
7931         * sysdeps/hppa/configure.ac: Delete binutils tls checks.
7932         * sysdeps/hppa/configure: Regenerated.
7933         * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
7934         * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
7935         * sysdeps/hppa/nptl/tls.h: Likewise.
7937 2015-08-17  Joseph Myers  <joseph@codesourcery.com>
7939         [BZ #18823]
7940         * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
7941         for scaling up small arguments.
7942         * math/s_csqrtf.c (__csqrtf): Likewise.
7943         * math/s_csqrtl.c (__csqrtl): Likewise.
7944         * math/auto-libm-test-in: Add more tests of csqrt.
7945         * math/auto-libm-test-out: Regenerated.
7947 2015-08-17  Andreas Schwab  <schwab@suse.de>
7949         * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
7950         version set GLIBC_2.19.
7952 2015-08-16  Zack Weinberg  <zackw@panix.com>
7954         [BZ #18681]
7955         * misc/regexp.h: This interface is no longer supported.
7956         Remove all contents, leaving only an #error directive.
7957         * misc/regexp.c (loc1, loc2, locs, step, advance):
7958         Demote to compatibility symbols.
7960 2015-08-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
7962         [BZ #18084]
7963         * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
7964         * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
7965         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
7966         * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
7967         * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
7968         * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
7969         * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
7970         * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
7971         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
7973 2015-08-15  Zack Weinberg  <zackw@panix.com>
7975         [BZ #18795]
7976         * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
7977         buffer length is known to be too large, not if it's known to be
7978         small enough.
7979         * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
7980         overflow at runtime, involving a length parameter, twice: once
7981         with a compile-time constant length parameter, once without.
7983 2015-08-14  Joseph Myers  <joseph@codesourcery.com>
7985         [BZ #18824]
7986         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
7987         scaling x * y up instead of down.
7988         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7989         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7990         * math/auto-libm-test-in: Add more tests of fma.
7991         * math/auto-libm-test-out: Regenerated.
7993 2015-08-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
7995         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
7997 2015-08-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
7999         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
8000         unnecessary movq.
8001         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
8002         Likewise.
8004 2015-08-13  Joseph Myers  <joseph@codesourcery.com>
8006         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
8007         asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
8008         exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
8009         and tgamma.
8010         * math/auto-libm-test-out: Regenerated.
8011         * sysdeps/i386/fpu/libm-test-ulps: Update.
8012         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8014         [BZ #16520]
8015         * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
8016         (__tanh): Force underflow exception for arguments with small
8017         absolute value.
8018         * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
8019         (__tanhf): Force underflow exception for arguments with small
8020         absolute value.
8021         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
8022         (__tanhl): Force underflow exception for arguments with small
8023         absolute value.
8024         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
8025         (__tanhl): Force underflow exception for arguments with small
8026         absolute value.
8027         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
8028         (__tanhl): Force underflow exception for arguments with small
8029         absolute value.
8030         * math/auto-libm-test-in: Add more tests of tanh.
8031         * math/auto-libm-test-out: Regenerated.
8032         * sysdeps/i386/fpu/libm-test-ulps: Update.
8034 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
8036         * sysdeps/x86/cpu-features.c (init_cpu_features): Call
8037         __get_cpuid_max if not compiling for i586, i686 nor x86-64.
8039 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
8041         * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
8042         <cpuid.h>.
8044 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
8046         * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
8047         Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
8049 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
8051         * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
8052         Remove $(objpfx)init-arch.o.
8053         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
8054         init-arch.
8055         * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
8056         (INIT_ARCH_EXT): Defined as empty.
8057         (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
8058         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
8059         __init_cpu_features call.  Replace HAS_XXX with
8060         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
8061         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
8062         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
8063         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
8064         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
8065         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
8066         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
8067         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
8068         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
8069         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
8070         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
8071         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
8072         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
8073         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
8074         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
8075         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
8076         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
8077         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
8078         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
8079         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
8080         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
8081         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
8082         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
8083         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
8084         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
8085         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
8086         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
8087         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
8088         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
8089         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
8090         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
8091         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
8092         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
8093         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
8094         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
8095         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
8097 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
8099         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
8100         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
8101         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
8102         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
8103         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
8104         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
8105         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
8106         * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
8107         * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
8108         * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
8109         call.  Merge SHARED and !SHARED.  Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
8110         Use LOAD_FUNC_GOT_EAX to load function address.  Replace HAS_XXX
8111         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
8112         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
8113         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
8114         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
8115         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
8116         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
8117         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
8118         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
8119         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
8120         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
8121         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
8122         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
8123         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
8124         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
8125         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
8126         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
8127         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
8128         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
8129         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
8130         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
8131         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
8132         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
8133         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
8134         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
8135         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
8136         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
8137         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
8138         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
8139         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
8140         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
8141         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
8143 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
8145         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
8146         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
8147         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
8148         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
8149         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
8150         * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
8151         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
8152         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
8153         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
8154         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
8155         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
8156         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
8157         LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
8158         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
8159         * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
8160         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
8161         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
8162         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
8163         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
8164         * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
8165         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
8166         * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
8167         * sysdeps/x86_64/multiarch/strstr.c: Likewise.
8168         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
8169         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
8170         * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
8171         * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
8172         call.  Add LOAD_RTLD_GLOBAL_RO_RDX.  Replace HAS_XXX with
8173         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
8174         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
8175         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
8176         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
8177         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
8178         * sysdeps/x86_64/multiarch/memset.S: Likewise.
8179         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
8180         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
8181         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
8182         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
8183         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
8184         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
8185         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
8186         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
8187         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
8189 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
8191         * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
8192         (dl_platform_init): Call init_cpu_features.
8193         * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
8194         * sysdeps/i386/i686/cacheinfo.c
8195         (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
8196         * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
8197         * sysdeps/i386/i686/multiarch/Versions: Removed.
8198         * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
8199         Removed.
8200         * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
8201         * sysdeps/unix/sysv/linux/x86/Makefile
8202         (libpthread-sysdep_routines): Remove init-arch.
8203         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
8204         <sysdeps/x86_64/dl-procinfo.c> instead of
8205         sysdeps/generic/dl-procinfo.c>.
8206         * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
8207         Add cpu-features-offsets.sym and rtld-global-offsets.sym.
8208         [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
8209         [$(subdir) == elf] (tests): Add tst-get-cpu-features.
8210         [$(subdir) == elf] (tests-static): Add
8211         tst-get-cpu-features-static.
8212         * sysdeps/x86/Versions: New file.
8213         * sysdeps/x86/cpu-features-offsets.sym: Likewise.
8214         * sysdeps/x86/cpu-features.c: Likewise.
8215         * sysdeps/x86/cpu-features.h: Likewise.
8216         * sysdeps/x86/dl-get-cpu-features.c: Likewise.
8217         * sysdeps/x86/libc-start.c: Likewise.
8218         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
8219         * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
8220         * sysdeps/x86/tst-get-cpu-features.c: Likewise.
8221         * sysdeps/x86_64/dl-procinfo.c: Likewise.
8222         * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
8223         Assume USE_MULTIARCH is defined and don't check it.
8224         (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
8225         (is_amd): Likewise.
8226         (max_cpuid): Likewise.
8227         (intel_check_word): Likewise.
8228         (__cache_sysconf): Don't call __init_cpu_features.
8229         (__x86_preferred_memory_instruction): Removed.
8230         (init_cacheinfo): Don't call __init_cpu_features. Replace
8231         __cpu_features with GLRO(dl_x86_cpu_features).
8232         * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
8233         (dl_platform_init): Call init_cpu_features.
8234         * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
8235         * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
8236         * sysdeps/x86_64/multiarch/Versions: Removed.
8237         * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
8238         * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
8239         * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
8240         Removed.
8241         * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
8243 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
8245         [BZ #18820]
8246         * libio/Makefile (test-fmemopen-mem): New test.
8247         * libio/test-fmemopen.c (do_bz18820): New test.
8248         * libio/fmemopen.c (__fmemopen): Fix memory leak.
8249         * libio/oldfmemopen.c (__old_fmemopen): Likewise.
8251 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
8253         [BZ #16734]
8254         * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
8255         (FREE_BUF): Delete.
8256         * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
8257         * libio/genops.c (_IO_setb): Use malloc and free directly.
8258         (_IO_default_doallocate, _IO_default_finish): Likewise.
8259         ( _IO_unbuffer_all): Likewise.
8260         ( libc_freeres_fn): Likewise.
8261         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
8262         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
8263         * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
8264         (_IO_wdefault_doallocate): Likewise.
8266 2015-08-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
8268         [BZ #18086]
8269         * sysdeps/posix/nice.c (nice): Restore old errno.
8270         * posix/tst-nice.c (do_test): Add test for BZ #18086.
8272 2015-08-10  Ondrej Bilka  <neleai@seznam.cz>
8274         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
8276 2015-08-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8278         * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
8279         __bcopy and add a weak_alias to bcopy.
8280         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
8281         for static build.
8283         * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
8284         cleanup macro usage.
8285         * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
8286         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
8287         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
8288         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
8289         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
8290         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
8291         * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
8292         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
8293         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
8294         * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
8295         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
8296         [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
8297         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
8298         [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
8299         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
8300         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
8301         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
8302         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
8303         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
8305         * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
8306         libc_hidden_def.
8307         (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
8309         * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
8310         (sysdep_routines): Add strstr-ppc64.
8311         * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
8313 2015-08-10  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
8315         [BZ #18778]
8316         * elf/Makefile (tests): Add Add tst-nodelete2.
8317         (modules-names): Add tst-nodelete2mod.
8318         (tst-nodelete2mod.so-no-z-defs): New.
8319         ($(objpfx)tst-nodelete2): Likewise.
8320         ($(objpfx)tst-nodelete2.out): Likewise.
8321         (LDFLAGS-tst-nodelete2): Likewise.
8322         * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
8323         out of loop through all loaded libraries.
8324         * elf/tst-nodelete2.c: New file.
8325         * elf/tst-nodelete2mod.c: Likewise.
8326         * elf/tst-znodelete-zlib.cc: Delete.
8328 2015-08-11  Andreas Schwab  <schwab@suse.de>
8330         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
8331         * sysdeps/unix/sysv/linux/wordsize-64/openat.c
8332         (__openat64_nocancel): Likewise.
8334 2015-08-11  Joseph Myers  <joseph@codesourcery.com>
8336         * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
8337         atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
8338         expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
8339         * math/auto-libm-test-out: Regenerated.
8340         * sysdeps/i386/fpu/libm-test-ulps: Update.
8341         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8343 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
8345         [BZ #18790]
8346         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
8347         threshold for returning +/- 1.
8348         * math/auto-libm-test-in: Add more tests of tanh.
8349         * math/auto-libm-test-out: Regenerated.
8350         * sysdeps/i386/fpu/libm-test-ulps: Update.
8352 2015-08-10  Andreas Schwab  <schwab@suse.de>
8354         [BZ #18781]
8355         * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
8356         MORE_OFLAGS to oflag.
8357         * io/test-lfs.c (do_test): Test openat64.
8359 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
8361         [BZ #18789]
8362         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
8363         smaller threshold for returning the argument.
8364         * math/auto-libm-test-in: Add more tests of sinh.
8365         * math/auto-libm-test-out: Regenerated.
8366         * sysdeps/i386/fpu/libm-test-ulps: Update.
8368 2015-08-09  H.J. Lu  <hongjiu.lu@intel.com>
8370         [BZ #18674]
8371         * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
8372         break.
8374 2015-08-09  Andreas Schwab  <schwab@linux-m68k.org>
8376         * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
8377         (generated): Don't add $(addprefix z.,$(tzfiles)).
8379 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
8381         * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
8382         * scripts/sysd-rules.awk: Likewise.
8384 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
8386         * iconvdata/tst-tables.sh: Change echo -n to printf.
8387         * nss/db-Makefile: Likewise.
8388         * posix/tst-getconf.sh: Likewise.
8389         * stdio-common/tst-unbputc.sh: Likewise.
8391 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
8393         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
8394         MADV_*_PAGES defines behind this feature check.
8396 2015-08-09  John David Anglin  <danglin@gcc.gnu.org>
8398         [BZ #18480]
8399         * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
8400         LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
8401         Define.
8402         (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
8403         LOAD_REGS_5, LOAD_REGS_6): Update.
8404         (INTERNAL_SYSCALL): Update using new LOAD defines.
8405         (INTERNAL_SYSCALL_NCS): Likewise.
8406         * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
8408 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
8410         [BZ #16734]
8411         * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
8413 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
8415         [BZ #17905]
8416         * catgets/Makefile (tst-catgets-mem): New test.
8417         * catgets/catgets.c (catopen): Don't use unbounded alloca.
8418         * catgets/open_catalog.c (__open_catalog): Likewise.
8419         * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
8421 2015-08-08  John David Anglin  <danglin@gcc.gnu.org>
8423         [BZ #18787]
8424         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
8425         clobber registers.
8426         (atomic_compare_and_exchange_val_acq): Use register asms to assign
8427         operand registers.  Use register %r20 for EAGAIN and EDEADLOCK checks.
8428         Cast return to __typeof (oldval).
8430 2015-08-08  Mike Frysinger  <vapier@gentoo.org>
8432         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
8433         in _LINUX_MICROBLAZE_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h
8434         and delete sys/syscall.h include.
8436 2015-08-07  Joseph Myers  <joseph@codesourcery.com>
8438         [BZ #16517]
8439         * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
8440         (tan): Force underflow exception for arguments with small absolute
8441         value.
8442         * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
8443         (__kernel_tanf): Force underflow exception for arguments with
8444         small absolute value.
8445         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
8446         (__kernel_tanl): Force underflow exception for arguments with
8447         small absolute value.
8448         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
8449         (__kernel_tanl): Force underflow exception for arguments with
8450         small absolute value.
8451         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
8452         (__kernel_tanl): Force underflow exception for arguments with
8453         small absolute value.
8454         * math/auto-libm-test-in: Add more tests of tan.
8455         * math/auto-libm-test-out: Regenerated.
8457 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8459         Fix sysdeps/i386/fpu/s_scalbn.S build
8461         * math/Versions (libc: GLIBC_2_22): New (empty) version set.
8463 2015-08-07  Mike Frysinger  <vapier@gentoo.org>
8465         * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
8467 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8469         Fix gcrt0.o compilation
8471         When static-start-installed-name is different from
8472         start-installed-name, we must not use the shared objects.
8474         * csu/Makefile
8475         (extra-objs): Add gmon-start.o when building shared library and
8476         $(static-start-installed-name) is different from
8477         $(start-installed-name).
8478         $(objpfx)g$(static-start-installed-name): When building shared
8479         library and $(static-start-installed-name) is different from
8480         $(static-start-installed-name), revert to non-shared rule,
8481         i.e. using $(objpfx)% and gmon-start.o.
8483 2015-08-06  Joseph Myers  <joseph@codesourcery.com>
8485         [BZ #16519]
8486         * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
8487         (__ieee754_sinh): Force underflow exception for arguments with
8488         small absolute value.
8489         * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
8490         (__ieee754_sinhf): Force underflow exception for arguments with
8491         small absolute value.
8492         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
8493         (__ieee754_sinhl): Force underflow exception for arguments with
8494         small absolute value.
8495         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
8496         (__ieee754_sinhl): Force underflow exception for arguments with
8497         small absolute value.
8498         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
8499         (__ieee754_sinhl): Force underflow exception for arguments with
8500         small absolute value.
8501         * math/auto-libm-test-in: Add more tests of sinh.
8502         * math/auto-libm-test-out: Regenerated.
8503         * sysdeps/i386/fpu/libm-test-ulps: Update.
8505 2015-08-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
8507         * libio/oldfileops.c: Include unistd.h.
8509 2015-08-06  Mike Frysinger  <vapier@gentoo.org>
8511         * stdlib/isomac.c: Include ctype.h.
8513 2015-08-06  Arjun Shankar  <arjun.is@lostca.se>
8515         * dirent/tst-seekdir.c (main): Converted to ...
8516         (do_test): ... this.
8517         (TEST_FUNCTION): New macro.
8518         Include test-skeleton.c.
8519         * elf/tst-dlmodcount.c (main): Converted to ...
8520         (do_test): ... this.
8521         (TEST_FUNCTION): New macro.
8522         Include test-skeleton.c.
8523         * elf/tst-order-main.c (main): Converted to ...
8524         (do_test): ... this.
8525         (TEST_FUNCTION): New macro.
8526         Include test-skeleton.c.
8527         * elf/tst-pie2.c (main): Converted to ...
8528         (do_test): ... this.
8529         (TEST_FUNCTION): New macro.
8530         Include test-skeleton.c.
8531         * inet/tst-ether_aton.c (main): Converted to ...
8532         (do_test): ... this.
8533         (TEST_FUNCTION): New macro.
8534         Include test-skeleton.c.
8535         * misc/tst-mntent.c (main): Converted to ...
8536         (do_test): ... this.
8537         (TEST_FUNCTION): New macro.
8538         Include test-skeleton.c.
8539         * misc/tst-tsearch.c (main): Converted to ...
8540         (do_test): ... this.
8541         (TEST_FUNCTION): New macro.
8542         Include test-skeleton.c.
8543         * posix/tst-regexloc.c (main): Converted to ...
8544         (do_test): ... this.
8545         (TEST_FUNCTION): New macro.
8546         Include test-skeleton.c.
8547         * resolv/tst-aton.c (main): Converted to ...
8548         (do_test): ... this.
8549         (TEST_FUNCTION): New macro.
8550         Include test-skeleton.c.
8551         * stdio-common/test-fwrite.c (main): Converted to ...
8552         (do_test): ... this.
8553         (TEST_FUNCTION): New macro.
8554         Include test-skeleton.c.
8555         * stdio-common/tst-ferror.c (main): Converted to ...
8556         (do_test): ... this.
8557         (TEST_FUNCTION): New macro.
8558         Include test-skeleton.c.
8559         * stdio-common/tst-printf.c (main): Converted to ...
8560         (do_test): ... this.
8561         (TEST_FUNCTION): New macro.
8562         Include test-skeleton.c.
8563         * stdio-common/tst-printfsz.c (main): Converted to ...
8564         (do_test): ... this.
8565         (TEST_FUNCTION): New macro.
8566         Include test-skeleton.c.
8567         * stdlib/tst-strtod.c (main): Converted to ...
8568         (do_test): ... this.
8569         (TEST_FUNCTION): New macro.
8570         Include test-skeleton.c.
8571         * string/tst-strlen.c (main): Converted to ...
8572         (do_test): ... this.
8573         (TEST_FUNCTION): New macro.
8574         Include test-skeleton.c.
8575         * string/tst-svc.c (main): Converted to ...
8576         (do_test): ... this.
8577         (TEST_FUNCTION): New macro.
8578         Include test-skeleton.c.
8579         * time/tst-strptime.c (main): Converted to ...
8580         (do_test): ... this.
8581         (TEST_FUNCTION): New macro.
8582         Include test-skeleton.c.
8583         * timezone/tst-timezone.c (main): Converted to ...
8584         (do_test): ... this.
8585         (TEST_FUNCTION): New macro.
8586         Include test-skeleton.c.
8588 2015-08-05  Zack Weinberg  <zackw@panix.com>
8590         * misc/regexp.h: Update comments.
8592 2015-08-05  Andreas Schwab  <schwab@linux-m68k.org>
8594         [BZ #18635]
8595         * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
8596         before return label.
8598 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
8600         [BZ #18661]
8601         * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
8602         when calling __errno_location.
8603         * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
8604         * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
8606 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
8608         [BZ #18661]
8609         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
8610         (__lll_timedwait_tid): Align stack to 16 bytes when calling
8611         __gettimeofday.
8613 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
8615         [BZ #18661]
8616         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
8617         (__start_context): Don't use pop to restore %rdi so that stack
8618         is aligned to 16 bytes when calling __setcontext.
8620 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
8622         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
8623         only for libc.
8624         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
8626 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
8628         * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
8629         (__mempcpy): Likewise.  (__mempcpy_inline): New inline function.
8630         * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
8632 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
8634         * string/memccpy.c (memccpy):
8635         Improve performance by using memchr/memcpy/__mempcpy.
8637 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
8639         * string/strncpy.c (strncpy):
8640         Improve performance by using __strnlen/memcpy.
8642 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
8644         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
8645         Optimize to avoid an unnecessary FPCR read.
8647 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
8649         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
8650         Optimize to reduce FPCR/FPSR accesses.
8652 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
8654         * locale/loadarchive.c (_nl_archive_subfreeres): Also check
8655         dead->data[category] != NULL.
8657 2015-08-05  Joseph Myers  <joseph@codesourcery.com>
8659         [BZ #18647]
8660         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
8661         and |x| close to 1, use absolute value of x when computing log.
8662         * math/auto-libm-test-in: Add more tests of pow.
8663         * math/auto-libm-test-out: Regenerated.
8665 2015-08-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8667         * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
8668         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
8669         * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
8671 2015-08-05  Marko Myllynen  <myllynen@redhat.com>
8673         [BZ #18525]
8674         * locales/km_KH: Remove timezone definition.
8675         * locales/lo_LA: Likewise.
8676         * locales/my_MM: Likewise.
8677         * locales/nan_TW@latin: Likewise.
8678         * locales/th_TH: Likewise.
8679         * locales/uk_UA: Likewise.
8681 2015-08-05  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
8683         [BZ #18265]
8684         * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
8685         (wcsncat): Likewise.
8686         (wcscmp): Likewise.
8687         (wcsncmp): Likewise.
8689 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
8691         * test-skeleton.c (usage): New function.
8692         (main): Call usage when opt is '?'.
8694 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
8696         * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
8697         before first use.
8699 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
8701         * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
8702         bottom and under _STACK_GROWS_DOWN.  Move the stacktop assignment
8703         in there too.
8705 2015-08-05  Carlos O'Donell  <carlos@systemhalted.org>
8707         * version.h (RELEASE): Set to "development".
8708         (VERSION): Set to "2.22.90"
8710         * version.h (RELEASE): Set to "stable".
8711         (VERSION): Set to "2.22"
8712         * include/features.h (__GLIBC_MINOR__): Set to 22.
8714 2015-08-04  Chris Metcalf  <cmetcalf@ezchip.com>
8716         * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
8717         Restructure macro to avoid "value computed is not used" warning.
8718         (atomic_compare_and_exchange_val_acq): Likewise.
8720 2015-08-04  Andreas Schwab  <schwab@suse.de>
8722         [BZ #18635]
8723         * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
8724         ret.
8725         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
8727 2015-08-01  Carlos O'Donell  <carlos@redhat.com>
8729         * po/pl.po: Updated translation.
8730         * po/uk.po: Likewise.
8731         * po/fi.po: Likewise.
8732         * po/ko.po: Likewise.
8733         * po/ru.po: Likewise.
8734         * po/vi.po: Likewise.
8736 2015-07-31  Zack Weinberg  <zackw@panix.com>
8738         [BZ #18681]
8739         * regexp.h: Add unconditional #warning stating that this header
8740         will be removed soon.  Revise banner comment to match.
8741         (compile): Consistently use ERROR instead of RETURN to report
8742         errors (partial fix for bz#18681).
8743         * regexp.c: Don't include regexp.h. Remove some unnecessary
8744         declarations.
8746 2015-07-31  Carlos O'Donell  <carlos@redhat.com>
8748         * po/libc.pot: Regenerated.
8750 2015-07-30  Andrew Senkevich  <andrew.senkevich@intel.com>
8752         [BZ #18740]
8753         * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
8754         float-vlen4-arch-ext-cflags): Removed.
8755         * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
8756         CFLAGS-test-float-vlen4-wrappers.c): Likewise.
8758 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
8760         [BZ #14113]
8761         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
8762         aligned to __aligned__.
8763         (pthread_cond_t, pthread_rwlock_t): Likewise.
8765 2015-07-30  Torvald Riegel  <triegel@redhat.com>
8767         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
8769 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
8771         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
8772         (struct sigaction): Change sa_flags from a long to an int, and add
8773         __glibc_reserved0 before it for padding when __WORDSIZE is 64.
8775 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
8777         * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
8778         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
8779         sysdeps/generic/sysdep.h include.
8780         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
8781         _LINUX_HPPA_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h and
8782         sysdeps/hppa/sysdep.h.
8783         (ENTRY, PSEUDO): Undefine before defining.
8785 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
8787         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
8788         from scratch to use INTERNAL_SYSCALL.
8790 2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
8792         [BZ #18078]
8793         * scripts/check-localplt.awk: Support alternate relocations.
8794         * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
8795         sections.
8796         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
8797         malloc entries with + REL R_386_GLOB_DAT.
8798         * sysdeps/x86_64/localplt.data: New file.
8800 2015-07-29  Andrew Senkevich  <andrew.senkevich@intel.com>
8802         [BZ #18731]
8803         * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
8804         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
8805         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
8807 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
8809         * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
8811 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
8813         * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
8814         directly in terms of __sync_fetch_and_add and delete (int) cast.
8816 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
8818         * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
8819         the -D_ASM_IA64_CURRENT_H flag.
8821 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
8823         [BZ #18641]
8824         * pwd/pwd.h (putpwent): Delete __nonnull markings.
8826 2015-07-27  Andreas Schwab  <schwab@suse.de>
8828         * conform/conformtest.pl (checknamespace): Filter out string
8829         literals while tokenizing.
8831 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
8833         * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
8834         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
8835         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
8837 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
8839         * nptl/tst-join7mod.c: Add #include <string.h>.
8841 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
8843         * sysdeps/nios2/libm-test-ulps: Update.
8845 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
8847         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
8848         Fix order of arguments to the rt_sigprocmask syscall.
8849         * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
8850         Likewise.
8852 2015-07-24  Roland McGrath  <roland@hack.frob.com>
8854         * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
8856 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
8858         [BZ #18457]
8859         * nptl/Makefile (tests): New test case tst-join7.
8860         (modules-names): New test case module tst-join7mod.
8861         * nptl/tst-join7.c: New file.
8862         * nptl/tst-join7mod.c: New file.
8863         * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
8864         all translation units in libc.so, libpthread.so and rtld.
8866 2015-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8868         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8870 2015-07-24  Andrew Senkevich  <andrew.senkevich@intel.com>
8872         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
8873         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
8874         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
8875         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
8876         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
8877         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
8878         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
8879         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
8880         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
8881         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
8882         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
8883         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
8884         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
8885         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
8886         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
8887         implementation.
8889 2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
8891         [BZ #17711]
8892         * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
8893         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
8894         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
8895         * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
8896         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
8897         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
8899 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
8901         * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
8902         instead of just saying load lock in the comments.
8904 2015-07-23  Roland McGrath  <roland@hack.frob.com>
8906         * sysdeps/unix/Subdirs: Moved ...
8907         * sysdeps/posix/Subdirs: ... here.
8908         * login/pty.h (struct termios, struct winsize): Add forward decls.
8909         * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
8910         * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
8911         * sysdeps/arm/nacl/libc.abilist: Updated.
8912         * sysdeps/nacl/libutil.abilist: New file.
8914         * bits/signum.h: Update comments to mention 1003.1-2013 too.
8915         (SIGWINCH): New macro.
8917         * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
8918         * sysdeps/arm/nacl/libc.abilist: Add it.
8920 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
8922         * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
8924 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
8926         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
8927         Swap __glibc_reserved0 and sa_flags order.
8929 2015-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
8931         [BZ #18657]
8932         * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
8933         are pending TLS destructor calls.
8934         * include/link.h (struct link_map): Add concurrency note for
8935         L_TLS_DTOR_COUNT.
8936         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
8937         Don't touch the link map flag.  Atomically increment
8938         l_tls_dtor_count.
8939         (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
8940         Avoid taking the load lock and don't touch the link map flag.
8941         * stdlib/tst-tls-atexit-nodelete.c: New test case.
8942         * stdlib/Makefile (tests): Use it.
8943         * stdlib/tst-tls-atexit.c (do_test): dlopen
8944         tst-tls-atexit-lib.so again before dlclose.  Add conditionals
8945         to allow tst-tls-atexit-nodelete test case to use it.
8947 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
8949         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
8950         to bits/types.h.
8951         (msgqnum_t): New typedef.
8952         (msglen_t): Likewise.
8953         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
8954         and msg_qbytes type to msglen_t.
8956 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
8958         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
8959         pad0 to __glibc_reserved0.
8960         (struct stat64): Likewise.
8962 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
8964         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
8965         Change sa_flags from a long to an int and add __glibc_reserved0 before
8966         it for padding.
8968 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
8970         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
8971         anonymous by deleting "siginfo" name.
8973 2015-07-21  Roland McGrath  <roland@hack.frob.com>
8975         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
8976         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
8977         rather than __nacl_irt_filename.
8978         * sysdeps/nacl/xstat.c (__xstat): Likewise.
8980         * NEWS: New item for arm-nacl port.
8981         * sysdeps/arm/nacl/libc.abilist: New file.
8982         * sysdeps/nacl/ld.abilist: New file.
8983         * sysdeps/nacl/libBrokenLocale.abilist: New file.
8984         * sysdeps/nacl/libanl.abilist: New file.
8985         * sysdeps/nacl/libcrypt.abilist: New file.
8986         * sysdeps/nacl/libdl.abilist: New file.
8987         * sysdeps/nacl/libm.abilist: New file.
8988         * sysdeps/nacl/libpthread.abilist: New file.
8989         * sysdeps/nacl/libresolv.abilist: New file.
8990         * sysdeps/nacl/librt.abilist: New file.
8992 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
8994         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
8995         __startcontext to initialize the new context.
8996         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
8997         up CFI directive to forbid further backtracing.
8999 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
9001         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
9002         reference.
9003         * charmaps/ANSI_X3.4-1968: Likewise.
9004         * charmaps/BS_4730: Likewise.
9005         * charmaps/BS_VIEWDATA: Likewise.
9006         * charmaps/CP1250: Likewise.
9007         * charmaps/CP1251: Likewise.
9008         * charmaps/CP1252: Likewise.
9009         * charmaps/CP1253: Likewise.
9010         * charmaps/CP1254: Likewise.
9011         * charmaps/CP1255: Likewise.
9012         * charmaps/CP1256: Likewise.
9013         * charmaps/CSN_369103: Likewise.
9014         * charmaps/EBCDIC-DK-NO: Likewise.
9015         * charmaps/GB_1988-80: Likewise.
9016         * charmaps/GREEK-CCITT: Likewise.
9017         * charmaps/GREEK7: Likewise.
9018         * charmaps/INIS-8: Likewise.
9019         * charmaps/ISIRI-3342: Likewise.
9020         * charmaps/ISO_2033-1983: Likewise.
9021         * charmaps/ISO_5427-EXT: Likewise.
9022         * locales/POSIX: Likewise.
9023         * locales/ar_SA: Likewise.
9024         * locales/be_BY: Likewise.
9025         * locales/be_BY@latin: Likewise.
9026         * locales/ca_ES: Likewise.
9027         * locales/cs_CZ: Likewise.
9028         * locales/da_DK: Likewise.
9029         * locales/de_BE: Likewise.
9030         * locales/de_CH: Likewise.
9031         * locales/de_LU: Likewise.
9032         * locales/en_AU: Likewise.
9033         * locales/en_BW: Likewise.
9034         * locales/en_CA: Likewise.
9035         * locales/en_DK: Likewise.
9036         * locales/en_GB: Likewise.
9037         * locales/en_IE: Likewise.
9038         * locales/en_NZ: Likewise.
9039         * locales/en_ZA: Likewise.
9040         * locales/en_ZW: Likewise.
9041         * locales/es_AR: Likewise.
9042         * locales/es_BO: Likewise.
9043         * locales/es_CL: Likewise.
9044         * locales/es_CO: Likewise.
9045         * locales/es_DO: Likewise.
9046         * locales/es_EC: Likewise.
9047         * locales/es_ES: Likewise.
9048         * locales/es_HN: Likewise.
9049         * locales/es_MX: Likewise.
9050         * locales/es_PA: Likewise.
9051         * locales/es_PE: Likewise.
9052         * locales/es_PY: Likewise.
9053         * locales/es_SV: Likewise.
9054         * locales/es_US: Likewise.
9055         * locales/es_UY: Likewise.
9056         * locales/es_VE: Likewise.
9057         * locales/et_EE: Likewise.
9058         * locales/fa_IR: Likewise.
9059         * locales/fo_FO: Likewise.
9060         * locales/fr_CA: Likewise.
9061         * locales/fr_CH: Likewise.
9062         * locales/gv_GB: Likewise.
9063         * locales/he_IL: Likewise.
9064         * locales/hr_HR: Likewise.
9065         * locales/id_ID: Likewise.
9066         * locales/is_IS: Likewise.
9067         * locales/it_CH: Likewise.
9068         * locales/iw_IL: Likewise.
9069         * locales/kl_GL: Likewise.
9070         * locales/ko_KR: Likewise.
9071         * locales/kw_GB: Likewise.
9072         * locales/lg_UG: Likewise.
9073         * locales/lt_LT: Likewise.
9074         * locales/lv_LV: Likewise.
9075         * locales/mi_NZ: Likewise.
9076         * locales/nhn_MX: Likewise.
9077         * locales/nl_BE: Likewise.
9078         * locales/pl_PL: Likewise.
9079         * locales/sk_SK: Likewise.
9080         * locales/sl_SI: Likewise.
9081         * locales/sv_FI: Likewise.
9082         * locales/tl_PH: Likewise.
9083         * locales/tr_TR: Likewise.
9084         * locales/vi_VN: Likewise.
9086 2015-07-21  Khem Raj  <raj.khem@gmail.com>
9088         [BZ #17475]
9089         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
9090         of tu_IN and bh_IN.
9092 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
9094         [BZ #18694]
9095         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
9096         bits/wordsize.h.
9097         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
9099 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
9101         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
9102         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
9103         (spawn_thread): New function.
9104         (load): Rename to reg_dtor_and_close.  Move dlopen to...
9105         (do_test): ... here.  Use IS_LOADED to test for its
9106         availability.
9108 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
9110         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
9112 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
9114         [BZ #18696]
9115         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
9116         si_addr_bnd.
9117         (si_lower): New.
9118         (si_upper): Likewise.
9120 2015-07-16  David S. Miller  <davem@davemloft.net>
9122         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
9124 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9126         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
9127         buffer.
9128         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
9129         fail output information.
9131 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
9133         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
9134         and strstr-ppc64..
9135         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
9136         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
9137         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
9138         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
9139         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
9141 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
9143         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
9144         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
9145         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
9146         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
9148 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
9150         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
9151         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
9152         rtld_hidden_proto.
9153         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
9155 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
9157         * tst-nodelete-opened.c (do_test): Add comment to clarify how
9158         the test can fail.
9160         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
9162         [BZ #18676]
9163         * elf/tst-nodelete-opened.c: New test case.
9164         * elf/tst-nodelete-opened-lib.c: New test case module.
9165         * elf/Makefile (tests, modules-names): Use them.
9166         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
9167         early.
9169 2015-07-15  David S. Miller  <davem@davemloft.net>
9171         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
9172         futex-intenal.h
9173         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
9174         * sysdeps/sparc/sparc64/Makefile: Likewise.
9175         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
9176         Remove space from macro define.
9177         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
9179 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
9181         [BZ #17475]
9182         * locale/iso-639.def: Update Bhili and Tulu language codes as
9183         per iso639-3.
9185 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
9187         * elf/tst-leaks1.c (main): Converted to ...
9188         (do_test): ... this.
9189         (TEST_FUNCTION): New macro.
9190         Include test-skeleton.c.
9191         * localedata/tst-langinfo.c (main): Converted to ...
9192         (do_test): ... this.
9193         (TEST_FUNCTION): New macro.
9194         Include test-skeleton.c.
9195         * math/test-fpucw.c (main): Converted to ...
9196         (do_test): ... this.
9197         (TEST_FUNCTION): New macro.
9198         Include test-skeleton.c.
9199         * math/test-tgmath.c (main): Converted to ...
9200         (do_test): ... this.
9201         (TEST_FUNCTION): New macro.
9202         Include test-skeleton.c.
9203         * math/test-tgmath2.c (main): Converted to ...
9204         (do_test): ... this.
9205         (TEST_FUNCTION): New macro.
9206         Include test-skeleton.c.
9207         * setjmp/tst-setjmp.c (main): Converted to ...
9208         (do_test): ... this.
9209         (TEST_FUNCTION): New macro.
9210         Include test-skeleton.c.
9211         * stdio-common/tst-sscanf.c (main): Converted to ...
9212         (do_test): ... this.
9213         (TEST_FUNCTION): New macro.
9214         Include test-skeleton.c.
9215         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
9216         (do_test): ... this.
9217         (TEST_FUNCTION): New macro.
9218         Include test-skeleton.c.
9220         * elf/tst-audit9.c (main): Converted to ...
9221         (do_test): ... this.
9222         (TEST_FUNCTION): New macro.
9223         Include test-skeleton.c.
9225 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
9227         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
9229 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
9231         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
9232         New variable.
9234 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
9236         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
9238 2015-07-14  Roland McGrath  <roland@hack.frob.com>
9240         * sysdeps/generic/dl-fileid.h: New file.
9241         * sysdeps/posix/dl-fileid.h: New file.
9242         * sysdeps/nacl/dl-fileid.h: New file.
9243         * include/link.h: Include <dl-fileid.h>.
9244         (struct link_map): Replace l_dev and l_ino with l_file_id.
9245         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
9246         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
9247         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
9249 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
9251         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
9253 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9255         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
9256         Add iff $CXX is set.
9257         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
9258         Likewise.
9259         (tst-nodelete-zmodiff): Likewise.
9260         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
9262 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
9264         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
9266 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
9268         * sysdeps/aarch64/fpu/math_private.h
9269         (define math_opt_barrier): Add AArch64 version.
9270         (math_force_eval): Likewise.
9272 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
9274         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
9276 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
9278         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
9279         %ld with %jd and cast to intmax_t.
9280         (do_test_length_zero): Likewise.
9282 2015-07-10  Roland McGrath  <roland@hack.frob.com>
9284         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
9286 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
9288         * sysdeps/tile/libm-test-ulps: Regenerated.
9290         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
9291         Comment out the whole function, not just its body.
9293 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
9295         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
9296         locks.
9298         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
9300 2015-07-10  Torvald Riegel  <triegel@redhat.com>
9302         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
9303         (sem_assume_only_signals_cause_futex_EINTR): Remove.
9305 2015-07-10  Torvald Riegel  <triegel@redhat.com>
9307         * sysdeps/nptl/futex-internal.h: New file.
9308         * sysdeps/nacl/futex-internal.h: New file.
9309         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
9310         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
9311         error checking.
9312         (setxid_unmark_thread): Likewise.
9313         (__nptl_setxid): Likewise.
9314         (__wait_lookup_done): Likewise.
9315         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
9316         * nptl/nptl-init.c (sighandler_setxid): Likewise.
9317         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
9318         * nptl/pthread_once.c (clear_once_control): Likewise.
9319         (__pthread_once_slow): Likewise.
9320         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
9321         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
9322         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
9323         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
9324         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
9325         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
9326         Likewise.
9327         (__pthread_rwlock_rdlock): Likewise.
9328         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
9329         Likewise.
9330         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
9331         Likewise.
9332         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
9333         Likewise.
9334         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
9335         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
9336         Likewise.
9337         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
9338         __ASSUME_PRIVATE_FUTEX check.
9339         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
9340         Check that shared futexes are supported.
9341         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
9342         wrappers with error checking.
9343         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
9344         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
9345         * nptl/pthread_barrierattr_setpshared.c
9346         (pthread_barrierattr_setpshared): Check that shared futexes are
9347         supported.
9348         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
9349         Likewise.
9350         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
9351         Likewise.
9352         * nptl/sem_init.c (futex_private_if_supported): Remove.
9353         (__new_sem_init): Adapt and check that shared futexes are supported.
9354         * nptl/sem_open.c (sem_open): Likewise.
9355         * nptl/sem_post.c (futex_wake): Remove.
9356         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
9357         (do_futex_wait): Use futex wrappers with error checking.
9358         * nptl/sem_wait.c: Include lowlevellock.h.
9359         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
9360         Use futex_supports_pshared.
9361         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
9362         Use futex wrappers with error checking.
9363         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
9364         Likewise.
9365         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
9366         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
9367         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
9368         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
9369         (futex_wake): Likewise.
9370         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
9371         (do_futex_wait): Use futex wrappers with error checking.
9372         (__new_sem_wait_slow): Update EINTR handling.
9373         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
9375 2015-07-09  Martin Sebor  <msebor@redhat.com>
9377         [BZ #18435]
9378         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
9379         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
9380         * nptl/Makefile (test-xfail-tst-once5): Define.
9382 2015-07-09  Roland McGrath  <roland@hack.frob.com>
9384         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
9385         * elf/dl-minimal.c: For readability, reorder some definitions and
9386         introduce more page breaks.  Include <stdio.h>.
9387         (__libc_fatal): New function.
9389         * include/unistd.h: Add rtld_hidden_proto for _exit.
9390         * posix/_exit.c: Add rtld_hidden_def.
9391         * sysdeps/mach/hurd/_exit.c: Likewise.
9392         * sysdeps/nacl/_exit.c: Likewise.
9393         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
9394         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
9396 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
9398         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
9399         bndmov encoding with zero displacement.
9401 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
9402             H.J. Lu  <hongjiu.lu@intel.com>
9404         [BZ #18134]
9405         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
9406         * sysdeps/i386/configure: Regenerated.
9407         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
9408         (_dl_runtime_profile): Save and restore Intel MPX return bound
9409         registers when calling _dl_call_pltexit.  Add
9410         PRESERVE_BND_REGS_PREFIX before return.
9411         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
9412         (LRV_BND1_OFFSET): Likewise.
9413         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
9414         lrv_bnd1.
9415         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
9416         typo in bndmov encoding.
9417         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
9418         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
9419         branch instructions to preserve bounds.
9421 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9423         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
9424         [GLIBC_2.22]: Add fmemopen.
9426 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9428         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
9429         returns an error, also try to use host port from __mach_host_self for
9430         the __vm_wire call.
9431         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
9433 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
9435         [BZ #18400]
9436         [BZ #18648]
9437         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
9438         Fix pr_uid and pr_gid members.
9439         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
9440         definition to elf_greg_t.
9442 2015-07-08  Roland McGrath  <roland@hack.frob.com>
9444         [BZ #18383]
9445         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
9446         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
9447         * sysdeps/arm/configure: Regenerated.
9448         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
9449         (test-xfail-tst-tlsalign-static): Variable removed.
9451         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
9452         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
9453         rather than explicit 'ln -s'.
9455         * resolv/rpc/netdb.h: New file.
9456         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
9458 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9460         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
9461         length buffers.
9462         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
9463         test-skeleton.c.
9465         [BZ #6544]
9466         [BZ #11216]
9467         [BZ #12836]
9468         [BZ #13151]
9469         [BZ #13152]
9470         [BZ #14292]
9471         * include/stdio.h (fmemopen): Remove hidden prototype.
9472         (__fmemopen): Add new hidden prototype.
9473         * libio/Makefile: Add oldfmemopen object.
9474         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
9475         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
9476         compliance.
9477         * libio/oldfmemopen.c: New file: old fmemopen implementation for
9478         symbol compatibility.
9479         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
9480         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
9481         fmemopen.
9482         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
9483         on append and read mode.
9484         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
9485         fmemopen.
9486         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
9487         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
9488         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
9489         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
9490         Likewise.
9491         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
9492         [GLIBC_2.22]: Likewise.
9493         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
9494         Likewise.
9495         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
9496         Likewise.
9497         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
9498         [GLIBC_2.22]: Likewise.
9499         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
9500         [GLIBC_2.22]: Likewise.
9501         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
9502         [GLIBC_2.22]: Likewise.
9503         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
9504         [GLIBC_2.22]: Likewise.
9505         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
9506         [GLIBC_2.22]: Likewise.
9507         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
9508         [GLIBC_2.22]: Likewise.
9509         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
9510         [GLIBC_2.22]: Likewise.
9511         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
9512         Likewise.
9513         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
9514         Likewise.
9515         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
9516         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
9517         [GLIBC_2.22]: Likewise.
9518         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
9519         [GLIBC_2.22]: Likewise.
9520         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
9521         [GLIBC_2.22]: Likewise.
9522         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
9523         [GLIBC_2.22]: Likewise.
9524         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
9525         Likewise.
9526         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
9527         Likewise.
9528         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
9529         Likewise.
9530         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
9531         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
9533 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
9535         [BZ #18643]
9536         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
9537         IPV6_PATHMTU, and IPV6_DONTFRAG.
9539 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
9541         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
9542         and _IO_UNBUFFERED.
9543         * libio/oldfileops.c: Likewise.
9544         * libio/wfileops.c: Likewise.
9546 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
9548         * nscd/selinux.c: Delete selinux/flask.h include.
9550 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
9552         [BZ #18641]
9553         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
9554         (putpwent): Likewise.
9555         (getpwnam): Likewise.
9556         (getpwent_r): Likewise.
9557         (getpwuid_r): Likewise.
9558         (getpwnam_r): Likewise.
9559         (fgetpwent_r): Likewise.
9561 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
9563         [BZ #18557]
9564         * inet/rcmd.c (__validuser2_sa): Check user first to
9565         short-circuit host check.
9567 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
9568             Mikhail Ilin  <m.ilin@samsung.com>
9570         [BZ #17833]
9571         * elf/Makefile (tests): Add tst-nodelete.
9572         (modules-names): Add tst-nodelete-uniquemod.
9573         (tst-nodelete-uniquemod.so-no-z-defs): New.
9574         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
9575         (tst-nodelete-zmod.so-no-z-defs): Likewise.
9576         ($(objpfx)tst-nodelete): Likewise.
9577         ($(objpfx)tst-nodelete.out): Likewise.
9578         (LDFLAGS-tst-nodelete): Likewise.
9579         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
9580         * elf/dl-close.c (_dl_close_worker): Add a parameter to
9581         implement forced object deletion.
9582         (_dl_close): Pass false to _dl_close_worker.
9583         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
9584         * elf/tst-nodelete.cc: New file.
9585         * elf/tst-nodeletelib.cc: Likewise.
9586         * elf/tst-znodeletelib.cc: Likewise.
9587         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
9589 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
9591         [BZ #18508]
9592         * stdlib/Makefile ($(objpfx)tst-makecontext3):
9593         Depend on $(libdl).
9594         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
9595         is not called infinitely times.
9596         (backtrace_helper): New function.
9597         (trace_arg): New struct.
9598         (st1): Enlarge stack size.
9599         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
9600         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
9601         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
9602         Likewise.
9604 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
9606         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
9608 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
9610         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
9611         Include sys/types.h instead of bits/types.h.
9612         Remove inclusion of bits/wordsize.h.
9614 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
9616         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
9617         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
9618         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
9619         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
9620         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
9621         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
9623 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
9625         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
9626         link-defines.sym.
9627         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
9628         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
9629         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
9630         and LR_SIZE.
9631         * sysdeps/i386/link-defines.sym: New file.
9633 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
9635         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
9636         (modules-names): Add tst-auditmod3a tst-auditmod3b.
9637         ($(objpfx)tst-audit3): New rule.
9638         ($(objpfx)tst-audit3.out): Likewise.
9639         * sysdeps/i386/tst-audit3.c: New file.
9640         * sysdeps/i386/tst-audit3.h: Likewise.
9641         * sysdeps/i386/tst-auditmod3a.c: Likewise.
9642         * sysdeps/i386/tst-auditmod3b.c: Likewise.
9644 2015-07-07  Torvald Riegel  <triegel@redhat.com>
9646         [BZ #18633]
9647         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
9648         pointer in C code.
9649         (__strcat_c): Likewise.
9650         (__strcat_g): Likewise.
9652 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
9654         [BZ #18592]
9655         * misc/sbrk.c: Set errno to ENOMEM on overflow.
9657 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
9659         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
9660         New function.  (__ieee754_sqrtf): New function.
9661         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
9662         New function.
9663         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
9664         New function.
9666 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
9668         * sysdeps/ieee754/support.c: Remove unused file.
9670 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
9672         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
9673         registers instead of d ones so the layout is kernel abi compatible.
9674         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
9675         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
9676         Likewise.
9678 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
9680         * sysdeps/aarch64/libm-test-ulps: Regenerated.
9682 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
9684         [BZ #18619]
9685         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
9686         and return argument in case of subnormal argument.
9688 2015-07-01  Martin Sebor  <msebor@redhat.com>
9690         [BZ #18435]
9691         * nptl/Makefile: Add tst-once5.cc.
9692         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
9693         Remove macro redefinitions.
9694         * nptl/tst-once5.cc: New test.
9696 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
9698         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
9700         * sysdeps/arm/libm-test-ulps: Regenerated.
9702         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
9703         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
9705 2015-06-30  Torvald Riegel  <triegel@redhat.com>
9707         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
9708         lll_lock_wait_private and lll_futex_wake probes.
9710         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
9711         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
9712         Likewise.
9713         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
9714         atomic_spin_nop.
9715         * sysdeps/x86_64/bits/atomic.h: Likewise.
9716         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
9717         to atomic_spin_nop and move ...
9718         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
9719         ... here and ...
9720         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
9721         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
9722         atomic_spin_nop instead of BUSY_WAIT_NOP.
9723         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
9724         Likewise.
9725         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
9726         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
9727         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
9728         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
9729         instead of atomic_delay.
9731 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
9733         [BZ #18613]
9734         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
9735         X_ADJ not X when adjusting exponent.
9736         (__ieee754_gamma_r): Do intermediate computations in
9737         round-to-nearest then adjust overflowing and underflowing results
9738         as needed.
9739         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
9740         of X_ADJ not X when adjusting exponent.
9741         (__ieee754_gammaf_r): Do intermediate computations in
9742         round-to-nearest then adjust overflowing and underflowing results
9743         as needed.
9744         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
9745         log of X_ADJ not X when adjusting exponent.
9746         (__ieee754_gammal_r): Do intermediate computations in
9747         round-to-nearest then adjust overflowing and underflowing results
9748         as needed.  Use 1.0L not 1.0f as numerator of division.
9749         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
9750         log of X_ADJ not X when adjusting exponent.
9751         (__ieee754_gammal_r): Do intermediate computations in
9752         round-to-nearest then adjust overflowing and underflowing results
9753         as needed.  Use 1.0L not 1.0f as numerator of division.
9754         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
9755         of X_ADJ not X when adjusting exponent.
9756         (__ieee754_gammal_r): Do intermediate computations in
9757         round-to-nearest then adjust overflowing and underflowing results
9758         as needed.  Use 1.0L not 1.0f as numerator of division.
9759         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
9760         to auto-libm-test-in.
9761         (tgamma_test): Use ALL_RM_TEST.
9762         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
9763         tests of tgamma with spurious-overflow.
9764         * math/auto-libm-test-out: Regenerated.
9765         * math/gen-libm-have-vector-test.sh: Do not check for START.
9766         * sysdeps/i386/fpu/libm-test-ulps: Update.
9767         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9769         [BZ #18612]
9770         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
9771         arguments, just return 0.5 times the argument, with underflow
9772         forced as needed.
9773         * math/auto-libm-test-in: Add more tests of j1.
9774         * math/auto-libm-test-out: Regenerated.
9776         [BZ #16559]
9777         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
9778         (__ieee754_j1): Force underflow exception for small results.
9779         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
9780         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
9781         (__ieee754_j1f): Force underflow exception for small results.
9782         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
9783         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
9784         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
9785         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
9786         (__ieee754_j1l): Force underflow exception for small results.
9787         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
9788         * math/auto-libm-test-in: Add more tests of j1 and jn.
9789         * math/auto-libm-test-out: Regenerated.
9791         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
9792         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
9793         (PF_MPLS): Likewise.
9794         (AF_IB): Likewise.
9795         (AF_MPLS): Likewise.
9796         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
9797         value and macro.
9798         (MS_RMT_MASK): Include MS_LAZYTIME.
9800 2015-06-26  Mel Gorman  <mgorman@suse.de>
9802         [BZ #18502]
9803         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
9804         already minimal.
9806 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
9808         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
9809         (DT_MIPS_NUM): Update.
9810         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
9811         DT_MIPS_RLD_MAP_REL.
9813 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
9815         [BZ #16559]
9816         [BZ #18602]
9817         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
9818         round-to-nearest internally then recompute results that
9819         underflowed to zero in the original rounding mode.
9820         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
9821         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
9822         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
9823         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise
9824         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
9825         * sysdeps/i386/fpu/libm-test-ulps: Update.
9826         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9828 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
9830         * NEWS: Fixed description of link with vector math library.
9832 2015-06-25  Andreas Schwab  <schwab@suse.de>
9834         [BZ #18549]
9835         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
9836         * libio/test-fmemopen.c (do_test): Add test for it.
9838 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
9840         [BZ #17841]
9841         * Makeconfig (no-pie-ldflag): New.
9842         (+link): Set to $(+link-pie) if default to PIE.
9843         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
9844         * config.make.in (build-pie-default): New.
9845         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
9846         is default.  AC_SUBST.
9847         * configure: Regenerated.
9848         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
9850 2015-06-24  Roland McGrath  <roland@hack.frob.com>
9852         * nptl/descr.h (struct pthread): Change type of field setxid_futex
9853         to 'unsigned int'.
9855         * resolv/gai_misc.h (struct waitlist): Change type of field
9856         counterp to 'volatile unsigned int *'.
9857         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
9858         FUTEXADDR and OLDVAL.
9859         * resolv/getaddrinfo_a.c (getaddrinfo_a):
9860         Give local variable TOTAL type 'volatile unsigned int'.
9861         (struct async_waitlist): Change type of field counter to 'unsigned int'.
9862         * resolv/gai_suspend.c (gai_suspend):
9863         Give local variable CNTR type 'unsigned int'.
9865         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
9866         counterp to 'volatile unsigned int *'.
9867         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
9868         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
9869         (aio_suspend): Give local variable CNTR type 'unsigned int'.
9870         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
9871         Give local variable TOTAL type 'volatile unsigned int'.
9872         (struct async_waitlist): Change type of field counter to 'unsigned int'.
9874 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
9876         [BZ #18383]
9877         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
9878         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
9879         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
9880         comment for i386/x86-64.
9881         (test-xfail-tst-tlsalign-extern-static): Removed.
9883 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
9885         * math/test-double.h: New file.
9886         * math/test-float.h: Likewise.
9887         * math/test-ldouble.h: Likewise.
9888         * math/test-math-inline.h: Likewise.
9889         * math/test-math-no-inline.h: Likewise.
9890         * math/test-math-scalar.h: Likewise.
9891         * math/test-math-vector.h: Likewise.
9892         * math/test-vec-loop.h: Remove file.  Contents moved into
9893         test-math-vector.h.
9894         * math/libm-test.inc (MATHCONST): Do not document macro.
9895         * math/test-double.c: Include test-double.h, test-math-no-inline.h
9896         and test-math-scalar.h.
9897         (FUNC): Remove macro.
9898         (FUNC_TEST): Likewise.
9899         (FLOAT): Likewise.
9900         (MATHCONST): Likewise.
9901         (PRINTF_EXPR): Likewise.
9902         (PRINTF_XEXPR): Likewise.
9903         (PRINTF_NEXPR): Likewise.
9904         (TEST_DOUBLE): Likewise.
9905         (TEST_MATHVEC): Likewise.
9906         (__NO_MATH_INLINES): Likewise.
9907         * math/test-float.c: Include test-float.h, test-math-no-inline.h
9908         and test-math-scalar.h.
9909         (FUNC): Remove macro.
9910         (FUNC_TEST): Likewise.
9911         (FLOAT): Likewise.
9912         (MATHCONST): Likewise.
9913         (PRINTF_EXPR): Likewise.
9914         (PRINTF_XEXPR): Likewise.
9915         (PRINTF_NEXPR): Likewise.
9916         (TEST_FLOAT): Likewise.
9917         (TEST_MATHVEC): Likewise.
9918         (__NO_MATH_INLINES): Likewise.
9919         * math/test-idouble.c: Include test-double.h, test-math-inline.h
9920         and test-math-scalar.h.
9921         (FUNC): Remove macro.
9922         (FUNC_TEST): Likewise.
9923         (FLOAT): Likewise.
9924         (MATHCONST): Likewise.
9925         (PRINTF_EXPR): Likewise.
9926         (PRINTF_XEXPR): Likewise.
9927         (PRINTF_NEXPR): Likewise.
9928         (TEST_DOUBLE): Likewise.
9929         (TEST_MATHVEC): Likewise.
9930         (TEST_INLINE): Likewise.
9931         (__NO_MATH_INLINES): Likewise.
9932         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
9933         test-math-scalar.h.
9934         (FUNC): Remove macro.
9935         (FUNC_TEST): Likewise.
9936         (FLOAT): Likewise.
9937         (MATHCONST): Likewise.
9938         (PRINTF_EXPR): Likewise.
9939         (PRINTF_XEXPR): Likewise.
9940         (PRINTF_NEXPR): Likewise.
9941         (TEST_FLOAT): Likewise.
9942         (TEST_MATHVEC): Likewise.
9943         (TEST_INLINE): Likewise.
9944         (__NO_MATH_INLINES): Likewise.
9945         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
9946         and test-math-scalar.h.
9947         (FUNC): Remove macro.
9948         (FUNC_TEST): Likewise.
9949         (FLOAT): Likewise.
9950         (MATHCONST): Likewise.
9951         (PRINTF_EXPR): Likewise.
9952         (PRINTF_XEXPR): Likewise.
9953         (PRINTF_NEXPR): Likewise.
9954         (TEST_LDOUBLE): Likewise.
9955         (TEST_MATHVEC): Likewise.
9956         (TEST_INLINE): Likewise.
9957         (__NO_MATH_INLINES): Likewise.
9958         * math/test-ldouble.c: Include test-ldouble.h,
9959         test-math-no-inline.h and test-math-scalar.h.
9960         (FUNC): Remove macro.
9961         (FUNC_TEST): Likewise.
9962         (FLOAT): Likewise.
9963         (MATHCONST): Likewise.
9964         (PRINTF_EXPR): Likewise.
9965         (PRINTF_XEXPR): Likewise.
9966         (PRINTF_NEXPR): Likewise.
9967         (TEST_LDOUBLE): Likewise.
9968         (TEST_MATHVEC): Likewise.
9969         (__NO_MATH_INLINES): Likewise.
9970         * math/test-double-vlen2.h: Include test-double.h,
9971         test-math-no-inline.h and test-math-vector.h.
9972         (FLOAT): Remove macro.
9973         (FUNC): Likewise.
9974         (MATHCONST): Likewise.
9975         (PRINTF_EXPR): Likewise.
9976         (PRINTF_XEXPR): Likewise.
9977         (PRINTF_NEXPR): Likewise.
9978         (TEST_DOUBLE): Likewise.
9979         (TEST_MATHVEC): Likewise.
9980         (__NO_MATH_INLINES): Likewise.
9981         (CNCT): Likewise.
9982         (CONCAT): Likewise.
9983         (WRAPPER_NAME): Likewise.
9984         (WRAPPER_DECL): Likewise.
9985         (WRAPPER_DECL_ff): Likewise.
9986         (WRAPPER_DECL_fFF): Likewise.
9987         (VECTOR_WRAPPER): Likewise.
9988         (VECTOR_WRAPPER_ff): Likewise.
9989         (VECTOR_WRAPPER_fFF): Likewise.
9990         (VEC_LEN): New macro.
9991         * math/test-double-vlen4.h: Include test-double.h,
9992         test-math-no-inline.h and test-math-vector.h.
9993         (FLOAT): Remove macro.
9994         (FUNC): Likewise.
9995         (MATHCONST): Likewise.
9996         (PRINTF_EXPR): Likewise.
9997         (PRINTF_XEXPR): Likewise.
9998         (PRINTF_NEXPR): Likewise.
9999         (TEST_DOUBLE): Likewise.
10000         (TEST_MATHVEC): Likewise.
10001         (__NO_MATH_INLINES): Likewise.
10002         (CNCT): Likewise.
10003         (CONCAT): Likewise.
10004         (WRAPPER_NAME): Likewise.
10005         (WRAPPER_DECL): Likewise.
10006         (WRAPPER_DECL_ff): Likewise.
10007         (WRAPPER_DECL_fFF): Likewise.
10008         (VECTOR_WRAPPER): Likewise.
10009         (VECTOR_WRAPPER_ff): Likewise.
10010         (VECTOR_WRAPPER_fFF): Likewise.
10011         (VEC_LEN): New macro.
10012         * math/test-double-vlen8.h: Include test-double.h,
10013         test-math-no-inline.h and test-math-vector.h.
10014         (FLOAT): Remove macro.
10015         (FUNC): Likewise.
10016         (MATHCONST): Likewise.
10017         (PRINTF_EXPR): Likewise.
10018         (PRINTF_XEXPR): Likewise.
10019         (PRINTF_NEXPR): Likewise.
10020         (TEST_DOUBLE): Likewise.
10021         (TEST_MATHVEC): Likewise.
10022         (__NO_MATH_INLINES): Likewise.
10023         (CNCT): Likewise.
10024         (CONCAT): Likewise.
10025         (WRAPPER_NAME): Likewise.
10026         (WRAPPER_DECL): Likewise.
10027         (WRAPPER_DECL_ff): Likewise.
10028         (WRAPPER_DECL_fFF): Likewise.
10029         (VECTOR_WRAPPER): Likewise.
10030         (VECTOR_WRAPPER_ff): Likewise.
10031         (VECTOR_WRAPPER_fFF): Likewise.
10032         (VEC_LEN): New macro.
10033         * math/test-float-vlen4.h: Include test-float.h,
10034         test-math-no-inline.h and test-math-vector.h.
10035         (FLOAT): Remove macro.
10036         (FUNC): Likewise.
10037         (MATHCONST): Likewise.
10038         (PRINTF_EXPR): Likewise.
10039         (PRINTF_XEXPR): Likewise.
10040         (PRINTF_NEXPR): Likewise.
10041         (TEST_FLOAT): Likewise.
10042         (TEST_MATHVEC): Likewise.
10043         (__NO_MATH_INLINES): Likewise.
10044         (CNCT): Likewise.
10045         (CONCAT): Likewise.
10046         (WRAPPER_NAME): Likewise.
10047         (WRAPPER_DECL): Likewise.
10048         (WRAPPER_DECL_ff): Likewise.
10049         (WRAPPER_DECL_fFF): Likewise.
10050         (VECTOR_WRAPPER): Likewise.
10051         (VECTOR_WRAPPER_ff): Likewise.
10052         (VECTOR_WRAPPER_fFF): Likewise.
10053         (VEC_LEN): New macro.
10054         * math/test-float-vlen8.h: Include test-float.h,
10055         test-math-no-inline.h and test-math-vector.h.
10056         (FLOAT): Remove macro.
10057         (FUNC): Likewise.
10058         (MATHCONST): Likewise.
10059         (PRINTF_EXPR): Likewise.
10060         (PRINTF_XEXPR): Likewise.
10061         (PRINTF_NEXPR): Likewise.
10062         (TEST_FLOAT): Likewise.
10063         (TEST_MATHVEC): Likewise.
10064         (__NO_MATH_INLINES): Likewise.
10065         (CNCT): Likewise.
10066         (CONCAT): Likewise.
10067         (WRAPPER_NAME): Likewise.
10068         (WRAPPER_DECL): Likewise.
10069         (WRAPPER_DECL_ff): Likewise.
10070         (WRAPPER_DECL_fFF): Likewise.
10071         (VECTOR_WRAPPER): Likewise.
10072         (VECTOR_WRAPPER_ff): Likewise.
10073         (VECTOR_WRAPPER_fFF): Likewise.
10074         (VEC_LEN): New macro.
10075         * math/test-float-vlen16.h: Include test-float.h,
10076         test-math-no-inline.h and test-math-vector.h.
10077         (FLOAT): Remove macro.
10078         (FUNC): Likewise.
10079         (MATHCONST): Likewise.
10080         (PRINTF_EXPR): Likewise.
10081         (PRINTF_XEXPR): Likewise.
10082         (PRINTF_NEXPR): Likewise.
10083         (TEST_FLOAT): Likewise.
10084         (TEST_MATHVEC): Likewise.
10085         (__NO_MATH_INLINES): Likewise.
10086         (CNCT): Likewise.
10087         (CONCAT): Likewise.
10088         (WRAPPER_NAME): Likewise.
10089         (WRAPPER_DECL): Likewise.
10090         (WRAPPER_DECL_ff): Likewise.
10091         (WRAPPER_DECL_fFF): Likewise.
10092         (VECTOR_WRAPPER): Likewise.
10093         (VECTOR_WRAPPER_ff): Likewise.
10094         (VECTOR_WRAPPER_fFF): Likewise.
10095         (VEC_LEN): New macro.
10096         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
10097         test-vec-loop.h.
10098         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
10099         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
10100         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
10101         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
10102         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
10103         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
10104         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
10106 2015-06-24  Roland McGrath  <roland@hack.frob.com>
10108         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
10109         (__getlogin_r): ... this.
10111 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
10113         [BZ #18594]
10114         * math/s_ccosh.c (__ccosh): Compare with least normal value
10115         instead of comparing class with FP_SUBNORMAL.
10116         * math/s_ccoshf.c (__ccoshf): Likewise.
10117         * math/s_ccoshl.c (__ccoshl): Likewise.
10118         * math/s_cexp.c (__cexp): Likewise.
10119         * math/s_cexpf.c (__cexpf): Likewise.
10120         * math/s_cexpl.c (__cexpl): Likewise.
10121         * math/s_csin.c (__csin): Likewise.
10122         * math/s_csinf.c (__csinf): Likewise.
10123         * math/s_csinh.c (__csinh): Likewise.
10124         * math/s_csinhf.c (__csinhf): Likewise.
10125         * math/s_csinhl.c (__csinhl): Likewise.
10126         * math/s_csinl.c (__csinl): Likewise.
10127         * math/s_ctan.c (__ctan): Likewise.
10128         * math/s_ctanf.c (__ctanf): Likewise.
10129         * math/s_ctanh.c (__ctanh): Likewise.
10130         * math/s_ctanhf.c (__ctanhf): Likewise.
10131         * math/s_ctanhl.c (__ctanhl): Likewise.
10132         * math/s_ctanl.c (__ctanl): Likewise.
10133         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
10134         csin, csinh, ctan and ctanh.
10135         * math/auto-libm-test-out: Regenerated.
10136         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
10137         * sysdeps/i386/fpu/libm-test-ulps: Update.
10138         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10140 2015-06-24  Roland McGrath  <roland@hack.frob.com>
10142         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
10143         return value is wrong, print the expected value too.
10145 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
10147         [BZ #18585]
10148         * elf/readlib.c (is_gdb_python_file): New.
10149         (process_file): Don't issue errors on filenames with -gdb.py
10150         suffix.
10152 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
10154         * math/auto-libm-test-in: Add more tests of csin and csinh.
10155         * math/auto-libm-test-out: Regenerated.
10156         * math/libm-test.inc (csin_test_data): Remove tests moved to
10157         auto-libm-test-in.
10158         (csinh_test_data): Likewise.
10160         [BZ #18593]
10161         * math/s_csin.c (__csin): Negate before rather than after possibly
10162         overflowing multiplication.
10163         * math/s_csinf.c (__csinf): Likewise.
10164         * math/s_csinh.c (__csinh): Likewise.
10165         * math/s_csinhf.c (__csinhf): Likewise.
10166         * math/s_csinhl.c (__csinhl): Likewise.
10167         * math/s_csinl.c (__csinl): Likewise.
10168         * math/auto-libm-test-in: Add some tests of csin and csinh.
10169         * math/auto-libm-test-out: Regenerated.
10170         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
10171         (csinh_test_data): Likewise.
10172         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10174         [BZ #18586]
10175         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
10176         underflow exception for small results.
10178 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
10180         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
10181         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
10182         variable and included header.
10183         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
10184         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
10185         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
10186         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
10187         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
10188         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
10189         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
10190         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
10191         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
10192         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
10193         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
10194         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
10195         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
10196         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
10197         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
10198         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
10200 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
10202         [BZ #16526]
10203         [BZ #16538]
10204         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
10205         (__sin): Force underflow exception for arguments with small
10206         absolute value.
10207         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
10208         (__kernel_sinf): Force underflow exception for arguments with
10209         small absolute value.
10210         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
10211         (__kernel_sincosl): Force underflow exception for arguments with
10212         small absolute value.
10213         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
10214         (__kernel_sinl): Force underflow exception for arguments with
10215         small absolute value.
10216         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
10217         (__kernel_sincosl): Force underflow exception for arguments with
10218         small absolute value.
10219         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
10220         (__kernel_sinl): Force underflow exception for arguments with
10221         small absolute value.
10222         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
10223         (__kernel_sinl): Force underflow exception for arguments with
10224         small absolute value.
10225         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
10226         (__kernel_sinf): Force underflow exception for arguments with
10227         small absolute value.
10228         * math/auto-libm-test-in: Add more tests of sin and sincos.
10229         * math/auto-libm-test-out: Regenerated.
10231         [BZ #18245]
10232         [BZ #18583]
10233         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
10234         (__kernel_standard_l): Use feholdexcept and fesetenv around
10235         conversion to double instead of special-casing overflow and
10236         underflow.
10237         * math/libm-test.inc (fmod_test_data): Add more tests.
10238         (remainder_test_data): Likewise.
10239         (sqrt_test_data): Likewise.
10241 2015-06-23  Torvald Riegel  <triegel@redhat.com>
10243         [BZ #17403]
10244         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
10245         atomic_read_barrier, atomic_write_barrier): Define.
10246         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
10247         atomic_read_barrier, atomic_write_barrier): Define.
10249 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
10251         * math/Makefile [$(PERL) != no]
10252         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
10253         dependency on libm-test.stmp below the inclusion of Rules.
10255 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
10257         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
10258         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
10259         and included header.
10260         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
10261         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
10262         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
10263         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
10264         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
10265         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
10266         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
10267         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
10268         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
10269         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
10270         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
10271         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
10272         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
10273         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
10274         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
10275         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
10276         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
10277         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
10278         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
10280 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
10282         [BZ #18371]
10283         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
10284         intermediate but not final result might underflow.
10285         * math/s_csqrtf.c (__csqrtf): Likewise.
10286         * math/s_csqrtl.c (__csqrtl): Likewise.
10287         * math/auto-libm-test-in: Add more tests of csqrt.
10288         * math/auto-libm-test-out: Regenerated.
10289         * sysdeps/i386/fpu/libm-test-ulps: Update.
10291         [BZ #18219]
10292         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
10293         threshold on absolute value of exponent for which scaling is used.
10294         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
10295         * math/auto-libm-test-in: Add more tests of exp2.
10296         * math/auto-libm-test-out: Regenerated.
10298 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
10300         [BZ #17977]
10301         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
10302         when initializing interface list, based on the bug analysis
10303         and the patch proposed by Eric Newton.
10304         * resolv/tst-res_hconf_reorder.c: New test.
10305         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
10306         tst-res_hconf_reorder.
10307         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
10308         and $(shared-thread-library).
10309         (tst-res_hconf_reorder-ENV): New variable.
10311         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
10312         in comment.
10314 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
10316         [BZ #16353]
10317         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
10318         (__expm1): Force underflow exception for arguments with small
10319         absolute value.
10320         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
10321         (__expm1f): Force underflow exception for arguments with small
10322         absolute value.
10323         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
10324         (__expm1): Force underflow exception for arguments with small
10325         absolute value.
10326         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
10327         (__expm1f): Force underflow exception for arguments with small
10328         absolute value.
10329         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
10330         Check for small arguments before calling __expm1.
10331         * math/auto-libm-test-in: Do not mark underflow exceptions as
10332         possibly missing for bug 16353.
10333         * math/auto-libm-test-out: Regenerated.
10335 2015-06-22  Andreas Schwab  <schwab@suse.de>
10337         [BZ #18513]
10338         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
10339         PTR queries.
10341 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
10343         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
10345         * string/strcoll_l.c: Remove unused struct element idxnow.
10347 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
10349         [BZ #18569]
10350         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
10351         underflow and return argument in case of subnormal argument.
10352         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
10353         Likewise.
10354         * math/auto-libm-test-in: Add more tests of expm1.
10355         * math/auto-libm-test-out: Regenerated.
10357         [BZ #16361]
10358         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
10359         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
10360         tiny results.
10361         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
10362         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
10363         tiny results.
10364         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
10365         mark underflow exceptions as possibly missing for bug 16361.
10366         * math/auto-libm-test-out: Regenerated.
10368 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
10370         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
10371         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
10372         Remove variable.
10373         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
10374         (test-xfail-XOPEN2K8/utmpx.h/conform).
10376         * conform/conformtest.pl ($xerrors): New variable.
10377         (note_error): New function.
10378         (compiletest): New argument $xfail.  Use not_error.
10379         (runtest): Likewise.
10380         (top level): Handle xfail- lines.  Update calls to compiletest and
10381         runtest.  Handle xfail- and optional- in headers listed with
10382         allow-header.
10383         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
10384         (O_EXEC): Likewise.
10385         (O_SEARCH): Likewise.
10386         * conform/data/stropts.h-data (ioctl): Likewise.
10387         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
10388         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
10389         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
10390         (msghdr.msg_controllen): Likewise.
10391         (cmsghdr.cmsg_len): Likewise.
10392         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
10393         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
10394         variable.
10395         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
10396         (test-xfail-XPG4/stropts.h/conform): Likewise.
10397         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
10398         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
10399         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
10400         (test-xfail-UNIX98/stropts.h/conform): Likewise.
10401         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
10402         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
10403         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
10404         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
10405         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
10406         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
10407         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
10408         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
10409         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
10410         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
10411         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
10412         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
10413         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
10414         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
10415         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
10417 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
10419         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
10420         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
10421         definitions for proper unfolding of __MATHDECL_VEC.
10423 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
10425         * benchtests/bench-strcoll.c:
10426         Include string.h.
10427         (main): Remove unused variable res.
10429 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
10431         * timezone/Makefile (%/UTC %/Universal):
10432         Generate test-result files for UTC and Universal.
10434 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
10436         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
10438 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
10440         [BZ #16350]
10441         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
10442         for arguments with small absolute value.
10443         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
10444         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
10445         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
10446         (__asinh): Force underflow exception for arguments with small
10447         absolute value.
10448         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
10449         (__asinhf): Force underflow exception for arguments with small
10450         absolute value.
10451         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
10452         (__asinhl): Force underflow exception for arguments with small
10453         absolute value.
10454         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
10455         (__asinhl): Force underflow exception for arguments with small
10456         absolute value.
10457         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
10458         (__asinhl): Force underflow exception for arguments with small
10459         absolute value.
10460         * math/auto-libm-test-in: Do not mark underflow exceptions as
10461         possibly missing for bug 16350.
10462         * math/auto-libm-test-out: Regenerated.
10464         * include/bits/ipc.h: Remove file.
10465         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
10466         variable.
10467         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
10468         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
10469         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
10470         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
10471         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
10472         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
10473         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
10474         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
10475         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
10477         * math/auto-libm-test-in: Remove spurious underflow allowance for
10478         tests of cexp.
10479         * math/auto-libm-test-out: Regenerated.
10481         [BZ #18558]
10482         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
10483         unconditional definition.
10484         (MCAST_BLOCK_SOURCE): Likewise.
10485         (MCAST_UNBLOCK_SOURCE): Likewise.
10486         (MCAST_LEAVE_GROUP): Likewise.
10487         (MCAST_JOIN_SOURCE_GROUP): Likewise.
10488         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
10489         (MCAST_MSFILTER): Likewise.
10490         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
10491         Remove variable.
10492         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
10493         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
10494         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
10495         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
10496         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
10498 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
10500         * NEWS: Mention addition of x86_64 vector sincosf.
10501         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
10502         * math/test-float-vlen4.h: Likewise.
10503         * math/test-float-vlen8.h: Likewise.
10504         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
10505         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
10506         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
10507         * sysdeps/x86_64/fpu/Versions: New versions added.
10508         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
10509         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
10510         Added build of SSE, AVX2 and AVX512 IFUNC versions.
10511         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
10512         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
10513         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
10514         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
10515         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
10516         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
10517         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
10518         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
10519         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
10520         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
10521         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
10522         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
10523         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
10524         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
10525         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
10526         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
10527         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
10528         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
10529         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
10530         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
10531         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
10533         * NEWS: Mention addition of x86_64 vector sincos.
10534         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
10535         * math/math.h (__MATHDECL_VEC): New macro.
10536         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
10537         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
10538         declaration under condition.
10539         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
10540         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
10541         TEST_VEC_LOOP change.
10542         * math/test-double-vlen4.h: Likewise.
10543         * math/test-double-vlen8.h: Likewise.
10544         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
10545         * math/test-float-vlen4.h: Likewise.
10546         * math/test-float-vlen8.h: Likewise.
10547         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
10548         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
10549         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
10550         * sysdeps/x86_64/fpu/Versions: New versions added.
10551         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
10552         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
10553         Added build of SSE, AVX2 and AVX512 IFUNC versions.
10554         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
10555         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
10556         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
10557         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
10558         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
10559         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
10560         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
10561         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
10562         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
10563         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
10564         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
10565         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
10566         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
10567         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
10568         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
10569         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
10570         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
10571         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
10572         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
10573         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
10574         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
10576         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
10577         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
10578         redirections for powf.
10579         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
10580         * sysdeps/x86_64/fpu/Versions: New versions added.
10581         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
10582         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
10583         Added build of SSE, AVX2 and AVX512 IFUNC versions.
10584         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
10585         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
10586         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
10587         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
10588         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
10589         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
10590         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
10591         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
10592         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
10593         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
10594         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
10595         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
10596         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
10597         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
10598         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
10599         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
10600         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
10601         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
10602         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
10603         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
10604         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
10605         * math/test-float-vlen16.h: Fixed 2 argument macro.
10606         * math/test-float-vlen4.h: Likewise.
10607         * math/test-float-vlen8.h: Likewise.
10608         * NEWS: Mention addition of x86_64 vector powf.
10610 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
10612         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
10613         and redefine.
10614         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
10615         and redefine.
10616         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
10617         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
10618         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
10620         [BZ #18553]
10621         * resource/getpriority.c (getpriority): Rename to __getpriority
10622         and define as weak alias of __getpriority.
10623         * resource/setpriority.c (setpriority): Rename to __setpriority
10624         and define as weak alias of __setpriority.
10625         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
10626         __getpriority and define as weak alias of __getpriority.
10627         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
10628         __setpriority and define as weak alias of __setpriority.
10629         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
10630         strong name.
10631         (setpriority): Use __setpriority as strong name.
10632         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
10633         __getpriority and define as weak alias of __getpriority.
10634         * include/sys/resource.h (__getpriority): Declare.  Use
10635         libc_hidden_proto.
10636         (__setpriority): Likewise.
10637         (getpriority): Don't use libc_hidden_proto.
10638         (setpriority): Likewise.
10639         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
10640         getpriority.  Call __setpriority instead of setpriority.
10641         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
10642         Remove variable.
10644         [BZ #18547]
10645         * misc/getttyent.c (getttynam): Rename to __getttynam and define
10646         as weak alias of __getttynam.  Use prototype function definition.
10647         Call __setttyent, __getttyent and __endttyent instead of
10648         setttyent, getttyent and endttyent.
10649         (getttyent): Rename to __getttyent and define as weak alias of
10650         __getttyent.  Call __setttyent instead of setttyent.  Call
10651         __fgets_unlocked instead of fgets_unlocked.
10652         (setttyent): Rename to __setttyent and define as weak alias of
10653         __setttyent.
10654         (endttyent): Rename to __endttyent and define as weak alias of
10655         __endttyent.
10656         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
10657         (__setttyent): Likewise.
10658         (__endttyent): Likewise.
10659         (getttyent): Don't use libc_hidden_proto.
10660         (setttyent): Likewise.
10661         (endttyent): Likewise.
10662         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
10663         __endttyent instead of setttyent, getttyent and endttyent.
10664         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
10665         Remove variable.
10667         [BZ #18546]
10668         * socket/recv.c (__recv): Use libc_hidden_def.
10669         * socket/socket.c (__socket): Likewise.
10670         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
10671         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
10672         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
10673         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
10674         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
10675         libc_hidden_def.
10676         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
10677         libc_hidden_weak.
10678         * include/sys/socket.h (__socket): Do not use attribute_hidden.
10679         Use libc_hidden_proto.
10680         (__recv): Likewise.
10681         * socket/Versions (libc): Export __recv and __socket at version
10682         GLIBC_PRIVATE.
10683         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
10684         instead of recv.
10685         (init_mq_netlink): Call __socket instead of socket.
10686         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
10687         Remove variable.
10689         [BZ #18545]
10690         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
10691         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
10692         hidden_weak.
10693         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
10694         define as alias of __mq_timedsend.  Use hidden_weak.
10695         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
10696         __mq_timedsend as strong name.
10697         (mq_timedreceive): Use __mq_timedreceive as strong name.
10698         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
10699         (__mq_timedreceive): Likewise.
10700         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
10701         __mq_timedreceive instead of mq_timedreceive.
10702         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
10703         instead of mq_timedsend.
10704         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
10705         Remove variable.
10707         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
10708         hidden_def and hidden_weak instead of libc_hidden_def and
10709         libc_hidden_weak.
10710         (top level): Refer to hidden_def in comment.
10711         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
10712         macro.  Use it instead of libc_hidden_def.
10713         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
10714         specify __GI_* name explicitly.
10715         (mq_timedreceive): Likewise.
10716         (mq_setattr): Likewise.
10718         [BZ #18544]
10719         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
10720         __pthread_barrier_init and define as weak alias of
10721         __pthread_barrier_init.
10722         * sysdeps/sparc/nptl/pthread_barrier_init.c
10723         (pthread_barrier_init): Likewise.
10724         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
10725         __pthread_barrier_wait and define as weak alias of
10726         __pthread_barrier_wait.
10727         * sysdeps/sparc/nptl/pthread_barrier_wait.c
10728         (pthread_barrier_wait): Likewise.
10729         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
10730         (pthread_barrier_wait): Likewise.
10731         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
10732         (pthread_barrier_wait): Likewise.
10733         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
10734         (pthread_barrier_wait): Likewise.
10735         * nptl/Versions (libpthread): Export __pthread_barrier_init and
10736         __pthread_barrier_wait at version GLIBC_PRIVATE.
10737         * include/pthread.h (__pthread_barrier_init): Declare.
10738         (__pthread_barrier_wait): Likewise.
10739         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
10740         Call __pthread_barrier_wait instead of pthread_barrier_wait.
10741         (helper_thread): Likewise.
10742         (init_mq_netlink): Call __pthread_barrier_init instead of
10743         pthread_barrier_init.
10745         [BZ #18542]
10746         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
10747         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
10748         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
10749         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
10750         vswscanf.
10751         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
10752         Remove variable.
10754         [BZ #18540]
10755         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
10756         strong alias of _IO_fflush.  Use libc_hidden_def.
10757         * libio/iofflush_u.c (fflush_unlocked): Rename to
10758         __fflush_unlocked and define as weak alias of __fflush_unlocked.
10759         Use libc_hidden_weak.
10760         * include/stdio.h (__fflush_unlocked): Declare.  Use
10761         libc_hidden_proto.
10762         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
10763         fflush_unlocked.
10764         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
10765         Remove variable.
10767         [BZ #18539]
10768         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
10769         define as weak alias of __addseverity.
10770         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
10771         Remove variable.
10772         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
10773         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
10774         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
10776         [BZ #18536]
10777         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
10778         (__tfind): Likewise.
10779         (__tdelete): Likewise.
10780         (__twalk): Likewise.
10781         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
10782         __twalk to GLIBC_PRIVATE.
10783         * include/search.h (__tsearch): Use libc_hidden_proto.
10784         (__tfind): Likewise.
10785         (__tdelete): Likewise.
10786         (__twalk): Likewise.
10787         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
10788         Call __tdelete instead of tdelete.
10789         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
10790         tfind.  Call __tsearch instead of tsearch.
10791         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
10792         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
10793         Remove variable.
10794         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
10796         [BZ #18534]
10797         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
10798         (dprintf): Define as a weak alias of __dprintf, not a strong
10799         alias.
10800         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
10801         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
10802         dprintf.
10803         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
10804         Remove variable.
10805         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
10806         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
10808         [BZ #18533]
10809         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
10810         not a strong alias.
10811         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
10812         Remove variable.
10814         [BZ #18532]
10815         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
10816         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
10817         (in6addr_loopback): Rename to __in6addr_loopback and define as
10818         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
10819         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
10820         libc_hidden_proto.
10821         (__in6addr_any): Likewise.
10822         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
10823         in6addr_any.
10824         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
10825         variable.
10826         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
10828 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
10830         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
10831         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
10832         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
10833         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
10834         redirections for pow.
10835         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
10836         * sysdeps/x86_64/fpu/Versions: New versions added.
10837         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
10838         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
10839         build of SSE, AVX2 and AVX512 IFUNC versions.
10840         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
10841         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
10842         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
10843         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
10844         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
10845         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
10846         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
10847         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
10848         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
10849         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
10850         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
10851         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
10852         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
10853         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
10854         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
10855         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
10856         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
10857         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
10858         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
10859         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
10860         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
10861         * NEWS: Mention addition of x86_64 vector pow.
10863         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
10864         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
10865         redirections for expf.
10866         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
10867         * sysdeps/x86_64/fpu/Versions: New versions added.
10868         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
10869         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
10870         build of SSE, AVX2 and AVX512 IFUNC versions.
10871         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
10872         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
10873         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
10874         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
10875         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
10876         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
10877         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
10878         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
10879         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
10880         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
10881         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
10882         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
10883         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
10884         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
10885         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
10886         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
10887         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
10888         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
10889         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
10890         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
10891         * NEWS: Mention addition of x86_64 vector expf.
10893         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
10894         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
10895         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
10896         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
10897         redirections for exp.
10898         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
10899         * sysdeps/x86_64/fpu/Versions: New versions added.
10900         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
10901         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
10902         build of SSE, AVX2 and AVX512 IFUNC versions.
10903         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
10904         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
10905         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
10906         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
10907         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
10908         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
10909         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
10910         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
10911         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
10912         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
10913         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
10914         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
10915         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
10916         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
10917         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
10918         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
10919         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
10920         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
10921         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
10922         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
10923         * NEWS: Mention addition of x86_64 vector exp.
10925         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
10926         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
10927         redirections for logf.
10928         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
10929         * sysdeps/x86_64/fpu/Versions: New versions added.
10930         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
10931         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
10932         build of SSE, AVX2 and AVX512 IFUNC versions.
10933         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
10934         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
10935         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
10936         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
10937         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
10938         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
10939         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
10940         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
10941         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
10942         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
10943         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
10944         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
10945         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
10946         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
10947         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
10948         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
10949         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
10950         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
10951         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
10952         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
10953         * NEWS: Mention addition of x86_64 vector logf.
10955         * bits/libm-simd-decl-stubs.h: Added stubs for log.
10956         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
10957         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
10958         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
10959         redirections for log.
10960         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
10961         * sysdeps/x86_64/fpu/Versions: New versions added.
10962         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
10963         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
10964         build of SSE, AVX2 and AVX512 IFUNC versions.
10965         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
10966         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
10967         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
10968         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
10969         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
10970         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
10971         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
10972         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
10973         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
10974         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
10975         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
10976         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
10977         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
10978         test.
10979         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
10980         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
10981         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
10982         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
10983         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
10984         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
10985         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
10986         * NEWS: Mention addition of x86_64 vector log.
10988 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
10990         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
10991         cfi_adjust_cfa_offset argument.
10992         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
10993         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
10995         [BZ #18034]
10996         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
10997         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
10998         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
10999         ordering using ldar.
11000         (_dl_tlsdesc_dynamic): Likewise.
11001         (_dl_tlsdesc_return_lazy): Likewise.
11002         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
11003         relaxed atomics instead of volatile and synchronize with release store.
11004         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
11005         volatile.
11006         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
11008 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
11010         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
11011         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
11012         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
11013         * sysdeps/x86_64/fpu/Versions: New versions added.
11014         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
11015         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
11016         build of SSE, AVX2 and AVX512 IFUNC versions.
11017         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
11018         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
11019         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
11020         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
11021         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
11022         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
11023         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
11024         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
11025         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
11026         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
11027         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
11028         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
11029         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
11030         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
11031         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
11032         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
11033         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
11034         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
11035         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
11036         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
11037         * NEWS: Mention addition of x86_64 vector sinf.
11039 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
11041         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
11042         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
11043         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
11044         Remove variable.
11045         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
11046         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
11048 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
11050         [BZ #18530]
11051         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
11052         strong alias of _IO_fputs.  Use libc_hidden_def.
11053         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
11054         and define as weak alias of __fputs_unlocked.  Use
11055         libc_hidden_weak.
11056         * include/stdio.h (__fputs_unlocked): Declare.  Use
11057         libc_hidden_proto.
11058         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
11059         fputs_unlocked.
11061         [BZ #18529]
11062         * resolv/netdb.h [__USE_POSIX]: Change condition to
11063         [__USE_XOPEN2K].
11064         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
11065         not expect.
11066         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
11067         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
11068         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
11069         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
11070         [XPG4 || UNIX98] (AI_ALL): Likewise.
11071         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
11072         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
11073         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
11074         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
11075         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
11076         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
11077         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
11078         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
11079         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
11080         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
11081         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
11082         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
11083         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
11084         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
11085         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
11086         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
11087         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
11088         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
11089         [XPG4 || UNIX98] (gai_strerror): Likewise.
11090         [XPG4 || UNIX98] (getaddrinfo): Likewise.
11091         [XPG4 || UNIX98] (getnameinfo): Likewise.
11093         [BZ #18528]
11094         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
11095         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
11096         __USE_XOPEN2K8].
11097         (getgrent): Likewise.
11098         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
11099         expect.
11100         [XPG3 || POSIX2008] (endgrent): Likewise.
11101         [XPG3] (setgrent): Likewise.
11102         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
11103         variable.
11104         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
11106         [BZ #18527]
11107         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
11108         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
11109         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
11110         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
11111         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
11112         * include/unistd.h (__getlogin_r): Declare.  Use
11113         libc_hidden_proto.
11114         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
11115         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
11116         variable.
11117         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
11118         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
11119         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
11121 2015-06-12  Martin Sebor  <msebor@redhat.com>
11123         [BZ #18512]
11124         * Makerules (check-install-supported): New target.
11125         (install): Add check-install-supported as a dependency.
11126         * manual/install.texi (Installing the C Library): Document
11127         that overriding prefix and exec_prefix is not supported.
11128         Mention DESTDIR.
11129         * INSTALL: Regenerate from the above.
11131 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
11133         [BZ #18519]
11134         * posix/Versions (libc): Export __libc_pread at version
11135         GLIBC_PRIVATE.
11136         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
11137         instead of pread.
11138         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
11139         variable.
11141         [BZ #18522]
11142         * misc/efgcvt_r.c
11143         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
11144         (cvt_symbol): Use weak_alias instead of strong_alias.
11145         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
11146         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
11147         Remove variable.
11148         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
11149         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
11151         [BZ #18520]
11152         * inet/herrno.c (h_errno): Rename to __h_errno.
11153         (__libc_h_errno): Define as alias of __h_errno not h_errno.
11154         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
11155         to __h_errno instead of h_errno.
11156         * nptl/herrno.c (h_errno): Rename to __h_errno.
11157         (__h_errno_location): Refer to __h_errno not h_errno.
11158         * resolv/Versions (h_errno): Rename to __h_errno.
11159         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
11160         Remove variable.
11161         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
11163 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
11165         * configure.ac: More strict check for AVX512 assembler support.
11166         * configure: Regenerated.
11168         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
11169         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
11170         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
11171         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
11172         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
11173         * sysdeps/x86_64/fpu/Versions: New versions added.
11174         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
11175         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
11176         Added build of SSE, AVX2 and AVX512 IFUNC versions.
11177         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
11178         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
11179         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
11180         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
11181         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
11182         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
11183         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
11184         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
11185         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
11186         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
11187         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
11188         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
11189         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
11190         test.
11191         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
11192         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
11193         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
11194         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
11195         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
11196         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
11197         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
11198         * NEWS: Mention addition of x86_64 vector sin.
11200 2015-06-11  Florian Weimer  <fweimer@redhat.com>
11202         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
11203         comment.
11205 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
11207         [BZ #18479]
11208         * nptl/pt-interp.c: New file.
11209         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
11210         Add pt-interp.
11211         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
11212         $(common-objpfx)runtime-linker.h.
11214 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
11216         * Makeconfig (+interp): Remove unused variable.
11217         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
11218         only.  Depend on $(common-objpfx)runtime-linker.h instead of
11219         $(elf-objpfx)runtime-linker.h.
11220         ($(elf-objpfx)runtime-linker.h): Rename to
11221         $(common-objpfx)runtime-linker.h and move ...
11222         * Makerules [$(build-shared) = yes]: ... here.
11223         * elf/interp.c: Include <runtime-linker.h> instead of
11224         <elf/runtime-linker.h>.
11226 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11228         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
11229         (__gettimeofday_syscall): Remove vsyscall fallback.
11230         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
11231         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
11232         Add syscall fallback function.
11233         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
11234         if vDSO is not present.
11235         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
11236         fallback function.
11237         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
11238         present.
11239         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
11240         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
11242 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
11244         [BZ #18497]
11245         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
11246         of wcscmp.
11247         (wcscmp): Define as weak alias of WCSCMP.
11248         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
11249         wcscoll.
11250         (USE_HIDDEN_DEF): Define.
11251         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
11252         __wcscoll.  Don't use libc_hidden_weak.
11253         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
11254         wcscmp.
11255         * sysdeps/i386/i686/multiarch/wcscmp-c.c
11256         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
11257         __GI_wcscmp.
11258         (weak_alias): Undefine and redefine.
11259         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
11260         __wcscmp and define as weak alias of __wcscmp.
11261         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
11262         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
11263         (__wcscoll): Likewise.
11264         (wcscmp): Don't use libc_hidden_proto.
11265         (wcscoll): Likewise.
11266         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
11267         wcscoll.
11268         * posix/regexec.c (check_node_accept_bytes): Likewise.
11269         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
11270         variable.
11271         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
11272         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
11274         [BZ #18507]
11275         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
11276         __fstatvfs and define as weak alias of __fstatvfs.  Use
11277         libc_hidden_weak.
11278         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
11279         and define as weak alias of __statvfs.  Use libc_hidden_weak.
11280         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
11281         Define as alias of __fstatvfs, not fstatvfs.
11282         (fstatvfs64): Likewise.
11283         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
11284         Define as alias of __statvfs, not statvfs.
11285         (statvfs64): Likewise.
11286         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
11287         Remove variable.
11289 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11291         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
11292         (HAVE_GETCPU_VSYSCALL): Define.
11293         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
11294         (HAVE_GETCPU_VSYSCALL): Likewise.
11295         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
11296         * sysdeps/unix/sysv/linux/sched_getcpu.c
11297         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
11298         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
11299         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
11300         prototype.
11301         * sysdeps/unix/sysv/linux/x86_64/init-first.c
11302         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
11303         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
11304         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
11305         Define.
11306         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
11307         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
11308         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
11309         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
11311 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
11313         * sysdeps/x86_64/fpu/Makefile: New file.
11314         * sysdeps/x86_64/fpu/Versions: New file.
11315         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
11316         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
11317         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
11318         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
11319         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
11320         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
11321         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
11322         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
11323         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
11324         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
11325         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
11326         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
11327         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
11328         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
11329         Added build of SSE, AVX2 and AVX512 IFUNC versions.
11330         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
11331         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
11332         * sysdeps/x86_64/configure.ac: Options for libmvec build.
11333         * sysdeps/x86_64/configure: Regenerated.
11334         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
11335         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
11336         * manual/install.texi (Configuring and compiling): Document
11337         --disable-mathvec.
11338         * INSTALL: Regenerated.
11339         * NEWS: Mention addition of libmvec and x86_64 vector cos.
11341         * math/Makefile: Added rules for vector tests.
11342         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
11343         declaration under condition.
11344         * math/test-double-vlen2.h: New file.
11345         * math/test-double-vlen4.h: New file.
11346         * math/test-double-vlen8.h: New file.
11347         * math/test-vec-loop.h: Added initialization macro.
11348         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
11349         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
11350         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
11351         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
11352         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
11353         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
11354         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
11355         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
11356         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
11357         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
11358         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
11360         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
11361         * sysdeps/x86_64/fpu/Versions: New versions added.
11362         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
11363         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
11364         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
11365         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
11366         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
11367         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
11368         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
11369         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
11370         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
11371         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
11372         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
11373         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
11374         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
11375         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
11376         Added build of SSE, AVX2 and AVX512 IFUNC versions.
11377         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
11378         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
11379         * NEWS: Mention addition of x86_64 vector cosf.
11381         * math/Makefile: Added CFLAGS for new tests.
11382         * math/test-float-vlen16.h: New file.
11383         * math/test-float-vlen4.h: New file.
11384         * math/test-float-vlen8.h: New file.
11385         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
11386         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
11387         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
11388         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
11389         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
11390         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
11391         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
11392         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
11393         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
11394         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
11395         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
11397 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
11399         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
11400         * locale/programs/ld-ctype.c: Likewise.
11402 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
11404         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
11405         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
11406         bit_ZMM16_31_state): New macro.
11407         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11408         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
11410 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
11412         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
11414 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
11416         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
11418 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
11420         [BZ #18498]
11421         * libio/memstream.c (open_memstream): Rename to __open_memstream
11422         and define as weak alias of __open_memstream.
11423         * include/stdio.h (__open_memstream): Declare.  Use
11424         libc_hidden_proto.
11425         (open_memstream): Don't use libc_hidden_proto.
11426         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
11427         open_memstream.
11428         * posix/getopt.c (_getopt_internal_r): Likewise.
11429         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
11430         variable.
11431         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
11432         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
11433         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
11435         [BZ #18496]
11436         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
11437         instead of wcrtomb.
11439         [BZ #18483]
11440         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
11441         [__USE_XOPEN2K8].  Remove redundant #endif.
11442         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
11443         Remove redundant #if.
11444         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
11445         Remove variable.
11446         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
11447         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
11449         [BZ #18495]
11450         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
11451         (__iswlower): Likewise.
11452         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
11453         (__iswlower): Likewise.
11454         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
11455         instead of towlower.
11456         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
11457         instead of iswlower.  Call __towupper instead of towupper.
11458         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
11459         instead of iswalnum.
11461 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
11463         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
11464         errors to stderr.
11466 2015-06-05  Florian Weimer  <fweimer@redhat.com>
11468         [BZ #15661]
11469         [BZ #17322]
11470         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
11471         Check for overflow properly.  Check for O_APPEND.  Ignore large
11472         file system block sizes.  Add comments about problems.
11473         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
11474         * manual/filesys.texi (Storage Allocation): New node.
11476 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11478         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
11479         cancellable syscalls.
11480         (SYS_ify): Add guard to no redefine it.
11481         (INLINE_SYSCALL): Likewise.
11482         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
11483         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
11484         SYSCALL_CANCEL instead.
11485         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
11486         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
11487         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
11488         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
11489         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
11490         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
11491         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
11492         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
11493         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
11494         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
11495         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
11496         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
11497         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
11498         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
11499         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
11500         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
11501         Likewise.
11502         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
11503         (__libc_pread64): Likewise.
11504         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
11505         (__libc_preadv): Likewise.
11506         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
11507         (__libc_readv64): Likewise.
11508         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
11509         (__libc_pwrite): Likewise.
11510         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
11511         (__libc_pwrite64): Likewise.
11512         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
11513         (__libc_pwritev): Likewise.
11514         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
11515         (__libc_pwritev64): Likewise.
11516         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
11517         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
11518         (sync_file_range): Likewise.
11519         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
11520         Likewise.
11521         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
11522         Likewise.
11523         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
11524         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
11525         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
11526         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
11527         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
11528         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
11529         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
11530         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
11531         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
11532         Likewise.
11533         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
11534         (__libc_read64): Likewise.
11535         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
11536         Likewise.
11537         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
11538         Likewise.
11539         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
11540         Likewise.
11541         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
11542         Likewise.
11543         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
11544         (__libc_pread64): Likewise.
11545         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
11546         Likewise.
11547         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
11548         (__libc_pwrite64): Likewise.
11549         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
11550         (sync_file_range): Likewise.
11551         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
11552         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
11553         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
11554         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
11555         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
11556         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
11557         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
11558         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
11559         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
11560         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
11561         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
11562         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
11563         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
11564         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
11565         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
11566         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
11567         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
11568         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
11569         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
11570         Likewise.
11571         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
11572         Likewise.
11573         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
11574         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
11575         Likewise.
11576         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
11577         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
11578         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
11579         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
11580         Likewise.
11581         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
11582         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
11583         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
11584         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
11585         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
11587 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
11589         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
11590         Include dl-vdso.
11591         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
11592         Use VDSO routines for gettimeofday, clock_gettime if
11593         available.
11594         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
11595         Declare VDSO symbols.
11596         * sysdeps/unix/sysv/linux/arm/sysdep.h:
11597         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
11598         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
11599         * sysdeps/unix/sysv/linux/arm/Versions: Add
11600         __vdso_clock_gettime.
11602 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11604         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
11605         be an inline implementation regardless of library is built within.
11606         (open_not_cancel_2): Likewise.
11607         (__read_nocancel): Likewise.
11608         (__write_nocancel): Likewise.
11609         (openat_not_cancel): Likewise.
11610         (openat_not_cancel_3): Likewise.
11611         (openat64_not_cancel): Likewise.
11612         (openat64_not_cancel_3): Likewise.
11613         (__close_nocancel): Likewise.
11614         (pause_not_cancel): Likewise.
11615         (nanosleep_not_cancel): Likewise.
11616         (sigsuspend_not_cancel): Likewise.
11618 2015-06-04  Torvald Riegel  <triegel@redhat.com>
11620         [BZ #14958]
11621         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
11622         wake-up.
11623         (__pthread_rwlock_rdlock_slow): Likewise.
11624         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
11625         Likewise.
11626         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
11627         Likewise.
11628         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
11629         * nptl/tst-rwlock16.c: New file.
11630         * nptl/Makefile (tests): Add new test.
11632 2015-06-04  Torvald Riegel  <triegel@redhat.com>
11634         [BZ #18324]
11635         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
11636         missing wake-up of readers.
11637         * nptl/tst-rwlock15.c: New file.
11638         * nptl/Makefile (tests): Add new test.
11640 2015-06-03  Roland McGrath  <roland@hack.frob.com>
11642         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
11643         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
11644         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
11645         and __nacl_supply_interface_rtld.
11646         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
11647         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
11648         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
11649         Add __nacl_supply_interface_rtld.
11650         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
11652 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
11654         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
11655         isfinite.
11656         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
11657         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
11659 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
11661         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
11662         __signbit* with standard C99 macros.
11663         * math/e_exp10l.c: Likewise.
11664         * math/e_exp2l.c: Likewise.
11665         * math/e_scalb.c: Likewise.
11666         * math/e_scalbf.c: Likewise.
11667         * math/e_scalbl.c: Likewise.
11668         * math/s_ldexp.c: Likewise.
11669         * math/s_ldexpf.c: Likewise.
11670         * math/s_ldexpl.c: Likewise.
11671         * math/w_atan2.c: Likewise.
11672         * math/w_atan2f.c: Likewise.
11673         * math/w_atan2l.c: Likewise.
11674         * math/w_cosh.c: Likewise.
11675         * math/w_coshf.c: Likewise.
11676         * math/w_coshl.c: Likewise.
11677         * math/w_exp10.c: Likewise.
11678         * math/w_exp10f.c: Likewise.
11679         * math/w_exp10l.c: Likewise.
11680         * math/w_exp2.c: Likewise.
11681         * math/w_exp2f.c: Likewise.
11682         * math/w_exp2l.c: Likewise.
11683         * math/w_fmod.c: Likewise.
11684         * math/w_fmodf.c: Likewise.
11685         * math/w_fmodl.c: Likewise.
11686         * math/w_hypot.c: Likewise.
11687         * math/w_hypotf.c: Likewise.
11688         * math/w_hypotl.c: Likewise.
11689         * math/w_jnl.c: Likewise.
11690         * math/w_lgamma.c: Likewise.
11691         * math/w_lgamma_r.c: Likewise.
11692         * math/w_lgammaf.c: Likewise.
11693         * math/w_lgammaf_r.c: Likewise.
11694         * math/w_lgammal.c: Likewise.
11695         * math/w_lgammal_r.c: Likewise.
11696         * math/w_pow.c: Likewise.
11697         * math/w_powf.c: Likewise.
11698         * math/w_powl.c: Likewise.
11699         * math/w_remainder.c: Likewise.
11700         * math/w_remainderf.c: Likewise.
11701         * math/w_remainderl.c: Likewise.
11702         * math/w_scalb.c: Likewise.
11703         * math/w_scalbf.c: Likewise.
11704         * math/w_scalbl.c: Likewise.
11705         * math/w_scalbln.c: Likewise.
11706         * math/w_scalblnf.c: Likewise.
11707         * math/w_scalblnl.c: Likewise.
11708         * math/w_sinh.c: Likewise.
11709         * math/w_sinhf.c: Likewise.
11710         * math/w_sinhl.c: Likewise.
11711         * math/w_tgamma.c: Likewise.
11712         * math/w_tgammaf.c: Likewise.
11713         * math/w_tgammal.c: Likewise.
11714         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
11715         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
11716         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
11717         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
11718         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
11719         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11720         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
11721         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
11722         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
11723         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
11724         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
11725         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
11726         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
11727         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
11728         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
11729         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
11730         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
11731         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
11732         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
11733         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
11734         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
11735         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
11736         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
11737         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
11738         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
11739         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
11740         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
11741         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
11742         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
11743         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
11744         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
11745         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
11746         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
11747         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
11748         * stdio-common/printf_fp.c: Likewise.
11749         * stdio-common/printf_fphex.c: Likewise.
11750         * stdio-common/printf_size.c: Likewise.
11752 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
11754         [BZ #18470]
11755         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
11756         strnlen.
11757         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
11758         Remove variable.
11759         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
11760         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
11761         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
11762         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
11763         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
11764         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
11765         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
11766         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
11767         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
11768         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
11770         [BZ #18468]
11771         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
11772         weak alias of __wmemchr.  Use libc_hidden_weak.
11773         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
11774         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
11775         instead of wmemchr.
11777 2015-06-02  Roland McGrath  <roland@hack.frob.com>
11779         [BZ #18383]
11780         * elf/tst-tlsalign-extern.c: New file.
11781         * elf/tst-tlsalign-extern-static.c: New file.
11782         * elf/tst-tlsalign-vars.c: New file.
11783         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
11784         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
11785         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
11786         ($(objpfx)tst-tlsalign-extern-static): Likewise.
11787         (test-xfail-tst-tlsalign-extern-static): New variable.
11789 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
11791         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
11792         Use variable name _sc_err instead of err.
11793         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
11794         instead of ret.
11795         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
11796         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
11797         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
11798         (INLINE_SYSCALL): Likewise.
11800         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
11801         * include/string.h (__strnlen): Use libc_hidden_proto.
11802         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
11803         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
11804         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
11805         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
11806         (libc_hidden_def): Undefine and redefine.
11807         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
11808         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
11809         __GI_strnlen.
11810         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
11811         libc_hidden_def.
11812         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
11814         [BZ #18469]
11815         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
11816         weak alias of __towlower.  Use libc_hidden_weak.
11817         (towupper): Rename to __towupper and define as weak alias of
11818         __towupper.  Use libc_hidden_weak.
11819         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
11820         (__towupper): Likewise.
11821         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
11822         __towlower instead of towlower.
11824 2015-06-02  Roland McGrath  <roland@hack.frob.com>
11826         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
11827         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
11829 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
11831         * sysdeps/aarch64/libm-test-ulps: Update.
11833 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11835         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
11836         Define.
11837         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
11838         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
11839         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
11840         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
11841         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
11842         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
11843         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
11845 2015-06-01  Martin Sebor  <msebor@redhat.com>
11847         [BZ #18116]
11848         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
11849         (__setcontext): Use extended four-operand version of mtsf whenever
11850         possible.
11851         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
11852         (__novec_swapcontext): Likewise.
11854 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
11856         * benchtests/scripts/compare_bench.py: New file.
11857         * benchtests/scripts/import_bench.py (mean): New function.
11858         (split_list): Likewise.
11859         (do_for_all_timings): Likewise.
11860         (compress_timings): Likewise.
11862         * benchtests/scripts/import_bench.py: New file.
11863         * benchtests/scripts/validate_benchout.py: Import import_bench
11864         instead of jsonschema.
11865         (validate_bench): Remove function.
11866         (main): Use import_bench.
11868 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
11870         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
11871         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
11873 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11875         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11877 2015-05-28  Roland McGrath  <roland@hack.frob.com>
11879         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
11880         set THREAD_SELF->tid to a magic value and futex-wake it.
11881         Pass its address to the thread_exit system call.
11882         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
11883         bit is clear.
11884         * sysdeps/nacl/lowlevellock.h: New file.
11885         * sysdeps/nacl/lll_timedwait_tid.c: New file.
11887         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
11888         Add TIMEOUT to current time, don't subtract it.
11890 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
11892         [BZ #2981]
11893         [BZ #18422]
11894         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
11895         ($(objpfx)tst-audit2.out): Also depend on
11896         $(objpfx)tst-auditmod9b.so.
11897         * elf/tst-audit2.c: Include <dlfcn.h>.
11898         (calloc_called): New.
11899         (calloc): Allow to be called more than once.
11900         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
11902 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
11904         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
11905         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
11907 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
11909         * stdlib/monetary.h: Fix comment.
11911 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
11913         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
11914         Avoid using variables in #defines that might cause shadowing.
11915         (INTERNAL_VSYSCALL_CALL): Likewise.
11917 2015-05-26  Roland McGrath  <roland@hack.frob.com>
11919         * sysdeps/nacl/lll_timedlock_wait.c: New file.
11921         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
11922         * nptl/lll_timedlock_wait.c: ... to this new file.
11923         * nptl/Makefile (libpthread-routines): Add it.
11924         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
11925         * nptl/lll_timedwait_tid.c: ... to this new file.
11926         * nptl/Makefile (libpthread-routines): Add it.
11927         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
11928         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
11929         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
11930         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
11931         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
11932         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
11933         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
11934         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
11935         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
11936         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
11938 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11940         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
11941         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
11942         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
11943         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
11944         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
11945         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
11946         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
11947         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
11948         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
11949         * sysdeps/unix/sysv/linux/tile/sysdep.h
11950         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
11951         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
11952         using vDSO syscall macro.
11954 2015-05-26  Andriy Rysin  <arysin@gmail.com>
11956         [BZ #17293]
11957         * uk_UA: Fix sorting order for Ukrainian locale
11959 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
11961         * stdlib/monetary.h: Fix comment.
11963 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
11965         [BZ #18234]
11966         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
11967         st_mtim and st_ctim members.
11968         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
11969         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
11970         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
11971         (struct stat64): Likewise.
11972         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
11973         (struct stat64): Likewise.
11974         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
11975         (struct stat64): Likewise.
11977 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11979         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
11980         Define and include sysdep-vdso.h.
11981         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
11982         Likewise.
11983         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
11984         Likewise.
11985         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
11986         Define with VDSO_SYMBOL and use PTR_MANGLE.
11987         (__vdso_clock_gettime): Likewise.
11988         (__vdso_clock_getres): Likewise.
11989         (_libc_vdso_platform_setup): Likewise.
11990         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
11991         Likewise.
11992         (_libc_vdso_platform_setup): Likewise.
11993         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
11994         Likewise.
11995         (__vdso_clock_gettime): Likewise.
11996         (__vdso_clock_getres): Likewise.
11997         (__vdso_get_tbfreq): Likewise.
11998         (__vdso_getcpu): Likewise.
11999         (__vdso_time): Likewise.
12000         (__vdso_sigtramp_rt64): Likewise.
12001         (__vdso_signtramp32): Likewise.
12002         (__vdso_sigtramp_rt32): Likewise.
12003         (_libc_vdso_platform_setup): Likewise.
12004         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
12005         Likewise.
12006         (__vdso_clock_gettime): Likewise.
12007         (__vdso_clock_getres): Likewise.
12008         (_libc_vdso_platform_setup): Likewise.
12009         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
12010         Likewise.
12011         (__vdso_clock_gettime): Likewise.
12012         (_libc_vdso_platform_setup): Likewise.
12013         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
12014         Likewise.
12015         (__vdso_getcpu): Likewise.
12016         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
12017         Use VDSO_SYMBOL macro to define.
12018         (__vdso_clock_gettime): Likewise.
12019         (__vdso_clock_getres): Likewise.
12020         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
12021         Likewise.
12022         (__vdso_clock_gettime): Likewise.
12023         (__vdso_clock_getres): Likewise.
12024         (__vdso_get_tbfreq): Likewise.
12025         (__vdso_getcpu): Likewise.
12026         (__vdso_time): Likewise.
12027         (__vdso_sigtramp_rt64): Likewise.
12028         (__vdso_signtramp32): Likewise.
12029         (__vdso_sigtramp_rt32): Likewise.
12030         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
12031         Likewise.
12032         (__vdso_clock_gettime): Likewise.
12033         (__vdso_clock_getres): Likewise.
12034         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
12035         Likewise.
12036         (__vdso_clock_gettime): Likewise.
12037         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
12038         Likewise.
12039         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
12040         macro.
12041         (INTERNAL_VSYSCALL): Likewise.
12042         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
12043         Remove macro.
12044         (INTERNAL_VSYSCALL): Likewise.
12045         (INTERNAL_VSYSCALL_NCS): Likewise.
12046         (INTERNAL_VSYSCALL_CALL): New macro.
12047         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
12048         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
12049         Likewise.
12050         (INTERNAL_VSYSCALL): Likewise.
12051         (INTERNAL_VSYSCALL_NCS): Likewise.
12052         (INTERNAL_VSYSCALL_CALL): New macro.
12053         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
12054         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
12055         (INLINE_VSYSCALL): Remove macro.
12056         (INTERNAL_VSYSCALL): Remove macro.
12057         (INTERNAL_VSYSCALL_NCS): Remove macro.
12058         (INTERNAL_VSYSCALL_CALL): New macro.
12059         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
12060         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
12061         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
12062         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
12063         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
12064         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
12065         (INLINE_VSYSCALL): Remove macro.
12066         (INTERNAL_VSYSCALL): Likewise.
12067         (INTERNAL_VSYSCALL_NCS): Likewise.
12068         (INTERNAL_VSYSCALL_CALL): New macro.
12069         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
12070         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
12071         PTR_DEMANGLE on vDSO pointer.
12072         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
12073         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
12074         macro.
12075         (INTERNAL_SYSCALL): Likewise.
12076         (INTERNAL_VSYSCALL_NCS): Remove macro.
12077         (INTERNAL_VSYSCALL_CALL): New macro.
12078         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
12079         Remove macro.
12080         (INTERNAL_VSYSCALL): Likewise.
12081         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
12082         sysdep-vdso.h instead of libc-vdso.h.
12083         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
12084         definition.
12085         (INLINE_VSYSCALL): Likewise.
12086         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
12087         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
12088         definition.
12089         (INLINE_VSYSCALL): Likewise.
12090         (INTERNAL_VSYSCALL): Likewise.
12091         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
12092         * sysdeps/unix/sysv/linux/timespec_get.c
12093         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
12094         (timespec_get): Use ANSI prototype.
12095         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
12096         and definition for Linux.
12098 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
12100         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
12101         * include/libc-symbols.h: libmvec_hidden_* macro series added.
12103 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
12105         [BZ #2981]
12106         [BZ #18410]
12107         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
12108         for missing DT_PLTRELSZ.
12110 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
12112         Remove obsolete aliases that broke 'locale -a'
12113         [BZ #18412]
12114         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
12115         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
12116         breaking some applications that use 'locale -a' output.
12117         Change the encoding of this file from Latin-1 to ASCII to avoid
12118         other potential problems with people grepping this file.
12120 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12122         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
12123         -fasynchronous-unwind-tables.
12124         (CFLAGS-sendto.c): Likewise.
12125         (CFLAGS-sendmsg.c): Likewise.
12126         (CFLAGS-connect.c): Likewise.
12127         (CFLAGS-recvmsg.c): Likewise.
12128         (CFLAGS-recvfrom.c): Likewise.
12129         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
12130         (SOCKETCALL): New macro: non-cancellable socketcall.
12131         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
12132         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
12133         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
12134         * sysdeps/unix/sysv/linux/accept.c: New file.
12135         * sysdeps/unix/sysv/linux/bind.c: Likewise.
12136         * sysdeps/unix/sysv/linux/connect.c: Likewise.
12137         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
12138         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
12139         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
12140         * sysdeps/unix/sysv/linux/listen.c: Likewise.
12141         * sysdeps/unix/sysv/linux/recv.c: Likewise.
12142         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
12143         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
12144         * sysdeps/unix/sysv/linux/send.c: Likewise.
12145         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
12146         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
12147         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
12148         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
12149         * sysdeps/unix/sysv/linux/socket.c: Likewise.
12150         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
12151         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
12152         prototype.
12153         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
12154         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
12155         instead of __internal_xxx function.
12156         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
12157         prototype.
12158         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
12159         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
12160         instead of __internal_xxx function.
12161         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
12162         prototype.
12163         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
12164         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
12165         instead of __internal_xxx function.
12166         * sysdeps/unix/sysv/linux/accept.S: Remove file.
12167         * sysdeps/unix/sysv/linux/bind.S: Likewise.
12168         * sysdeps/unix/sysv/linux/connect.S: Likewise.
12169         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
12170         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
12171         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
12172         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
12173         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
12174         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
12175         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
12176         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
12177         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
12178         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
12179         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
12180         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
12181         * sysdeps/unix/sysv/linux/listen.S: Likewise.
12182         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
12183         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
12184         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
12185         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
12186         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
12187         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
12188         * sysdeps/unix/sysv/linux/recv.S: Likewise.
12189         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
12190         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
12191         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
12192         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
12193         * sysdeps/unix/sysv/linux/send.S: Likewise.
12194         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
12195         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
12196         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
12197         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
12198         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
12199         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
12200         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
12201         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
12202         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
12203         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
12204         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
12205         socketcall is implemented in GLIBC.
12207 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
12209         * soft-fp/fmadf4.c: Include <libc-internal.h>.
12210         (__fma): Ignore uninitialized warnings around packing.
12211         * soft-fp/fmasf4.c: Include <libc-internal.h>.
12212         (__fmaf): Ignore uninitialized warnings around packing.
12213         * soft-fp/fmatf4.c: Include <libc-internal.h>.
12214         (__fmal): Ignore uninitialized warnings around packing.
12216         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
12217         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
12218         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
12219         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
12221         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
12222         switch statement into default case.
12223         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
12225         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
12226         a conditional in forcing "inexact".
12227         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
12228         Likewise.
12230 2015-05-22  Roland McGrath  <roland@hack.frob.com>
12232         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
12233         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
12234         for each INTERNAL_SYSCALL use.
12236 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
12238         [BZ #438]
12239         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
12240         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
12241         variable.
12243         [BZ #18444]
12244         * string/basename.c (basename): Rename to __basename and define as
12245         weak alias of __basename.  Use libc_hidden_weak.
12246         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
12247         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
12248         __basename instead of basename.
12249         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
12250         Remove variable.
12251         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
12253 2015-05-18  Florian Weimer  <fweimer@redhat.com>
12255         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
12256         (_IO_JUMPS_FILE_plus): New.
12257         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
12258         _IO_CAST_FIELD_ACCESS.
12259         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
12260         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
12261         * libio/freopen.c (freopen): Likewise.
12262         * libio/freopen64.c (freopen64): Likewise.
12263         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
12264         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
12265         * libio/iofwide.c (_IO_fwide): Likewise.
12266         * libio/memstream.c (open_memstream): Likewise.
12267         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
12268         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
12269         * libio/oldiopopen.c (_IO_old_popen): Likewise.
12271 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
12273         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
12274         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
12275         NADJ.
12276         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
12277         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
12278         NADJ.
12279         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
12280         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
12281         NADJ.
12283         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
12284         (p == 4) case.
12286         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
12287         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
12288         Remove variable.
12289         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
12290         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
12291         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
12293 2015-05-21  Florian Weimer  <fweimer@redhat.com>
12295         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
12296         Adjust jump table label generation macros.
12298 2015-05-21  Florian Weimer  <fweimer@redhat.com>
12300         * stdio-common/vfprintf.c (vfprintf): Move local variables
12301         args_malloced, specs, specs_malloced, and the code after
12302         do_positional to the printf_positional function.
12303         (printf_positional): New function.
12305 2015-05-21  Florian Weimer  <fweimer@redhat.com>
12307         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
12308         function.
12309         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
12310         STEP4_TABLE, process_arg): Move macro definitions
12311         out of the vfprintf function.  (Cosmetic change only.)
12313 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
12315         * benchtests/Makefile (stdio-common-bench): Define.
12316         (benchset): Add stdio-common-bench.
12317         * sprintf-inputs: New file.
12318         * sprintf-source.c: New file.
12320 2015-05-21  Andreas Schwab  <schwab@suse.de>
12322         [BZ #13028]
12323         [BZ #17053]
12324         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
12325         of struct __res_state.
12326         * resolv/res_send.c (__libc_res_nsend): Likewise.
12327         (get_nsaddr): New function.
12328         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
12329         statp directly.
12331 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
12333         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
12334         -D_POSIX_C_SOURCE=199506L.
12336         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
12338         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
12339         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
12340         Do not mention otherwise.
12341         [POSIX] (_XOPEN_VERSION): Do not expect.
12342         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
12343         [POSIX] (_POSIX2_C_BIND): Likewise.
12344         [POSIX] (_POSIX2_VERSION): Likewise.
12345         [POSIX] (_XOPEN_XPG2): Likewise.
12346         [POSIX] (_XOPEN_XPG3): Likewise.
12347         [POSIX] (_XOPEN_XPG4): Likewise.
12348         [POSIX] (_XOPEN_UNIX): Likewise.
12349         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
12350         [POSIX] (_POSIX_BARRIERS): Likewise.
12351         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
12352         [POSIX] (_POSIX_CPUTIME): Likewise.
12353         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
12354         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
12355         [POSIX] (_POSIX_SHELL): Likewise.
12356         [POSIX] (_POSIX_SPAWN): Likewise.
12357         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
12358         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
12359         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
12360         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
12361         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
12362         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
12363         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
12364         [POSIX] (_XBS5_LP64_OFF64): Likewise.
12365         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
12366         [POSIX] (_POSIX_TIMEOUTS): Likewise.
12367         [POSIX] (_POSIX2_PBS): Likewise.
12368         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
12369         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
12370         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
12371         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
12372         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
12373         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
12374         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
12375         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
12376         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
12377         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
12378         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
12379         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
12380         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
12381         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
12382         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
12383         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
12384         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
12385         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
12386         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
12387         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
12388         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
12389         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
12390         [POSIX] (_SC_2_C_BIND): Likewise.
12391         [POSIX] (_SC_2_C_VERSION): Likewise.
12392         [POSIX] (_SC_2_PBS): Likewise.
12393         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
12394         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
12395         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
12396         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
12397         [POSIX] (_SC_2_PBS_TRACK): Likewise.
12398         [POSIX] (_SC_ATEXIT_MAX): Likewise.
12399         [POSIX] (_SC_BARRIERS): Likewise.
12400         [POSIX] (_SC_BASE): Likewise.
12401         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
12402         [POSIX] (_SC_DEVICE_IO): Likewise.
12403         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
12404         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
12405         [POSIX] (_SC_FD_MGMT): Likewise.
12406         [POSIX] (_SC_FIFO): Likewise.
12407         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
12408         [POSIX] (_SC_FILE_LOCKING): Likewise.
12409         [POSIX] (_SC_FILE_SYSTEM): Likewise.
12410         [POSIX] (_SC_IOV_MAX): Likewise.
12411         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
12412         [POSIX] (_SC_NETWORKING): Likewise.
12413         [POSIX] (_SC_PAGE_SIZE): Likewise.
12414         [POSIX] (_SC_PASS_MAX): Likewise.
12415         [POSIX] (_SC_PIPE): Likewise.
12416         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
12417         [POSIX] (_SC_REGEXP): Likewise.
12418         [POSIX] (_SC_SHELL): Likewise.
12419         [POSIX] (_SC_SIGNALS): Likewise.
12420         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
12421         [POSIX] (_SC_SPIN_LOCKS): Likewise.
12422         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
12423         [POSIX] (_SC_USER_GROUPS): Likewise.
12424         [POSIX] (_SC_USER_GROUPS_R): Likewise.
12425         [POSIX] (_SC_STREAMS): Likewise.
12426         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
12427         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
12428         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
12429         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
12430         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
12431         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
12432         [POSIX] (_PC_FILESIZEBITS): Likewise.
12433         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
12434         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
12435         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
12436         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
12437         [POSIX] (uid_t): Likewise.
12438         [POSIX] (gid_t): Likewise.
12439         [POSIX] (off_t): Likewise.
12440         [POSIX] (pid_t): Likewise.
12441         [POSIX] (cuserid): Allow.
12442         (_SC_2_CHAR_TERM): Require constant.
12443         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
12444         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
12445         variable.
12447 2015-05-20  Roland McGrath  <roland@hack.frob.com>
12449         * sysdeps/nacl/pthread-pids.h: New file.
12450         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
12451         (create_thread): Use __nacl_get_tid to initialize PD->tid.
12453         * nptl/pthread-pids.h: New file.
12454         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
12455         * nptl/nptl-init.c: Include <pthread-pids.h>.
12456         (__pthread_initialize_minimal_internal):
12457         Call __pthread_initialize_pids instead of set_tid_address syscall.
12459         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
12460         * sysdeps/posix/usleep.c: ... here.
12462 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12464         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
12465         call_pselect6 object.
12466         [$(subdir) = io]: Remove call_sync_file_range object.
12467         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
12468         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
12469         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
12470         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
12472 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
12474         * math/s_cproj.c: Add include "math_private.h".
12475         * math/s_cprojf.c: Likewise.
12476         * math/s_cprojl.c: Likewise.
12478 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
12480         [BZ #18244]
12481         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
12482         high mantissa bit when testing whether P is a NaN.
12483         * math/libm-test.inc (remainder_test_data): Add more tests.
12484         (remquo_test_data): Likewise.
12486         [BZ #18049]
12487         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
12488         below -32, return the argument, with underflow if subnormal.
12489         * math/auto-libm-test-in: Add more tests of atanh.
12490         * math/auto-libm-test-out: Regenerated.
12492 2015-05-19  Roland McGrath  <roland@hack.frob.com>
12494         [BZ #18434]
12495         * nptl/tst-sem15.c: New file.
12496         * nptl/Makefile (tests): Add it.
12497         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
12498         s/<</>>/ to fix typo in EOVERFLOW check.
12499         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
12501 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
12503         * manual/strings.texi (envz_remove): Fix typo in safety
12504         annotations.
12506 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
12507             Steve Ellcey  <sellcey@imgtec.com>
12509         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
12510         in order to avoid strict alias warnings.
12511         (iruserok_af): Ditto for ra.
12513 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
12515         [BZ #17581]
12516         * malloc/hooks.c
12517         (magicbyte): Convert to a function and avoid returning 0x01.
12518         (mem2mem_check): Avoid using a length byte equal to the magic byte.
12519         (mem2chunk_check): Fix unsigned comparisons to zero.
12520         Hoist defs of sz and magic.
12522 2015-05-19  Richard Henderson  <rth@redhat.com>
12524         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
12526         * sysdeps/alpha/fpu/libm-test-ulps: Update.
12528 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
12530         [BZ #16159]
12531         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
12532         * malloc/arena.c (arena_lock): Check if arena is corrupt.
12533         (reused_arena): Find a non-corrupt arena.
12534         (heap_trim): Pass arena to unlink.
12535         * malloc/hooks.c (malloc_check_get_size): Pass arena to
12536         malloc_printerr.
12537         (top_check): Likewise.
12538         (free_check): Likewise.
12539         (realloc_check): Likewise.
12540         * malloc/malloc.c (malloc_printerr): Add arena argument.
12541         (unlink): Likewise.
12542         (munmap_chunk): Adjust.
12543         (ARENA_CORRUPTION_BIT): New macro.
12544         (arena_is_corrupt): Likewise.
12545         (set_arena_corrupt): Likewise.
12546         (sysmalloc): Use mmap if there are no usable arenas.
12547         (_int_malloc): Likewise.
12548         (__libc_malloc): Don't fail if arena_get returns NULL.
12549         (_mid_memalign): Likewise.
12550         (__libc_calloc): Likewise.
12551         (__libc_realloc): Adjust for additional argument to
12552         malloc_printerr.
12553         (_int_free): Likewise.
12554         (malloc_consolidate): Likewise.
12555         (_int_realloc): Likewise.
12556         (_int_memalign): Don't touch corrupt arenas.
12557         * malloc/tst-malloc-backtrace.c: New test case.
12559         * Makefile (summarize-tests): Fix return value on success.
12561         * manual/string.texi (Envz Functions): Add envz_remove.
12563 2015-05-18  Roland McGrath  <roland@hack.frob.com>
12565         * sysdeps/posix/opendir.c: Include <stdbool.h>.
12566         (invalid_name): New function, broken out of ...
12567         (__opendirat): ... here.  Call it.
12568         (need_isdir_precheck): New function, broken out of ...
12569         (__opendirat): ... here.  Call it.
12570         Use __fxstatat64, not __xstatat64.
12571         (opendir_oflags): New function, broken out of ...
12572         (__opendirat): ... here.  Call it.
12573         (opendir_tail): New function, broken out of ...
12574         (__opendirat): ... here.  Call it.
12575         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
12576         opendir_tail, rather than punting to __opendirat.
12577         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
12579 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
12581         * .gitignore: Ignore generated *.pyc.
12583 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
12585         * include/stdio.h: Define __need_wint_t.
12586         * test-skeleton.c: Avoid `for' loop initial declaration.
12587         * nptl/tst-initializers1.c: Use test-skeleton.c.
12589 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12591         [BZ #18418]
12592         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
12594 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
12596         [BZ #16352]
12597         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
12598         (__ieee754_atanh): Force underflow exception for results with
12599         small absolute value.
12600         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
12601         (__ieee754_atanhf): Force underflow exception for results with
12602         small absolute value.
12603         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
12604         (__ieee754_atanh): Force underflow exception for results with
12605         small absolute value.
12606         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
12607         (__ieee754_atanhf): Force underflow exception for results with
12608         small absolute value.
12609         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
12610         (__ieee754_atanhl): Force underflow exception for results with
12611         small absolute value.
12612         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
12613         (__ieee754_atanhl): Force underflow exception for results with
12614         small absolute value.
12615         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
12616         (__ieee754_atanhl): Force underflow exception for results with
12617         small absolute value.
12618         * math/auto-libm-test-in: Do not allow missing underflow
12619         exceptions from atanh.
12620         * math/auto-libm-test-out: Regenerated.
12622         [BZ #18221]
12623         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
12624         2**-28 as threshold for returning x or +/- 1/x.
12625         * math/auto-libm-test-in: Add more tests of tan.
12626         * math/auto-libm-test-out: Regenerated.
12628         [BZ #18220]
12629         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
12630         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
12631         * math/auto-libm-test-in: Add another test of lgamma.
12632         * math/auto-libm-test-out: Regenerated.
12634 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
12636         * stdio-common/printf_fp.c (___printf_fp): Use abs.
12637         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
12638         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
12639         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
12640         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
12641         (ADD2A): Use fabs.  (SUB2A): Use fabs.
12642         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
12643         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
12644         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
12645         (log1): Use fabs.  (my_log2): Use fabs.
12646         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
12647         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
12648         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
12649         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
12650         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
12651         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
12652         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
12653         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
12654         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
12655         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
12656         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
12658 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
12660         [BZ #18217]
12661         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
12662         as threshold for returning 1 - x.
12663         * math/auto-libm-test-in: Add more tests of erfc.
12664         * math/auto-libm-test-out: Regenerated.
12666 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
12668         [BZ #18196]
12669         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
12670         threshold for large arguments.
12671         * math/auto-libm-test-in: Add another test of atan.
12672         * math/auto-libm-test-out: Regenerated.
12674         [BZ #16339]
12675         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
12676         (__log1p): Force underflow exception for results with small
12677         absolute value.
12678         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
12679         (__log1pf): Force underflow exception for results with small
12680         absolute value.
12681         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
12682         (__log1p): Force underflow exception for results with small
12683         absolute value.
12684         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
12685         (__log1pf): Force underflow exception for results with small
12686         absolute value.
12687         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
12688         (__log1pl): Force underflow exception for results with small
12689         absolute value.
12690         * math/auto-libm-test-in: Do not allow missing underflow
12691         exceptions from log1p.
12692         * math/auto-libm-test-out: Regenerated.
12694 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
12695             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12697         [BZ #16704]
12698         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
12700 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
12702         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
12703         (libmvec): New variable.
12704         * configure.ac: Added option for mathvec build.
12705         * configure: Regenerated.
12706         * mathvec/Depend: New file.
12707         * mathvec/Makefile: New file.
12708         * shlib-versions: Added libmvec.
12709         * math/Makefile: Added rule for libm.so installation.
12711         * bits/math-vector.h: New file.
12712         * bits/libm-simd-decl-stubs.h: New header.
12713         * math/Makefile (headers): Added new header
12714         libm-simd-decl-stubs.h.
12715         * math/math.h (__MATHCALL_VEC): New macro.
12717         * math/gen-libm-have-vector-test.sh: Script generates series of macros
12718         for conditions in testing functions.
12719         * math/Makefile: Added call of libm-have-vector-test.sh.
12720         * math/libm-test.inc (HAVE_VECTOR): New macros.
12722         * math/libm-test.inc: START refactored.
12723         * math/test-double.c (TEST_MATHVEC): Add define.
12724         * math/test-float.c: Likewise.
12725         * math/test-idouble.c: Likewise.
12726         * math/test-ifloat.c: Likewise.
12727         * math/test-ildoubl.c: Likewise.
12728         * math/test-ldouble.c: Likewise.
12729         * sysdeps/generic/math-tests-arch.h
12730         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
12731         architecture check.
12733         * math/test-double.c (FUNC_TEST): New macro.
12734         * math/test-float.c: Likewise.
12735         * math/test-idouble.c: Likewise.
12736         * math/test-ifloat.c: Likewise.
12737         * math/test-ildoubl.c: Likewise.
12738         * math/test-ldouble.c: Likewise.
12739         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
12741 2015-05-13  Roland McGrath  <roland@hack.frob.com>
12743         * sysdeps/nacl/fdopendir.c: New file.
12745         * dirent/scandir-tail.c: New file.
12746         * dirent/scandir64-tail.c: New file.
12747         * dirent/Makefile (routines): Add them.
12748         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
12749         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
12750         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
12751         [!SCANDIR] (SCANDIR_TAIL): New macro.
12752         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
12753         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
12754         (SCANDIRAT): Macro removed.
12755         (SCANDIR_TAIL): New macro.
12756         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
12757         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
12758         (SCANDIRAT): Just call __opendirat and __scandir_tail.
12759         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
12760         (READDIR): Macro removed.
12761         (SCANDIR_TAIL): New macro.
12762         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
12763         (SCANDIR_TAIL): New macro.
12765         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
12766         * dirent/scandir-cancel.c: ... to this new file.
12767         * dirent/Makefile (routines): Add it.
12768         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
12769         * sysdeps/unix/sysv/linux/i386/scandir64.c
12770         (SKIP_SCANDIR_CANCEL): Macro removed.
12771         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
12773         * dirent/tst-scandir.c: New file.
12774         * dirent/tst-scandir64.c: New file.
12775         * dirent/Makefile (tests): Add them.
12777 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
12779         [BZ #18409]
12780         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
12782 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
12784         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
12785         list.
12787 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
12789         * benchtests/bench-strcoll.c: New benchmark.
12790         * benchtests/Makefile: Generate locales and run benchmark.
12791         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
12792         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
12793         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
12794         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
12795         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
12796         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
12797         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
12798         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
12799         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
12800         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
12801         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
12802         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
12803         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
12804         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
12805         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
12806         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
12807         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
12808         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
12809         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
12810         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
12811         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
12812         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
12813         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
12814         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
12816 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
12818         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
12819         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
12821 2015-05-12  Roland McGrath  <roland@hack.frob.com>
12823         * posix/uname-values.h: New file.
12824         * posix/uname.c: Include that instead of <config-name.h>.
12825         * sysdeps/nacl/uname-values.h: New file.
12826         * sysdeps/arm/nacl/uname-values.h: New file.
12828 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
12830         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
12831         splitting into fields.
12833 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
12835         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
12836         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
12837         * locale/localeinfo.h: Add enum collation_encoding_type.
12838         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
12839         * programs/ld-collate.c (collate_output): Add encoding type info.
12840         * string/strcoll_l.c (STRDIFF): New function.
12841         * (STRCOLL): Use STRDIFF to skip over equal prefix.
12842         * wcsmbs/wcscoll_l.c: Define STRDIFF.
12844 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
12846         [BZ #18397]
12847         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
12848         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
12849         <fpu_control.h> instead of <math/fpu_control.c>.
12850         * sysdeps/mips/mips32/fpu/Makefile: New file.
12852 2015-05-11  Andreas Schwab  <schwab@suse.de>
12854         [BZ #18007]
12855         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
12856         nss_endgrent.
12857         (_nss_compat_endgrent): Call nss_endgrent.
12858         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
12859         nss_endpwent.
12860         (_nss_compat_endpwent): Call nss_endpwent.
12861         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
12862         needent, call nss_setspent only if non-zero.
12863         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
12864         (internal_endspent): Don't call nss_endspent.
12865         (_nss_compat_endspent): Call nss_endspent.
12866         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
12867         Remove.  All uses removed.
12868         (internal_setent): Remove parameter stayopen, add parameter
12869         stream.  Use it instead of global variable.
12870         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
12871         (internal_endent, internal_getent): Add parameter stream.  Use it
12872         instead of global variable.
12873         (CONCAT(_nss_files_end,ENTNAME))
12874         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
12875         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
12876         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
12877         uses removed.
12878         (internal_setent, internal_endent): Add parameter stream.  Use it
12879         instead of global variable.
12880         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
12881         stream.
12882         (get_next_alias): Add parameter stream.
12883         (_nss_files_getaliasent_r): Pass global stream.
12884         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
12885         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
12886         (_nss_files_gethostbyname4_r): Pass local stream to
12887         internal_setent, internal_getent and internal_endent.  Remove
12888         locking.
12890 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
12892         * tst-strfmon1.c (tests): Update expected currency symbol.
12894 2015-05-08  Roland McGrath  <roland@hack.frob.com>
12896         * sysdeps/nacl/gethostname.c: New file.
12898 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
12900         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
12901         and sinh.
12902         * math/auto-libm-test-out: Regenerated.
12903         * sysdeps/i386/fpu/libm-test-ulps: Update.
12904         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12906 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
12908         [BZ #18125]
12909         * stdlib/tst-setcontext3.c: New file.
12910         * stdlib/tst-setcontext3.sh: New file.
12911         * stdlib/Makefile (tests): Add tst-setcontext3.
12912         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
12913         to verify test program created output file.
12914         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
12915         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
12916         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
12917         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
12919 2015-05-06  Roland McGrath  <roland@hack.frob.com>
12921         [BZ #18383]
12922         * elf/tst-tlsalign.c: New file.
12923         * elf/tst-tlsalign-static.c: New file.
12924         * elf/tst-tlsalign-lib.c: New file.
12925         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
12926         (tests-static): Add tst-tlsalign-static.
12927         (modules-names): Add tst-tlsalign-lib.
12928         (test-xfail-tst-tlsalign): New variable.
12929         (test-xfail-tst-tlsalign-static): New variable.
12931         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
12932         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
12934 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
12936         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
12937         csqrt, erfc, sin and sincos.
12938         * math/auto-libm-test-out: Regenerated.
12939         * sysdeps/i386/fpu/libm-test-ulps: Update.
12940         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12942 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
12944         * sysdeps/aarch64/libm-test-ulps: Update.
12946 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
12948         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
12949         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
12950         * math/auto-libm-test-out: Regenerated.
12951         * sysdeps/i386/fpu/libm-test-ulps: Update.
12952         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12954 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
12956         [BZ #18265]
12957         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
12958         (wcsncpy): Likewise.
12960 2015-05-05  Florian Weimer  <fweimer@redhat.com>
12962         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
12963         Assume __ASSUME_FALLOCATE is always true.
12964         * sysdeps/unix/sysv/linux/posix_fallocate64.c
12965         (__posix_fallocate64_l64): Likweise.
12966         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
12967         (posix_fallocate): Likewise.
12968         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
12969         (__posix_fallocate64_l64): Likewise.
12970         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
12971         [!__ASSUME_FALLOCATE]: Add comment.
12973 2015-05-05  Florian Weimer  <fweimer@redhat.com>
12975         * sysdeps/unix/sysv/linux/i386/Makefile
12976         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
12977         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
12978         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
12979         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
12980         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
12981         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
12982         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
12984 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
12986         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
12987         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
12988         tgamma.
12989         * math/auto-libm-test-out: Regenerated.
12990         * sysdeps/i386/fpu/libm-test-ulps: Update.
12991         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12993 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
12995         * math/auto-libm-test-in: Add more tests of tgamma.
12996         * math/auto-libm-test-out: Regenerated.
12997         * sysdeps/i386/fpu/libm-test-ulps: Update.
12998         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13000         * math/auto-libm-test-in: Add more tests of tanh.
13001         * math/auto-libm-test-out: Regenerated.
13002         * sysdeps/i386/fpu/libm-test-ulps: Update.
13003         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13005         * math/auto-libm-test-in: Add more tests of tan.
13006         * math/auto-libm-test-out: Regenerated.
13007         * sysdeps/i386/fpu/libm-test-ulps: Update.
13008         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13010         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
13011         * math/auto-libm-test-out: Regenerated.
13012         * sysdeps/i386/fpu/libm-test-ulps: Update.
13013         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13015         * math/auto-libm-test-in: Add another test of pow.
13016         * math/auto-libm-test-out: Regenerated.
13017         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13019         * math/auto-libm-test-in: Add more tests of lgamma.
13020         * math/auto-libm-test-out: Regenerated.
13021         * sysdeps/i386/fpu/libm-test-ulps: Update.
13022         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13024         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
13025         log1p.
13026         * math/auto-libm-test-out: Regenerated.
13027         * sysdeps/i386/fpu/libm-test-ulps: Update.
13028         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13030 2015-05-01  Mark Wielaard  <mjw@redhat.com>
13032         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
13033         Elf64_Chdr structs and ELFCOMPRESS constants.
13035 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
13037         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
13038         expm1.
13039         * math/auto-libm-test-out: Regenerated.
13040         * sysdeps/i386/fpu/libm-test-ulps: Update.
13041         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13043         * math/auto-libm-test-in: Add more tests of erf and erfc.
13044         * math/auto-libm-test-out: Regenerated.
13045         * sysdeps/i386/fpu/libm-test-ulps: Update.
13046         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13048 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
13050         * config.h.in (HAVE_AARCH64_BE): Add.
13052 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
13054         * math/auto-libm-test-in: Add more tests of csqrt.
13055         * math/auto-libm-test-out: Regenerated.
13056         * sysdeps/i386/fpu/libm-test-ulps: Update.
13057         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13059         * math/auto-libm-test-in: Add more tests of cosh and sinh.
13060         * math/auto-libm-test-out: Regenerated.
13061         * sysdeps/i386/fpu/libm-test-ulps: Update.
13062         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13064         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
13066 2015-04-29  Roland McGrath  <roland@hack.frob.com>
13068         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
13069         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
13071         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
13072         (euidaccess, eaccess): Define as weak aliases.
13074         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
13075         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
13076         but __suseconds_t is often 'long int' so some sources assume that
13077         type is being used (e.g. they use %ld to print tv_usec).
13079 2015-04-29  Florian Weimer  <fweimer@redhat.com>
13081         [BZ #18007]
13082         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
13083         (CVE-2014-8121)
13084         * nss/tst-nss-getpwent.c: New file.
13085         * nss/Makefile (tests): Add new test.
13087 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
13089         [BZ #18346]
13090         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
13091         exponents less than 48 as cases where high part of mantissa needs
13092         examining to determine whether argument is integral.
13093         * math/libm-test.inc (round_test_data): Add more tests.
13095 2015-04-28  Mark Wielaard  <mjw@redhat.com>
13097         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
13099 2015-04-27  David S. Miller  <davem@davemloft.net>
13101         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
13102         __tls_get_addr.
13103         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
13105 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
13107         [BZ#18333]
13108         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
13110 2015-04-27  Florian Weimer  <fweimer@redhat.com>
13112         [BZ#18333]
13113         * time/tzset.c (parse_tzname): Return error on memory allocation
13114         failure.
13115         * test-skeleton.c (struct temp_name_list): Change type of name
13116         member to non-const.
13117         (add_temp_file): Create a copy of the file name.
13118         (delete_temp_files): Deallocate memory.
13119         (create_temp_file): Add comment.
13121 2015-04-24  Florian Weimer  <fweimer@redhat.com>
13123         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
13124         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
13126 2015-04-24  Roland McGrath  <roland@hack.frob.com>
13128         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
13129         * sysdeps/arm/configure: Regenerated.
13131 2015-04-24  Florian Weimer  <fweimer@redhat.com>
13133         [BZ #17715]
13134         * time/tzfile.c (__tzfile_read): Check for large values of
13135         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
13136         * time/tzset.c (__tzstring_len): New function, based on the old
13137         __tzstring function.
13138         (__tzstring): Call __tzstring_len.
13139         (parse_tzname): New helper function extracted from
13140         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
13141         the input string.
13142         (parse_offset): New helper function extracted from
13143         __tzset_parse_tz.  Replace switch with fallthrough with
13144         initialization before sscanf.
13145         (parse_rule): Likewise.
13146         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
13147         new-style function definition.
13148         * timezone/Makefile (tests): Add tst-tzset.
13149         (tst-tzset.out): Dependencies on time zone files.
13150         (tst-tzset-ENV): Set TZDIR.
13151         (testdata/XT%): Copy crafted time zone files.
13152         * timezone/README: Mention crafted time zone files.
13153         * timezone/testdata/XT1, timezone/testdata/XT2,
13154         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
13155         files.
13156         * timezone/tst-tzset.c: New test.
13158 2015-04-24  Florian Weimer  <fweimer@redhat.com>
13160         * Makeconfig (+gccwarn): Remove -Winline.
13162 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
13164         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
13166 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
13168         * NEWS: Mention sysconf() cache information support for s390.
13169         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
13171 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
13173         * math/k_casinh.c (__kernel_casinh): Use __copysign.
13174         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
13175         (__nearbyint): Likewise.
13176         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
13177         (copysignl): Likewise.
13179 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
13181         [BZ #18287]
13182         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
13183         based on padding.  (CVE-2015-1781)
13185 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13187         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
13188         libc-vdso.h.
13189         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
13190         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
13191         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
13192         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
13193         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
13194         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
13195         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
13196         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
13197         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
13198         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
13199         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
13200         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
13201         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
13202         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
13203         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
13204         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
13205         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
13206         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
13207         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
13208         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
13209         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
13210         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
13211         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
13213 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
13215         * stdlib/setenv.c (__add_to_environ):
13216         Dump core quickly if setenv (..., NULL, ...) is called.
13217         This time, do it the right way, and pacify GCC with a pragma.
13219 2015-04-17  Roland McGrath  <roland@hack.frob.com>
13221         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
13222         IMAP->l_prev cannot be null, and #if out the code for the contrary
13223         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
13224         believe that NS (&_dl_ns[NSID]) could point outside the array.
13226         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
13227         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
13228         before using NSID as an index.
13230 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
13232         [BZ #17825]
13233         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
13234         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
13235         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
13237 2015-04-17  Roland McGrath  <roland@hack.frob.com>
13239         Add preliminary port to Google Native Client on ARM.
13240         * abi-tags (.*-.*-nacl.*): New entry.
13241         * sysdeps/arm/nacl: New directory.
13242         * sysdeps/nacl: New directory.
13244 2015-04-16  David S. Miller  <davem@davemloft.net>
13246         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
13247         lowlevellock-futex.h
13249 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
13251         * sysdeps/tile/configure.ac: New file.
13252         * sysdeps/tile/configure: Regenerated.
13254 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13256         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
13257         conditionals for weak_alias and libc_hidden_weak.
13258         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
13259         libc_hidden_weak and weak_alias.
13260         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
13261         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
13262         and weak_alias for static one.
13264 2015-04-15  David S. Miller  <davem@davemloft.net>
13266         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
13268 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
13270         [BZ #18206]
13271         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
13272           Use signed comparision instead of substraction to avoid
13273           overflow bug.
13274         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
13275           Take the sign of ret.
13276         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
13277           Do not expect precise return values. Only the sign matters.
13278         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
13279         * wcsmbs/test-wcsncmp.c: New File.
13280         * string/test-strncmp.c: Add wcsncmp support.
13282 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
13284         [BZ #6792]
13285         * math/w_log1p.c: New file.
13286         * math/w_log1pf.c: Likewise.
13287         * math/w_log1pl.c: Likewise.
13288         * math/Makefile (libm-calls): Add w_log1p.
13289         * math/s_log1pl.c (log1pl): Remove weak_alias.
13290         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
13291         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
13292         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
13293         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
13294         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
13295         [NO_LONG_DOUBLE] (log1pl): Likewise.
13296         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
13297         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
13298         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
13299         (log1p): Remove long_double_symbol.
13300         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
13301         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
13302         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
13303         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
13304         remove weak_alias for corresponding log1p function.
13305         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
13306         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
13307         * sysdeps/ia64/fpu/w_log1p.c: New file.
13308         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
13309         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
13310         * math/libm-test.inc (log1p_test_data): Add errno expectations.
13312 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
13314         [BZ #18247]
13315         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
13316         decimal exponent by 1.
13317         * stdlib/tst-strtod-round-data: Add more tests.
13318         * stdlib/tst-strtod-round.c (tests): Regenerated.
13320 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
13322         * math/auto-libm-test-in: Add more tests of clog and clog10.
13323         * math/auto-libm-test-out: Regenerated.
13324         * sysdeps/i386/fpu/libm-test-ulps: Update.
13325         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13327 2015-04-09  Roland McGrath  <roland@hack.frob.com>
13329         * Makeconfig (module-cppflags): Exclude all .v.i files.
13330         (skip-module-cppflags): Variable removed.
13332         * configure.ac (libc_config_ok): Initialize before reading
13333         preconfigure scripts, not after.
13334         * configure: Regenerated.
13336         * test-skeleton.c (TIMEOUT): Move #define to top level.
13337         (main): Grok environment variable TEST_DIRECT.  If set, print
13338         test expectation details into that file and then behave as if
13339         given --direct.
13341 2015-04-09  Florian Weimer  <fweimer@redhat.com>
13343         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
13344         warning on 32-bit.
13346 2015-04-08  David S. Miller  <davem@davemloft.net>
13348         * sysdeps/sparc/fpu/libm-test-ulps: Update.
13350 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
13352         * math/auto-libm-test-in: Add more tests of atanh.
13353         * math/auto-libm-test-out: Regenerated.
13354         * sysdeps/i386/fpu/libm-test-ulps: Update.
13355         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13357         * math/auto-libm-test-in: Add more tests of atan.
13358         * math/auto-libm-test-out: Regenerated.
13359         * sysdeps/i386/fpu/libm-test-ulps: Update.
13360         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13362 2015-04-08  Florian Weimer  <fweimer@redhat.com>
13364         * elf/pldd.c (main): Rewrite to use struct
13365         scratch_buffer instead of extend_alloca.
13366         * elf/pldd-xx.c (find_maps): Likewise.
13367         * grp/initgroups.c: Include <scratch_buffer.h> instead of
13368         <alloca.h>.
13369         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
13370         scratch_buffer instead of extend_alloca.
13371         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
13372         grp/compat-initgroups.c.
13373         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
13374         Rewrite to use struct scratch_buffer instead of extend_alloca.
13375         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
13376         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
13378 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
13380         * math/auto-libm-test-in: Add more tests of cbrt.
13381         * math/auto-libm-test-out: Regenerated.
13382         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13384         * math/auto-libm-test-in: Add more tests of cabs.
13385         * math/auto-libm-test-out: Regenerated.
13386         * sysdeps/i386/fpu/libm-test-ulps: Update.
13387         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13389         [BZ #18210]
13390         [BZ #18211]
13391         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
13392         (__ieee754_atan2): Set FE_TONEAREST mode for internal
13393         computations.
13394         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
13395         clog10.
13396         * math/auto-libm-test-out: Regenerated.
13397         * sysdeps/i386/fpu/libm-test-ulps: Update.
13398         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13400         [BZ #18197]
13401         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
13402         (atan): Set FE_TONEAREST mode for internal computations.
13403         * math/auto-libm-test-in: Add more tests of atan.
13404         * math/auto-libm-test-out: Regenerated.
13406 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
13408         [BZ #17930]
13409         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
13411 2015-04-07  Florian Weimer  <fweimer@redhat.com>
13413         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
13415 2015-04-07  Florian Weimer  <fweimer@redhat.com>
13417         * include/scratch_buffer.h: New file.
13418         * malloc/scratch_buffer_grow.c: Likewise.
13419         * malloc/scratch_buffer_grow_preserve.c: Likewise.
13420         * malloc/scratch_buffer_set_array_size.c: Likewise.
13421         * malloc/tst-scratch_buffer.c: Likewise.
13422         * malloc/Makefile (routines): Add scratch_buffer_grow.
13423         (tests): Add test case.
13424         * malloc/Versions (GLIBC_PRIVATE): Export
13425         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
13426         __libc_scratch_buffer_set_array_size.
13428 2015-04-06  Richard Henderson  <rth@redhat.com>
13430         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
13431         * sysdeps/alpha/fpu/libm-test-ulps: Update.
13433         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
13434         unsigned int before printing.
13436 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
13438         [BZ #17596]
13439         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
13440         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
13442 2015-04-02  Florian Weimer  <fweimer@redhat.com>
13444         * include/libc-internal.h (libc_max_align_t): Define.
13446 2015-04-02  Andreas Schwab  <schwab@suse.de>
13448         [BZ #16850]
13449         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
13451 2015-04-02  Mel Gorman  <mgorman@suse.de>
13453         [BZ #17195]
13454         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
13455         as well as the main arena.
13457 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
13459         [BZ #18185]
13460         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
13461         sharing L2 cache to 2 for Silvermont/Knights Landing.
13463 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
13465         [BZ #17711]
13466         * config.make.in (have-protected-data): New.
13467         * configure.ac: Check linker support for protected data symbol.
13468         * configure: Regenerated.
13469         * elf/Makefile (modules-names): Add tst-protected1moda and
13470         tst-protected1modb if $(have-protected-data) is yes.
13471         (tests): Add tst-protected1a and tst-protected1b if
13472         $(have-protected-data) is yes.
13473         ($(objpfx)tst-protected1a): New.
13474         ($(objpfx)tst-protected1b): Likewise.
13475         (tst-protected1modb.so-no-z-defs): Likewise.
13476         * elf/tst-protected1a.c: New file.
13477         * elf/tst-protected1b.c: Likewise.
13478         * elf/tst-protected1mod.h: Likewise.
13479         * elf/tst-protected1moda.c: Likewise.
13480         * elf/tst-protected1modb.c: Likewise.
13482 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
13484         [BZ #17711]
13485         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
13486         indicates it is called from do_lookup_x on relocation against
13487         protected data, skip the data definion in the executable from
13488         copy reloc.
13489         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
13490         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
13491         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
13492         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
13493         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
13494         otherwise to 0.
13495         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
13496         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
13497         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
13498         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
13499         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
13500         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
13502 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
13504         * sysdeps/nptl/pthread.h: Remove duplicate definition of
13505         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
13507 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
13509         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
13510         THREAD_SETMEM_NC.
13511         * sysdeps/x86_64/nptl/tls.h: Ditto.
13513 2015-03-27  Roland McGrath  <roland@hack.frob.com>
13515         * dlfcn/tststatic.c (main): Converted to ...
13516         (do_test): ... this.
13517         (TEST_FUNCTION): New macro.
13518         Include test-skeleton.c.
13520 2015-03-26  Alan Modra  <amodra@gmail.com>
13522         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
13523         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
13524         zero for undefined weak.
13525         (elf_machine_plt_conflict): Similarly.
13527 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
13529         * math/auto-libm-test-in: Add more tests of acosh, asinh and
13530         atanh.
13531         * math/auto-libm-test-out: Regenerated.
13532         * sysdeps/i386/fpu/libm-test-ulps: Update.
13533         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13535         * math/auto-libm-test-in: Add another test of asin.
13536         * math/auto-libm-test-out: Regenerated.
13537         * sysdeps/i386/fpu/libm-test-ulps: Update.
13538         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13540         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
13541         Remove macro.
13542         (LLL_EBX_REG): Likewise.
13543         (LLL_ENTER_KERNEL): Likewise.
13545         * math/auto-libm-test-in: Add more tests of asin.
13546         * math/auto-libm-test-out: Regenerated.
13547         * sysdeps/i386/fpu/libm-test-ulps: Update.
13548         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13550         [BZ #18138]
13551         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
13552         libc_do_syscall_args): New structure.
13553         (INTERNAL_SYSCALL_MAIN_0): New macro.
13554         (INTERNAL_SYSCALL_MAIN_1): Likewise.
13555         (INTERNAL_SYSCALL_MAIN_2): Likewise.
13556         (INTERNAL_SYSCALL_MAIN_3): Likewise.
13557         (INTERNAL_SYSCALL_MAIN_4): Likewise.
13558         (INTERNAL_SYSCALL_MAIN_5): Likewise.
13559         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
13560         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
13561         Replace conditional definitions by conditional definitions of ....
13562         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
13563         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
13564         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
13565         (libpthread-sysdep_routines): Add libc-do-syscall.
13566         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
13567         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
13568         to __NR_futex not 240.
13570 2015-03-25  Alan Modra  <amodra@gmail.com>
13572         * NEWS: Advertise TLS optimization.
13573         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
13574         (DT_PPC_NUM): Increment.
13575         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
13576         (CHECK_STATIC_TLS): Use here.
13577         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
13578         TLS descriptors.
13579         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
13580         * sysdeps/powerpc/dl-tls.c: New file.
13581         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
13582         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
13583         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
13584         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
13585         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
13586         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
13587         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
13589 2015-03-25  Alan Modra  <amodra@gmail.com>
13591         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
13592         for overlapping .opd entries" to "support...".
13593         * sysdeps/powerpc/powerpc64/configure: Regenerate
13595 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
13597         * math/auto-libm-test-in: Add more tests of acos.
13598         * math/auto-libm-test-out: Regenerated.
13599         * sysdeps/i386/fpu/libm-test-ulps: Update.
13600         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13602         * math/auto-libm-test-in: Add more tests of expm1.
13603         * math/auto-libm-test-out: Regenerated.
13604         * sysdeps/i386/fpu/libm-test-ulps: Update.
13605         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13607 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
13609         * math/auto-libm-test-in: Add more tests of cosh and sinh.
13610         * math/auto-libm-test-out: Regenerated.
13611         * sysdeps/i386/fpu/libm-test-ulps: Update.
13612         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13614         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
13615         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13617         * math/auto-libm-test-in: Add more tests of log2.
13618         * math/auto-libm-test-out: Regenerated.
13619         * sysdeps/i386/fpu/libm-test-ulps: Update.
13620         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13622 2015-03-23  Roland McGrath  <roland@hack.frob.com>
13624         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
13625         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
13626         _IO_IS_APPENDING bit in READ_WRITE instead.
13628 2015-03-23  Florian Weimer  <fweimer@redhat.com>
13630         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
13631         (__determine_cpumask_size): Replace extend_alloca with a
13632         variable-length array.  Do not treat res == 0 as an error.
13634 2015-03-23  Florian Weimer  <fweimer@redhat.com>
13636         [BZ #18100]
13637         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
13638         and integer overflow.
13639         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
13640         (main): Add integer overflow tests.
13641         * manual/pattern.texi (Calling Wordexp): Document additional use
13642         for WRDE_SYNTAX.
13644 2015-03-23  Alan Modra  <amodra@gmail.com>
13646         * config.h.in: Remove HAVE_ASM_PPC_REL16.
13647         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
13648         and false branch of conditional.
13649         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
13650         Likewise.
13652 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
13654         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
13655         libc-modules.h
13656         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
13657         unused declaration of _hurd_intr_rpc_msg_in_trap.
13658         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
13659         defined instead of whether it is non-zero.
13660         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
13661         input constraint instead of both input and output constraint.  Use ecx
13662         clobber instead of %ecx.
13663         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
13664         mutex_unlock): Use a statement expression instead of an expression list.
13665         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
13666         type to vm_size_t instead of vm_address_t.
13667         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
13668         defined instead of whether it is non-zero.
13669         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
13670         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
13671         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
13672         comparisons with mapaddr.
13673         * nscd/nscd-client.h: Include <time.h>.
13674         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
13675         9th parameter to __vm_region instead of int.
13676         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
13677         * scripts/check-local-headers.sh (exclude): Add device/,
13678         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
13679         cthreads.h.
13681 2015-03-19  Roland McGrath  <roland@hack.frob.com>
13683         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
13684         to account for alignment padding.
13685         * sysdeps/arm/memmove.S: Likewise.
13687 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
13689         * sysdeps/unix/sysv/linux/generic/README: New file.
13691 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
13693         [BZ #18138]
13694         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
13695         (futex_abstimed_wait)
13696         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
13697         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
13698         of lll_futex_timed_wait.
13700 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
13702         [BZ #17542]
13703         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
13705 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
13707         [BZ #17090]
13708         [BZ #17620]
13709         [BZ #17621]
13710         [BZ #17628]
13711         * NEWS: Update.
13712         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
13713         entries with Static TLS too.  Skip entries past the end of the
13714         allocated DTV, from Alan Modra.
13715         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
13716         Static TLS DTV entry set up from...
13717         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
13718         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
13719         * nptl/allocatestack.c (init_one_static_tls): ... and here...
13720         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
13721         for Static TLS.
13722         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
13723         that the slot we find is associated with the given map before
13724         using its generation count.
13725         * nptl_db/db_info.c: Include ldsodefs.h.
13726         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
13727         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
13728         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
13729         (link_map::l_tls_offset): New struct field.
13730         (dtv_t::counter): Likewise.
13731         (rtld_global): New struct.
13732         (_rtld_global): New rtld variable.
13733         (dl_tls_dtv_slotinfo_list): New rtld global field.
13734         (dtv_slotinfo_list): New struct.
13735         (dtv_slotinfo): Likewise.
13736         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
13737         (td_lookup): Rename to...
13738         (td_mod_lookup): ... this.  Use new mod parameter instead of
13739         LIBPTHREAD_SO.
13740         * nptl_db/td_thr_tlsbase.c: Include link.h.
13741         (dtv_slotinfo_list, dtv_slotinfo): New functions.
13742         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
13743         addresses even if the DTV is out of date or missing them.
13744         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
13745         index zero-length arrays.
13746         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
13747         (td_lookup): Make it a macro implemented in terms of...
13748         (td_mod_lookup): ... this declaration.
13749         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
13750         (DB_MAIN_VARIABLE): Likewise.
13752 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
13754         [BZ #18134]
13755         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
13757 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
13759         * stdlib/setenv.c (__add_to_environ): Revert previous change.
13761 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
13763         [BZ #18128]
13764         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
13765         (atomic_add, atomic_increment_and_test)
13766         (atomic_decrement_and_test): Fix 64-bit arithmetic.
13768 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
13770         * stdlib/setenv.c (__add_to_environ):
13771         Dump core quickly if setenv (..., NULL, ...) is called.
13773 2015-03-13  Roland McGrath  <roland@hack.frob.com>
13775         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
13776         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
13777         all the necessary asm magic in one place.
13778         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
13779         using those.
13781 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
13783         [BZ #14906]
13784         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
13785         traced file mtime. Use consistent log message.
13786         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
13787         (register_traced_file): Call install_watches. Always set mtime.
13788         (invalidate_cache): Iterate over all trace files. Call install_watches.
13789         (inotify_check_files): Don't inline. Handle watching parent
13790         directories and configuration file movement in and out.
13791         (handle_inotify_events): New function.
13792         (main_loop_poll): Call handle_inotify_events.
13793         (main_loop_epoll): Likewise.
13794         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
13795         (struct traced_file): Use array of inotify fds. Add parent directory,
13796         and basename.
13797         (struct database_dyn): Remove unused file_mtime.
13798         (init_traced_file): New inline function.
13799         (define_traced_file): New macro.
13800         * nss/nss_db/db-init.c: Use define_traced_file.
13801         (_nss_db_init): Use init_traced_file.
13802         * nss/nss_files/files-init.c: Use define_traced_file.
13803         (_nss_files_init): Use init_traced_file.
13805 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
13807         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
13808         [_LIBC]: Do not include <stdlib.h>.
13809         [!_LIBC] (abort): Remove declaration.
13810         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
13811         _FP_STATIC_ASSERT instead of conditionally calling abort.
13812         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
13813         (_FP_EXTEND_CNAN): Likewise.
13814         (FP_TRUNC): Likewise.
13815         (__FP_CLZ): Likewise.
13816         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
13818 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
13820         * manual/string.texi (XPG basename): Fix prototype.
13822 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
13824         [BZ #18080]
13825         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
13826         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
13827         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
13828         (__setcontext): Likewise.
13829         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
13830         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
13831         Call rt_sigprocmask syscall one time to set new signal mask
13832         and retrieve the current signal mask instead of two calls.
13833         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
13834         (__swapcontext): Likewise.
13835         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
13836         * stdlib/tst-setcontext2.c: New file.
13838 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
13840         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
13842 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
13844         [BZ #18093]
13845         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
13846         the wrong size.
13848 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
13850         [BZ #18043]
13851         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
13853 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
13855         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
13856         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
13857         Remove define.
13858         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
13859         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
13860         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
13861         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
13862         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
13863         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
13864         define.
13865         * nptl_db/td_symbol_list.c (td_lookup): Remove
13866         HAVE_ASM_GLOBAL_DOT_NAME code.
13867         * sysdeps/powerpc/powerpc64/configure.ac: Remove
13868         HAVE_ASM_GLOBAL_DOT_NAME check.
13869         * sysdeps/powerpc/powerpc64/configure: Regenerate.
13870         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
13871         (DOT_LABEL): Remove define.
13872         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
13873         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
13874         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
13875         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
13876         (__TLS_GET_ADDR): Likewise.
13877         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
13878         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
13880 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
13882         [BZ #18111]
13883         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
13884         (_FPU_SETCW): Initialize cw from fpsr before storing.
13885         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
13886         (fesetexceptflag): Rewrite using fpu_control.h.
13887         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
13889 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
13891         [BZ #18110]
13892         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
13893         asms.
13894         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
13896 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
13898         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
13899         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
13900         abort.
13901         (_FP_FMA): Likewise.
13902         (_FP_DIV): Likewise.
13904 2015-03-10  Roland McGrath  <roland@hack.frob.com>
13906         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
13907         with 0 in that case.
13908         * Makefile (summarize-tests): New canned sequence, factored out of
13909         commands for targets tests and xtests.  Display summary lines that
13910         don't start with PASS: or XFAIL: rather than ones that do start with
13911         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
13912         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
13913         do start with ERROR: or FAIL:.
13914         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
13915         (except for [$(build-shared) = yes]).
13916         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
13917         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
13918         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
13919         * nptl/Makefile: Revert 2015-03-04 changes.
13920         [$(CXX) empty] (tests-unsupported): New variable.
13921         * debug/Makefile: Likewise.
13923         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
13924         gnulib file.  Replace __attribute with __attribute__ throughout.
13926 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
13928         * sysdeps/hppa/fpu/libm-test-ulps: Update.
13930 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
13932         [BZ #18104]
13933         * math/auto-libm-test-in: Add another test of pow.
13934         * math/auto-libm-test-out: Regenerated.
13936 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13938         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
13939         $(config-cflags-nofma).
13941 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
13943         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
13944         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
13945         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
13946         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
13947         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
13948         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
13949         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
13950         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
13951         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
13952         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
13953         Add comment on closing #endif.
13955 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
13957         * posix/wordexp.c (CHAR_IN_SET): New macro.
13958         (parse_param): Use it.
13960 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13962         * sysdeps/powerpc/fpu/libm-test-ulps: update.
13964 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
13966         [BZ #18043]
13967         * posix/wordexp.c (parse_param): Fix buffer overflow.
13968         * posix/wordexp-test.c (test_case): Add test case.
13970 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
13972         [BZ #18042]
13973         * posix/wordexp.c (parse_backtick): Fix off-by-one.
13974         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
13976 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
13978         [BZ #18043]
13979         * posix/wordexp-test.c (test_case): Add test for BZ #18043
13980         (do_bz18043): Delete.
13981         (at_page_end): New.
13982         (testit): Refactor to have words at the edge of unreadable page.
13984 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
13986         [BZ #16734]
13987         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
13988         Cleanup read-only streams as well.
13989         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
13991 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13993         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
13994         <bits/libc-lockP.h>
13996 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
13998         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
13999         on [__KERNEL__].
14000         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
14001         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
14002         * soft-fp/op-common.h (_FP_DECL): Likewise.
14004 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
14006         * elf/ifuncdep2.c (global): Replace
14007         __attribute__((visibility("protected"))) with
14008         asm (".protected global").
14009         * elf/ifuncmod1.c (global): Likewise.
14010         * elf/ifuncmod5.c (global): Likewise.
14012 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
14014         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
14015         <asm/sfp-machine.h> instead of <sfp-machine.h>.
14017 2015-03-06  Roland McGrath  <roland@hack.frob.com>
14019         * manual/install.texi (Configuring and compiling):
14020         Document test-wrapper-env-only.
14021         * INSTALL: Regenerated.
14023 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
14025         [BZ #18043]
14026         * posix/wordexp.c (parse_param): Fix buffer overflow.
14027         * posix/wordexp-test.c (do_bz18043): Add test case.
14029 2015-03-06  Vincent Bernat  <vincent@bernat.im>
14031         * time/tst-strptime2.c (do_test): Ensure failing tests are
14032         reported correctly.
14033         * time/tst-strptime3.c (do_test): Likewise.
14035 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
14037         Fix aio_error thread-safety.
14038         * sysdeps/pthread/aio_error.c: New file
14039         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
14040         synchronization.
14042 2015-03-06  Florian Weimer  <fweimer@redhat.com>
14044         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
14045         (group_number, vfprintf): Use it.
14046         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
14047         (JUMP, REF): Use it.
14048         (WORK_BUFFER_SIZE): New enum constant.
14049         (process_arg, vfprintf): Use it.
14051 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
14053         * manual/errno.texi (Error Messages): Complete example function
14054         by adding missing #define.
14055         (program_invocation_name): Add statement indicating GNU
14056         extension and reference which header file declares the variable.
14057         (program_invocation_short_name): Likewise.
14059 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
14061         * manual/errno.texi (Error Messages): Delete strerror ISO C89
14062         compatibility note.
14064 2015-03-05  Roland McGrath  <roland@hack.frob.com>
14066         * Makeconfig (test-wrapper-env-only): New variable.
14067         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
14068         then use that with $(test-wrapper-env-only) rather than using
14069         $(test-wrapper-env) $(run-program-env) $($*-ENV).
14071 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
14073         [BZ #18082]
14074         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
14075         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
14076         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
14077         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
14078         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
14079         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
14080         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
14081         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
14082         Likewise.
14083         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
14084         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
14085         Likewise.
14086         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
14087         Likewise.
14088         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
14089         Likewise.
14090         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
14091         Likewise.
14092         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
14093         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
14094         Likewise.
14095         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
14096         Likewise.
14097         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
14098         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
14100 2015-03-04  Roland McGrath  <roland@hack.frob.com>
14102         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
14103         (ETH_ALEN): New macro.
14104         (struct ether_addr): Use it for length of ether_addr_octet.
14106         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
14107         (setdb): Don't call __nss_configure_lookup for "rpc".
14108         (do_test): Don't call test_rpc.
14109         (output_rpcent, test_rpc): Functions moved ...
14110         * sunrpc/test-rpcent.c: ... to this new file.
14111         * sunrpc/Makefile (tests): Add it.
14113         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
14114         __xpg_sigpause.
14115         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
14116         * nptl/tst-signal6.c: Likewise.
14117         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
14118         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
14120         * configure.ac (libc_cv_cxx_link_ok): New check.
14121         Reset CXX to empty if it fails to link.
14122         * configure: Regenerated.
14123         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
14124         bug-atexit3-lib only if $(CXX) is nonempty.
14125         * nptl/Makefile (tests): Likewise for tst-cancel24.
14126         (tests, tests-static): Likewise for tst-cancel24-static.
14127         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
14128         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
14129         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
14130         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
14132 2015-03-04  Andreas Schwab  <schwab@suse.de>
14134         [BZ #17631]
14135         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
14136         for non-GCC compilers.
14137         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
14138         Likewise.
14140 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
14142         [BZ #17776]
14143         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
14144         integer before bitwise and assembly operations.
14145         (feclearexcept): Likewise.
14146         * math/test-fenvinline.c: New file.
14147         * math/Makefile: Add test-fenvinline test.
14149 2015-03-03  Alan Modra  <amodra@gmail.com>
14151         [BZ #16512]
14152         * scripts/localplt.awk: Strip off symbol version.
14153         * NEWS: Mention bug fix.
14155 2015-03-02  Roland McGrath  <roland@hack.frob.com>
14157         * sysdeps/pthread/timer_routines.c
14158         (timer_free_list, thread_free_list, thread_active_list): Make static.
14160 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
14162         [BZ #17779]
14163         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
14164         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
14165         Undefine.
14166         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14167         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
14168         Likewise.
14169         * sysdeps/unix/sysv/linux/sh/kernel-features.h
14170         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
14171         Likewise.
14173 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
14175         [BZ #18036]
14176         * posix/fnmatch_loop.c (END): Detect invalid pattern.
14177         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
14179 2015-03-02  Andreas Schwab  <schwab@suse.de>
14181         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
14182         variable name.
14184 2015-03-02  Florian Weimer  <fweimer@redhat.com>
14186         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
14187         Return error status.
14189 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
14191         [BZ #15969]
14192         * locale/findlocale.c (_nl_find_locale): Introduce const
14193         version of loc_name and drop unsafe type casts.
14195 2015-02-27  Roland McGrath  <roland@hack.frob.com>
14197         * dlfcn/tststatic2.c (main): Converted to ...
14198         (do_test): ... this.
14199         (TEST_FUNCTION): New macro.
14200         Include test-skeleton.c.
14202 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
14204         [BZ #17711]
14205         * elf/Makefile (tests): Add vismain only if PIE is enabled.
14206         (tests-pie): Add vismain.
14207         (CFLAGS-vismain.c): New.
14208         * elf/vismain.c: Add comments for PIE requirement.
14210 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
14212         [BZ #18046]
14213         [BZ #18047]
14214         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
14215         0x1p-56L as threshold for just returning the argument.
14216         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
14217         0x1p-32L as threshold for just returning the argument.
14218         * math/auto-libm-test-in: Add more tests of atanh.
14219         * math/auto-libm-test-out: Regenerated.
14220         * sysdeps/i386/fpu/libm-test-ulps: Update.
14221         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
14223 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
14225         * string/bcopy.c (bcopy): Call memmove for performance.
14227 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
14229         * string/bzero.c (__bzero): Call memset for performance.
14231 2015-02-27  John David Anglin  <dave.anglin@bell.net>
14233         [BZ #18068]
14234         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
14235         to 00100000.
14237 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
14239         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
14241 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
14243         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
14244         (__kernel_standard): Use CSTR macro when setting exc.name.
14245         * sysdeps/ieee754/Makefile [$(subdir) = math]
14246         (CFLAGS-k_standard.c): Remove variable.
14248         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
14249         setting p and q from "else if" to "else".
14250         (qzero): Likewise.
14251         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
14252         (qone): Likewise.
14253         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
14254         (qzerof): Likewise.
14255         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
14256         (qonef): Likewise.
14257         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
14258         (qzero): Likewise.
14259         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
14260         (qone): Likewise.
14262         [BZ #18038]
14263         [BZ #18039]
14264         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
14265         return pi/2 for arguments below 0x1p-113L.
14266         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
14267         return pi/2 for arguments below 0x1p-106L.
14268         * math/auto-libm-test-in: Add more tests of acos.
14269         * math/auto-libm-test-out: Regenerated.
14271         [BZ #16351]
14272         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
14273         (MO): New macro.
14274         (__ieee754_asin): Force underflow exception for results with small
14275         absolute value.
14276         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
14277         (MO): New macro.
14278         (__ieee754_asinf): Force underflow exception for results with
14279         small absolute value.
14280         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
14281         (__ieee754_asin): Force underflow exception for results with small
14282         absolute value.
14283         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
14284         (__ieee754_asinf): Force underflow exception for results with
14285         small absolute value.
14286         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
14287         (__ieee754_asinl): Force underflow exception for results with
14288         small absolute value.
14289         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
14290         (__ieee754_asinl): Force underflow exception for results with
14291         small absolute value.
14292         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
14293         (__ieee754_asinl): Force underflow exception for results with
14294         small absolute value.
14295         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
14296         Include <math.h>.
14297         * math/auto-libm-test-in: Do not mark underflow exceptions as
14298         possibly missing for bug 16351.
14299         * math/auto-libm-test-out: Regenerated.
14301         [BZ #18030]
14302         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
14303         of power of 2 down when low part has opposite sign.
14304         * math/libm-test.inc (logb_test_data): Add more tests.
14306 2015-02-26  Andreas Schwab  <schwab@suse.de>
14308         [BZ #18032]
14309         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
14310         over collating symbol inside a bracket expression.  Minor cleanup.
14311         * posix/tst-fnmatch3.c (do_test): Add test case.
14313 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
14315         [BZ #18029]
14316         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
14317         Adjust exponent of power of 2 down when low part has opposite
14318         sign.
14319         * math/libm-test.inc (ilogb_test_data): Add more tests.
14321 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
14323         [BZ #15969]
14324         * locale/findlocale.c (_nl_find_locale): Fix constness error in
14325         the previous change.
14327         [BZ #15969]
14328         * locale/findlocale.c (_nl_find_locale): Retry archive search
14329         after alias expansion.
14331 2015-02-25  Roland McGrath  <roland@hack.frob.com>
14333         * iconv/tst-iconv3.c (main): Converted to ...
14334         (do_test): ... this.
14335         (TEST_FUNCTION): New macro.
14336         Include test-skeleton.c.
14338         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
14339         (convert): Make function static.
14340         (test_unalign): Likewise.  Add const to argument pointee types.
14341         (main): Replace with static function do_test.
14342         Print "Succeeded." only if RET is zero.
14343         (TEST_FUNCTION): New macro.
14344         Include test-skeleton.c.
14346         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
14347         returns a null pointer.
14349 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14351         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
14352         to __memcpy_ppc only for static builds.
14354 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
14356         [BZ #18020]
14357         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
14358         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
14359         * math/auto-libm-test-in: Add more tests of asinh.
14360         * math/auto-libm-test-out: Regenerated.
14361         * sysdeps/i386/fpu/libm-test-ulps: Update.
14362         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14364 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
14366         [BZ #15850]
14367         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
14368         and ip6_mtuinfo definitions here.
14369         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
14370         in this define too.  Update comment.
14372 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
14374         * elf/sprof.c (load_shobj): Tweak error message to match others.
14376 2015-02-24  Kevin Easton  <kevin@guarana.org>
14378         [BZ #16145] (partial fix)
14379         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
14380         to reduce lock contention.
14382 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
14384         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
14385         (struct timex): Update time comment.
14386         (ADJ_SETOFFSET): Define.
14388 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
14390         [BZ #18019]
14391         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
14392         2**56 not 2**28 as threshold for log (2x) formula.
14393         * math/auto-libm-test-in: Add more tests of acosh.
14394         * math/auto-libm-test-out: Regenerated.
14395         * sysdeps/i386/fpu/libm-test-ulps: Update.
14396         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14398 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
14400         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
14401         parenthesis around the buf assignment.
14402         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
14404 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
14406         [BZ #16783]
14407         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
14408         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
14409         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
14410         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
14411         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
14412         * math/libm-test.inc (scalb_test_data): Add more tests.
14414 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
14416         [BZ #17916]
14417         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
14418         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
14420 2015-02-24  Eric Rannaud  <e@nanocritical.com>
14422         [BZ #17523]
14423         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
14424         * io/bits/fcntl2.h (open): Use it.
14425         (openat): Likewise.
14426         * io/open.c (__libc_open): Likewise.
14427         * io/open64.c (__libc_open64): Likewise.
14428         * io/open64_2.c (__open64_2): Likewise.
14429         * io/open_2.c (__open_2): Likewise.
14430         * io/openat.c (__openat): Likewise.
14431         * io/openat64.c (__openat64): Likewise.
14432         * io/openat64_2.c (__openat64_2): Likewise.
14433         * io/openat_2.c (__openat_2): Likewise.
14434         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
14435         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
14436         * sysdeps/posix/open64.c (__libc_open64): Likewise.
14437         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
14438         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
14439         (__open_nocancel): Likewise.
14440         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
14441         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
14442         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
14444 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
14446         [BZ #14841]
14447         * resolv/gethnamaddr.c (getanswer): Skip logging if
14448         RES_USE_DNSSEC is set.
14449         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
14451 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
14453         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
14455 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
14457         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
14458         201304L, for Unicode 7.
14460 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
14462         [BZ #17836]
14463         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
14464         shared library.  Add gmon-start.os otherwise.
14465         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
14466         $(objpfx)gmon-start.os if builing shared library.
14467         ($(objpfx)g$(static-start-installed-name)): Likewise.
14469 2015-02-23  Andreas Schwab  <schwab@suse.de>
14471         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
14473 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
14475         [BZ #17269]
14476         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
14477         (enlarge_userbuf): Likewise.
14479 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
14481         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
14482         * math/atest-exp.c (TIMEOUT): Adjust to 200.
14483         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
14484         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
14486 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
14488         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
14489         expression inside statement expression.
14491 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
14493         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
14494         <sysdeps/nptl/lowlevellock.h> and remove macros and
14495         functions that are now defined there.
14496         (SYS_futex): Remove.
14497         (lll_compare_and_swap): Remove.
14498         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
14500 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
14502         [BZ #17999]
14503         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
14504         instead of scandirat.
14505         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
14506         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
14507         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
14508         __scandirat.
14509         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
14510         (__scandirat): Declare.  Use libc_hidden_proto.
14511         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
14512         Remove variable.
14513         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
14515 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
14517         [BZ #15319]
14518         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
14519         (MO): New macro.
14520         (__ieee754_atan2): For results with small absolute value, force
14521         underflow exception and remove excess range and precision from
14522         return value.
14523         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
14524         (MO): New macro.
14525         (__ieee754_atan2f): For results with small absolute value, force
14526         underflow exception and remove excess range and precision from
14527         return value.
14528         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
14529         (MO): New macro.
14530         (__atan): For results with small absolute value, force underflow
14531         exception and remove excess range and precision from return value.
14532         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
14533         (MO): New macro.
14534         (__atanf): For results with small absolute value, force underflow
14535         exception and remove excess range and precision from return value.
14536         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
14537         <math.h>.
14538         (__ieee754_atan2): Force underflow exception for results with
14539         small absolute value.
14540         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
14541         <math_private.h>.
14542         (atan): Force underflow exception for results with small absolute
14543         value.
14544         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
14545         (__atanf): Force underflow exception for results with small
14546         absolute value.
14547         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
14548         <math.h>.
14549         (__atanl): Force underflow exception for results with small
14550         absolute value.
14551         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
14552         (__atanl): Force underflow exception for results with small
14553         absolute value.
14554         * sysdeps/x86/fpu/bits/mathinline.h
14555         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
14556         (__ieee754_atan2): Only define inline for long double.
14557         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
14558         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
14559         * math/auto-libm-test-in: Do not mark underflow exceptions as
14560         possibly missing for bug 15319.  Add more tests of atan2.
14561         * math/auto-libm-test-out: Regenerated.
14562         * math/libm-test.inc (casin_test_data): Do not mark underflow
14563         exceptions as possibly missing for bug 15319.
14564         (casinh_test_data): Likewise.
14565         * sysdeps/i386/fpu/libm-test-ulps: Update.
14567 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
14569         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
14570         * sysdeps/mips/bits/endian.h: Fix comments.
14572 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
14574         [BZ #17996]
14575         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
14576         (hdestroy_r): Likewise.
14577         (hsearch_r): Likewise.
14578         (__hcreate_r): Declare and use libc_hidden_proto.
14579         (__hdestroy_r): Likewise.
14580         (__hsearch_r): Likewise.
14581         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
14582         (hcreate): Call __hcreate_r instead of hcreate_r.
14583         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
14584         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
14585         as weak alias of __hcreate_r.
14586         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
14587         __hdestroy_r.
14588         (hsearch_r): Rename to __hsearch_r and define as weak alias of
14589         __hsearch_r.
14590         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
14591         Remove variable.
14592         (test-xfail-XPG4/search.h/linknamespace): Likewise.
14593         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
14594         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
14595         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
14597 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
14599         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
14600         arena_lock into a single arena_get.
14602 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
14604         * dl-reloc.c: Inlucde libc-internal.h.
14605         (_dl_try_allocate_static_tls): Call ALIGN_UP.
14606         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
14607         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
14608         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
14609         (grow_heap): Likewise.
14610         * malloc/malloc.c: Include libc-internal.h.
14611         (do_check_malloc): Call powerof2.
14612         (sysmalloc): Use pagesize. Call ALIGN_UP.
14613         (systrim): Use pagesize.
14614         (mremap_chunk): Use pagesize. Call ALIGN_UP.
14615         (__libc_valloc): Use pagesize.
14616         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
14618 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
14620         [BZ #17991]
14621         * include/sys/resource.h (__getrlimit64): Declare.  Use
14622         libc_hidden_proto.
14623         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
14624         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
14625         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
14626         getrlimit64.
14627         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
14628         __getrlimit64.
14629         [!getrlimit64] (getrlimit64): Define as weak alias of
14630         __getrlimit64.  Use libc_hidden_weak.
14631         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
14632         using __getrlimit64 not __new_getrlimit64.
14633         (__GI_getrlimit64): Likewise.
14634         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
14635         Likewise.
14636         (__GI_getrlimit64): Likewise.
14637         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
14638         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
14639         (getrlimit): Add __getrlimit64 alias.
14640         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
14641         Likewise.
14642         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
14643         Remove variable.
14644         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
14645         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
14647 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
14649         * libio/fileops.c: Add missing sys/mman.h
14650         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
14652 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
14654         * manual/math.texi (Errors in Math Functions): Clarify goals
14655         regarding inexact and underflow exceptions.
14657 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
14659         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
14660         * sysdeps/mips/memset.S: Ditto.
14662 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
14664         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
14666 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
14668         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
14669         (__v1longjmp): Remove versioned symbol.
14670         (__v1siglongjmp): Remove alias and versioned symbol.
14671         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
14672         (__v2siglongjmp): Likewise.
14674 2015-02-16  Torvald Riegel  <triegel@redhat.com>
14676         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
14678 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
14680         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
14682 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
14684         [BZ #17987]
14685         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
14686         zero result does not depend on the sign resulting from
14687         subtraction.
14688         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
14689         Likewise.
14690         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
14691         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
14692         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
14693         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
14694         * math/libm-test.inc (remquo_test_data): Add more tests.
14696 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
14698         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
14699         Problem reported by J William Piggott.
14701 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
14703         [BZ #17978]
14704         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
14705         products 4 * y and 2 * y where those would overflow.
14706         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
14707         Likewise.
14708         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
14709         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
14710         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
14711         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
14712         * math/libm-test.inc (remquo_test_data): Add more tests.
14714         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
14716         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
14717         [defined _COMPILING_NEWLIB].
14718         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
14719         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
14721         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
14722         [!defined __mips_isa_rev || __mips_isa_rev < 6].
14724 2015-02-16  Torvald Riegel  <triegel@redhat.com>
14726         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
14727         acquired.
14729 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
14731         [BZ #17792]
14732         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
14733         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
14734         HOST_STACK_END_ADDR): Likewise.
14736 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
14738         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
14739         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
14740         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
14742 2015-02-13  Roland McGrath  <roland@hack.frob.com>
14744         * sysdeps/generic/c++-types.data: New file.
14745         * sysdeps/generic/ld.abilist: New file.
14746         * sysdeps/generic/libBrokenLocale.abilist: New file.
14747         * sysdeps/generic/libanl.abilist: New file.
14748         * sysdeps/generic/libc.abilist: New file.
14749         * sysdeps/generic/libcrypt.abilist: New file.
14750         * sysdeps/generic/libdl.abilist: New file.
14751         * sysdeps/generic/libm.abilist: New file.
14752         * sysdeps/generic/libpthread.abilist: New file.
14753         * sysdeps/generic/libresolv.abilist: New file.
14754         * sysdeps/generic/librt.abilist: New file.
14756 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
14758         [BZ #17569]
14759         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
14760         Compute absolute value of x as modified by fmod, not original
14761         value of x.
14762         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
14763         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
14764         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
14765         RUN_TEST_ffI_f1_mod8.
14766         (remquo_test_data): Add more tests.
14768 2015-02-13  Roland McGrath  <roland@hack.frob.com>
14770         * sysdeps/init_array/pt-crti.S: New file.
14772 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
14774         [BZ #17967]
14775         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
14776         __builtin_fmaf instead of relying on contraction of a * b + c.
14778 2015-02-12  J William Piggott  <elseifthen@gmx.com>
14780         [BZ #17969]
14781         * manual/time.texi: correct the zoneinfo path in the TZ Variable
14782         node.
14784 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
14786         [BZ #17964]
14787         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
14788         __builtin_fma instead of relying on contraction of a * b + c.
14790 2015-02-12  Roland McGrath  <roland@hack.frob.com>
14792         * Makeconfig (ASFLAGS): Add -Werror=undef.
14793         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
14794         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
14795         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
14797         * Makeconfig (after-link): New variable.
14798         (+link-pie, +link-pie-tests): Use it.
14799         (+link-static, +link-static-tests): Likewise.
14800         (+link, +link-tests): Likewise.
14801         * Makerules (build-module, build-module-asneeded): Likewise.
14802         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
14803         Likewise.
14804         * elf/Makefile ($(objpfx)ld.so): Likewise.
14806 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
14808         [BZ #17965]
14809         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
14810         both struct timeval and struct timespec.
14812 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
14814         [BZ #16560]
14815         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
14816         and redefine.
14817         (__ieee754_exp2l): Do not multiply small fractional parts by
14818         M_LN2l.
14819         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
14820         small argument.
14821         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
14822         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
14823         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
14824         * math/auto-libm-test-in: Add more tests of exp2.
14825         * math/auto-libm-test-out: Regenerated.
14827 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
14829         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
14830         unaligned path.
14832 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14834         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
14835         little endian.
14837 2015-02-12  Andreas Schwab  <schwab@suse.de>
14839         [BZ #15790]
14840         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
14841         Filter out elision flags from value returned in kind.
14842         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
14843         * nptl/tst-pthread-mutexattr.c: New file.
14845 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14847         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
14848         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
14849         into gnu-gnu, and update comment to refer to abi-tags.
14851 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
14853         [BZ #15467]
14854         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
14855         (__sincos): Set errno to EDOM for infinite argument.
14856         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
14857         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
14858         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
14859         (__sincosl): Set errno to EDOM for infinite argument.
14860         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
14861         (__sincosl): Set errno to EDOM for infinite argument.
14862         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
14863         (__sincosl): Set errno to EDOM for infinite argument.
14864         * math/libm-test.inc (sincos_test_data): Test errno setting.
14866 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
14868         * string/strxfrm_l.c: Remove #define STRCMP.
14869         * string/strcoll_l.c: Remove #define STRLEN.
14870         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
14871         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
14873 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
14875         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
14876         * sysdeps/mips/mips32/sfp-machine.h: ... here.
14877         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
14878         * sysdeps/mips/mips64/Makefile: ... here.
14879         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
14880         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
14881         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
14882         * sysdeps/mips/mips64/sfp-machine.h: ... here.
14883         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
14884         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
14885         * sysdeps/mips/mips64/n64/Implies: Likewise.
14887 2015-02-10  Roland McGrath  <roland@hack.frob.com>
14889         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
14890         <sys/time.h>, <string.h>, and <errno.h>.
14891         (dest_offset, dest_address, value, zero): Remove unused variables.
14892         (ldouble): Remove typedef.
14893         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
14894         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
14895         1).  Fix code style.
14896         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
14897         (check): Function removed.
14898         (CHECK): New macro.
14899         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
14900         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
14901         Don't call set_sigaction_FP and remove_sigaction_FP here.
14902         (ldouble_test): Just use 'long double' as macro argument, no need for
14903         the 'ldouble' typedef.
14904         (do_test): Set up SIGFPE handler at start, using plain signal rather
14905         than sigaction.  Fix code style.
14907 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
14909         [BZ #17949]
14910         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
14911         jump label.
14913 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
14915         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
14916         * sysdeps/powerpc/powerpc32/configure: Regenerated.
14918         * sysdeps/powerpc/configure.ac: Remove file.
14919         * sysdeps/powerpc/configure: Likewise.
14921         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
14922         [sysdep_routines]: Remove wordcopy-power6 object.
14923         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
14924         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
14925         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
14926         (__memmove_ppc32): Likewise.
14927         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
14928         file.
14929         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
14930         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
14931         Remove preprocessor.
14933         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
14934         [sysdep_routines]: Remove wide chars objects.
14935         [wcsmbs]: New rule for wide char objects.
14937         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
14938         Remove wordcopy-power6 obejct.
14939         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
14940         Use local call for wordcopy and memcpy symbols.
14941         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
14942         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
14943         implementation for loader.
14944         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
14946         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
14947         Remove wordcopy-power7 object.
14948         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
14949         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
14950         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
14951         (_wordcopy_fwd_dest_aligned): Likewise.
14952         (_wordcopy_bwd_aligned): Likewise.
14953         (_wordcopy_bwd_dest_aligned): Likewise.
14955         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
14956         Rewrite to call __memmove_ppc instead of include default
14957         implementation.
14959         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
14960         Remove wide chars objects.
14961         [wcsmbs]: New rule for wide char objects.
14963 2015-02-09  Andreas Schwab  <schwab@suse.de>
14965         [BZ #17912]
14966         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
14967         in terms of __O_DIRECTORY.
14969 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14971         * time/getdate.c: Include <stdbool.h>.
14972         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
14973         call PTR_MANGLE.
14974         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
14975         PTR_DEMANGLE.
14977 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
14979         Add ersatz _Static_assert on older C hosts
14980         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
14981         pre-C11 C platform that is not known to support _Static_assert.
14983 2015-02-07  Richard Braun  <rbraun@sceen.net>
14985         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
14986         sigstate.
14987         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
14989 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14991         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
14992         priority against unexistent AIO_PRIO_DELTA_MAX.
14993         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
14994         instead of int.
14995         * misc/fchflags.c (fchflags): Likewise.
14996         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
14997         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
14998         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
14999         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
15000         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
15001         Declare macros.
15002         [__USE_MISC] (chflags, fchflags): Declare functions.
15003         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
15004         EINVAL when nfds is greater than FD_SETSIZE.
15005         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
15006         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
15007         45.
15008         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
15009         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
15010         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
15011         MACH_RCV_TIMED_OUT.
15012         * hurd/hurd/signal.h (_hurd_self_sigstate,
15013         _hurd_critical_section_lock, _hurd_critical_section_unlock):
15014         Explicit casts from void *.
15015         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
15016         * abi-tags: Rename gnu-gnu os into gnu.
15018         [BZ #4719]
15019         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
15020         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
15021         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
15022         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
15023         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
15024         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
15026         [BZ #17944]
15027         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
15028         duplicates ADDR->sun_path with sockaddr LEN limitation.
15029         * sysdeps/mach/hurd/connect.c: Include <string.h>
15030         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
15031         * sysdeps/mach/hurd/sendmsg.c: Likewise.
15032         * sysdeps/mach/hurd/sendto.c: Likewise.
15033         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
15034         implementing it by hand.
15036 2015-02-06  Roland McGrath  <roland@hack.frob.com>
15038         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
15039         Use sfi_breg on ldr.
15040         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
15041         Likewise.
15043         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
15044         it's defined.
15045         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
15046         Test SIGSETXID only if it's defined.
15048         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
15050         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
15051         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
15053         * nptl/tst-align2.c: Moved ...
15054         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
15055         * nptl/Makefile (tests): Remove tst-align2.
15056         * sysdeps/unix/sysv/linux/Makefile
15057         [$(subdir) = nptl] (tests): Add tst-align-clone.
15058         * nptl/tst-getpid1.c: Moved ...
15059         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
15060         * nptl/tst-getpid2.c: Moved ...
15061         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
15062         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
15063         * sysdeps/unix/sysv/linux/Makefile
15064         [$(subdir) = nptl] (tests): ... here.
15065         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
15066         * sysdeps/unix/sysv/linux/Makefile
15067         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
15069         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
15070         Drop trailing \n from perror argument.  Use return rather than exit.
15072         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
15073         on [SA_SIGINFO].
15074         * nptl/tst-cancel21.c (do_test): Likewise.
15075         * debug/tst-backtrace6.c: Include <signal.h> first thing.
15076         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
15077         [!SA_SIGINFO]: Make it a stub test.
15079         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
15080         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
15082         * posix/tst-getlogin.c: Move to ...
15083         * login/tst-getlogin.c: ... here.
15084         * posix/Makefile (tests): Move tst-getlogin to ...
15085         * login/Makefile (tests): ... here.
15087         * libio/tst-atime.c (do_test): Move local variables SV and E
15088         inside [ST_NOATIME] conditional.
15090         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
15092         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
15094         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
15095         (wait_code): New function replaces macro.
15096         Call nanosleep rather than syscall.
15098         * nptl/pt-system.c: Rewritten.  Put everything under
15099         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
15100         Use IFUNC to redirect when possible.
15102         * nptl/pt-longjmp.c: Rewritten.  Put everything under
15103         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
15104         Use IFUNC to redirect when possible.
15106         * nptl/pt-fork.c: Rewritten.  Put everything under
15107         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
15108         Use IFUNC to redirect when possible.
15109         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
15111         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
15112         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
15113         unconditionally nowadays.  This included the only reference to
15114         __vdso_clock_gettime that appears outside libc proper.
15115         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
15116         Remove version set (containing only __vdso_clock_gettime).
15117         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
15118         Add attribute_hidden.
15119         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
15120         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
15121         libc_hidden_data_def.
15122         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
15123         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
15125         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
15126         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
15127         setrpcent, and getrpcport to ...
15128         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
15129         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
15130         getrpcbynumber_r, and getrpcent_r to ...
15131         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
15132         * inet/getrpcbyname.c: Moved ...
15133         * sunrpc/getrpcbyname.c: ... here.
15134         * inet/getrpcbyname_r.c: Moved ...
15135         * sunrpc/getrpcbyname_r.c: ... here.
15136         * inet/getrpcbynumber.c: Moved ...
15137         * sunrpc/getrpcbynumber.c: ... here.
15138         * inet/getrpcbynumber_r.c: Moved ...
15139         * sunrpc/getrpcbynumber_r.c: ... here.
15140         * inet/getrpcent.c: Moved ...
15141         * sunrpc/getrpcent.c: ... here.
15142         * inet/getrpcent_r.c: Moved ...
15143         * sunrpc/getrpcent_r.c: ... here.
15144         * inet/Makefile (routines): Move those to ...
15145         * sunrpc/Makefile (routines): ... here.
15146         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
15147         the $(subdirs) list.
15148         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
15149         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
15150         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
15151         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
15153         * elf/Makefile (routines): Include $(all-dl-routines), not just
15154         $(dl-routines).
15155         (rtld-routines): Likewise.  Use = rather than :=.
15156         * sysdeps/aarch64/Makefile [$(subdir) = elf]
15157         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
15158         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
15159         * sysdeps/arm/Makefile: Likewise.
15160         * sysdeps/i386/Makefile: Likewise.
15161         * sysdeps/x86_64/Makefile: Likewise.
15162         * sysdeps/hppa/Makefile [$(subdir) = elf]
15163         (sysdep_routines, sysdep-rtld-routines): Don't add
15164         $(sysdep-dl-routines) to these.
15165         * sysdeps/ia64/Makefile: Likewise.
15166         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
15167         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
15168         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
15169         Don't add dl-static to these; sysdep-dl-routines alone is enough.
15170         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
15171         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
15172         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
15173         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
15174         * sysdeps/powerpc/Makefile [$(subdir) = elf]
15175         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
15176         these; sysdep-dl-routines alone is enough.
15178 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
15180         [BZ #17932]
15181         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
15182         where multiplication results in zero and third argument is finite
15183         and nonzero.
15184         * math/auto-libm-test-in: Add more tests of fma.
15185         * math/auto-libm-test-out: Regenerated.
15187         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
15188         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
15189         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
15190         (_FP_CMP_EQ): Likewise.
15191         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
15193         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
15194         extra argument CHECK_NAN.  Redefine as wrapper around
15195         _FP_EXTEND_CNAN.
15197 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
15199         * version.h (RELEASE): Set to "stable".
15200         (VERSION): Set to "2.21"
15201         * include/features.h (__GLIBC_MINOR__): Set to 21.
15203         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
15205 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
15206             Paul Eggert  <eggert@cs.ucla.edu>
15208         [BZ #16618]
15209         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
15210         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
15211         size in bytes. Store needed elements in wpmax. Use needed size
15212         in bytes for extend_alloca.
15214 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
15216         * manual/install.texi: Latest tested versions are GCC 4.9.2,
15217         binutls 2.25, and texinfo 5.2.
15218         * INSTALL: Regenerate.
15219         * sysdeps/nios2/configure: Regenerate.
15220         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
15221         * manual/contrib.texi: Update.
15222         * po/be.po: Update.
15223         * po/bg.po: Update.
15224         * po/ca.po: Update.
15225         * po/cs.po: Update.
15226         * po/da.po: Update.
15227         * po/de.po: Update.
15228         * po/el.po: Update.
15229         * po/eo.po: Update.
15230         * po/es.po: Update.
15231         * po/fi.po: Update.
15232         * po/fr.po: Update.
15233         * po/gl.po: Update.
15234         * po/hr.po: Update.
15235         * po/hu.po: Update.
15236         * po/ia.po: Update.
15237         * po/id.po: Update.
15238         * po/it.po: Update.
15239         * po/ja.po: Update.
15240         * po/ko.po: Update.
15241         * po/lt.po: Update.
15242         * po/nb.po: Update.
15243         * po/nl.po: Update.
15244         * po/pl.po: Update.
15245         * po/pt_BR.po: Update.
15246         * po/ru.po: Update.
15247         * po/rw.po: Update.
15248         * po/sk.po: Update.
15249         * po/sl.po: Update.
15250         * po/sv.po: Update.
15251         * po/tr.po: Update.
15252         * po/uk.po: Update.
15253         * po/vi.po: Update.
15254         * po/zh_CN.po: Update.
15255         * po/zh_TW.po: Update.
15257         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
15258         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
15259         * sysdeps/hppa/dl-irel.h: Remove #warning.
15260         * sysdeps/hppa/entry.h: Provide prototype for
15261         __canonicalize_funcptr_for_compare and cast argument.
15262         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
15263         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
15264         * sysdeps/hppa/sotruss-lib.c: New file.
15265         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
15266         (atomic_compare_and_exchange_val_acq): Use __typeof__.
15267         (atomic_compare_and_exchange_bool_acq): Likewise.
15268         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
15269         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
15271         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
15272         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
15273         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
15275 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
15277         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
15278         called function in non-PIC case.
15280 2015-01-31  David S. Miller  <davem@davemloft.net>
15282         * sysdeps/sparc/sparc32/bits/atomic.h
15283         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
15284         unlock not after it.
15285         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
15286         volatile register usage warnings from the compiler.
15288         * sysdeps/sparc/nptl/sem_init.c: Delete.
15289         * sysdeps/sparc/nptl/sem_post.c: Delete.
15290         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
15291         * sysdeps/sparc/nptl/sem_wait.c: Delete.
15292         * sysdeps/sparc/sparc32/sem_init.c: New file.
15293         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
15294         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
15295         padding explicitly initialized.
15296         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
15297         padding for in-semaphore spinlock.
15298         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
15299         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
15300         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
15301         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
15302         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
15303         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
15304         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
15305         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
15306         version.
15307         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
15308         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
15310 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
15312         [BZ #17801]
15313         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15314         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
15315         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
15316         New.
15317         (index_AVX_Fast_Unaligned_Load): Likewise.
15318         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
15319         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
15320         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
15321         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
15322         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
15323         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
15324         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
15325         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
15326         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
15328 2015-01-29  Andreas Schwab  <schwab@suse.de>
15330         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
15332 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
15334         [BZ #17892]
15335         * nscd/nscd_stat.c (send_stats): Initialize DATA.
15337 2015-01-28  Martin Sebor  <msebor@redhat.com>
15339         * math/README.libm-test: Clarify. Add "How to read the test output."
15341 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
15343         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
15344         Define to 0.
15346 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
15348         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
15349         (__HAVE_64B_ATOMICS): Define to 0.
15351 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
15353         [BZ #17885]
15354         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
15355         value to set as new flag.
15357         [BZ #16576]
15358         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
15359         and use _ARCH_PPCSQ instead.
15360         (__ieee754_sqrt): Likewise.
15361         (__ieee754_sqrtf): Likewise.
15362         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
15363         _ARCH_PPCSQ is defined.
15364         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
15365         fsqrt instruction.
15366         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
15367         _ARCH_PPCSQ is defined.
15368         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
15369         fsqrts instruction.
15370         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
15372 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
15374         * iconv/loop.c: Suppress array out of bound warning caused by GCC
15375         bug (GCC BZ #64739).
15377 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
15379         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
15380         Mark _retval as used.
15381         (lll_futex_wake_unlock): Likewise.
15382         (lll_futex_timed_wait_requeue_pi): Likewise.
15384         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
15385         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
15386         register variables.
15388         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
15389         libm_hidden_def.
15391         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
15392         (__bswap_64): Mark as __always_inline.
15394 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
15396         [BZ #15378]
15397         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
15398         when none of the search directories exist.
15400 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
15402         [BZ #17869]
15403         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
15404         power8 in .machine directive.
15406         [BZ #17868]
15407         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
15408         set dependency from opd value.
15410 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
15412         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15413         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
15414         architecture.
15416 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
15418         [BZ #17870]
15419         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
15420         with uint64_t.
15421         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
15422         (uint64_t) 1.
15423         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
15424         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
15425         Replace 1UL with (uint64_t) 1.
15426         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
15427         int with uint64_t.
15429 2015-01-23  Roland McGrath  <roland@hack.frob.com>
15431         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
15432         (if_freenameindex): Likewise.
15434         * resource/getrlimit64.c: Add missing libc_hidden_def.
15436 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
15438         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
15439         __label__.
15440         (_FP_FMA): Likewise.
15441         (_FP_TO_INT_ROUND): Likewise.
15442         (_FP_FROM_INT): Likewise.
15444 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15446         [BZ #16418]
15447         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
15448         Make code racy and cancel safe.
15450 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
15452         * sysdeps/arm/unwind-resume.h: Fix copyright year.
15453         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
15454         attribution.
15456         * pwd/tst-getpw.c: Rewrite.
15458         [BZ #17702]
15459         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
15460         (modules-names): Add moddummy1 and moddummy2.
15461         ($(objpfx)tst-rec-dlopen): Define.
15462         * dlfcn/moddummy1.c: New file.
15463         * dlfcn/moddummy2.c: New file.
15464         * dlfcn/tst-rec-dlopen.c: New file.
15465         * elf/dl-cache.c (_dl_load_cache_lookup):
15466         Return char*. Copy result with alloca/strcpy/strdup.
15467         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
15468         returns char*. Free cached. If not saving realname
15469         free cached.
15470         * elf/dl-open.c (dl_open_worker): Do not assert that
15471         _r_debug->r_state is RT_CONSISTENT.
15472         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
15473         returns char*.
15475 2015-01-21  Torvald Riegel  <triegel@redhat.com>
15476             Carlos O'Donell  <carlos@redhat.com>
15478         [BZ #12674]
15479         * nptl/sem_waitcommon.c: New file.
15480         * nptl/sem_wait.c: Include sem_waitcommon.c.
15481         (__sem_wait_cleanup, do_futex_wait): Remove.
15482         (__new_sem_wait): Adapt.
15483         (__new_sem_trywait): New function.
15484         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
15485         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
15486         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
15487         (sem_timedwait): Adapt.
15488         * nptl/sem_post.c (__new_sem_post): Adapt.
15489         (futex_wake): New function.
15490         (__old_sem_post): Add release MO fence.
15491         * nptl/sem_open.c (sem_open): Adapt.
15492         * nptl/sem_init.c (__new_sem_init): Adapt.
15493         (futex_private_if_supported): New function.
15494         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
15495         (__old_sem_getvalue): Add using previous code.
15496         * sysdeps/nptl/internaltypes.h: Adapt.
15497         * nptl/tst-sem13.c (do_test): Adapt.
15498         * nptl/tst-sem11.c (main): Adapt.
15499         * nptl/sem_trywait.c: Remove.
15500         * nptl/DESIGN-sem.txt: Remove.
15501         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
15502         (gen-as-const-headers): Remove structsem.sym.
15503         * nptl/structsem.sym: Remove.
15504         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
15505         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
15506         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
15507         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
15508         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
15509         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
15510         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
15511         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
15512         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
15513         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
15514         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
15515         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
15516         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
15517         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
15518         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
15519         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
15520         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
15521         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
15522         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
15523         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
15524         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
15525         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
15527 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
15529         * INSTALL: Regenerated.
15531         * po/libc.pot: Regenerated.
15533 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
15534             Sandra Loosemore  <sandra@codesourcery.com>
15535             Andrew Jenner  <andrew@codesourcery.com>
15536             Joseph Myers  <joseph@codesourcery.com>
15537             Nathan Sidwell  <nathan@codesourcery.com>
15539         * NEWS: Mention new Nios II port.
15540         * sysdeps/nios2/Implies: New file.
15541         * sysdeps/nios2/Makefile: New file.
15542         * sysdeps/nios2/Subdirs: New file.
15543         * sysdeps/nios2/Versions: New file.
15544         * sysdeps/nios2/__longjmp.S: New file.
15545         * sysdeps/nios2/abort-instr.h: New file.
15546         * sysdeps/nios2/backtrace.c: New file.
15547         * sysdeps/nios2/bits/endian.h: New file.
15548         * sysdeps/nios2/bits/fenv.h: New file.
15549         * sysdeps/nios2/bits/link.h: New file.
15550         * sysdeps/nios2/bits/setjmp.h: New file.
15551         * sysdeps/nios2/bsd-_setjmp.S: New file.
15552         * sysdeps/nios2/bsd-setjmp.S: New file.
15553         * sysdeps/nios2/configure: New generated file.
15554         * sysdeps/nios2/configure.ac: New file.
15555         * sysdeps/nios2/crti.S: New file.
15556         * sysdeps/nios2/crtn.S: New file.
15557         * sysdeps/nios2/dl-init.c: New file.
15558         * sysdeps/nios2/dl-machine.h: New file.
15559         * sysdeps/nios2/dl-sysdep.h: New file.
15560         * sysdeps/nios2/dl-tls.h: New file.
15561         * sysdeps/nios2/dl-trampoline.S: New file.
15562         * sysdeps/nios2/gccframe.h: New file.
15563         * sysdeps/nios2/gmp-mparam.h: New file.
15564         * sysdeps/nios2/jmpbuf-offsets.h: New file.
15565         * sysdeps/nios2/jmpbuf-unwind.h: New file.
15566         * sysdeps/nios2/ldsodefs.h: New file.
15567         * sysdeps/nios2/libc-tls.c: New file.
15568         * sysdeps/nios2/libm-test-ulps: New file.
15569         * sysdeps/nios2/machine-gmon.h: New file.
15570         * sysdeps/nios2/math-tests.h: New file.
15571         * sysdeps/nios2/math_private.h: New file.
15572         * sysdeps/nios2/memusage.h: New file.
15573         * sysdeps/nios2/nptl/Makefile: New file.
15574         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
15575         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
15576         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
15577         * sysdeps/nios2/nptl/pthreaddef.h: New file.
15578         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
15579         * sysdeps/nios2/nptl/tls.h: New file.
15580         * sysdeps/nios2/preconfigure: New file.
15581         * sysdeps/nios2/s_fma.c: New file.
15582         * sysdeps/nios2/s_fmaf.c: New file.
15583         * sysdeps/nios2/setjmp.S: New file.
15584         * sysdeps/nios2/sfp-machine.h: New file.
15585         * sysdeps/nios2/sotruss-lib.c: New file.
15586         * sysdeps/nios2/stackguard-macros.h: New file.
15587         * sysdeps/nios2/stackinfo.h: New file.
15588         * sysdeps/nios2/start.S: New file.
15589         * sysdeps/nios2/sysdep.h: New file.
15590         * sysdeps/nios2/tls-macros.h: New file.
15591         * sysdeps/nios2/tst-audit.h: New file.
15592         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
15593         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
15594         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
15595         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
15596         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
15597         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
15598         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
15599         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
15600         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
15601         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
15602         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
15603         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
15604         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
15605         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
15606         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
15607         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
15608         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
15609         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
15610         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
15611         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
15612         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
15613         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
15614         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
15615         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
15616         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
15617         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
15618         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
15619         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
15620         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
15621         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
15622         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
15623         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
15624         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
15625         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
15626         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
15627         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
15628         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
15629         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
15630         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
15631         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
15632         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
15633         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
15634         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
15635         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
15637 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
15639         [BZ #17844]
15640         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
15641         (getutent): Use weak_alias in non SHARED case
15642         and default_symbol_version in SHARED case.
15643         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
15644         (getutent_r, pututline): Likewise.
15645         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
15646         (getutid): Likewise.
15647         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
15648         (getutid_r): Likewise.
15649         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
15650         (getutline): Likewise.
15651         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
15652         (getutline_r): Likewise.
15653         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
15654         (updwtmp): Likewise.
15656 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
15658         [BZ #17848]
15659         * sysdeps/s390/s390-32/memcmp.S
15660         (memcmp_g5): Rename to __memcmp_g5.
15661         * sysdeps/s390/s390-32/memcpy.S
15662         (memcpy_g5): Rename to __memcpy_g5.
15663         Jump to __memcpy_mvcle instead of memcpy_mvcle.
15664         (memcpy_mvcle) Rename to __memcpy_mvcle.
15665         * sysdeps/s390/s390-32/memset.S
15666         (memset_g5): Rename to __memset_g5.
15667         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
15668         (IFUNC_RESOLVE): Prefix ifunc-resolve function
15669         and use prefixed functions.
15670         * sysdeps/s390/s390-32/multiarch/memcmp.S
15671         (memcmp_z196): Rename to __memcmp_z196.
15672         (memcmp_z10): Rename to __memcmp_z10.
15673         (memcmp): Set alias to __memcmp_g5.
15674         (bcmp): Set alias to __memcmp_g5.
15675         * sysdeps/s390/s390-32/multiarch/memcpy.S
15676         (memcpy_z196): Rename to __memcpy_z196.
15677         Jump to __memcpy_mvcle instead of memcpy_mvcle.
15678         (memcpy_z10): Rename to __memcpy_z10.
15679         Jump to __memcpy_mvcle instead of memcpy_mvcle.
15680         (memcpy): Set alias to __memcpy_g5.
15681         * sysdeps/s390/s390-32/multiarch/memset.S
15682         (memset_z196): Rename to __memset_z196.
15683         Jump to __memset_mvcle instead of memset_mvcle.
15684         (memset_z10): Rename to __memset_z10.
15685         Jump to __memset_mvcle instead of memset_mvcle.
15686         (memset_mvcle) Rename to __memset_mvcle.
15687         (memset): Set alias to __memset_g5.
15688         * sysdeps/s390/s390-64/memcmp.S
15689         (memcmp_z900): Rename to __memcmp_z900.
15690         * sysdeps/s390/s390-64/memcpy.S
15691         (memcpy_z900): Rename to __memcpy_z900.
15692         Jump to __memcpy_mvcle instead of memcpy_mvcle.
15693         (memcpy_mvcle) Rename to __memcpy_mvcle.
15694         * sysdeps/s390/s390-64/memset.S
15695         (memset_z900): Rename to __memset_z900.
15696         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
15697         (IFUNC_RESOLVE): Prefix ifunc-resolve function
15698         and use prefixed functions.
15699         * sysdeps/s390/s390-64/multiarch/memcmp.S
15700         (memcmp_z196): Rename to __memcmp_z196.
15701         (memcmp_z10): Rename to __memcmp_z10.
15702         (memcmp): Set alias to __memcmp_z900.
15703         (bcmp): Set alias to __memcmp_z900.
15704         * sysdeps/s390/s390-64/multiarch/memcpy.S
15705         (memcpy_z196): Rename to __memcpy_z196.
15706         Jump to __memcpy_mvcle instead of memcpy_mvcle.
15707         (memcpy_z10): Rename to __memcpy_z10.
15708         Jump to __memcpy_mvcle instead of memcpy_mvcle.
15709         (memcpy): Set alias to __memcpy_z900.
15710         * sysdeps/s390/s390-64/multiarch/memset.S
15711         (memset_z196): Rename to __memset_z196.
15712         Jump to __memset_mvcle instead of memset_mvcle.
15713         (memset_z10): Rename to __memset_z10.
15714         Jump to __memset_mvcle instead of memset_mvcle.
15715         (memset_mvcle) Rename to __memset_mvcle.
15716         (memset): Set alias to __memset_z900.
15718 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
15720         [BZ #17748]
15721         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
15722         __fesetenv instead of fesetenv.
15724 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
15726         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
15727         macro.
15729 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15731         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
15732         regression on LE.
15734         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
15735         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
15736         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
15737         strncmp-power8 object.
15738         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15739         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
15740         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
15741         * NEWS: Update.
15743 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
15744             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15746         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
15747         trailing byte check.
15749 2015-01-13  David S. Miller  <davem@davemloft.net>
15751         * include/signal.h (__sigreturn): Guard with __USE_MISC.
15753 2015-01-13  Roland McGrath  <roland@hack.frob.com>
15755         * login/logout.c (logout): Use memset rather than bzero.
15756         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
15757         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
15758         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
15759         (_gethtbyaddr): Likewise.
15760         * locale/programs/simple-hash.c (bcopy): Macro removed.
15762 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15764         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
15765         Add strcmp-power8 object.
15766         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15767         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
15768         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
15769         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
15770         __strcmp_power8 implementation.
15771         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
15772         * NEWS: Update.
15774         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
15775         Add strncpy-power8 and stpncpy-power8 objects.
15776         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15777         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
15778         implementations.
15779         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
15780         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
15781         __stpncpy_power8 implementation.
15782         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
15783         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
15784         __strncpy_power8 implementation.
15785         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
15786         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
15787         * NEWS: Update.
15789         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
15790         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
15791         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
15793         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
15794         strncat-power8 object.
15795         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
15796         __strcat_power8 implementation.
15797         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15798         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
15799         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
15800         optimized strcat for power8.
15802         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
15803         strcpy-power8 and stpcpy-power8 objects.
15804         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15805         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
15806         implementations.
15807         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
15808         multiarch stpcpy implementation for POWER8.
15809         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
15810         multiarch strcpy implementation for POWER8.
15811         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
15812         __strcpy_power8 function.
15813         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
15814         stpcpy for POWER8.
15815         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
15816         strcpy for POWER8.
15817         * NEWS: Update.
15819 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
15821         [BZ #16009]
15822         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
15823         weights and rules. Use do_xfrm_cached if data fits in cache,
15824         do_xfrm otherwise.  Moved former main loop to...
15825         * (do_xfrm_cached): New function.
15826         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
15827         find_idx, find_position and stack_push.
15828         * (find_idx): New function.
15829         * (find_position): Likewise.
15830         * localedata/sort-test.sh: Added test run for do_xfrm.
15831         * localedata/xfrm-test.c (main): Added command line option
15832         -nocache to run the test with strings that are too large for
15833         the STRXFRM cache.
15835 2015-01-13  Torvald Riegel  <triegel@redhat.com>
15837         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
15838         variable to lll_futex_wake call, not the value itself.
15840 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
15842         [BZ #17803]
15843         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
15844         twom64.  Adjust value to 0x1p-64L.
15845         (__scalblnl): Only return standard underflowing result for K <=
15846         -64 not K <= -63; adjust exponent for underflowing result by 64
15847         not 63.
15848         * math/libm-test.inc (scalbn_test_data): Add more tests.
15849         (scalbln_test_data): Likewise.
15851         [BZ #17834]
15852         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
15853         0x1p63L.
15854         (__scalblnl): Get new exponent of adjusted subnormal value from ES
15855         not HX.
15856         * math/libm-test.inc (scalbn_test_data): Add more tests.
15857         (scalbln_test_data): Likewise.
15859 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15860             Stefani Seibold  <stefani@seibold.net>
15862         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
15863         (sysdep_routines): Add dl-vdso here, ...
15864         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
15865         (sysdep_routines): ... not here.
15866         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
15867         fallback when vDSO is not presented.
15868         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
15869         Define with libc_hidden_proto/libc_hidden_data_def definitions.
15870         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
15871         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
15872         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
15873         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
15874         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
15875         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
15876         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
15877         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
15878         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
15879         fallback configurable symbol when vDSO is not available.
15880         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
15881         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
15882         be able to redefine fallback symbol when vDSO is not available.
15883         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
15884         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
15886 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15888         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
15889         (TLS_INIT_TP): Add tm_capable initialization.
15890         (TLS_DEFINE_INIT_TP): Likewise.
15891         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
15892         TCB.
15893         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
15894         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
15895         calculation.
15896         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
15897         transactoion is lock elision is built and TCB tm_capable is set.
15898         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
15899         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
15900         (INTERNAL_SYSCALL_NCS): Likewise.
15901         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
15902         (INTERNAL_SYSCALL_NCS): Likewise.
15903         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
15905         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
15906         for powerpc.
15907         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
15908         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
15909         and remove it for 32 bits case.
15910         [pthread_rwlock_t] (__rwelision): New field for lock elision.
15911         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
15912         initialization.
15913         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
15914         Disable lock elision with rdlocks if elision is not available.
15916         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
15917         (sysdep_routines): Add lock elision objects.
15918         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
15919         [pthread_mutex_t] (__spins): Rework to add lock elision field.
15920         [pthread_mutex_t] (__elision): Add field.
15921         [__PTHREAD_SPINS]: Adjust to init lock elision field.
15922         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
15923         elision definitions for powerpc.
15924         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
15925         implementation of lock elision for powerpc.
15926         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
15927         implementation of timed lock elision for powerpc.
15928         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
15929         implementation of trylock with lock elision for powerpc.
15930         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
15931         implementaion of unlock for lock elision for powerpc.
15932         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
15933         automatic enable lock elision for mutexes.
15934         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
15935         transaction execution definitions for powerpc.
15936         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
15937         definitions.
15938         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
15939         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
15940         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
15941         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
15942         * NEWS: Update.
15944 2015-01-09  Roland McGrath  <roland@hack.frob.com>
15946         * sysdeps/posix/shm-directory.c: Use <> rather than ""
15947         for #include of <shm-directory.h>.
15949 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
15951         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
15952         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
15954 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
15956         [BZ #17791]
15957         * NEWS: Mention bug fix.
15958         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
15959         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
15960         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
15962 2015-01-09  Torvald Riegel <triegel@redhat.com>
15964         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
15966 2015-01-09  Torvald Riegel <triegel@redhat.com>
15968         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
15970 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
15972         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
15973         pointer and cast to uintptr_t.
15975 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
15977         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
15978         removed.
15979         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
15981 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
15983         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
15984         of 0.
15986 2015-01-08  Roland McGrath  <roland@hack.frob.com>
15988         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
15989         <nptl/pthreadP.h> instead.
15990         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
15992         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
15993         already defined.
15994         [__SIGRTMIN] (init): Function removed.
15995         [__SIGRTMIN] (initialized): Variable removed.
15996         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
15997         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
15998         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
15999         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
16000         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
16001         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
16002         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
16003         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
16004         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
16005         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
16006         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
16007         * sysdeps/nptl/allocrtsig.c: New file.
16008         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
16009         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
16010         * sysdeps/generic/testrtsig.h: File removed.
16012         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
16013         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
16015         * nptl/nptl-init.c (pthread_functions): Conditionalize
16016         .ptr__nptl_setxid initialization on [SIGSETXID].
16018         * sysdeps/nptl/sys/procfs.h: New file.
16019         * nptl_db/Makefile (headers): Add it.
16020         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
16022         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
16023         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
16024         * nptl/pthread_attr_setaffinity.c: Include it.
16025         * nptl/pthread_setattr_default_np.c: Likewise.
16026         * nptl/check-cpuset.h: New file.
16028 2015-01-08  Richard Henderson  <rth@redhat.com>
16030         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
16031         (CFLAGS-tst-execstack-prog.c): Likewise.
16032         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
16034 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
16035             Sandra Loosemore  <sandra@codesourcery.com>
16036             Andrew Jenner  <andrew@codesourcery.com>
16037             Joseph Myers  <joseph@codesourcery.com>
16038             Nathan Sidwell  <nathan@codesourcery.com>
16040         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
16041         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
16042         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
16043         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
16044         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
16045         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
16046         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
16047         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
16048         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
16049         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
16050         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
16051         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
16052         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
16053         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
16054         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
16055         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
16056         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
16058 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16060         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
16061         timespec struct member in syscall macro.
16062         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
16063         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
16064         first timeval struct member in syscall macro.
16065         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
16067 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
16069         [BZ #17748]
16070         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
16071         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
16072         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
16073         __feupdateenv and define as weak alias of __feupdateenv.  Use
16074         libm_hidden_weak.
16075         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
16076         libm_hidden_def.
16077         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
16078         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
16079         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
16080         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
16081         libm_hidden_def.
16082         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
16083         __feupdateenv and define as weak alias of __feupdateenv.  Use
16084         libm_hidden_weak.
16085         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
16086         libm_hidden_def.
16087         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
16088         __feupdateenv and define as weak alias of __feupdateenv.  Use
16089         libm_hidden_weak.
16090         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
16091         libm_hidden_def.
16092         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
16093         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
16094         (__feupdateenv): Likewise.
16095         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
16096         __feupdateenv and define as weak alias of __feupdateenv.  Use
16097         libm_hidden_weak.
16098         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
16099         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
16100         libm_hidden_def.
16101         * sysdeps/tile/math_private.h (__feupdateenv): New inline
16102         function.
16103         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
16104         libm_hidden_def.
16105         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
16106         __feupdateenv instead of feupdateenv.
16107         (default_libc_feupdateenv_test): Likewise.
16108         (libc_feresetround_ctx): Likewise.
16110 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16112         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
16113         prototype.
16115 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
16117         * posix/regcomp.c (parse_bracket_exp): Initialize type to
16118         COLL_SYM in a couple of places to avoid uninitialized variable
16119         wanings on tilegx gcc 4.8.2.
16121 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
16123         * sysdeps/aarch64/strcpy.S: New file.
16124         * sysdeps/aarch64/stpcpy.S: New file.
16125         * NEWS: Updated.
16127 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
16129         * sysdeps/aarch64/strrchr.S: New file.
16130         * NEWS: Updated.
16132 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
16134         [BZ #17658]
16135         * stdlib/setenv.c: Fix memory leak when setting large,
16136         duplicate string.
16138 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
16140         [BZ #17273]
16141         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
16142         and tabs from buffer before parsing fstab entry.
16143         * misc/tst-mntent.c (main): Add test for mount entry with
16144         trailing spaces and tabs.
16146 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
16148         [BZ #17748]
16149         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
16150         * math/fesetround.c (fesetround): Rename to __fesetround and
16151         define as weak alias of __fesetround.  Use libm_hidden_weak.
16152         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
16153         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
16154         * sysdeps/arm/fesetround.c (fesetround): Likewise.
16155         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
16156         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
16157         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
16158         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
16159         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
16160         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
16161         __fesetround_inline.
16162         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
16163         __fesetround_inline instead of __fesetround.
16164         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
16165         __fesetround and define as weak alias of __fesetround.  Use
16166         libm_hidden_weak.  Call __fesetround_inline instead of
16167         __fesetround.
16168         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
16169         __fesetround and define as weak alias of __fesetround.  Use
16170         libm_hidden_weak.
16171         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
16172         Likewise.
16173         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
16174         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
16175         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
16176         * sysdeps/tile/math_private.h (__fesetround): New inline function.
16177         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
16178         __fesetround and define as weak alias of __fesetround.  Use
16179         libm_hidden_weak.
16180         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
16181         __fesetround instead of fesetround.
16182         (default_libc_feholdexcept_setround): Likewise.
16183         (libc_feholdsetround_ctx): Likewise.
16184         (libc_feholdsetround_noex_ctx): Likewise.
16186         [BZ #17748]
16187         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
16188         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
16189         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
16190         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
16191         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
16192         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
16193         define as weak alias of __fesetenv.  Use libm_hidden_weak.
16194         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
16195         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
16196         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
16197         define as weak alias of __fesetenv.  Use libm_hidden_weak.
16198         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
16199         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
16200         define as weak alias of __fesetenv.  Use libm_hidden_weak.
16201         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
16202         libm_hidden_def.
16203         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
16204         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
16205         Likewise.
16206         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
16207         define as weak alias of __fesetenv.  Use libm_hidden_weak.
16208         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
16209         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
16210         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
16211         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
16212         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
16213         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
16214         __fesetenv instead of fesetenv.
16215         (libc_feresetround_noex_ctx): Likewise.
16216         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
16217         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
16218         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
16219         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
16220         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
16221         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
16222         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
16223         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
16224         (__feupdateenv): Likewise.
16225         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
16226         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
16227         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
16228         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
16230 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
16232         [BZ #17806]
16233         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
16234         addresses have been freed.
16236 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
16238         * resolv/res_init.c (__res_vinit): Improve comments about nserv
16239         and nservall.
16241 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
16243         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
16244         Clean up check_pf allocation pattern. addresses
16246 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16248         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
16249         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
16250         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
16251         * nptl/pthread_exit.c (__pthread_exit): Likewise.
16252         * nptl/pthread_join.c (pthread_join): Likewise.
16253         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
16254         * sysdeps/posix/waitid.c (__waitid): Likewise.
16255         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
16256         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
16257         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
16258         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
16259         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
16260         Likewise.
16261         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
16262         (__libc_pread64): Likewise.
16263         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
16264         (__libc_pwrite): Likewise.
16265         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
16266         (__libc_pwrite64): Likewsie.
16267         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
16268         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
16269         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
16270         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
16271         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
16272         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
16273         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
16274         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
16275         Likewise.
16276         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
16277         (__libc_pread64): Likewise.
16278         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
16279         Likewise.
16280         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
16281         (__libc_pwrite64): Likewise.
16282         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
16283         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
16284         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
16285         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
16286         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
16287         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
16288         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
16289         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
16290         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
16291         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
16292         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
16293         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
16294         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
16295         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
16296         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
16297         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
16298         Likewise.
16300 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
16302         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
16303         (CFLAGS-test-double.c): Likewise.
16304         (CFLAGS-test-ldouble.c): Likewise.
16305         (CPPFLAGS-test-ifloat.c): Likewise.
16306         (CPPFLAGS-test-idouble.c): Likewise.
16307         (CPPFLAGS-test-ildoubl.c): Likewise.
16308         (CFLAGS-test-test-fenv.c): Remove variable.
16309         (CFLAGS-test-misc.c): Likewise.
16311 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
16313         [BZ #17797]
16314         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
16315         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
16316         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
16317         CLOCKS_PER_SEC == 1000000.
16318         * time/clocktest.c (main): Replace %ld with %jd and cast to
16319         intmax_t.
16321 2015-01-05  Roland McGrath  <roland@hack.frob.com>
16323         * sysdeps/generic/unwind-resume.h: New file.
16324         * sysdeps/gnu/unwind-resume.c: Include it.
16325         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
16326         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
16327         argument list.
16328         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
16329         global rather than static.
16330         (_Unwind_Resume): Update user.
16331         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
16332         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
16333         rather than static.  Add __attribute__ ((cold)).
16334         (_Unwind_Resume, __gcc_personality_v0): Update callers.
16335         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
16336         * sysdeps/arm/arm-unwind-resume.S: New file.
16337         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
16338         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
16339         * sysdeps/arm/Makefile [$(subdir) = csu]
16340         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
16341         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
16342         Add rt-arm-unwind-resume.
16343         [$(subdir) = nptl]
16344         (libpthread-sysdep_routines, libpthread-shared-only-routines):
16345         Add pt-arm-unwind-resume.
16346         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
16347         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
16349 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
16351         [BZ #17748]
16352         * include/fenv.h (__feholdexcept): Declare.  Use
16353         libm_hidden_proto.
16354         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
16355         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
16356         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
16357         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
16358         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
16359         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
16360         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
16361         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
16362         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
16363         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
16364         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
16365         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
16366         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
16367         (feholdexcept): Likewise.
16368         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
16369         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
16370         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
16371         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
16372         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
16373         __feholdexcept instead of feholdexcept.
16374         (default_libc_feholdexcept_setround): Likewise.
16376 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
16378         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
16379         to avoid using stl/str to align destination.
16381 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
16383         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
16385 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
16387         [BZ #17796]
16388         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
16389         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
16390         Define as weak alias not strong alias.
16392 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
16394         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
16395         bltzal with addiupc.
16396         (RTLD_START): Ditto.
16398 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
16400         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
16401         for __vdso_* functions in declarations.
16402         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
16403         definitions.
16404         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
16405         INTERNAL_VSYSCALL): Use struct return types to check for error.
16407         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
16408         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
16409         function with cast from llround().
16410         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
16411         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
16412         Define.
16414 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
16416         [BZ #17793]
16417         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
16418         Define as weak alias not strong alias.
16420         [BZ #17635]
16421         * ctype/ctype-c99.c: New file.  isblank implementation moved from
16422         ...
16423         * ctype/ctype-extn.c: ... here.
16424         (__isblank_l): Move to ...
16425         * ctype/ctype-c99_l.c: ... here.  New file.
16426         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
16427         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
16428         Remove variable.
16429         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
16430         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
16431         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
16432         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
16433         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
16435         [BZ #17777]
16436         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
16437         (posix_fadvise64): Define as weak alias not strong alias.
16438         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
16439         (posix_fallocate64): Likewise.
16440         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
16441         Remove variable.
16442         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
16443         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
16444         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
16445         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
16446         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
16448 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
16450         [BZ #16191]
16451         * NEWS: Mention bug fix.
16452         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
16453         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
16454         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
16455         (HOST_STACK_END_ADDR): Likewise.
16457 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
16459         [BZ #17748]
16460         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
16461         * math/fegetround.c (fegetround): Rename to __fegetround and
16462         define as weak alias of __fegetround.  Use libm_hidden_weak.
16463         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
16464         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
16465         * sysdeps/arm/fegetround.c (fegetround): Likewise.
16466         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
16467         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
16468         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
16469         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
16470         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
16471         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
16472         Undefine after rather than before function definition; use
16473         parentheses around function name in definition.
16474         (__fegetround): Also undefine macro after function definition.
16475         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
16476         __fegetround and define as weak alias of __fegetround.  Use
16477         libm_hidden_weak.  Do not undefine as macro.
16478         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
16479         Likewise.
16480         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
16481         __fegetround and define as weak alias of __fegetround.  Use
16482         libm_hidden_weak.
16483         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
16484         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
16485         * sysdeps/tile/math_private.h (__fegetround): New inline function.
16486         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
16487         __fegetround and define as weak alias of __fegetround.  Use
16488         libm_hidden_weak.
16489         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
16490         __fegetround instead of fegetround.
16492         [BZ #17782]
16493         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
16494         Condition macro definition on [__USE_MISC].
16496         [BZ #17781]
16497         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
16498         (struct sigaction): Change type of sa_flags field to int.
16500         [BZ #17780]
16501         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
16502         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
16503         __glibc_reserved0.
16505         * nptl/version.c (banner): Use single year in copyright notice.
16507         * NEWS: Update copyright dates.
16508         * catgets/gencat.c (print_version): Likewise.
16509         * csu/version.c (banner): Likewise.
16510         * debug/catchsegv.sh: Likewise.
16511         * debug/pcprofiledump.c (print_version): Likewise.
16512         * debug/xtrace.sh (do_version): Likewise.
16513         * elf/ldconfig.c (print_version): Likewise.
16514         * elf/ldd.bash.in: Likewise.
16515         * elf/pldd.c (print_version): Likewise.
16516         * elf/sotruss.sh: Likewise.
16517         * elf/sprof.c (print_version): Likewise.
16518         * iconv/iconv_prog.c (print_version): Likewise.
16519         * iconv/iconvconfig.c (print_version): Likewise.
16520         * locale/programs/locale.c (print_version): Likewise.
16521         * locale/programs/localedef.c (print_version): Likewise.
16522         * login/programs/pt_chown.c (print_version): Likewise.
16523         * malloc/memusage.sh (do_version): Likewise.
16524         * malloc/memusagestat.c (print_version): Likewise.
16525         * malloc/mtrace.pl: Likewise.
16526         * manual/libc.texinfo: Likewise.
16527         * nptl/version.c (banner): Likewise.
16528         * nscd/nscd.c (print_version): Likewise.
16529         * nss/getent.c (print_version): Likewise.
16530         * nss/makedb.c (print_version): Likewise.
16531         * posix/getconf.c (main): Likewise.
16532         * scripts/test-installation.pl: Likewise.
16533         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
16535 2015-01-02  Will Newton  <will.newton@linaro.org>
16537         * sysdeps/arm/armv7/configure: Removed.
16538         * sysdeps/arm/armv7/configure.ac: Likewise.
16540 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
16542         * All files with FSF copyright notices: Update copyright dates
16543         using scripts/update-copyrights.
16544         * intl/plural.c: Regenerated.
16545         * locale/programs/charmap-kw.h: Likewise.
16546         * locale/programs/locfile-kw.h: Likewise.
16548 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
16550         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
16552 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
16554         [BZ #17748]
16555         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
16556         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
16557         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
16558         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
16559         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
16560         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
16561         define as weak alias of __fegetenv.  Use libm_hidden_weak.
16562         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
16563         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
16564         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
16565         define as weak alias of __fegetenv.  Use libm_hidden_weak.
16566         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
16567         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
16568         define as weak alias of __fegetenv.  Use libm_hidden_weak.
16569         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
16570         libm_hidden_def.
16571         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
16572         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
16573         Likewise.
16574         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
16575         define as weak alias of __fegetenv.  Use libm_hidden_weak.
16576         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
16577         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
16578         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
16579         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
16580         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
16581         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
16582         __fegetenv instead of fegetenv.
16583         (libc_feholdsetround_noex_ctx): Likewise.
16585 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
16587         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
16588         (Elf_MIPS_ABIFlags_v0): New structure.
16589         (EF_MIPS_FP64): Define.
16590         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
16591         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
16592         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
16593         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
16594         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
16595         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
16596         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
16597         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
16598         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
16599         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
16600         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
16601         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
16602         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
16603         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
16604         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
16605         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
16606         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
16607         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
16608         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
16609         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
16610         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
16611         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
16612         field.
16613         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
16614         EF_MIPS_FP64.
16615         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
16616         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
16617         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
16618         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
16619         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
16620         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
16621         * sysdeps/mips/tst-abi-interlink.c: Likewise.
16622         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
16623         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
16624         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
16625         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
16626         record the current FP ABI extension.
16627         (mips-mode-switch): Define to show if kernel headers support mode
16628         switching.
16629         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
16630         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
16631         supported SYSV ABI version to 3.
16632         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
16633         feature.
16635 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
16636             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16638         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
16639         path.
16640         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
16642 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
16644         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
16645         __fegetround and redefine to call __fegetround.  Remove condition
16646         on [!__NO_MATH_INLINES].
16647         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
16648         function.
16649         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
16650         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
16651         Remove macro.
16652         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
16653         instead of <fenv_libc.h>.
16654         (__llrintl): Call fegetround instead of __fegetround.
16655         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
16656         instead of <fenv_libc.h>.
16657         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
16658         (__lrintl): Call fegetround instead of __fegetround.
16659         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
16660         instead of <fenv_libc.h>.
16661         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
16662         (__rintl): Call fegetround instead of __fegetround.
16664 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
16666         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
16667         arrays.
16669 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
16671         [BZ #17775]
16672         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
16673         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
16674         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
16676 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
16678         * sysdeps/i386/tls-macros.h: Include <features.h>.
16679         (TLS_LE): Use non-PIC version for GCC >= 5.0.
16680         (TLS_IE): Likewise.
16681         (TLS_LD): Likewise.
16682         (TLS_GD): Likewise.
16683         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
16684         define for GCC >= 5.0.
16686 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
16688         * math/test-fenv.c (test_single_exception, set_single_exc,
16689         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
16690         feexcp_mask_test, feenable_test, fe_single_test): Add
16691         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
16692         case where they are not used.
16693         * math/libm-test.inc: Likewise.
16694         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
16695         unused in the absence of FP rounding/exception support.
16696         * stdio-common/tst-printf-round.c: Likewise.
16697         * stdlib/tst-strtod-round.c: Likewise.
16698         * stdlib/tst-strtod-underflow.c: Likewise.
16700 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
16702         [BZ #17723]
16703         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
16704         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
16705         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
16706         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
16707         libm_hidden_weak.
16708         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
16709         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
16710         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
16711         libm_hidden_def.
16712         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
16713         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
16714         libm_hidden_weak.
16715         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
16716         Likewise.
16717         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
16718         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
16719         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
16720         libm_hidden_weak.
16721         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
16722         libm_hidden_def.
16723         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
16724         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
16725         (__feraiseexcept): Likewise.
16726         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
16727         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
16728         libm_hidden_weak.
16729         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
16730         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
16731         libm_hidden_def.
16732         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
16733         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
16734         Use libm_hidden_def.
16735         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
16736         libm_hidden_def.
16737         (feraiseexcept): Define as weak not strong alias.  Use
16738         libm_hidden_weak.
16739         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
16740         New inline function.  Factored out of ...
16741         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
16742         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
16743         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
16744         feraiseexcept.
16745         * math/w_acos.c (__acos): Likewise.
16746         * math/w_asin.c (__asin): Likewise.
16747         * math/w_ilogb.c (__ilogb): Likewise.
16748         * math/w_j0.c (y0): Likewise.
16749         * math/w_j1.c (y1): Likewise.
16750         * math/w_jn.c (yn): Likewise.
16751         * math/w_log.c (__log): Likewise.
16752         * math/w_log10.c (__log10): Likewise.
16753         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
16754         * sysdeps/aarch64/fpu/math_private.h
16755         (libc_feupdateenv_test_aarch64): Likewise.
16756         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
16757         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
16758         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
16759         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
16760         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
16761         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
16762         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
16763         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
16764         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
16765         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
16767 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
16769         [BZ #17732]
16770         * io/test-utime.c (main): Replace %ld with %jd and cast to
16771         intmax_t.
16772         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
16773         * nptl/tst-mutex5.c: Include <stdint.h>.
16774         (do_test): Replace %ld with %jd and cast to intmax_t.
16775         * posix/tst-regex.c (run_test): Likewise.
16776         (run_test_backwards): Likewise.
16777         * rt/tst-clock.c: Include <stdint.h>.
16778         (clock_test): Replace %ld with %jd and cast to intmax_t.
16779         * rt/tst-cpuclock1.c: Include <stdint.h>.
16780         (do_test): Replace %lu with %ju and cast to uintmax_t.
16781         * rt/tst-cpuclock2.c: Include <stdint.h>.
16782         (do_test): Replace %lu with %ju and cast to uintmax_t.
16783         * rt/tst-mqueue1.c: Include <stdint.h>.
16784         (check_attrs): Replace %ld with %jd and cast to intmax_t.
16785         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
16786         intmax_t.
16787         * rt/tst-mqueue4.c (do_test): Likewise.
16788         * rt/tst-timer4.c: Include <stdint.h>.
16789         (check_ts): Replace %ld with %jd and cast to intmax_t.
16790         (do_test): Likewise.
16791         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
16792         and cast to intmax_t.
16793         * sysdeps/pthread/tst-timer.c (main): Likewise.
16794         * time/clocktest.c (main): Likewise.
16795         * time/tst-posixtz.c (do_test): Likewise.
16796         * timezone/tst-timezone.c (main): Likewise.
16798 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
16799             H.J. Lu  <hongjiu.lu@intel.com>
16801         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
16802         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
16803         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
16804         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
16805         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
16806         version if bit_Fast_Unaligned_Load is set.
16807         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
16808         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
16809         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
16810         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
16811         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
16812         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
16813         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
16814         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
16815         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
16816         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
16817         to 4.
16818         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
16819         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
16820         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
16821         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
16823 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
16825         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
16826         instead of #if to avoid a Wundef warning.
16827         * stdlib/tst-limits.c (do_test): Likewise.
16829         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
16830         parallel other exception macros.
16831         (fegetenv): Convert from macro to extern inline so that it applies
16832         retroactively to inline functions already seen by the compiler.
16833         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
16835         * posix/Makefile (before-compile): Use $(objpfx) for
16836         posix-conf-vars-def.h.
16838 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
16840         * posix/getconf.c (main): Use size_t for type of I.
16841         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
16842         NSPEC.
16844         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
16845         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
16846         * posix/posix-envs.def: Likewise.
16847         * sysdeps/posix/sysconf.c: Likewise.
16848         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
16849         (specs): Remove array.
16850         * scripts/gen-posix-conf-vars.awk: Support generation of specs
16851         array.
16853         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
16854         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
16855         (__sysconf): Use CONF_IS_* macros.
16857         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
16858         ($(objpfx)posix-conf-vars-def.h): New target.
16859         * posix/posix-conf-vars.list: New file.
16860         * posix/posix-conf-vars.h: New file.
16861         * posix/confstr.c: Include posix-conf-vars.h.
16862         (confstr): Use CONF_IS_* macros.
16863         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
16864         CONF_IS_* macros.
16865         * scripts/gen-posix-conf-vars.awk: New file.
16867 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
16869         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
16870         fegetround): Add no-op macros to avoid linknamespace issues.
16872         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
16873         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
16875         * sysdeps/unix/sysv/linux/tile/sysdep.h
16876         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
16877         assembly-specific section to avoid a redefinition warning.
16879         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
16880         long before casting to pointer to avoid a cast warning.
16882 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
16884         * sysdeps/tile/tilegx/Implies: New file.
16886 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
16888         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
16890 2014-12-23  Florian Weimer  <fweimer@redhat.com>
16892         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
16894 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
16896         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
16897         not define.
16898         * sysdeps/unix/sysv/linux/utimes.c: Do not include
16899         <kernel-features.h>.
16900         (__utimes) [__NR_utimes]: Make code unconditional.
16901         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
16902         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
16903         (__ASSUME_UTIMES): Do not undefine.
16904         * sysdeps/unix/sysv/linux/tile/kernel-features.h
16905         (__ASSUME_UTIMES): Likewise.
16906         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
16907         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
16908         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
16909         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
16911 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
16913         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
16915 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
16917         [BZ #17747]
16918         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
16919         alias to weak alias for j0l, y0l.
16920         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
16921         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
16923         [BZ #17746]
16924         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
16925         conversion.
16927 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
16929         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
16930         to zero if not already defined.
16932 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
16934         [BZ #17724]
16935         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
16936         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
16937         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
16938         (char *) casts added.
16939         * sysdeps/ieee754/k_standardf.c: New file.
16940         * sysdeps/ieee754/k_standardl.c: Likewise.
16941         * math/Makefile (libm-support): Remove k_standard.
16942         (libm-calls): Add k_standard.
16944 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
16946         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
16947         Optimize to avoid an unnecessary FPCR read.
16949 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
16951         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
16952         Optimize to reduce FPCR/FPSR accesses.
16954 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
16956         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
16957         Call libc_fetestexcept_aarch64.
16959 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
16961         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
16962         Call libc_fesetround_aarch64.
16964 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
16966         [BZ #17733]
16967         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
16968         (__bind): Do not define as weak alias.
16969         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
16970         define.
16971         (__getsockname): Do not define as weak alias.
16973 2014-12-22  Will Newton  <will.newton@linaro.org>
16975         * manual/install.texi: Document that we require bison 2.7
16976         or above.
16977         * INSTALL: Regenerate.
16978         * configure.ac: Use AC_CHECK_PROG_VER instead of
16979         AC_PATH_PROG when checking for bison and check for
16980         version 2.7 or above.
16981         * configure: Regenerate.
16983 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
16985         [BZ #17745]
16986         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
16987         * sysdeps/tile/ffsll.c (ffsll): To here.
16989         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
16991 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
16993         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
16994         if not defined.
16995         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
16996         definition.
16997         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
16998         hidden ___tls_get_addr.
16999         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
17000         hidden __tls_get_addr.
17001         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
17002         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
17003         Likewise.
17005 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
17007         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
17008         _dl_init call.
17010 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
17012         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
17013         from "call _dl_init@PLT".
17014         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
17016 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
17018         * manual/search.texi: (Array Sort Function): Clarify stable sorting
17019         guarantees.
17021 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
17023         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
17025 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
17027         [BZ #17744]
17028         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
17029         strnlen.
17031 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
17033         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
17034         of multu on MIPSr6.
17035         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
17036         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
17037         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
17038         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
17039         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
17041 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
17043         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
17044         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
17045         (PTR_SUBU): Use subu for mips32r6/mips64r6.
17046         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
17047         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
17048         mips32r6/mips64r6.
17049         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
17051 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
17053         * string/strncat.c (STRNCAT): Simplify implementation.
17055 2014-12-19  David S. Miller  <davem@davemloft.net>
17057         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
17058         access the quad as both a long double and as a series of 4 words.
17060         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
17061         link_map->l_info array access.
17063 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
17065         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
17067         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
17068         * math/atest-exp2.c (TIMEOUT): Likewise.
17069         * math/atest-sincos.c (TIMEOUT): Likewise.
17071 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
17073         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
17074         -Wno-error with -fno-builtin-lround.
17076 2014-12-19  Torvald Riegel  <triegel@redhat.com>
17078         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
17079         Contains futex constants and functions moved over from ...
17080         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
17081         <lowlevellock-futex.h>.
17082         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
17083         (lll_timedwait_tid): Add comments and parentheses around macro
17084         arguments.
17086 2014-12-19  Torvald Riegel  <triegel@redhat.com>
17088         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
17089         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
17090         (__lll_private_flag): Remove.
17091         (lll_futex_wait): Likewise.
17092         (lll_futex_timed_wait): Likewise.
17093         (lll_futex_wake): Likewise.
17094         (lll_futex_requeue): Likewise.
17095         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
17096         (__lll_timedwait_tid): Spell out argument names.
17097         (lll_timedwait_tid): Add comments and parentheses around macro
17098         arguments.
17099         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
17100         LLL_SHARED and LLL_PRIVATE usable from assembly code.
17102 2014-12-19  Torvald Riegel  <triegel@redhat.com>
17104         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
17105         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
17106         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
17107         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
17108         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
17109         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
17110         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
17111         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
17112         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
17113         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
17114         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
17115         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
17116         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
17117         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
17118         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
17119         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
17120         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
17121         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
17122         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
17124 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
17126         * sysdeps/x86_64/x32/Makefile: New file.
17128 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
17130         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
17131         1L with (mp_limb_t) 1.
17133 2014-12-17  Roland McGrath  <roland@hack.frob.com>
17135         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
17136         * nptl/libc_pthread_init.c: ... here.
17137         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
17138         * nptl/register-atfork.c: ... here.
17140         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
17141         Use pthread_sigmask rather than INTERNAL_SYSCALL.
17142         Use assert_perror to check its return value.
17143         (__gai_create_helper_thread): Likewise.
17145         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
17147         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
17149 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
17151         [BZ #17725]
17152         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
17153         __profil_counter.
17154         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
17155         Likewise.
17156         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
17157         Likewise.
17158         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
17159         Likewise.
17160         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
17161         (profil_counter): Likewise.
17162         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
17163         (profil_counter): Likewise.
17164         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
17165         Likewise.
17166         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
17167         Likewise.
17168         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
17169         (profil_counter): Likewise.
17170         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
17171         Likewise.
17172         [!__profil_counter] (profil_counter): Define as weak alias of
17173         __profil_counter.
17174         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
17175         (profil_counter): Rename to __profil_counter.
17176         [!__profil_counter] (profil_counter): Define as weak alias of
17177         __profil_counter.
17178         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
17179         (profil_counter): Rename to __profil_counter.
17180         [!__profil_counter] (profil_counter): Define as weak alias of
17181         __profil_counter.
17182         * sysdeps/posix/profil.c: Update comment referring to
17183         profil_counter.
17184         (__profil): Use __profil_counter instead of profil_counter.
17185         * sysdeps/posix/sprofil.c (profil_counter): Rename to
17186         __profil_counter.  Use __profil_counter_ushort and
17187         __profil_counter_uint in definitions.
17188         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
17189         instead of profil_counter_uint and profil_counter_ushort.
17191         [BZ #17722]
17192         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
17193         define as weak alias of __inet_makeaddr.
17194         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
17195         as weak alias of __inet_addr.
17196         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
17197         as weak alias of __inet_pton.  Use libc_hidden_weak.
17198         * include/arpa/inet.h (__inet_pton): Declare.  Use
17199         libc_hidden_proto.
17200         (inet_makeaddr): Don't use libc_hidden_proto.
17201         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
17202         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
17203         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
17204         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
17205         Remove variable.
17206         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
17207         (test-xfail-POSIX/time.h/linknamespace): Likewise.
17209 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
17211         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
17213 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
17215         * stdio-common/bug-vfprintf-nargs.c (do_test):
17216         Cast value to intptr_t to avoid format warning
17217         for usage with PRIdPTR printing macro.
17219 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
17221         * libio/tst-widetext.c (do_test):
17222         Use format type %td instead of %Zd for ptrdiff_t
17223         in order to avoid format warning.
17225 2014-12-17  Andreas Schwab  <schwab@suse.de>
17227         * nscd/mem.c (gc): Add size_t cast to match printf format.
17229 2014-12-16  Roland McGrath  <roland@hack.frob.com>
17231         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
17232         (init): Apply PTR_MANGLE to pointers before storing them.
17233         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
17234         before using them.
17236 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
17238         [BZ #17719]
17239         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
17240         define as weak alias of __memrchr.
17241         (__memrchr): Do not define as strong alias of memrchr.
17242         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
17243         Remove variable.
17244         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
17245         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
17246         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
17248         [BZ #17717]
17249         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
17250         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
17251         (if_indextoname): Rename to __if_indextoname and define as weak
17252         alias of __if_indextoname.  Use libc_hidden_weak.
17253         (if_freenameindex): Rename to __if_freenameindex and define as
17254         weak alias of __if_freenameindex.
17255         (if_nameindex): Rename to __if_nameindex and define as weak alias
17256         of __if_nameindex.
17257         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
17258         __if_nametoindex and define as weak alias of __if_nametoindex.
17259         Use libc_hidden_weak.
17260         (if_freenameindex): Rename to __if_freenameindex and define as
17261         weak alias of __if_freenameindex.
17262         (if_nameindex): Rename to __if_nameindex and define as weak alias
17263         of __if_nameindex.
17264         (if_indextoname): Rename to __if_indextoname and define as weak
17265         alias of __if_indextoname.  Use libc_hidden_weak.
17266         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
17267         __if_nametoindex and define as weak alias of __if_nametoindex.
17268         Use libc_hidden_weak.
17269         (if_freenameindex): Rename to __if_freenameindex and define as
17270         weak alias of __if_freenameindex.  Use libc_hidden_weak.
17271         (if_nameindex_netlink): Use __if_freenameindex instead of
17272         if_freenameindex.
17273         (if_nameindex): Rename to __if_nameindex and define as weak alias
17274         of __if_nameindex.  Use libc_hidden_weak.
17275         (if_indextoname): Rename to __if_indextoname and define as weak
17276         alias of __if_indextoname.  Use libc_hidden_weak.
17277         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
17278         libc_hidden_proto.
17279         [!_ISOMAC] (__if_freenameindex): Likewise.
17280         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
17281         if_nametoindex.
17282         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
17283         variable.
17284         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
17285         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
17286         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
17287         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
17288         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
17289         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
17290         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
17292         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
17293         Remove variable.
17294         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
17295         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
17297 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
17299         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
17300         subscript above bounds'
17302         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
17303         bounds.
17305 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
17307         * libio/tst-fopenloc.c: Use test-skeleton.c.
17309         * stdlib/tst-bsearch.c: Use test-skeleton.c.
17310         (entry): Rename to ITEM.
17311         (do_test, comp): Adjust.
17313         * stdio-common/tst-fseek.c: Use test-skeleton.c.
17315 2014-12-16  Torvald Riegel  <triegel@redhat.com>
17317         * string/tester.c: Include <libc-internal.h>.
17318         (test_memset): Ignore -Wmemset-transposed-args.
17320 2014-12-16  Torvald Riegel  <triegel@redhat.com>
17322         * misc/tst-mntent2.c (do_test): Fix warning.
17324 2014-12-16  Torvald Riegel  <triegel@redhat.com>
17326         * elf/tst-unique4lib.cc(a): Mark as used.
17328 2014-12-16  Florian Weimer  <fweimer@redhat.com>
17330         [BZ #17630]
17331         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
17332         names.
17334 2014-12-16  Allan McRae  <allan@archlinux.org>
17336         * stdio-common/Makefile (tests): Re-add bug26.
17338 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
17340         [BZ #17657]
17341         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
17342         static array.
17344 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
17346         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
17347         (__lll_lock_wait): Likewise.
17348         (__lll_timedlock_wait): Likewise.
17349         (__lll_timedwait_tid): Likewise.
17350         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
17351         (__lll_robust_timedlock_wait): Likewise.
17352         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
17353         (lll_cond_trylock): Likewise.
17354         (__lll_lock): Likewise.
17355         (__lll_robust_lock): Likewise.
17356         (__lll_cond_lock): Likewise.
17357         (lll_robust_cond_lock): Likewise.
17358         (__lll_timedlock): Likewise.
17359         (__lll_robust_timedlock): Likewise.
17360         (__lll_unlock): Likewise.
17361         (__lll_robust_unlock): Likewise.
17362         (lll_wait_tid): Likewise.
17363         (lll_timedwait_tid): Likewise.
17365 2014-12-15  Torvald Riegel  <triegel@redhat.com>
17367         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
17369 2014-12-15  Torvald Riegel  <triegel@redhat.com>
17371         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
17373 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
17375         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
17376         * stdio-common/tst-sprintf.c: Likewise.
17378 2014-12-15  Torvald Riegel  <triegel@redhat.com>
17380         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
17382 2014-12-15  Jeff Law  <law@redhat.com>
17384         [BZ #16617]
17385         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
17386         on the heap.  (CVE-2012-3406)
17387         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
17388         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
17389         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
17391 2014-12-15  Will Newton  <will.newton@linaro.org>
17393         * manual/install.texi: Bump required version of texinfo
17394         to 4.7 from 4.5.
17395         * INSTALL: Regenerated.
17396         * configure.ac: Check for makeinfo version 4.7 and above.
17397         * configure: Regenerated.
17399 2014-12-12  Roland McGrath  <roland@hack.frob.com>
17401         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
17402         PREFIX, string constant to insert between directory and name.
17403         * sysdeps/posix/shm_open.c: Update caller.
17404         * sysdeps/posix/shm_unlink.c: Likewise.
17405         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
17406         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
17407         (SEM_SHM_PREFIX): New macro.
17408         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
17409         [$(have-thread-library) = no].
17410         * nptl/Makefile (libpthread-routines): Add shm-directory.
17411         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
17412         * sysdeps/nptl/shm-directory.h: New file.
17413         * sysdeps/posix/shm-directory.c
17414         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
17415         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
17416         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
17417         INTERNAL_SYSCALL.
17418         (__where_is_shmfs): Function removed.
17419         (mountpoint, defaultmount, defaultdir, __namedsem_once):
17420         Variables removed.
17421         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
17422         Use SHM_GET_NAME.
17423         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
17425         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
17426         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
17427         unconditional for use inside libpthread.
17428         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
17430 2014-12-12  Roland McGrath  <roland@hack.frob.com>
17432         * nptl/pthread_getaffinity.c: New file.
17433         * nptl/pthread_setaffinity.c: New file.
17434         * nptl/pthread_getname.c: New file.
17435         * nptl/pthread_setname.c: New file.
17437         * nptl/pthread_create.c (START_THREAD_DEFN)
17438         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
17440 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
17441             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17443         * resolv/res_send.c (send_vc): Disable warning resplen may
17444         be used uninitialized.
17446 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
17448         * nptl/tst-mutex6.c
17449         (ATTR_NULL): New define checks ATTR against NULL.
17450         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
17451         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
17453 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
17455         [BZ #17581]
17456         * malloc/hooks.c
17457         (mem2mem_check): Revert my previous change.
17458         (malloc_check_get_size): Revert my previous change.
17459         (mem2chunk_check): Revert my previous change.
17461 2014-12-11  Roland McGrath  <roland@hack.frob.com>
17463         * sysdeps/posix/shm-directory.c: New file.
17464         * sysdeps/posix/shm-directory.h: New file.
17465         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
17466         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
17467         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
17468         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
17469         Transmute EPERM to EACCES.
17470         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
17471         from ...
17472         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
17473         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
17475 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
17477         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
17478         pointer and cast to uintptr_t.
17479         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
17480         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
17481         Add cast to avoid warning.
17482         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
17484 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
17486         * nptl/semaphore.h: Move to ...
17487         * sysdeps/pthread/semaphore.h: ... here.
17488         * Makefile (installed-headers): Change nptl/semaphore.h to
17489         sysdeps/pthread/semaphore.h.
17491 2014-12-11  Roland McGrath  <roland@hack.frob.com>
17493         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
17494         generated error format strings.
17496         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
17497         -Wformat-extra-args warnings for scanf formats.
17498         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
17499         test of zero-length format (duh).
17500         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
17501         corner-case scanf format test.
17502         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
17503         generated fprintf format string.
17504         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
17505         corner-case sprintf format tests.
17506         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
17507         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
17508         -Wformat-extra-args warnings throughout.
17509         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
17510         (CFLAGS-scanf4.c): Likewise.
17511         (CFLAGS-scanf7.c): Likewise.
17512         (CFLAGS-tst-sprintf.c): Likewise.
17513         (CFLAGS-tst-printf.c): Likewise.
17514         (CFLAGS-tst-printfsz.c): Likewise.
17516 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
17518         * include/cpio.h: New file.
17519         * include/fmtmsg.h: Likewise.
17521         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
17522         corresponding format argument to size_t.
17523         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
17524         arguments.
17525         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
17526         corresponding format argument to size_t.
17527         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
17528         arguments.
17529         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
17530         corresponding format argument to size_t.
17531         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
17532         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
17533         (CFLAGS-tst-mbswcs2.c): Likewise.
17534         (CFLAGS-tst-mbswcs3.c): Likewise.
17535         (CFLAGS-tst-mbswcs4.c): Likewise.
17536         (CFLAGS-tst-mbswcs5.c): Likewise.
17537         (CFLAGS-tst-trans.c): Likewise
17539 2014-12-11  Roland McGrath  <roland@hack.frob.com>
17541         * posix/regexbug1.c (main): Use "%s" format with regerror results,
17542         rather than assuming they won't contain any '%'s.
17544 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
17546         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
17547         inhibit_loop_to_libcall to avoid recursive calls.
17548         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
17549         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
17551 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
17553         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
17554         prototype.
17556 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
17558         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
17559         integer value instead of boolean.
17561 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
17563         * malloc/malloc.c: Fix powerof2 check.
17565 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
17567         * locale/programs/locfile.h (maybe_swap_uint32):
17568         Remove inline and add unused attribute.
17570 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
17572         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
17573         Truncating assembler expression to a .long expression.
17575 2014-12-11  Andreas Schwab  <schwab@suse.de>
17577         * elf/rtld.c (struct map_args): Constify str member.
17578         (do_preload): Constify fname argument.
17580 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17582         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
17583         constants definition.
17585 2014-12-11  Andreas Schwab  <schwab@suse.de>
17587         [BZ #16657]
17588         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
17589         FORCE_ELISION instead of DO_ELISION.
17590         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
17591         Remove.
17592         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
17593         Likewise.
17595         * iconvdata/gconv-modules: Remove duplicate entry.
17597 2014-12-11  Will Newton  <will.newton@linaro.org>
17599         Merge gettext 0.19.3 into intl/.
17601         This involves a number of cosmetic changes to comments
17602         and ANSI function definitions and prototypes throughout
17603         all the files. The gettext copyright header is used but
17604         with the date ranges taken from the glibc copy.
17606         * NEWS: Add gettext merge to 2.21.
17607         * intl/bindtextdom.c: Switch to gettext copyright.
17608         Use ANSI definitions and prototypes.
17609         Use gl_* locking primitives rather than __libc_* ones.
17610         Use __builtin_expect rather than __glibc_likely/unlikely.
17611         * intl/dcgettext.c: Switch to gettext copyright.
17612         Use ANSI definitions and prototypes.
17613         * intl/dcigettext.c: Switch to gettext copyright.
17614         Use ANSI definitions and prototypes.
17615         (INTDIV0_RAISES_SIGFPE): New define.
17616         Use gl_* locking primitives rather than __libc_* ones.
17617         Include eval-plural.h instead of plural-eval.c.
17618         Use __builtin_expect rather than __glibc_likely/unlikely.
17619         * intl/dcngettext.c: Switch to gettext copyright.
17620         Use ANSI definitions and prototypes.
17621         * intl/dgettext.c: Likewise.
17622         * intl/dngettext.c: Likewise.
17623         * intl/plural-eval.c: Renamed to...
17624         * intl/eval-plural.h: ...this.
17625         * intl/explodename.c: Switch to gettext copyright.
17626         Use ANSI definitions and prototypes.
17627         (_nl_explode_name): Use strchr instead of __rawmemchr.
17628         * intl/finddomain.c: Switch to gettext copyright.
17629         Use ANSI definitions and prototypes.
17630         Use gl_* locking primitives rather than __libc_* ones.
17631         (_nl_find_domain): Use malloc rather than alloca for
17632         allocation of temporary locale name.
17633         * intl/gettext.c: Switch to gettext copyright.
17634         Use ANSI definitions and prototypes.
17635         * intl/gettextP.h: Switch to gettext copyright.
17636         Use ANSI definitions and prototypes.
17637         Use gl_* locking primitives rather than __libc_* ones.
17638         * intl/gmo.h: Switch to gettext copyright.
17639         (struct sysdep_string): Move struct segment_pair outside of
17640         struct definition.
17641         * intl/hash-string.c: Use ANSI definitions and prototypes.
17642         * intl/hash-string.h: Switch to gettext copyright.
17643         Use ANSI definitions and prototypes.
17644         * intl/l10nflist.c: Switch to gettext copyright.
17645         Use ANSI definitions and prototypes.
17646         (_nl_normalize_codeset): Avoid integer overflow.
17647         * intl/loadinfo.h: Switch to gettext copyright.
17648         Use ANSI definitions and prototypes.
17649         (LIBINTL_DLL_EXPORTED): New define.
17650         (PATH_SEPARATOR): New define.
17651         * intl/loadmsgcat.c: Switch to gettext copyright.
17652         * intl/localealias.c: Switch to gettext copyright.
17653         Use ANSI definitions and prototypes.
17654         (_nl_expand_alias): Use PATH_SEPARATOR.
17655         * intl/ngettext.c: Switch to gettext copyright.
17656         Use ANSI definitions and prototypes.
17657         * intl/plural-exp.c: Likewise.
17658         * intl/plural-exp.h: Switch to gettext copyright.
17659         Use ANSI definitions and prototypes.
17660         (struct expression): Move definition of enum operator outside
17661         of struct definition.
17662         * intl/plural.c: Regenerate.
17663         * intl/plural.y: Switch to gettext copyright.
17664         Use ANSI definitions and prototypes.
17665         Port to bison 3.0.
17666         * intl/textdomain.c: Switch to gettext copyright.
17667         Use ANSI definitions and prototypes.
17668         Use gl_* locking primitives rather than __libc_* ones.
17670 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
17672         * debug/warning-nop.c: Add used atrribute.
17674 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
17676         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
17678         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
17679         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
17680         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
17682 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
17683             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17685         [BZ #17634]
17686         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
17687         Undefine after defining function.  Define as weak alias of
17688         __wcschr.  Use libc_hidden_weak.
17689         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
17690         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
17691         (libc_hidden_def): Also define __GI___wcschr alias.
17692         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
17693         __wcschr and define as weak alias of __wcschr.
17694         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
17695         __wcschr.
17696         [!WCSCHR] (DEFAULT_WCSCHR): Define.
17697         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
17698         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
17699         libc_hidden_weak.  Do not use libc_hidden_def.
17700         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
17701         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
17702         __GI___wcschr alias.
17703         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
17704         [IS_IN (libc)] (wcschr): Define as macro expanding to
17705         __redirect_wcschr.
17706         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
17707         [IS_IN (libc)] (__wcschr_power6): Likewise.
17708         [IS_IN (libc)] (__wcschr_power7): Likewise.
17709         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
17710         instead of wcschr.
17711         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
17712         __libc_wcschr.
17713         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
17714         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
17715         __wcschr and define as weak alias of __wcschr.  Use
17716         libc_hidden_builtin_def.
17717         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
17718         as weak alias of __wcschr.  Use libc_hidden_weak.
17719         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
17720         wcschr.
17721         * time/era.c (_nl_init_era_entries): Likewise.
17722         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
17723         variable.
17724         (test-xfail-XPG3/time.h/linknamespace): Likewise.
17725         (test-xfail-XPG4/time.h/linknamespace): Likewise.
17727 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
17729         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
17730         format for long int variable.
17732 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
17734         [BZ #10672]
17735         * manual/search.texi: (Array Sort Function): Remove claim how to make
17736         qsort stable.
17738 2014-12-10  Andreas Schwab  <schwab@suse.de>
17740         [BZ #12847]
17741         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
17742         user-controlled locks.
17744 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
17746         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
17747         register.
17749 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
17751         * configure.ac (--disable-werror): New configure option.
17752         (enable_werror): New AC_SUBST.
17753         * configure: Regenerated.
17754         * config.make.in (enable-werror): New variable.
17755         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
17756         -Wno-error=undef.
17757         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
17758         * manual/install.texi (Configuring and compiling): Document
17759         --disable-werror.
17760         * INSTALL: Regenerated.
17761         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
17762         (CFLAGS-tst-chk2.c): Likewise.
17763         (CFLAGS-tst-chk3.c): Likewise.
17764         (CFLAGS-tst-chk4.cc): Likewise.
17765         (CFLAGS-tst-chk5.cc): Likewise.
17766         (CFLAGS-tst-chk6.cc): Likewise.
17767         (CFLAGS-tst-lfschk1.c): Likewise.
17768         (CFLAGS-tst-lfschk2.c): Likewise.
17769         (CFLAGS-tst-lfschk3.c): Likewise.
17770         (CFLAGS-tst-lfschk4.cc): Likewise.
17771         (CFLAGS-tst-lfschk5.cc): Likewise.
17772         (CFLAGS-tst-lfschk6.cc): Likewise.
17774         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
17775         (main): Disable -Wdeprecated-declarations around calls to
17776         register_printf_function.
17778         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
17779         (do_test): Disable -Wdiv-by-zero around some calls to
17780         fwrite_unlocked and fread_unlocked.
17782         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
17783         (DIAG_POP_NEEDS_COMMENT): Likewise.
17784         (_DIAG_STR1): Likewise.
17785         (_DIAG_STR): Likewise.
17786         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
17787         * stdio-common/bug21.c: Include <libc-internal.h>.
17788         (do_test): Disable -Wformat around call to sscanf.
17789         * stdio-common/scanf14.c: Include <libc-internal.h>.
17790         (main): Disable -Wformat around some calls to scanf functions.
17792 2014-12-09  Torvald Riegel  <triegel@redhat.com>
17794         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
17796 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17798         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
17799         stack variable alignment.
17801 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
17803         [BZ #17682]
17804         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
17805         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
17806         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
17807         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
17808         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
17809         __getrlimit instead of getrlimit.
17810         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
17811         __gettimeofday instead of gettimeofday.
17812         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
17813         Likewise.
17814         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
17815         Likewise.
17816         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
17817         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
17818         Remove variable.
17819         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
17820         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
17822 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17824         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
17825         for wide-character tests.
17827 2014-12-04  Roland McGrath  <roland@hack.frob.com>
17829         * io/openat64.c: #include <libc-internal.h>
17830         (__openat64): Prototypify.  Use ignore_value on MODE.
17831         * io/openat.c: Likewise.
17832         * misc/reboot.c: #include <libc-internal.h>
17833         (reboot): Prototypify.  Use ignore_value on HOWTO.
17834         * misc/ptrace.c: #include <libc-internal.h>
17835         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
17837 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
17839         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
17840         XPG4, UNIX98 and XOPEN2K.
17841         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
17842         Remove variable.
17843         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
17845 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
17847         * libio/fileops.c: Use ISO C style for function definitions.
17848         * libio/iofopen.c: Likewise.
17849         * libio/wfileops.c: Likewise.
17851         [BZ #17653]
17852         * libio/fileops.c (_IO_new_file_underflow): Unset cached
17853         offset on EOF.
17854         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
17855         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
17856         (fgets_func): Function pointer to fgets and fgetws.
17857         (do_ftell_test): Add test to verify ftell value after read
17858         EOF.
17859         (do_test): Set fgets_func.
17861         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
17862         O_TRUNC flag for w and w+ modes.
17863         (do_rewind_test): Likewise.
17864         (do_ftell_test): Likewise.
17865         (do_write_test): Likewise.
17867         [BZ #17647]
17868         * libio/fileops.c (do_ftell): Seek only when there are
17869         unflushed writes.
17870         * libio/wfileops.c (do_ftell_wide): Likewise.
17871         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
17872         test case.
17873         (do_one_test): Call it.
17875 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
17877         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
17878         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
17879         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
17880         Remove variable.
17881         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
17882         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
17883         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
17885 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
17887         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
17888         Remove variable.
17889         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
17891         [BZ #17668]
17892         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
17893         as weak alias of __getifaddrs.  Use libc_hidden_weak.
17894         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
17895         __freeifaddrs.  Use libc_hidden_weak.
17896         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
17897         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
17898         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
17899         __freeifaddrs.  Use libc_hidden_weak.
17900         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
17901         __getifaddrs and define as weak alias of __getifaddrs.  Use
17902         libc_hidden_weak.
17903         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
17904         __freeifaddrs.  Use libc_hidden_weak.
17905         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
17906         Remove variable.
17907         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
17908         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
17910 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
17912         [BZ #17601]
17913         * sysdeps/mips/start.S (__start): Use indirect jump to call
17914         __libc_start_main.
17916 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
17918         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
17920         * nptl/tst-mutex1.c: Include <stdbool.h>.
17921         [!ATTR] (ATTR_NULL): New macro.
17922         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
17923         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
17924         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
17926         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
17927         to char *.
17929         [BZ #17665]
17930         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
17931         Change conditional to [__USE_MISC].
17933         [BZ #17664]
17934         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
17935         fgets_unlocked.
17936         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
17937         __fgets_unlocked.
17938         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
17939         fgets_unlocked.
17940         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
17941         Remove variable.
17942         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
17943         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
17944         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
17945         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
17946         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
17947         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
17948         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
17949         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
17950         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
17952         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
17954 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17956         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
17957         Remove strpbrk objects.
17958         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17959         (__libc_ifunc_impl_list): Remove strpbrk implementation.
17960         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
17961         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
17962         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
17963         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
17965         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
17966         Remove strcspn objects.
17967         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17968         (__libc_ifunc_impl_list): Remove strcspn implementation.
17969         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
17970         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
17971         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
17972         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
17974         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
17975         Remove strspn objetcs.
17976         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17977         (__libc_ifunc_impl_list): Remove strspn implementation.
17978         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
17979         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
17980         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
17981         * sysdeps/powerpc/powerpc64/strspn.S: New file.
17983 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
17985         [BZ #17581]
17986         * malloc/hooks.c
17987         (mem2mem_check): Add a terminator to the chain of checking blocks.
17988         (malloc_check_get_size): Use it here.
17989         (mem2chunk_check): Ditto.
17991 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
17993         * sysdeps/powerpc/powerpc64/strtok.S: New file.
17994         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
17996 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
17998         * bits/ioctl-types.h: Indent preprocessor directives correctly.
18000         * nptl/nptl-init.c: Include libc-internal.h.
18001         (__pthread_initialize_minimal_internal): Use ROUND_UP.
18003         * elf/ldconfig.c (search_dir): Expand comment.
18005 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
18007         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
18008         variable.
18009         (linknamespace-symlist-stdlibs-tests): Likewise.
18010         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
18011         instead of $(objpfx)symlist-stdlibs.
18012         (linknamespace-libs-isoc): New variable.
18013         (linknamespace-libs): Use $(linknamespace-libs-isoc).
18014         (linknamespace-libs-ISO): New variable.
18015         (linknamespace-libs-ISO99): Likewise.
18016         (linknamespace-libs-ISO11): Likewise.
18017         (linknamespace-libs-XPG3): Likewise.
18018         (linknamespace-libs-XPG4): Likewise.
18019         (linknamespace-libs-POSIX): Likewise.
18020         (linknamespace-libs-UNIX98): Likewise.
18021         (linknamespace-libs-XOPEN2K): Likewise.
18022         (linknamespace-libs-POSIX2008): Likewise.
18023         (linknamespace-libs-XOPEN2K8): Likewise.
18024         ($(objpfx)symlist-stdlibs): Replace by
18025         $(linknamespace-symlist-stdlibs-tests).  Use
18026         $(linknamespace-libs-$*) as set of libraries.
18027         ($(linknamespace-header-tests)): Update dependencies.  Use
18028         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
18029         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
18030         * conform/linknamespace.pl: Remove comment about considering
18031         definitions of symbols from irrelevant libraries.
18033 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
18035         [BZ #13862]
18036         * elf/dl-tls.c: Include <atomic.h>.
18037         (oom): Remove #ifdef SHARED/#endif.
18038         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
18039         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
18040         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
18041         big enough.
18042         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
18043         * nptl/Makefile (tests): Add tst-stack4.
18044         (modules-names): Add tst-stack4mod.
18045         ($(objpfx)tst-stack4): New.
18046         (tst-stack4mod.sos): Likewise.
18047         ($(objpfx)tst-stack4.out): Likewise.
18048         ($(tst-stack4mod.sos)): Likewise.
18049         (clean): Likewise.
18050         * nptl/tst-stack4.c: New file.
18051         * nptl/tst-stack4mod.c: Likewise.
18053 2014-11-27  J. Brown  <jb999@gmx.de>
18055         * sysdeps/x86/bits/string.h: Add recent CPUs.
18057 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
18059         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
18060         sigblock.
18062         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
18063         feof.
18065         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
18066         variable.
18068 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
18070         * nscd/connections.c: Include libc-internal.h because of macro
18071         usage ignore_value.
18073 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
18075         * string/bits/string3.h (__warn_memset_zero_len): Don't
18076         declare for gcc newer than 5.0.
18077         (memset): Don't test for zero-length __LEN for gcc newer than
18078         5.0.
18080 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
18082         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
18083         size_t for %zu format.
18085         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
18086         difference, not %ju.
18088 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
18090         * include/libc-internal.h (ignore_value): New macro.
18091         * nscd/connections.c (restart): Wrap calls to setuid and setgid
18092         with ignore_value.
18094         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
18095         definition.
18097         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
18098         pthread_cleanup_push to void *.
18100         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
18101         Undefine.
18103         [BZ #16619]
18104         [BZ #16740]
18105         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
18106         instead of 1L << 52.
18108         * libio/bug-rewind.c (do_test): Check fwscanf return values.
18109         * libio/bug-rewind2.c (do_test): Likewise.
18111         * debug/test-stpcpy_chk-ifunc.c: Remove file.
18112         * debug/test-strcpy_chk-ifunc.c: Likewise.
18113         * wcsmbs/test-wcschr-ifunc.c: Likewise.
18114         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
18115         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
18116         * wcsmbs/test-wcslen-ifunc.c: Likewise.
18117         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
18118         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
18119         * Rules [$(multi-arch) = no] (tests): Do not filter out
18120         $(tests-ifunc).
18121         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
18122         * debug/Makefile (tests-ifunc): Remove variable.
18123         (tests): Do not add $(tests-ifunc).
18124         * wcsmbs/Makefile (tests-ifunc): Remove variable.
18125         (tests): Do not add $(tests-ifunc).
18126         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
18127         [TEST_IFUNC]: Remove conditionals.
18128         * string/test-string.h (TEST_IFUNC): Remove macro.
18129         [TEST_IFUNC]: Remove conditionals.
18131         * string/test-strchr.c [!WIDE] (L): New macro.
18132         [WIDE] (L): Likewise.
18133         (check1): Use CHAR instead of char.  Use L on string and character
18134         constants.
18136 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
18138         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
18139         tests.
18140         * sysdeps/powerpc/bits/atomic.h
18141         (__arch_atomic_exchange_and_add_32_acq): Add definition.
18142         (__arch_atomic_exchange_and_add_32_rel): Likewise.
18143         (atomic_exchange_and_add_acq): Likewise.
18144         (atomic_exchange_and_add_rel): Likewise.
18145         * sysdeps/powerpc/powerpc32/bits/atomic.h
18146         (__arch_atomic_exchange_and_add_64_acq): Add definition.
18147         (__arch_atomic_exchange_and_add_64_rel): Likewise.
18148         * sysdeps/powerpc/powerpc64/bits/atomic.h
18149         (__arch_atomic_exchange_and_add_64_acq): Add definition.
18150         (__arch_atomic_exchange_and_add_64_rel): Likewise.
18152 2014-11-26  Torvald Riegel  <triegel@redhat.com>
18154         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
18155         Change synchronization of __sched_fifo_min_prio and
18156         __sched_fifo_max_prio.
18157         * nptl/pthread_mutexattr_getprioceiling.c
18158         (pthread_mutexattr_getprioceiling): Likewise.
18159         * nptl/pthread_mutexattr_setprioceiling.c
18160         (pthread_mutexattr_setprioceiling): Likewise.
18161         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
18162         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
18163         Likewise.
18165 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
18167         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
18168         void.
18170 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
18172         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
18173         third argument const.
18175 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
18177         fnmatch: work around GCC compiler warning bug with uninit var
18178         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
18179         This works around a bug with x86-64 GCC 4.9.2 and earlier
18180         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
18181         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
18182         used uninitialized in this function [-Wmaybe-uninitialized]".
18184 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
18186         * posix/bug-regex31.c (main): Return RES not 0.
18188 2014-11-25  Anton Blanchard <anton@samba.org>
18190         * sysdeps/powerpc/bits/atomic.h
18191         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
18193 2014-11-24  Sterling Augustine  <saugustine@google.com>
18195         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
18197 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
18199         [BZ #17608]
18200         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
18202 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
18204         [BZ #17633]
18205         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
18206         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
18207         variable.
18208         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
18209         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
18211 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
18213         * string/strncpy.c (strncpy): Improve performance by using memset.
18215 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
18217         * string/strcpy.c (strcpy):
18218         Improve performance by using strlen and memcpy.
18220 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
18222         * string/strcoll_l.c (get_next_seq): __always_inline.
18223         * string/strcoll_l.c (do_compare): __always_inline.
18225 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
18227         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
18228         defined.
18229         * include/mqueue.h: Likewise.
18230         * include/stdlib.h: Likewise.
18232         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
18233         (get_null_defines): Adjust.
18234         * sunrpc/Makefile: Adjust comment.
18235         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
18236         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
18237         (CFLAGS-interp.c): Likewise.
18238         (CFLAGS-ldconfig.c): Likewise.
18239         (CPPFLAGS-.os): Likewise.
18240         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
18241         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
18242         * extra-modules.mk (extra-modules.mk): Likewise.
18243         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
18244         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
18245         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
18246         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
18247         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
18248         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
18249         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
18250         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
18251         * iconvdata/Makefile (CPPFLAGS): Likewise.
18252         (cpp-srcs-left): Add libof for all iconvdata routines.
18253         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
18254         * include/assert.h: Likewise.
18255         * include/ctype.h: Likewise.
18256         * include/errno.h: Likewise.
18257         * include/libc-symbols.h: Likewise.
18258         * include/math.h: Likewise.
18259         * include/netdb.h: Likewise.
18260         * include/resolv.h: Likewise.
18261         * include/stdio.h: Likewise.
18262         * include/stdlib.h: Likewise.
18263         * include/string.h: Likewise.
18264         * include/sys/stat.h: Likewise.
18265         * include/wctype.h: Likewise.
18266         * intl/l10nflist.c: Likewise.
18267         * libidn/idn-stub.c: Likewise.
18268         * libio/libioP.h: Likewise.
18269         * nptl/libc_multiple_threads.c: Likewise.
18270         * nptl/pthreadP.h: Likewise.
18271         * posix/regex_internal.h: Likewise.
18272         * resolv/res_hconf.c: Likewise.
18273         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
18274         * sysdeps/arm/memmove.S: Likewise.
18275         * sysdeps/arm/sysdep.h: Likewise.
18276         * sysdeps/generic/_itoa.h: Likewise.
18277         * sysdeps/generic/symbol-hacks.h: Likewise.
18278         * sysdeps/gnu/errlist.awk: Likewise.
18279         * sysdeps/gnu/errlist.c: Likewise.
18280         * sysdeps/i386/i586/memcpy.S: Likewise.
18281         * sysdeps/i386/i586/memset.S: Likewise.
18282         * sysdeps/i386/i686/memcpy.S: Likewise.
18283         * sysdeps/i386/i686/memmove.S: Likewise.
18284         * sysdeps/i386/i686/mempcpy.S: Likewise.
18285         * sysdeps/i386/i686/memset.S: Likewise.
18286         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
18287         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
18288         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
18289         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
18290         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
18291         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
18292         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
18293         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
18294         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
18295         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
18296         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
18297         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
18298         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
18299         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
18300         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
18301         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
18302         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
18303         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
18304         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
18305         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
18306         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
18307         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
18308         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
18309         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
18310         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
18311         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
18312         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
18313         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
18314         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
18315         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
18316         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
18317         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
18318         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
18319         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
18320         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
18321         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
18322         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
18323         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
18324         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
18325         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
18326         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
18327         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
18328         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
18329         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
18330         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
18331         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
18332         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
18333         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
18334         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
18335         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
18336         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
18337         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
18338         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
18339         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
18340         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
18341         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
18342         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
18343         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
18344         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
18345         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
18346         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
18347         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
18348         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
18349         * sysdeps/nptl/bits/libc-lock.h: Likewise.
18350         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
18351         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
18352         * sysdeps/posix/closedir.c: Likewise.
18353         * sysdeps/posix/opendir.c: Likewise.
18354         * sysdeps/posix/readdir.c: Likewise.
18355         * sysdeps/posix/rewinddir.c: Likewise.
18356         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
18357         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
18358         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
18359         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
18360         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
18361         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
18362         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
18363         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
18364         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
18365         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
18366         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
18367         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
18368         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
18369         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
18370         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
18371         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
18372         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
18373         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
18374         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
18375         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
18376         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
18377         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
18378         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
18379         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
18380         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
18381         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
18382         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
18383         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
18384         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
18385         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
18386         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
18387         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
18388         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
18389         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
18390         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
18391         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
18392         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
18393         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
18394         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
18395         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
18396         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
18397         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
18398         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
18399         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
18400         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
18401         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
18402         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
18403         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
18404         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
18405         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
18406         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
18407         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
18408         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
18409         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
18410         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
18411         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
18412         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
18413         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
18414         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
18415         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
18416         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
18417         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
18418         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
18419         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
18420         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
18421         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
18422         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
18423         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
18424         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
18425         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
18426         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
18427         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
18428         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
18429         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
18430         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
18431         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
18432         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
18433         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
18434         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
18435         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
18436         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
18437         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
18438         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
18439         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
18440         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
18441         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
18442         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
18443         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
18444         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
18445         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
18446         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
18447         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
18448         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
18449         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
18450         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
18451         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
18452         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
18453         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
18454         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
18455         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
18456         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
18457         * sysdeps/unix/alpha/sysdep.S: Likewise.
18458         * sysdeps/unix/alpha/sysdep.h: Likewise.
18459         * sysdeps/unix/make-syscalls.sh: Likewise.
18460         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
18461         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
18462         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
18463         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
18464         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
18465         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
18466         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
18467         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
18468         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
18469         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
18470         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
18471         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
18472         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
18473         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
18474         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
18475         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
18476         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
18477         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
18478         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
18479         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
18480         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
18481         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
18482         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
18483         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
18484         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
18485         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
18486         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
18487         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
18488         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
18489         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
18490         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
18491         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
18492         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
18493         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
18494         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
18495         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
18496         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
18497         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
18498         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
18499         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
18500         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
18501         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
18502         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
18503         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
18504         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
18505         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
18506         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
18507         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
18508         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
18509         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
18510         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
18511         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
18512         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
18513         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
18514         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
18515         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
18516         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
18517         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
18518         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
18519         * sysdeps/x86_64/memcpy.S: Likewise.
18520         * sysdeps/x86_64/memmove.c: Likewise.
18521         * sysdeps/x86_64/memset.S: Likewise.
18522         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
18523         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
18524         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
18525         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
18526         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
18527         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
18528         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
18529         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
18530         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
18531         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
18532         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
18533         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
18534         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
18535         * sysdeps/x86_64/multiarch/memset.S: Likewise.
18536         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
18537         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
18538         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
18539         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
18540         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
18541         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
18542         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
18543         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
18544         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
18545         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
18546         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
18547         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
18548         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
18549         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
18550         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
18551         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
18552         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
18553         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
18554         * sysdeps/x86_64/strcmp.S: Likewise.
18556         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
18558         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
18559         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
18560         * elf/rtld-Rules: Likewise.
18561         * elf/setup-vdso.h: Likewise.
18562         * include/assert.h: Likewise.
18563         * include/bits/stdlib-float.h: Likewise.
18564         * include/errno.h: Likewise.
18565         * include/sys/stat.h: Likewise.
18566         * include/unistd.h: Likewise.
18567         * sysdeps/aarch64/setjmp.S: Likewise.
18568         * sysdeps/alpha/setjmp.S: Likewise.
18569         * sysdeps/arm/__longjmp.S: Likewise.
18570         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
18571         * sysdeps/arm/setjmp.S: Likewise.
18572         * sysdeps/arm/sysdep.h: Likewise.
18573         * sysdeps/generic/_itoa.h: Likewise.
18574         * sysdeps/generic/dl-sysdep.h: Likewise.
18575         * sysdeps/generic/ldsodefs.h: Likewise.
18576         * sysdeps/i386/dl-tls.h: Likewise.
18577         * sysdeps/i386/setjmp.S: Likewise.
18578         * sysdeps/m68k/setjmp.c: Likewise.
18579         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
18580         * sysdeps/mach/hurd/opendir.c: Likewise.
18581         * sysdeps/posix/getcwd.c: Likewise.
18582         * sysdeps/posix/opendir.c: Likewise.
18583         * sysdeps/posix/profil.c: Likewise.
18584         * sysdeps/powerpc/dl-procinfo.h: Likewise.
18585         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
18586         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
18587         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
18588         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
18589         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
18590         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
18591         * sysdeps/s390/dl-tls.h: Likewise.
18592         * sysdeps/s390/s390-32/setjmp.S: Likewise.
18593         * sysdeps/s390/s390-64/setjmp.S: Likewise.
18594         * sysdeps/sh/sh3/setjmp.S: Likewise.
18595         * sysdeps/sh/sh4/setjmp.S: Likewise.
18596         * sysdeps/unix/alpha/sysdep.h: Likewise.
18597         * sysdeps/unix/arm/sysdep.S: Likewise.
18598         * sysdeps/unix/i386/sysdep.S: Likewise.
18599         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
18600         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
18601         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
18602         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
18603         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
18604         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
18605         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
18606         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
18607         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
18608         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
18609         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
18610         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
18611         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
18612         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
18613         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
18614         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
18615         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
18616         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
18617         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
18618         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
18619         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
18620         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
18621         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
18622         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
18623         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
18624         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
18625         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
18626         * sysdeps/unix/x86_64/sysdep.S: Likewise.
18627         * sysdeps/x86_64/setjmp.S: Likewise.
18629         * include/math.h: Use IS_IN instead of IS_IN_libm.
18630         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
18631         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
18632         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
18633         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
18634         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
18635         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
18636         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
18637         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
18638         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
18639         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
18640         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
18641         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
18642         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
18643         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
18644         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
18645         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
18646         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
18647         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
18648         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
18649         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
18650         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
18651         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
18652         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
18653         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
18654         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
18655         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
18656         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
18657         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
18658         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
18659         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
18660         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
18661         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
18662         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
18663         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
18664         Likewise.
18665         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
18666         Likewise.
18667         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
18668         Likewise.
18669         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
18670         Likewise.
18671         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
18672         Likewise.
18673         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
18674         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
18675         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
18676         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
18677         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
18678         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
18679         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
18680         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
18681         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
18682         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
18683         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
18684         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
18685         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
18686         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
18687         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
18688         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
18689         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
18690         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
18691         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
18692         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
18693         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
18694         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
18695         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
18696         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
18697         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
18698         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
18699         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
18701         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
18702         * nptl/pthreadP.h: Likewise.
18703         * nptl_db/structs.def: Likewise.
18704         * sysdeps/arm/sysdep.h: Likewise.
18705         * sysdeps/nptl/bits/libc-lock.h: Likewise.
18706         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
18707         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
18708         * sysdeps/unix/alpha/sysdep.h: Likewise.
18709         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
18710         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
18711         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
18712         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
18713         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
18714         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
18715         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
18716         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
18717         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
18718         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
18719         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
18720         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
18721         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
18722         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
18723         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
18724         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
18725         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
18726         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
18727         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
18728         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
18729         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
18730         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
18731         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
18732         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
18733         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
18734         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
18736         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
18737         * nptl/pthreadP.h: Likewise.
18738         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
18739         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
18740         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
18741         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
18742         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
18743         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
18744         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
18745         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
18746         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
18747         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
18748         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
18749         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
18750         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
18751         Likewise.
18752         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
18753         Likewise.
18754         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
18755         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
18756         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
18757         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
18758         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
18759         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
18760         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
18761         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
18763         * dlfcn/dladdr.c: Use IS_IN.
18764         * dlfcn/dladdr1.c: Likewise.
18765         * dlfcn/dlclose.c: Likewise.
18766         * dlfcn/dlerror.c: Likewise.
18767         * dlfcn/dlinfo.c: Likewise.
18768         * dlfcn/dlmopen.c: Likewise.
18769         * dlfcn/dlopen.c: Likewise.
18770         * dlfcn/dlsym.c: Likewise.
18771         * dlfcn/dlvsym.c: Likewise.
18773         * include/ifaddrs.h: Use IS_IN.
18774         * inet/check_pf.c: Likewise.
18775         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
18776         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
18778         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
18779         IS_IN_ldconfig.
18780         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
18781         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
18783         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
18784         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
18785         IS_IN (libc).
18787         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
18789         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
18790         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
18791         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
18792         * include/libc-symbols.h (IS_IN_LIB): New macro.
18793         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
18794         * include/netdb.h: Likewise.
18795         * include/stap-probe.h: Remove all uses of IN_LIB.
18797         * Makeconfig (module-cppflags-real): Define MODULE_NAME
18798         instead of IN_MODULE.
18799         * include/libc-symbols.h (IN_MODULE): Define using
18800         MODULE_NAME.
18801         (PASTE_NAME, PASTE_NAME1): New macros.
18802         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
18803         of IN_LIB.
18804         (STAP_PROBE_ASM): Likewise.
18806 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18808         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
18809         __mach_init in dlopened libc.
18811 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
18813         * sysdeps/arm/preconfigure.ac: Delete EABI check.
18814         * sysdeps/arm/preconfigure: Regenerate.
18816 2014-11-21  Roland McGrath  <roland@hack.frob.com>
18818         * nptl/pthread_create.c (__pthread_create_2_1): Set
18819         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
18820         when copying values from IATTR into PD.
18822 2014-11-21  Will Newton  <will.newton@linaro.org>
18823             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
18825         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
18826         Refactor inline-asm.  Also add comment.
18828         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
18829         ElfW macro instead of hardcoded Elf64 types.
18830         (la_aarch64_gnu_pltenter): Likewise.
18831         * sysdeps/aarch64/dl-machine.h
18832         (elf_machine_runtime_setup): Use ElfW(Addr).
18834         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
18835         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
18836         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
18837         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
18838         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
18839         (R_AARCH64_TLS_DTPMOD64): Rename to ..
18840         (R_AARCH64_TLS_DTPMOD): This.
18841         (R_AARCH64_TLS_DTPREL64): Rename to ...
18842         (R_AARCH64_TLS_DTPREL): This.
18843         (R_AARCH64_TLS_TPREL64): Rename to ...
18844         (R_AARCH64_TLS_TPREL): This.
18845         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
18846         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
18847         R_AARCH64_TLS_TPREL64.
18848         (elf_machine_rela): Likewise.
18850 2014-11-21  Torvald Riegel  <triegel@redhat.com>
18852         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
18853         by setting it to 0.  64b atomics are not supported currently.
18855 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
18857         [BZ #16469]
18858         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
18859         search domain names.
18861 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
18863         [BZ #16469]
18864         * NEWS: Update.
18865         * resolv/res_query.c (__libc_res_nquerydomain): Retain
18866         trailing dot.
18867         * posix/tst-getaddrinfo5.c: New.
18868         * posix/Makefile (tests): Add it.
18870 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
18872         [BZ #14498]
18873         * NEWS: Fixed.
18874         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
18875         after parsing line but before break_if_match.
18876         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
18877         if there is a protocol mismatch.
18879 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
18881         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
18882         because the potential race is on the user-supplied stream.
18884 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
18886         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
18887         string literal if not passed a buffer.
18888         * manual/job.texi (ctermid): Update reasoning, note deviation
18889         from posix, suggest mtasurace when not passed a buffer, for
18890         future non-preliminary safety notes.
18892 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
18894         * manual/users.texi (cuserid): Fix MT-Safety note for the case
18895         of not passing it a buffer.
18896         Reported by Peng Haitao.
18898 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
18900         * manual/Makefile ($(objpfx)stamp-summary): Require
18901         check-safety.sh to pass.
18902         * manual/check-safety.sh: Wish for verification that every
18903         @deftypefn and @deftypefun is followed by a @safety remark.
18905 2014-11-20  Roland McGrath  <roland@hack.frob.com>
18907         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
18909         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
18910         PTHREAD_CANCEL_ASYNCHRONOUS.
18911         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
18912         send SIGCANCEL.
18914         * nptl/default-sched.h: New file.
18915         * sysdeps/unix/sysv/linux/default-sched.h: New file.
18916         * nptl/pthread_create.c: Include it.
18917         (__pthread_create_2_1): Use collect_default_sched instead of making
18918         Linux syscalls here directly.
18920 2014-11-20  Torvald Riegel  <triegel@redhat.com>
18922         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
18923         __pthread_once): Use C11 atomics.
18925 2014-11-20  Torvald Riegel  <triegel@redhat.com>
18927         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
18929 2014-11-20  Torvald Riegel  <triegel@redhat.com>
18931         * include/atomic.h (__atomic_link_error, __atomic_check_size,
18932         atomic_thread_fence_acquire, atomic_thread_fence_release,
18933         atomic_thread_fence_seq_cst, atomic_load_relaxed,
18934         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
18935         atomic_compare_exchange_weak_relaxed,
18936         atomic_compare_exchange_weak_acquire,
18937         atomic_compare_exchange_weak_release,
18938         atomic_exchange_acquire, atomic_exchange_release,
18939         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
18940         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
18941         atomic_fetch_and_acquire,
18942         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
18944 2014-11-20  Torvald Riegel  <triegel@redhat.com>
18946         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
18947         USE_ATOMIC_COMPILER_BUILTINS): Define.
18948         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
18949         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
18950         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
18951         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
18952         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
18953         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
18954         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
18955         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
18956         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
18957         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
18958         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
18959         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
18960         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
18961         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
18962         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
18963         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
18964         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
18965         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
18966         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
18967         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
18968         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
18969         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
18970         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
18971         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
18972         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
18973         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
18974         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
18975         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
18976         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
18977         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
18978         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
18979         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
18980         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
18981         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
18982         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
18983         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
18984         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
18985         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
18986         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
18987         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
18989 2014-11-19  Roland McGrath  <roland@hack.frob.com>
18991         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
18992         the sched_priority value here.  It was already checked when the user
18993         called pthread_attr_setschedparam.
18995         * nptl/tst-bad-schedattr.c: New file.
18996         * nptl/Makefile (tests): Add it.
18998 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
18999             Florian Weimer  <fweimer@redhat.com>
19000             Joseph Myers  <joseph@codesourcery.com>
19001             Adam Conrad  <adconrad@0c3.net>
19002             Andreas Schwab  <schwab@suse.de>
19003             Brooks  <bmoses@google.com>
19005         [BZ #17625]
19006         * wordexp-test.c (__dso_handle): Add prototype.
19007         (__register_atfork): Likewise.
19008         (__app_register_atfork): New function.
19009         (registered_forks): New global.
19010         (register_fork): New function.
19011         (test_case): Add 3 new tests for WRDE_CMDSUB.
19012         (main): Call __app_register_atfork.
19013         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
19014         fork count is non-zero fail the test.
19015         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
19016         is set.
19017         (parse_dollars): Remove check for WRDE_NOCMD.
19018         (parse_dquote): Likewise.
19020 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
19022         * Makeconfig (built-modules): List non-library modules to be
19023         built.
19024         (module-cppflags): Include libc-modules.h for
19025         everything except shlib-versions.v.i.
19026         (CPPFLAGS): Use it.
19027         (before-compile): Add libc-modules.h.
19028         ($(common-objpfx)libc-modules.h,
19029         $(common-objpfx)libc-modules.stmp): New targets.
19030         (common-generated): Add libc-modules.h and libc-modules.stmp.
19031         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
19032         * include/libc-symbols.h: Don't include libc-modules.h.
19033         * include/libc-modules.h: Remove file.
19034         * scripts/gen-libc-modules.awk: New script to generate
19035         libc-modules.h.
19036         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
19037         Depend on libc-modules.stmp.
19039         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
19041         * Makeconfig (in-module): Get value of libof set for the
19042         translation unit.
19043         (CPPFLAGS): Use $(in-module).
19044         * Makerules: Don't suffix routine names for nonlib.
19045         * include/libc-modules.h: New file.
19046         * include/libc-symbols.h: Include libc-modules.h
19047         (IS_IN): New macro to replace IS_IN_* macros.
19048         * elf/Makefile: Set libof-* for each routine.
19049         * elf/rtld-Rules: Likewise.
19050         * extra-modules.mk: Likewise.
19051         * iconv/Makefile: Likewise.
19052         * iconvdata/Makefile: Likewise.
19053         * locale/Makefile: Likewise.
19054         * malloc/Makefile: Likewise.
19055         * nss/Makefile: Likewise.
19056         * sysdeps/gnu/Makefile: Likewise.
19057         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
19058         * sysdeps/unix/sysv/linux/Makefile: Likewise.
19059         * sysdeps/s390/s390-64/Makefile: Likewise.
19060         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
19061         CPPFLAGS for nscd instead of nonlib.
19063 2014-11-18  Roland McGrath  <roland@hack.frob.com>
19065         * nptl/createthread.c: New file.
19067         * nptl/createthread.c: Moved ...
19068         * sysdeps/unix/sysv/linux/createthread.c: ... here.
19070         * nptl/createthread.c: Add proper top-line comment.
19071         (do_clone): Folded into ...
19072         (create_thread): ... here.  Take new arguments STOPPED_START and
19073         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
19074         increment __nptl_threads, do event-reporting logic, do
19075         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
19076         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
19077         resource cleanup if sched_setaffinity or sched_setscheduler fails,
19078         just send SIGCANCEL.
19079         * nptl/pthread_create.c: Forward-declare create_thread before
19080         including createthread.c.
19081         (start_thread): Use new macro START_THREAD_DEFN to replace defining
19082         declaration, and new macro START_THREAD_SELF to replace argument.
19083         Remove return statement.
19084         (report_thread_creation): New function.
19085         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
19086         synchronization logic, and __nptl_nthreads increment here, around
19087         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
19088         PD->parent_cancelhandling here, before create_thread.  When
19089         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
19090         __deallocate_stack, and ENOMEM translation here.
19092 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
19094         [BZ #17616]
19095         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
19096         (mptwo): Rename to __mptwo.
19097         (__inv): Use __mptwo instead of mptwo.
19098         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
19099         (mptwo): Rename to __mptwo.
19100         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
19101         of mpone and __mptwo instead of mptwo.
19102         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
19103         instead of mpone.
19104         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
19105         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
19106         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
19107         of mpone and __mptwo instead of mptwo.
19108         (__mpranred): Use __mpone instead of mpone.
19109         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
19110         variable.
19111         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
19112         (test-xfail-ISO99/math.h/linknamespace): Likewise.
19113         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
19114         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
19115         (test-xfail-ISO11/math.h/linknamespace): Likewise.
19116         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
19117         (test-xfail-XPG3/math.h/linknamespace): Likewise.
19118         (test-xfail-XPG4/math.h/linknamespace): Likewise.
19119         (test-xfail-POSIX/math.h/linknamespace): Likewise.
19120         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
19121         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
19122         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
19123         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
19124         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
19125         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
19126         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
19127         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
19128         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
19129         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
19131 2014-11-18  Tom de Vries  <tom@codesoucery.com>
19133         * manual/signal.texi (Primitives Interrupted by Signals): In section,
19134         replace BSD Handler xref with BSD Signal Handling.
19136 2014-11-17  Richard Henderson  <rth@redhat.com>
19138         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
19139         (_FP_PACK_RAW_2): Remove.
19140         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
19141         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
19142         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
19143         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
19144         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
19145         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
19146         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
19147         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
19148         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
19149         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
19150         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
19151         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
19152         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
19153         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
19154         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
19155         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
19157 2014-11-14  Roland McGrath  <roland@hack.frob.com>
19159         * signal/signal.h [__USE_MISC]
19160         (struct sigvec): Remove type.
19161         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
19162         (sigvec): Remove declaration.
19163         * sysdeps/posix/sigvec.c: Moved ...
19164         * signal/sigvec.c: ... here, replacing old file.
19165         (struct sigvec): New type, copied from old signal.h definition.
19166         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
19167         (__sigvec): Convert definition to prototype.
19168         (sigvec): Replace weak_alias with compat_symbol.
19169         * signal/Versions (libc: GLIBC_2.21): New version set.
19170         * include/signal.h: Remove __sigvec declaration.
19171         * sysdeps/unix/bsd/sigvec.c: Remove file.
19172         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
19173         * manual/signal.texi (BSD Handler): Remove subsection.
19174         Move siginterrupt up to ...
19175         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
19176         (Blocking in BSD): Fold subsection into its parent.
19177         * NEWS: Mention sigvec removal.
19179 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
19181         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
19182         (DLA_FMS): Make definition conditional only on [__FMA4__].
19183         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
19184         definition.
19186         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
19187         Make definition conditional only on [PROF].
19188         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
19189         definition.
19190         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
19191         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
19193         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
19194         !__GNUC__].
19195         * include/signal.h (__sigpause): Move declaration above call to
19196         libc_hidden_proto.
19197         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
19198         variable.
19199         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
19200         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
19202 2014-11-14  David S. Miller  <davem@davemloft.net>
19204         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
19205         Define before including <string/memcpy.c> and <string/mempcpy.c>.
19207 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
19209         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
19210         * configure: Regenerated.
19211         * manual/install.texi (Tools for Compilation): Document a
19212         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
19213         compiler verified to work.
19214         * INSTALL: Regenerated.
19216         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
19217         redeclare with asm name.
19218         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
19219         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
19220         including <string.h>.
19221         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
19222         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
19223         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
19224         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
19225         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
19226         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
19227         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
19229 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
19231         * stdlib/strtol.c (__strtol): Use prototype definition.
19233         [BZ #17594]
19234         * stdlib/strtol.c (SYM__): New macro.
19235         (SYM__1): Likewise.
19236         (__strtol): Likewise.
19237         (strtol): Rename to __strtol and define as weak alias of
19238         __strtol.  Use libc_hidden_weak.
19240 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
19242         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
19243         Use numbered labels in inline assembly.
19245 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
19247         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
19248         Add setjmp LIBC_PROBE.
19249         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
19250         Likewise.
19251         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
19252         Add longjmp, longjmp_target LIBC_PROBE.
19253         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
19254         Likewise.
19256 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
19258         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
19259         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
19260         to get rid of unused variable warning.
19262 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
19264         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
19265         Check for unwind_backtrace ==  NULL only in SHARED case.
19266         (__backchain_backtrace): Compile only in SHARED case.
19267         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
19268         Likewise.
19269         (__backchain_backtrace): Declare as static.
19271 2014-11-12  Roland McGrath  <roland@hack.frob.com>
19273         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
19274         (__libc_multiple_threads_ptr): Variable moved ...
19275         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
19277 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
19279         * conform/GlibcConform.pm: New file.
19280         * conform/conformtest.pl: Use GlibcConform module.
19281         * conform/linknamespace.pl: New file.
19282         * conform/list-header-symbols.pl: Likewise.
19283         * conform/Makefile (linknamespace-symlists-base): New variable.
19284         (linknamespace-symlists-tests): Likewise.
19285         (linknamespace-header-base): Likewise.
19286         (linknamespace-header-tests): Likewise.
19287         (tests-special): Add new tests.
19288         ($(linknamespace-symlists-tests)): New rule.
19289         (linknamespace-libs): New variable.
19290         ($(objpfx)symlist-stdlibs): New rule.
19291         ($(linknamespace-header-tests)): Likewise.
19292         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
19293         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
19294         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
19295         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
19296         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
19297         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
19298         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
19299         (test-xfail-ISO/math.h/linknamespace): Likewise.
19300         (test-xfail-ISO/signal.h/linknamespace): Likewise.
19301         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
19302         (test-xfail-ISO/time.h/linknamespace): Likewise.
19303         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
19304         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
19305         (test-xfail-ISO99/math.h/linknamespace): Likewise.
19306         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
19307         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
19308         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
19309         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
19310         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
19311         (test-xfail-ISO11/math.h/linknamespace): Likewise.
19312         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
19313         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
19314         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
19315         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
19316         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
19317         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
19318         (test-xfail-XPG3/math.h/linknamespace): Likewise.
19319         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
19320         (test-xfail-XPG3/search.h/linknamespace): Likewise.
19321         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
19322         (test-xfail-XPG3/time.h/linknamespace): Likewise.
19323         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
19324         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
19325         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
19326         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
19327         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
19328         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
19329         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
19330         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
19331         (test-xfail-XPG4/math.h/linknamespace): Likewise.
19332         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
19333         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
19334         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
19335         (test-xfail-XPG4/search.h/linknamespace): Likewise.
19336         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
19337         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
19338         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
19339         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
19340         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
19341         (test-xfail-XPG4/time.h/linknamespace): Likewise.
19342         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
19343         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
19344         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
19345         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
19346         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
19347         (test-xfail-POSIX/math.h/linknamespace): Likewise.
19348         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
19349         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
19350         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
19351         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
19352         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
19353         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
19354         (test-xfail-POSIX/time.h/linknamespace): Likewise.
19355         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
19356         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
19357         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
19358         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
19359         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
19360         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
19361         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
19362         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
19363         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
19364         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
19365         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
19366         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
19367         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
19368         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
19369         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
19370         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
19371         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
19372         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
19373         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
19374         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
19375         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
19376         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
19377         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
19378         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
19379         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
19380         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
19381         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
19382         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
19383         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
19384         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
19385         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
19386         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
19387         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
19388         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
19389         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
19390         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
19391         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
19392         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
19393         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
19394         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
19395         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
19396         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
19397         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
19398         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
19399         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
19400         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
19401         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
19402         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
19403         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
19404         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
19405         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
19406         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
19407         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
19408         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
19409         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
19410         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
19411         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
19412         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
19413         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
19414         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
19415         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
19416         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
19417         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
19418         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
19419         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
19420         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
19421         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
19422         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
19423         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
19424         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
19425         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
19426         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
19427         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
19428         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
19429         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
19430         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
19431         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
19432         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
19433         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
19434         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
19435         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
19436         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
19437         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
19438         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
19439         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
19440         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
19441         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
19442         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
19443         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
19444         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
19445         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
19446         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
19447         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
19448         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
19449         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
19450         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
19451         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
19452         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
19454         [BZ #17589]
19455         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
19456         of fgets_unlocked.
19458         [BZ #17585]
19459         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
19460         (memmem): Rename to __memmem and define as weak alias of
19461         __memmem.  Use libc_hidden_weak.
19462         (__memmem): Use libc_hidden_def.
19463         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
19464         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
19465         memmem.
19467         [BZ #17582]
19468         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
19469         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
19470         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
19471         and define as weak alias of __fgets_unlocked.  Use
19472         libc_hidden_weak.
19473         (__fgets_unlocked): Use libc_hidden_def.
19474         * include/stdio.h (__fgets_unlocked): Declare.  Use
19475         libc_hidden_proto.
19476         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
19477         __fgets_unlocked instead of fgets_unlocked.
19478         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
19479         (GET_NPROCS_CONF_PARSER): Likewise.
19480         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
19481         (GET_NPROCS_CONF_PARSER): Likewise.
19483         [BZ #17574]
19484         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
19485         weak alias of __wmemset.  Use libc_hidden_weak.
19486         (__wmemset): Use libc_hidden_def.
19487         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
19488         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
19489         of wmemset.
19491         [BZ #17573]
19492         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
19493         with asm name __mempcpy.
19494         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
19496         [BZ #17572]
19497         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
19498         and define as weak alias of __rawmemchr.
19499         (__rawmemchr): Do not define as strong alias of rawmemchr.
19501         [BZ #17571]
19502         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
19503         alias of __qsort_r.
19504         (qsort): Call __qsort_r instead of qsort_r.
19505         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
19506         (__qsort_r): Declare.  Call libc_hidden_proto.
19507         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
19508         instead of qsort_r.
19509         * nscd/gai.c (__qsort_r): Define to qsort_r.
19510         * posix/tst-rfc3484.c (__qsort_r): Likewise.
19511         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
19512         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
19514         [BZ #17570]
19515         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
19516         define as weak alias of __malloc_info.
19518         [BZ #17584]
19519         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
19520         as weak alias of __rewinddir.  Don't use libc_hidden_def.
19521         (__rewinddir): Use libc_hidden_def.
19522         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
19523         as weak alias of __rewinddir.  Don't use libc_hidden_def.
19524         (__rewinddir): Use libc_hidden_def.
19525         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
19526         weak alias of __rewinddir.  Don't use libc_hidden_def.
19527         (__rewinddir): Use libc_hidden_def.
19528         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
19529         (__rewinddir): Use libc_hidden_proto.
19530         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
19531         rewinddir.
19532         (__getcwd): Use __rewinddir instead of rewinddir.
19534         [BZ #17583]
19535         * libio/fileno.c (fileno): Rename to __fileno and define as weak
19536         alias of __fileno.  Use libc_hidden_weak.
19537         (__fileno): Use libc_hidden_def.
19538         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
19539         * libio/ftello.c (ftello): Rename to __ftello and define as weak
19540         alias of __ftello.
19541         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
19542         __ftello.
19543         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
19544         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
19545         libc_hidden_def.
19546         (fread_unlocked): Don't use libc_hidden_ver.
19547         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
19548         and define as weak alias of __fread_unlocked.  Don't use
19549         libc_hidden_def.
19550         (__fread_unlocked): Use libc_hidden_def.
19551         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
19552         (ftello): Don't use libc_hidden_proto.
19553         (__ftello): Declare.  Use libc_hidden_proto.
19554         (fread_unlocked): Don't use libc_hidden_proto.
19555         (__fread_unlocked): Declare.  Use libc_hidden_proto.
19556         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
19557         and __ftello instead of fileno, fread_unlocked and ftello.
19559 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
19561         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
19562         GOT12.
19563         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
19564         Likewise.
19565         (_dl_start_user): Likewise.
19566         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
19568 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
19569             Siddhesh Poyarekar  <siddhesh@redhat.com>
19571         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
19572         Move argv and envp down instead of moving argc up.
19573         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
19575 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
19577         [BZ #17506]
19578         * test-skeleton.c (main): Return successful if one of
19579         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
19580         * string/tst-strcoll-overflow.c: Define expected status.
19582 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
19584         [BZ #17475]
19585         * locale/iso-639.def: Define Bhili and Tulu language codes.
19587 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
19589         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
19591 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
19593         [BZ #17555]
19594         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
19596 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
19598         * configure.ac: Updated check of minimal required version to
19599         2.22.
19600         * manual/install.texi (Tools for Compilation): Updated version
19601         number.
19602         * configure: Regenerated.
19603         * INSTALL: Likewise.
19605 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
19607         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
19608         __tls_get_addr.
19610 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
19612         * include/sys/wait.h (__libc_waitpid): Remove declaration.
19613         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
19614         (__waitpid): Don't define as alias.  Use libc_hidden_def not
19615         libc_hidden_weak.
19616         (waitpid): Define as alias of __waitpid.
19617         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
19618         __waitpid.
19619         (__waitpid): Don't define as alias.  Use libc_hidden_def not
19620         libc_hidden_weak.
19621         (waitpid): Define as alias of __waitpid.
19622         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
19623         __libc_waitpid alias.
19624         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
19625         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
19626         Likewise.
19627         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
19628         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
19629         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
19630         alias.
19631         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
19632         __waitpid.
19633         (__waitpid): Don't define as alias.  Use libc_hidden_def not
19634         libc_hidden_weak.
19635         (waitpid): Define as alias of __waitpid.
19637 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
19639         * manual/llio.texi: Add comment that write safety has been
19640         fixed in Linux.
19642         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
19643         (localplt-build-dso): Add elf/ld.so.
19644         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
19645         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
19646         and free for ld.so.
19647         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
19648         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
19649         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
19650         Likewise.
19651         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
19652         Likewise.
19653         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
19654         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
19655         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
19656         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
19657         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
19658         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
19659         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
19660         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
19661         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
19662         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
19663         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
19665 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
19667         [BZ #14132]
19668         * include/libc-symbols.h (INTUSE): Remove macro.
19669         (INTDEF): Likewise.
19670         (INTVARDEF): Likewise.
19671         (_INTVARDEF): Likewise.
19672         (INTDEF2): Likewise.
19673         (INTVARDEF2): Likewise.
19674         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
19675         rtld_hidden_def instead of INTVARDEF.
19676         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
19677         (_dl_starting_up_internal): Remove declaration.
19678         (_dl_starting_up): Use rtld_hidden_proto.
19679         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
19680         declaration.
19681         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
19682         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
19683         _dl_starting_up.
19684         * elf/dl-writev.h (_dl_writev): Likewise.
19685         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
19686         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
19687         _dl_starting_up_internal.
19689 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19691         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
19692         test-skeleton.c.
19694 2014-11-05  Will Newton  <will.newton@linaro.org>
19696         * benchtests/Makefile: (bench-malloc): Add malloc thread
19697         scalability benchmark.
19698         * benchtests/bench-malloc-threads.c: New file.
19700 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
19702         * sysdeps/aarch64/strchrnul.S: New file.
19704 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19706         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
19707         definition.
19708         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
19709         Likwise.
19710         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
19711         Likewise.
19712         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
19713         Likewise.
19714         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
19715         Likewise.
19716         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
19717         Likewise.
19719 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
19721         * catgets/test-gencat.c: Use test-skeleton.c.
19722         * catgets/tst-catgets.c: Likewise.
19723         * csu/tst-empty.c: Likewise.
19724         * elf/tst-audit2.c: Likewise.
19725         * elf/tst-global1.c: Likewise.
19726         * elf/tst-pathopt.c: Likewise.
19727         * elf/tst-piemod1.c: Likewise.
19728         * elf/tst-tls10.c: Likewise.
19729         * elf/tst-tls11.c: Likewise.
19730         * elf/tst-tls12.c: Likewise.
19731         * gnulib/tst-gcc.c: Likewise.
19732         * iconvdata/tst-e2big.c: Likewise.
19733         * iconvdata/tst-loading.c: Likewise.
19734         * iconv/tst-iconv1.c: Likewise.
19735         * iconv/tst-iconv2.c: Likewise.
19736         * inet/test-inet6_opt.c: Likewise.
19737         * inet/tst-gethnm.c: Likewise.
19738         * inet/tst-network.c: Likewise.
19739         * inet/tst-ntoa.c: Likewise.
19740         * intl/tst-codeset.c: Likewise.
19741         * intl/tst-gettext2.c: Likewise.
19742         * intl/tst-gettext3.c: Likewise.
19743         * intl/tst-ngettext.c: Likewise.
19744         * intl/tst-translit.c: Likewise.
19745         * io/test-stat.c: Likewise.
19746         * libio/test-fmemopen.c: Likewise.
19747         * libio/tst-freopen.c: Likewise.
19748         * libio/tst-sscanf.c: Likewise.
19749         * libio/tst-ungetwc1.c: Likewise.
19750         * libio/tst-ungetwc2.c: Likewise.
19751         * libio/tst-widetext.c: Likewise.
19752         * localedata/tst-ctype.c: Likewise.
19753         * localedata/tst-digits.c: Likewise.
19754         * localedata/tst-leaks.c: Likewise.
19755         * localedata/tst-mbswcs1.c: Likewise.
19756         * localedata/tst-mbswcs2.c: Likewise.
19757         * localedata/tst-mbswcs3.c: Likewise.
19758         * localedata/tst-mbswcs4.c: Likewise.
19759         * localedata/tst-mbswcs5.c: Likewise.
19760         * localedata/tst-setlocale.c: Likewise.
19761         * localedata/tst-trans.c: Likewise.
19762         * localedata/tst-wctype.c: Likewise.
19763         * localedata/tst-xlocale1.c: Likewise.
19764         * login/tst-grantpt.c: Likewise.
19765         * malloc/tst-calloc.c: Likewise.
19766         * malloc/tst-malloc.c: Likewise.
19767         * malloc/tst-mallocstate.c: Likewise.
19768         * malloc/tst-mcheck.c: Likewise.
19769         * malloc/tst-mtrace.c: Likewise.
19770         * malloc/tst-obstack.c: Likewise.
19771         * math/atest-exp2.c: Likewise.
19772         * math/atest-exp.c: Likewise.
19773         * math/atest-sincos.c: Likewise.
19774         * math/test-matherr.c: Likewise.
19775         * math/test-misc.c: Likewise.
19776         * math/test-powl.c: Likewise.
19777         * math/tst-definitions.c: Likewise.
19778         * misc/tst-dirname.c: Likewise.
19779         * misc/tst-efgcvt.c: Likewise.
19780         * misc/tst-fdset.c: Likewise.
19781         * misc/tst-hsearch.c: Likewise.
19782         * misc/tst-mntent2.c: Likewise.
19783         * nptl/tst-sem7.c: Likewise.
19784         * nptl/tst-sem8.c: Likewise.
19785         * nptl/tst-sem9.c: Likewise.
19786         * nss/test-netdb.c: Likewise.
19787         * posix/tst-fnmatch.c: Likewise.
19788         * posix/tst-getlogin.c: Likewise.
19789         * posix/tst-gnuglob.c: Likewise.
19790         * posix/tst-mmap.c: Likewise.
19791         * pwd/tst-getpw.c: Likewise.
19792         * resolv/tst-inet_ntop.c: Likewise.
19793         * rt/tst-timer.c: Likewise.
19794         * stdio-common/test-fseek.c: Likewise.
19795         * stdio-common/test-popen.c: Likewise.
19796         * stdio-common/test-vfprintf.c: Likewise.
19797         * stdio-common/tst-cookie.c: Likewise.
19798         * stdio-common/tst-fileno.c: Likewise.
19799         * stdio-common/tst-gets.c: Likewise.
19800         * stdio-common/tst-obprintf.c: Likewise.
19801         * stdio-common/tst-perror.c: Likewise.
19802         * stdio-common/tst-sprintf2.c: Likewise.
19803         * stdio-common/tst-sprintf3.c: Likewise.
19804         * stdio-common/tst-sprintf.c: Likewise.
19805         * stdio-common/tst-swprintf.c: Likewise.
19806         * stdio-common/tst-tmpnam.c: Likewise.
19807         * stdio-common/tst-unbputc.c: Likewise.
19808         * stdio-common/tst-wc-printf.c: Likewise.
19809         * stdlib/tst-environ.c: Likewise.
19810         * stdlib/tst-fmtmsg.c: Likewise.
19811         * stdlib/tst-limits.c: Likewise.
19812         * stdlib/tst-rand48-2.c: Likewise.
19813         * stdlib/tst-rand48.c: Likewise.
19814         * stdlib/tst-random2.c: Likewise.
19815         * stdlib/tst-random.c: Likewise.
19816         * stdlib/tst-strtol.c: Likewise.
19817         * stdlib/tst-strtoll.c: Likewise.
19818         * stdlib/tst-tls-atexit.c: Likewise.
19819         * stdlib/tst-xpg-basename.c: Likewise.
19820         * string/test-ffs.c: Likewise.
19821         * string/tst-bswap.c: Likewise.
19822         * string/tst-inlcall.c: Likewise.
19823         * string/tst-strtok.c: Likewise.
19824         * string/tst-strxfrm.c: Likewise.
19825         * sysdeps/x86_64/tst-audit10.c: Likewise.
19826         * sysdeps/x86_64/tst-audit3.c: Likewise.
19827         * sysdeps/x86_64/tst-audit4.c: Likewise.
19828         * sysdeps/x86_64/tst-audit5.c: Likewise.
19829         * time/tst-ftime_l.c: Likewise.
19830         * time/tst-getdate.c: Likewise.
19831         * time/tst-mktime3.c: Likewise.
19832         * time/tst-mktime.c: Likewise.
19833         * time/tst-posixtz.c: Likewise.
19834         * time/tst-strptime2.c: Likewise.
19835         * time/tst-strptime3.c: Likewise.
19836         * wcsmbs/tst-btowc.c: Likewise.
19837         * wcsmbs/tst-mbrtowc.c: Likewise.
19838         * wcsmbs/tst-mbsrtowcs.c: Likewise.
19839         * wcsmbs/tst-wchar-h.c: Likewise.
19840         * wcsmbs/tst-wcpncpy.c: Likewise.
19841         * wcsmbs/tst-wcrtomb.c: Likewise.
19842         * wcsmbs/tst-wcsnlen.c: Likewise.
19843         * wcsmbs/tst-wcstof.c: Likewise.
19845 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
19847         [BZ #14132]
19848         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
19849         INTDEF.
19850         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
19851         declaration.
19852         (_dl_mcount): Use rtld_hidden_proto.
19853         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
19854         _dl_mcount.
19855         * elf/rtld.c (_rtld_global_ro): Likewise.
19857         [BZ #14132]
19858         * elf/dl-init.c (_dl_init): Don't use INTDEF.
19859         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
19860         of _dl_init_internal.
19861         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
19862         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
19863         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
19864         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
19865         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
19866         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
19867         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
19868         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
19869         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
19870         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
19871         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
19872         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
19873         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
19874         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
19875         * sysdeps/tile/dl-start.S (_start): Likewise.
19876         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
19877         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
19879         [BZ #14132]
19880         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
19881         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
19882         (rtld_progname): Make macro definition unconditional.
19883         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
19884         INTDEF.
19885         (dlmopen_doit): Do not use INTUSE with _dl_argv.
19886         (dl_main): Likewise.
19887         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
19888         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
19889         instead of _dl_argv_internal.
19890         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
19891         __GI__dl_argv instead of INTUSE(_dl_argv).
19892         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
19893         __GI__dl_argv instead of _dl_argv_internal.
19895         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
19896         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
19897         macro.
19898         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
19899         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
19900         New macro.
19901         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
19902         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
19903         macro.
19904         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
19905         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
19907 2014-11-04  Andreas Schwab  <schwab@suse.de>
19909         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
19911 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19913         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
19914         mtvsrd instruction in binary form.
19916 2014-11-03  Andreas Schwab  <schwab@suse.de>
19918         [BZ #17522]
19919         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
19920         for less than MB_LEN_MAX use a local buffer of that size.
19921         * libio/tst-fputws.c: New file.
19922         * libio/Makefile (tests): Add tst-fputws.
19924 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
19926         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
19927         the size of the fpu_fr.fpu_dregs[] array.
19929 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
19931         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
19932         (__nanosleep): Do not define as alias.
19933         (nanosleep): Define as alias of __nanosleep.
19934         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
19935         __libc_nanosleep name.
19937 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
19939         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
19940         install.texi in comment.
19942 2014-10-31  Torvald Riegel  <triegel@redhat.com>
19944         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
19945         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
19946         ... add here and use lwsync or sync ...
19947         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
19948         ... and add here using lwsync.
19950 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
19952         * elf/dl-machine-reject-phdr.h: New file.
19953         * elf/dl-load.c: #include that.
19954         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
19955         if that returned true.
19957 2014-10-31  Roland McGrath  <roland@hack.frob.com>
19959         [BZ #17496]
19960         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
19961         gen-as-const-headers chunk.  Add a big scare comment after the last
19962         safe place to touch before-compile.
19964 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
19966         * manual/install.texi (Tools for Compilation): Update autoconf
19967         version requirements.
19968         * INSTALL: Regenerated.
19970         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
19971         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
19972         (__libc_pselect): Likewise.
19974         [BZ #14138]
19975         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
19976         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
19977         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
19978         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
19980 2014-10-31  Torvald Riegel  <triegel@redhat.com>
19982         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
19983         correct barrier instruction.
19984         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
19985         Likewise.
19986         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
19987         Likewise.
19989 2014-10-30  Roland McGrath  <roland@hack.frob.com>
19991         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
19992         after defining inlines.  Instead, just use parens to defeat macro
19993         expansion of __isctype in its declaration.
19995 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
19997         * include/sys/uio.h (__libc_readv): Remove declaration.
19998         (__libc_writev): Likewise.
19999         * misc/readv.c (__libc_readv): Rename to __readv.
20000         (__readv): Do not define as alias.
20001         (readv): Define as alias of __readv.
20002         * misc/writev.c (__libc_writev): Rename to __writev.
20003         (__writev): Do not define as alias.
20004         (writev): Define as alias of __writev.
20005         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
20006         (__readv): Do not define as alias.
20007         (readv): Define unconditionally as alias of __readv.
20008         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
20009         (__writev): Do not define as alias.
20010         (writev): Define unconditionally as alias of __writev.
20011         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
20012         name.
20013         (writev): Do not define __libc_writev name.
20015 2014-10-30  Roland McGrath  <roland@hack.frob.com>
20017         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
20018         (convert_charseq): New function, broken out of ...
20019         (use_from_charmap): ... here.  Call it.
20020         (use_to_charmap): Use convert_charseq and free instead of duplicating
20021         its code with a variable-length stack struct.
20023 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
20025         * include/fcntl.h (__libc_creat): Remove declaration.
20026         * io/creat.c (__libc_creat): Rename to creat.
20027         (creat): Do not define as alias.
20028         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
20029         of creat instead of __libc_creat.
20030         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
20031         to creat.
20032         (creat): Do not define as alias.
20033         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
20034         __libc_creat.
20035         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
20036         __libc_creat name.
20037         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
20038         Likewise.
20040 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
20042         * manual/llio.texi: Add comments discussing why write() may be
20043         considered MT-unsafe on Linux.
20045 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
20047         * dl-load.c (local_strdup): Remove.
20048         (expand_dynamic_string_token): Use __strdup.
20049         (decompose_rpath): Likewise.
20050         (_dl_map_object): Likewise.
20052 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
20054         [BZ #14132]
20055         * sysdeps/generic/unwind-dw2-fde.c
20056         (__register_frame_info_bases_internal): Do not declare.
20057         (__register_frame_info_table_bases_internal): Likewise.
20058         (__deregister_frame_info_bases_internal): Likewise.
20059         (__register_frame_info_bases): Declare and use hidden_proto before
20060         definition.  Use hidden_def instead of INTDEF.
20061         (__register_frame_info_table_bases): Likewise.
20062         (__deregister_frame_info_bases): Likewise.
20063         (__register_frame_info): Do not use INTUSE.
20064         (__register_frame): Likewise.
20065         (__register_frame_info_table): Likewise.
20066         (__register_frame_table): Likewise.
20067         (__deregister_frame_info): Likewise.
20068         (__deregister_frame): Likewise.
20070 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
20072         * sysdeps/unix/sysv/linux/arm/kernel-features.h
20073         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
20074         not undefine.
20075         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
20076         Likewise.
20077         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
20078         Likewise.
20080 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
20082         [BZ #14138]
20083         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
20084         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
20085         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
20086         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
20087         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
20088         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
20089         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
20090         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
20091         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
20092         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
20093         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
20094         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
20095         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
20096         syscall.
20097         (setfsuid): Likewise.
20098         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
20099         (setfsuid): Likewise.
20100         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
20101         (setfsuid): Likewise.
20102         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
20103         Likewise.
20104         (setfsuid): Likewise.
20105         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
20106         (setfsuid): Likewise.
20107         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
20108         Likewise.
20109         (setfsuid): Likewise.
20111 2014-10-27  Andreas Schwab  <schwab@suse.de>
20113         [BZ #17501]
20114         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
20115         check for Slow_SSE4_2 feature bit.
20116         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
20117         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
20118         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
20119         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
20121 2014-10-24  Roland McGrath  <roland@hack.frob.com>
20123         * configure.ac: Validate compiler version with a empirical test of
20124         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
20125         $CC -v output.
20126         * configure: Regenerated.
20128         * inet/htons.c (htons): Prototypify.
20129         * inet/htonl.c (htonl): Likewise.
20131 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
20133         * string/strncat.c (strncat): Improve performance by using strlen.
20135 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
20137         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
20139 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
20141         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
20142         Call libc_fetestexcept_aarch64.
20144 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
20146         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
20147         Call libc_feholdexcept_aarch64.
20149 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
20151         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
20152         Call get_rounding_mode.
20154 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
20156         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
20157         Simplify logic.
20159 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
20161         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
20162         Simplify logic.
20164 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
20166         [BZ #14138]
20167         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
20168         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
20169         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
20170         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
20171         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
20172         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
20173         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
20174         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
20175         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
20176         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
20177         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
20178         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
20179         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
20180         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
20181         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
20182         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
20183         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
20184         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
20185         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
20186         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
20187         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
20188         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
20189         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
20190         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
20191         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
20192         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
20193         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
20194         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
20195         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
20196         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
20197         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
20198         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
20199         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
20200         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
20201         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
20202         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
20203         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
20204         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
20205         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
20206         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
20207         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
20208         syscall.
20209         (geteuid): Likewise.
20210         (getgid): Likewise.
20211         (getuid): Likewise.
20212         (getresgid): Likewise.
20213         (getresuid): Likewise.
20214         (getgroups): Likewise.
20215         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
20216         (geteuid): Likewise.
20217         (getgid): Likewise.
20218         (getuid): Likewise.
20219         (getresgid): Likewise.
20220         (getresuid): Likewise.
20221         (getgroups): Likewise.
20222         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
20223         (geteuid): Likewise.
20224         (getgid): Likewise.
20225         (getuid): Likewise.
20226         (getresgid): Likewise.
20227         (getresuid): Likewise.
20228         (getgroups): Likewise.
20229         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
20230         Likewise.
20231         (geteuid): Likewise.
20232         (getgid): Likewise.
20233         (getuid): Likewise.
20234         (getresgid): Likewise.
20235         (getresuid): Likewise.
20236         (getgroups): Likewise.
20237         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
20238         (geteuid): Likewise.
20239         (getgid): Likewise.
20240         (getuid): Likewise.
20241         (getresgid): Likewise.
20242         (getresuid): Likewise.
20243         (getgroups): Likewise.
20244         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
20245         Likewise.
20246         (geteuid): Likewise.
20247         (getgid): Likewise.
20248         (getuid): Likewise.
20249         (getgroups): Likewise.
20251         [BZ #14138]
20252         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
20253         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
20254         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
20255         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
20256         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
20257         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
20258         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
20259         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
20260         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
20261         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
20262         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
20263         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
20264         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
20265         __chown.
20266         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
20267         (lchown): Likewise.
20268         (fchown): Likewise.
20269         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
20270         Likewise.
20271         (lchown): Likewise.
20272         (fchown): Likewise.
20273         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
20274         (lchown): Likewise.
20275         (fchown): Likewise.
20276         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
20277         Likewise.
20278         (lchown): Likewise.
20279         (fchown): Likewise.
20281 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
20283         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
20284         Simplify logic.
20286 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
20288         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
20289         Cleanup logic.
20291 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
20293         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
20294         Remove unused include.
20296 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
20298         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
20299         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
20300         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
20301         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
20303 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
20304             Helge Deller <deller@gmx.de>
20306         [BZ #17508]
20307         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
20308         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
20309         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
20311 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
20313         [BZ #14132]
20314         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
20315         Remove macro definition.
20316         (__ashrdi3_v_glibc20): Likewise.
20317         (__lshrdi3_v_glibc20): Likewise.
20318         (__cmpdi2_v_glibc20): Likewise.
20319         (__ucmpdi2_v_glibc20): Likewise.
20320         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
20321         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
20322         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
20323         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
20324         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
20325         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
20327 2014-10-22  Roland McGrath  <roland@hack.frob.com>
20329         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
20330         old GNU extension [0] syntax.
20331         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
20332         alloca rather than an array member with variable length.
20333         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
20334         * nscd/nscd.c (invalidate_db): New function, broken out of ...
20335         (parse_opt): ... here.  Likewise use alloca there.
20336         Validate the -i argument before checking for rootness.
20337         (send_shutdown): New function, broken out of ...
20338         (parse_opt): ... here.
20340 2014-10-22  Roland McGrath  <roland@hack.frob.com>
20342         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
20343         macro to get at the _rt_local_ro field.
20344         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
20345         ([PIC] case) or _dl_hwcap ([!PIC] case).
20346         * sysdeps/arm/setjmp.S: Likewise.
20348         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
20349         * sysdeps/arm/configure.ac: New check to define it.
20350         * sysdeps/arm/configure: Regenerated.
20351         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
20352         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
20353         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
20354         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
20355         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
20356         Use move/movt pair instead of a load.
20357         (LDST_GLOBAL): Macro removed.
20358         (LDR_GLOBAL): New macro replaces it.
20359         (LDR_HIDDEN): New macro.
20360         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
20361         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
20363         * setjmp/tst-setjmp-static.c: New file.
20364         * setjmp/Makefile (tests): Add it.
20365         (tests-static): New variable.
20367 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
20369         [BZ #17485]
20370         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
20372 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
20374         [BZ #14132]
20375         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
20377 2014-10-21  Roland McGrath  <roland@hack.frob.com>
20379         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
20381 2014-10-20  Roland McGrath  <roland@hack.frob.com>
20383         * io/fts.c (dirent_not_directory): New function.
20384         (fts_build): Call it.
20386 2014-10-20  Roland McGrath  <roland@hack.frob.com>
20388         * nptl/version.c (__nptl_main): Use normal __write rather than
20389         INTERNAL_SYSCALL.
20390         (banner): Update copyright years.
20392         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
20393         gettimeofday.
20394         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
20395         * nptl/pthread_cond_timedwait.c: Likewise.
20396         * nptl/pthread_mutex_timedlock.c: Likewise.
20397         * nptl/sem_timedwait.c: Likewise.
20399         * sysdeps/nptl/bits/libc-lock.h
20400         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
20401         (__libc_lock_init_recursive): Return void, not 0.
20402         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
20403         (__libc_rwlock_init): Likewise.
20404         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
20406 2014-10-20  Torvald Riegel  <triegel@redhat.com>
20408         [BZ #15215]
20409         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
20410         (__pthread_once_slow): ... here.
20411         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
20412         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
20414 2014-10-20  Torvald Riegel  <triegel@redhat.com>
20416         [BZ #15215]
20417         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
20418         __PTHREAD_ONCE_FORK_GEN_INCR): New.
20419         * sysdeps/nptl/fork.c (__libc_fork): Use them.
20420         * nptl/pthread_once.c (__pthread_once): Likewise.
20421         Update comments.
20423 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
20425         [BZ #14138]
20426         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
20427         name.
20428         (writev): Use __libc_writev as strong name.
20429         * sysdeps/unix/sysv/linux/readv.c: Remove file.
20430         * sysdeps/unix/sysv/linux/writev.c: Likewise.
20432 2014-10-17  Roland McGrath  <roland@hack.frob.com>
20434         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
20436         * sysdeps/i386/nptl/tls.h
20437         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
20438         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
20439         New macros.
20440         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
20441         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
20442         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
20443         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
20444         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
20445         Call CHECK_THREAD_SYSINFO instead of doing an assert.
20447         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
20448         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
20449         on [__NR_futex].
20450         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
20451         broken out of ...
20452         (__pthread_mutex_init): ... here.  Call it.
20453         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
20454         Conditionalize PI cases on [__NR_futex].
20455         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
20456         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
20457         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
20459         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
20460         conditional on [SIGSETXID].
20461         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
20462         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
20463         is defined.  Likewise for SIGSETXID.
20464         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
20465         Conditionalize definitions on [SIGSETXID].
20466         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
20467         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
20468         unblocking on [SIGCANCEL].
20470         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
20471         [__NR_set_robust_list].
20473 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
20475         * string/strcoll_l.c (get_next_seq): Fix up formatting.
20476         (do_compare): Likewise.
20478 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
20480         [BZ #15884]
20481         * string/strcoll_l.c: Don't include stdio.h.
20482         (coll_seq): Remove members idxarr and rulearr.
20483         (get_next_seq_cached): Remove function.
20484         (get_next_seq): Likewise.
20485         (get_next_seq_nocache): Rename to get_next_seq.
20486         (do_compare): Remove function.
20487         (do_compare_nocache): Rename to do_compare.
20488         (STRCOLL): Remove weight and rules cache.
20490 2014-10-16  Roland McGrath  <roland@hack.frob.com>
20492         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
20493         * sysdeps/arm/sfp-machine.h: ... to here.
20494         * sysdeps/arm/Implies: Remove arm/soft-fp.
20496 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
20498         * conform/data/sys/utsname.h-data (*_t): Allow.
20499         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
20500         [POSIX] (WEXITED): Do not expect constant.
20501         [POSIX] (WSTOPPED): Likewise.
20502         [POSIX] (WNOHANG): Likewise.
20503         [POSIX] (WNOWAIT): Likewise.
20504         [POSIX] (siginfo_t): Do not expect type or elements.
20505         [POSIX] (pid_t): Do not expect type.
20506         [POSIX] (signal.h): Do not allow header.
20507         [POSIX] (sys/resource.h): Likewise.
20508         [POSIX] (si_*): Do not allow pattern.
20509         [POSIX] (W*): Likewise.
20510         [POSIX] (P_*): Likewise.
20511         [POSIX] (BUS_*): Likewise.
20512         [POSIX] (CLD_*): Likewise.
20513         [POSIX] (FPE_*): Likewise.
20514         [POSIX] (ILL_*): Likewise.
20515         [POSIX] (POLL_*): Likewise.
20516         [POSIX] (SEGV_*): Likewise.
20517         [POSIX] (SI_*): Likewise.
20518         [POSIX] (TRAP_*): Likewise.
20519         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
20520         variable.
20522 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
20524         [BZ #12926]
20525         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
20526         infinite loop when __recvmsg returns 0.
20528 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
20530         * CANCEL-FCT-WAIVE: Remove file.
20531         * CANCEL-FILE-WAIVE: Likewise.
20533         [BZ #14132]
20534         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
20535         instead of INTVARDEF.
20536         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
20537         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
20538         rtld_hidden_data_def instead of INTVARDEF.
20539         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
20540         * elf/dl-deps.c (expand_dst): Likewise.
20541         * elf/dl-load.c (_dl_dst_count): Likewise.
20542         (_dl_dst_substitute): Likewise.
20543         (decompose_rpath): Likewise.
20544         (_dl_init_paths): Likewise.
20545         (open_path): Likewise.
20546         (_dl_map_object): Likewise.
20547         * elf/rtld.c (dl_main): Likewise.
20548         (process_dl_audit): Likewise.
20549         (process_envvars): Likewise.
20550         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
20551         Remove declaration.
20552         (__libc_enable_secure): Use rtld_hidden_proto.
20554 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
20556         * elf/dl-load.c
20557         (add_path): New function broken out of _dl_rtld_di_serinfo.
20558         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
20560 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
20562         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
20563         parentheses around macro arguments.
20564         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
20565         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
20566         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
20567         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
20568         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
20569         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
20570         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
20571         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
20572         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
20573         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
20574         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
20575         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
20576         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
20577         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
20578         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
20579         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
20580         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
20581         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
20582         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
20583         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
20584         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
20585         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
20586         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
20587         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
20588         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
20589         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
20590         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
20591         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
20592         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
20593         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
20594         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
20595         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
20596         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
20597         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
20598         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
20599         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
20600         Likewise.
20601         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
20602         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
20603         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
20604         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
20605         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
20606         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
20607         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
20608         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
20609         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
20610         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
20611         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
20612         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
20613         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
20614         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
20615         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
20616         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
20617         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
20618         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
20619         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
20620         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
20621         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
20622         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
20623         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
20624         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
20625         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
20626         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
20627         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
20628         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
20629         (_FP_FRAC_SRS_1): Likewise.
20630         (_FP_FRAC_CLZ_1): Likewise.
20631         (_FP_MUL_MEAT_1_imm): Likewise.
20632         (_FP_MUL_MEAT_1_wide): Likewise.
20633         (_FP_MUL_MEAT_1_hard): Likewise.
20634         (_FP_SQRT_MEAT_1): Likewise.
20635         (_FP_FRAC_ASSEMBLE_1): Likewise.
20636         (_FP_FRAC_DISASSEMBLE_1): Likewise.
20637         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
20638         (__FP_CLZ_2): Likewise.
20639         (_FP_MUL_MEAT_2_wide): Likewise.
20640         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
20641         (_FP_MUL_MEAT_2_gmp): Likewise.
20642         (_FP_MUL_MEAT_2_120_240_double): Likewise.
20643         (_FP_SQRT_MEAT_2): Likewise.
20644         (_FP_FRAC_ASSEMBLE_2): Likewise.
20645         (_FP_FRAC_DISASSEMBLE_2): Likewise.
20646         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
20647         (_FP_FRAC_CLZ_4): Likewise.
20648         (_FP_MUL_MEAT_4_wide): Likewise.
20649         (_FP_MUL_MEAT_4_gmp): Likewise.
20650         (_FP_SQRT_MEAT_4): Likewise.
20651         (_FP_FRAC_ASSEMBLE_4): Likewise.
20652         (_FP_FRAC_DISASSEMBLE_4): Likewise.
20653         * soft-fp/op-common.h (_FP_CMP): Likewise.
20654         (_FP_CMP_EQ): Likewise.
20655         (_FP_CMP_UNORD): Likewise.
20656         (_FP_TO_INT): Likewise.
20657         (_FP_FROM_INT): Likewise.
20658         [!__FP_CLZ] (__FP_CLZ): Likewise.
20659         (_FP_DIV_HELP_imm): Likewise.
20660         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
20661         Likewise.
20662         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
20663         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
20664         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
20665         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
20666         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
20667         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
20668         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
20669         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
20670         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
20671         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
20672         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
20673         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
20674         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
20675         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
20676         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
20677         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
20678         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
20679         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
20680         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
20681         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
20682         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
20683         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
20684         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
20685         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
20686         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
20687         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
20688         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
20689         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
20690         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
20691         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
20692         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
20693         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
20694         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
20695         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
20696         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
20697         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
20698         (FP_UNPACK_RAW_SP): Likewise.
20699         (FP_PACK_RAW_S): Likewise.
20700         (FP_PACK_RAW_SP): Likewise.
20701         (FP_UNPACK_S): Likewise.
20702         (FP_UNPACK_SP): Likewise.
20703         (FP_UNPACK_SEMIRAW_S): Likewise.
20704         (FP_UNPACK_SEMIRAW_SP): Likewise.
20705         (FP_PACK_S): Likewise.
20706         (FP_PACK_SP): Likewise.
20707         (FP_PACK_SEMIRAW_S): Likewise.
20708         (FP_PACK_SEMIRAW_SP): Likewise.
20709         (_FP_SQRT_MEAT_S): Likewise.
20710         (FP_CMP_S): Likewise.
20711         (FP_CMP_EQ_S): Likewise.
20712         (FP_CMP_UNORD_S): Likewise.
20713         (FP_TO_INT_S): Likewise.
20714         (FP_FROM_INT_S): Likewise.
20716         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
20718         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
20719         (FP_EX_INVALID_IMZ): Likewise.
20720         (FP_EX_INVALID_IMZ_FMA): Likewise.
20721         (FP_EX_INVALID_ISI): Likewise.
20722         (FP_EX_INVALID_ZDZ): Likewise.
20723         (FP_EX_INVALID_IDI): Likewise.
20724         (FP_EX_INVALID_SQRT): Likewise.
20725         (FP_EX_INVALID_CVI): Likewise.
20726         (FP_EX_INVALID_VC): Likewise.
20727         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
20728         "invalid" exceptions.
20729         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
20730         (_FP_ADD_INTERNAL): Likewise.
20731         (_FP_MUL): Likewise.
20732         (_FP_FMA): Likewise.
20733         (_FP_DIV): Likewise.
20734         (_FP_CMP_CHECK_NAN): Likewise.
20735         (_FP_SQRT): Likewise.
20736         (_FP_TO_INT): Likewise.
20737         (FP_EXTEND): Likewise.
20739 2014-10-09  Allan McRae  <allan@archlinux.org>
20741         * po/fr.po: Update French translation from translation project.
20743 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
20745         [BZ #14132]
20746         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
20747         of INTDEF.
20748         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
20749         (__cxa_atexit): Use libc_hidden_proto.
20750         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
20752         [BZ #14132]
20753         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
20754         declaration.
20755         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
20756         [!_ISOMAC] (__iswspace_l_internal): Likewise.
20757         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
20758         [!_ISOMAC] (__iswctype_internal): Likewise.
20759         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
20760         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
20761         alias.
20762         (fcntl): Remove __fcntl_internal alias.
20763         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
20764         __connect_internal alias.
20765         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
20766         Likewise.
20768         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
20769         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
20770         FP_DENORM_ZERO.
20771         (_FP_CHECK_FLUSH_ZERO): New macro.
20772         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
20773         (_FP_CMP): Likewise.
20774         (_FP_CMP_EQ): Likewise.
20775         (_FP_TO_INT): Do not set inexact for subnormal arguments if
20776         FP_DENORM_ZERO.
20777         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
20778         (FP_TRUNC): Likewise.
20780         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
20781         treated as invalid conversion, not as normal exponent.
20783         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
20784         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
20785         (_FP_CMP_EQ): Likewise.
20786         (_FP_CMP_UNORD): Likewise.
20787         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
20788         (FP_CMP_EQ_D): Likewise.
20789         (FP_CMP_UNORD_D): Likewise.
20790         * soft-fp/extended.h (FP_CMP_E): Likewise.
20791         (FP_CMP_EQ_E): Likewise.
20792         (FP_CMP_UNORD_E): Likewise.
20793         * soft-fp/quad.h (FP_CMP_Q): Likewise.
20794         (FP_CMP_EQ_Q): Likewise.
20795         (FP_CMP_UNORD_Q): Likewise.
20796         * soft-fp/single.h (FP_CMP_S): Likewise.
20797         (FP_CMP_EQ_S): Likewise.
20798         (FP_CMP_UNORD_S): Likewise.
20799         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
20800         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
20801         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
20802         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
20803         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
20804         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
20805         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
20806         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
20807         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
20808         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
20809         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
20810         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
20811         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
20812         to FP_CMP_Q.
20813         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
20814         FP_CMP_Q.
20815         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
20816         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
20817         FP_CMP_EQ_Q.
20818         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
20819         FP_CMP_Q.
20820         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
20821         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
20822         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
20823         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
20824         FP_CMP_EQ_Q.
20825         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
20826         FP_CMP_Q.
20827         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
20828         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
20829         FP_CMP_EQ_Q.
20830         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
20831         FP_CMP_Q.
20832         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
20833         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
20834         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
20835         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
20836         FP_CMP_EQ_Q.
20838         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
20839         a subnormal result, set the underflow exception if trapping on
20840         underflow is enabled.
20841         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
20842         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
20843         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
20844         redefine to 0.
20845         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
20846         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
20847         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
20848         * soft-fp/extendxftf2.c (__extendxftf2): Use
20849         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
20851         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
20852         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
20853         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
20854         FP_HANDLE_EXCEPTIONS.
20855         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
20856         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
20857         FP_HANDLE_EXCEPTIONS.
20858         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
20859         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
20860         FP_HANDLE_EXCEPTIONS.
20861         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
20862         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
20863         FP_HANDLE_EXCEPTIONS.
20865 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
20867         [BZ #14132]
20868         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
20869         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
20870         use INTUSE.
20871         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
20872         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
20873         Remove alias.
20874         (__adjtimex): Define using libc_hidden_ver.
20875         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
20876         Remove declaration.
20877         (ntp_gettime): Call __adjtimex directly.
20878         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
20879         Remove declaration.
20880         (ntp_gettimex): Call __adjtimex directly.
20881         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
20882         __adjtimex_internal alias.
20884 2014-10-08  Roland McGrath  <roland@hack.frob.com>
20886         [BZ #17460]
20887         * nscd/nscd.c (more_help): Rewrite list of tables collection
20888         using xstrdup and asprintf.
20890         * nscd/nscd_conf.c: Remove local xstrdup declaration.
20892 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
20893             Roland McGrath  <roland@hack.frob.com>
20895         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
20896         (do_lookup_unique): ... local function 'enter' here; update callers.
20898 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
20900         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
20901         compat_symbol calls on [SHARED].
20902         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
20903         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
20904         Remove.
20905         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
20906         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
20907         (oldsetrlimit): Remove.
20908         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
20909         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
20910         (lchown): New syscall entry.
20911         (oldsetrlimit): Remove.
20912         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
20913         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
20914         (oldsetrlimit): Remove.
20915         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
20917         [BZ #14138]
20918         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
20919         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
20920         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
20921         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
20922         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
20923         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
20924         (fchown): Likewise.
20925         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
20926         (fchown): Likewise.
20927         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
20928         Likewise.
20930 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20932         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
20933         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
20934         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
20935         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
20936         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
20937         Likewise.
20938         (__old_sem_post): Likewise.
20940 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
20942         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
20943         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
20944         HAVE_CLOCK_GETTIME_VSYSCALL macros.
20945         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
20946         Use INLINE_VSYSCALL macro.
20947         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
20948         __vdso_clock_gettime.
20949         * sysdeps/unix/sysv/linux/tile/init-first.c
20950         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
20951         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
20952         __vdso_clock_gettime.
20954         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
20955         to set up frame more cleanly.
20957         * sysdeps/tile/memcmp.c: New file.
20959         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
20961         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
20962         * sysdeps/tile/tilegx/strcasestr.c: New file.
20963         * sysdeps/tile/tilegx/strnlen.c: New file.
20964         * sysdeps/tile/tilegx/strstr.c: New file.
20966         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
20968 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
20970         * nptl/tst-setuid3.c: Write errors to stdout.
20972 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
20974         * elf/dl-deps.c
20975         (preload): New functions broken out of _dl_map_object_deps.
20976         (_dl_map_object_deps):  Remove a nested function. Update call sites.
20978 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
20980         [BZ #14138]
20981         * sysdeps/unix/sysv/linux/execve.c: Remove file.
20982         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
20984 2014-10-01  Steve Ellcey  <sellcey@mips.com>
20986         * sysdeps/mips/strcmp.S: New.
20988 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
20990         [BZ #14138]
20991         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
20992         (linkat): Likewise.
20993         (mkdirat): Likewise.
20994         (readlinkat): Likewise.
20995         (renameat): Likewise.
20996         (symlinkat): Likewise.
20997         (unlinkat): Likewise.
20998         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
20999         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
21000         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
21001         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
21002         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
21003         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
21004         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
21006 2014-09-30  Will Newton  <will.newton@linaro.org>
21008         * math/math.h: Define long double math functions if
21009         _LIBC_TEST is defined.
21010         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
21012         * localedata/Makefile: Move assignment to tests-special
21013         into an ifdef testing run-built-tests.
21014         * timezone/Makefile: Likewise.
21016 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
21018         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
21019         with $(BASH) not $(SHELL).
21021 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
21022             Matthew LeGendre  <legendre1@llnl.gov>
21024         [BZ #17411]
21025         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
21026         l_reloc_result.
21028 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
21030         * stdio-common/printf_fp.c
21031         (hack_digit): New function, broken out of ...
21032         (__printf_fp): ... local function here.  Update call sites.
21033         hack_digit now takes an additional parameter that is a pointer
21034         to a struct of the referenced locals.  Those locals moved inside
21035         the struct and references updated.
21037 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
21039         * aclocal.m4: Require autoconf 2.69.
21040         * configure: Regenerated.
21041         * sysdeps/aarch64/configure: Likewise.
21042         * sysdeps/alpha/configure: Likewise.
21043         * sysdeps/arm/armv7/configure: Likewise.
21044         * sysdeps/arm/configure: Likewise.
21045         * sysdeps/ia64/configure: Likewise.
21046         * sysdeps/mach/configure: Likewise.
21047         * sysdeps/mips/configure: Likewise.
21048         * sysdeps/s390/configure: Likewise.
21049         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
21050         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
21052         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
21053         file.
21054         * sysdeps/ia64/configure.ac: Likewise.
21056 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
21058         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
21059         specify symbol version for ld.so.  Do not include entry for
21060         libpthread.
21061         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
21062         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
21063         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
21065         [BZ #14171]
21066         * Makeconfig [$(build-shared) = yes]
21067         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
21068         makefiles.
21069         [$(build-shared) = yes && $(soversions.mk-done) = t]
21070         ($(common-objpfx)gnu/lib-names.h): Remove rule.
21071         [$(build-shared) = yes && $(soversions.mk-done) = t]
21072         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
21073         to Makerules.
21074         [$(build-shared) = yes && $(soversions.mk-done) = t]
21075         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
21076         here.
21077         [$(build-shared) = yes && $(soversions.mk-done) = t]
21078         (common-generated): Don't append gnu/lib-names.h and
21079         gnu/lib-names.stmp here.
21080         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
21081         (lib-names-h-abi): New variable.
21082         [$(build-shared) = yes && $(soversions.mk-done) = t]
21083         (lib-names-stmp-abi): Likewise.
21084         [$(build-shared) = yes && $(soversions.mk-done) = t &&
21085         abi-variants] (before-compile): Append
21086         $(common-objpfx)$(lib-names-h-abi).
21087         [$(build-shared) = yes && $(soversions.mk-done) = t &&
21088         abi-variants] (common-generated): Append gnu/lib-names.h.
21089         [$(build-shared) = yes && $(soversions.mk-done) = t &&
21090         abi-variants] (install-others-nosubdir): Depend on
21091         $(inst_includedir)/$(lib-names-h-abi).
21092         [$(build-shared) = yes && $(soversions.mk-done) = t &&
21093         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
21094         [$(build-shared) = yes && $(soversions.mk-done) = t]
21095         ($(common-objpfx)$(lib-names-h-abi)): New rule.
21096         [$(build-shared) = yes && $(soversions.mk-done) = t]
21097         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
21098         [$(build-shared) = yes && $(soversions.mk-done) = t]
21099         (common-generated): Append $(lib-names-h-abi) and
21100         $(lib-names-stmp-abi).
21101         * scripts/lib-names.awk: Do not handle multi being set.
21102         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
21103         Remove variable.
21104         (abi-lp64_be-ld-soname): Likewise.
21105         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
21106         Likewise.
21107         (abi-hard-ld-soname): Likewise.
21108         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
21109         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
21110         Remove variable.
21111         (abi-o32_hard-ld-soname): Likewise.
21112         (abi-o32_soft_2008-ld-soname): Likewise.
21113         (abi-o32_hard_2008-ld-soname): Likewise.
21114         (abi-n32_soft-ld-soname): Likewise.
21115         (abi-n32_hard-ld-soname): Likewise.
21116         (abi-n32_soft_2008-ld-soname): Likewise.
21117         (abi-n32_hard_2008-ld-soname): Likewise.
21118         (abi-n64_soft-ld-soname): Likewise.
21119         (abi-n64_hard-ld-soname): Likewise.
21120         (abi-n64_soft_2008-ld-soname): Likewise.
21121         (abi-n64_hard_2008-ld-soname): Likewise.
21122         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
21123         Likewise.
21124         (abi-64-v2-ld-soname): Likewise.
21125         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
21126         ld.so entries.
21127         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
21128         variable.
21129         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
21130         entry.
21131         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
21132         variable.
21133         (abi-64-ld-soname): Likewise.
21134         (abi-x32-ld-soname): Likewise.
21135         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
21136         entry.
21137         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
21139 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
21141         [BZ #14138]
21142         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
21143         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
21144         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
21145         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
21146         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
21147         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
21148         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
21149         syscall entry for GLIBC_2.2 symbol version.
21150         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
21151         Likewise.
21152         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
21153         (setrlimit): Likewise.
21154         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
21155         Likewise.
21157 2014-09-23  Will Newton  <will.newton@linaro.org>
21159         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
21160         _LINUX_ARM_SYSDEP_H include guard too.
21161         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
21162         define.
21164 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
21166         * sysdeps/unix/sysv/linux/eventfd.c:
21167         Make first argument unsigned.
21168         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
21169         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
21171 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
21173         * socket/recvmmsg.c (recvmmsg): Drop const argument.
21174         * socket/sys/socket.h: Likewise
21175         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
21177 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
21179         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
21181 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
21183         * time/tst-ftime.c: New test.
21184         * time/Makefile (tests): Add tst-ftime.
21186 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
21188         * soft-fp/extended.h: Fix comment formatting.
21189         * soft-fp/op-1.h: Likewise.
21190         * soft-fp/op-2.h: Likewise.
21191         * soft-fp/op-4.h: Likewise.
21192         * soft-fp/op-8.h: Likewise.
21193         * soft-fp/op-common.h: Likewise.
21194         * soft-fp/soft-fp.h: Likewise.
21196         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
21198 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
21200         [BZ #6652]
21201         * Makeconfig (soversions-default-setname): Remove variable.
21202         ($(common-objpfx)soversions.i): Don't pass default_setname to
21203         soversions.awk.
21204         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
21205         oldest_abi to abi-versions.awk.
21206         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
21207         * config.make.in (oldest-abi): Remove variable.
21208         * configure.ac (--enable-oldest-abi): Remove configure option.
21209         * configure: Regenerated.
21210         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
21211         text.
21212         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
21213         * scripts/soversions.awk: Do not handle default_setname variable.
21214         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
21215         variable.
21216         * sysdeps/mach/hurd/configure: Regenerated.
21217         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
21218         variable.
21219         * sysdeps/unix/sysv/linux/configure: Regenerated.
21221 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
21223         * elf/Makefile (CFLAGS-interp.c): Remove.
21224         ($(elf-objpfx)runtime-linker.h): Generate header with linker
21225         path string.
21226         * elf/interp.c: Include generated runtime-linker.h
21228         * Makerules (lib%.so): Don't include $(+interp) in
21229         prerequisites.
21230         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
21231         * dlfcn/eval.c: Remove file.
21233         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
21234         macros.
21236         [BZ #17266]
21237         * misc/sys/cdefs.h: Define __extern_always_inline for clang
21238         4.2 and newer.
21240         [BZ #17370]
21241         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
21243 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
21244             Jakub Jelinek  <jakub@redhat.com>
21246         [BZ #17266]
21247         * libio/stdio.h: Check definition of __fortify_function
21248         instead of __extern_always_inline to include bits/stdio2.h.
21249         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
21250         check if __extern_always_inline is defined.
21251         [__USE_MISC || __USE_XOPEN]: Likewise.
21252         [__USE_ISOC99] Likewise.
21253         * misc/sys/cdefs.h (__fortify_function): Define only if
21254         __extern_always_inline is defined.
21255         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
21256         __extern_always_inline and __extern_inline only for g++-4.3
21257         and newer or a compatible gcc.
21259 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
21261         [BZ #17371]
21262         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
21263         last change to handle zero prefix length.
21265 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
21267         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
21268         _SC_REGEX_VERSION.
21270         * posix/getconf.c (vars): Add _POSIX_IPV6 and
21271         _POSIX_RAW_SOCKETS.
21273 2014-09-13  Allan McRae  <allan@archlinux.org>
21275         * po/ru.po: Update Russian translation from translation project.
21277 2014-09-12  Roland McGrath  <roland@hack.frob.com>
21279         * locale/programs/locale.c (show_locale_vars): Inline local function
21280         into its sole call site.  Clean up some style nits.
21281         (print_item): New function, broken out of ...
21282         (show_info): ... local function here.  Clean up style nits.
21284         * locale/programs/ld-ctype.c (set_one_default): New function, broken
21285         out of ...
21286         (set_class_defaults): ... local function set_default here.
21287         Define set_default as a macro locally to pass constant parameters.
21288         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
21289         rather than a shared local.
21291         * stdlib/rpmatch.c (try): New function, broken out of ...
21292         (rpmatch): ... local function here.  Also, prototypify definition.
21294 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
21296         * scripts/soversions.awk: Do not handle configuration names.
21297         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
21298         vendor and os variables to soversions.awk.
21299         * configure.ac: Do not modify gnu-* host_os.
21300         * configure: Regenerated
21301         * shlib-versions: Remove first column with configuration names.
21302         * nptl/shlib-versions: Likewise.
21303         * nptl_db/shlib-versions: Likewise.
21304         * sysdeps/hppa/shlib-versions: Likewise.
21305         * sysdeps/m68k/shlib-versions: Likewise.
21306         * sysdeps/mach/hurd/shlib-versions: Likewise.
21307         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
21308         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
21309         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
21310         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
21311         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
21312         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
21313         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
21314         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
21315         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
21316         Likewise.
21317         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
21318         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
21319         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
21320         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
21321         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
21322         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
21323         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
21324         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
21326         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
21327         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
21328         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
21329         Regenerated.
21330         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
21331         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
21332         Condition symbol version definitions on [HAVE_ELFV2_ABI].
21334         * shlib-versions: Remove OS-specific entries.  Moved to files in
21335         sysdeps.
21336         * sysdeps/mach/hurd/shlib-versions: New file.
21337         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
21339         * nptl/shlib-versions: Remove architecture-specific entries.
21340         Moved to files in sysdeps.
21341         * shlib-versions: Likewise.
21342         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
21343         file.
21344         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
21345         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
21346         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
21347         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
21349         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
21350         (UDP_NO_CHECK6_RX): Likewise.
21352 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
21354         * sysdeps/posix/sysconf.c (__sysconf): Spell
21355         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
21357 2014-08-12  Florian Weimer  <fweimer@redhat.com>
21359         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
21360         loading.
21361         * iconv/Versions (__gconv_transliterate): Export for use from
21362         gconv modules.
21363         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
21364         (struct __gconv_trans_data, __gconv_trans_fct,
21365         __gconv_trans_context_fct, __gconv_trans_query_fct,
21366         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
21367         definitions.
21368         (struct __gconv_step_data): Remove __trans member.
21369         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
21370         longer hidden.  Remove unused trans_data argument.
21371         * iconv/gconv_int.h (struct trans_struct): Remove definition.
21372         (__gconv_translit_find): Remove declaration.
21373         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
21374         prototype.
21375         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
21376         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
21377         trans_data argument.  Add hidden definition.
21378         (__gconv_translit_find): Remove.
21379         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
21380         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
21381         * iconv/skeleton.c: Remove transliteration initialization.
21382         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
21383         __gconv_step_data initialization.
21384         * libio/iofwide.c (__libio_translit_): Remove.
21385         (_IO_fwide): Adjust struct __gconv_step_data initialization.
21386         * wcsmbs/btowc.c (__btowc): Likewise.
21387         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
21388         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
21389         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
21390         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
21391         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
21392         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
21393         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
21394         * wcsmbs/wctob.c (wctob): Likewise.
21396 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
21398         [BZ #16194]
21399         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
21400         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
21401         register usage.
21402         * sysdeps/x86/Makefile: Adjust.
21404 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
21405             Roland McGrath  <roland@hack.frob.com>
21407         * locale/weight.h: Add include guard.
21408         (findidx): Make static rather than auto; take new parameters
21409         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
21410         * locale/weightwc.h: Likewise.
21411         * posix/fnmatch_loop.c
21412         (FCT): Change type of EXTRA from int32_t to wint_t.
21413         Don't include either header inside the function.
21414         Call FINDIDX rather than findidx, and pass new arguments.
21415         #undef FINDIDX at the end of the file.
21416         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
21417         FINDIDX before including fnmatch_loop.c for the non-wide version.
21418         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
21419         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
21420         for the wide version.
21421         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
21422         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
21423         Pass new arguments to findidx.
21424         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
21425         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
21426         Don't #include it inside the function.  Pass new arguments to findidx.
21427         * posix/regex_internal.h
21428         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
21429         (re_string_elem_size_at): Don't #include it inside the function.
21430         Pass new arguments to findidx.
21431         * string/strcoll_l.c: #include WEIGHT_H at top level.
21432         (get_next_seq): Don't #include it inside the function.
21433         Pass new arguments to findidx.
21434         (get_next_seq_nocache): Likewise.
21435         * string/strxfrm_l.c: #include WEIGHT_H at top level.
21436         (STRXFRM): Don't #include it inside the function.
21437         Pass new arguments to findidx.
21439 2014-09-11  Florian Weimer  <fweimer@redhat.com>
21441         [BZ #17344]
21442         * malloc/malloc.c (unlink): Turn asserts into a call to
21443         malloc_printerr.
21445 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
21447         [BZ #17370]
21448         * libio/wfileops (do_ftell_wide): Free OUT.
21450 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
21452         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
21454 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
21456         [BZ #17363]
21457         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
21458         group if the current group is empty.
21460 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21462         * benchtests/bench-memset.c (test_main): Add more test from size
21463         from 32 to 512 bytes.
21464         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
21465         Add POWER8 memset object.
21466         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21467         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
21468         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
21469         implementation.
21470         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
21471         Likewise.
21472         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
21473         multiarch POWER8 memset optimization.
21474         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
21475         POWER8 memset optimization.
21477         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
21478         Remove bzero multiarch objects.
21479         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
21480         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
21481         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
21482         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
21483         Remove define.
21484         [__bzero]: Redefine to specific name.
21485         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
21486         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
21487         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
21488         define.
21489         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
21490         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
21492 2014-09-10  Florian Weimer  <fweimer@redhat.com>
21494         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
21495         warnings into errors.
21497         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
21498         __cxa_thread_atexit_impl prototype.
21500 2014-09-09  Steve Ellcey  <sellcey@mips.com>
21502         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
21503         Fix capitalization of error message.
21505 2014-09-09  Steve Ellcey  <sellcey@mips.com>
21507         * sysdeps/mips/preconfigure: Modify ABI tests.
21509 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
21511         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
21513 2014-09-07  Roland McGrath  <roland@hack.frob.com>
21514             Carlos O'Donell  <carlos@systemhalted.org>
21516         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
21517         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
21518         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
21519         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
21520         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
21521         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
21522         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
21523         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
21524         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
21525         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
21526         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
21527         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
21528         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
21529         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
21530         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
21531         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
21532         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
21533         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
21534         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
21535         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
21536         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
21537         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
21538         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
21539         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
21540         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
21541         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
21542         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
21543         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
21544         Deconditionalize the code that was previously under [RESET_PID].
21545         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
21546         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
21547         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
21548         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
21549         include sysdep.h.
21551 2014-09-08  Allan McRae  <allan@archlinux.org>
21553         * version.h (RELEASE): Set to "development".
21554         (VERSION): Set to "2.20.90"
21556 2014-09-07  Allan McRae  <allan@archlinux.org
21558         * version.h (RELEASE): Set to "stable".
21559         (VERSION): Set to "2.20"
21560         * include/features.h (__GLIBC_MINOR__): Set to 20.
21562         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
21563         Liebler.
21565         * po/ko.po: Update Korean translation from translation project.
21567 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
21569         [BZ #17354]
21570         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
21571         macro for handling signed relocations.
21573 2014-09-03  Florian Weimer  <fweimer@redhat.com>
21575         [BZ #17325]
21576         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
21577         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
21578         assert.
21579         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
21580         * iconvdata/ibm935.c (BODY): Likewise.
21581         * iconvdata/ibm937.c (BODY): Likewise.
21582         * iconvdata/ibm939.c (BODY): Likewise.
21583         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
21584         assert.
21585         * iconvdata/Makefile (iconv-test.out): Pass module list to test
21586         script.
21587         * iconvdata/run-iconv-test.sh: New test loop for checking for
21588         decoder crashers.
21590 2014-09-02  Khem Raj  <raj.khem@gmail.com>
21592         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
21593         libm_hidden_ver.
21595 2014-09-01  Allan McRae  <allan@archlinux.org>
21597         * po/eo.po: Update Esperanto translation from translation project.
21599         * po/ca.po: Update Catalan translation from translation project.
21601 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21603         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
21604         __proc_dostop call.
21606 2014-08-27  Mark Wielaard  <mjw@redhat.com>
21608         [BZ #17319]
21609         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
21610         to call set_thread_area instead of hand written asm.
21611         (__NR_set_thread_area): Removed define.
21612         (TLS_FLAG_WRITABLE): Likewise.
21613         (__ASSUME_SET_THREAD_AREA): Remove check.
21614         (TLS_EBX_ARG): Remove define.
21615         (TLS_LOAD_EBX): Likewise.
21617 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21619         Simplify atomicity of socket creation in bind.
21621         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
21622         looking up the name after linking the file.
21624 2014-08-27  Allan McRae  <allan@archlinux.org>
21626         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
21628 2014-08-26  Florian Weimer  <fweimer@redhat.com>
21630         [BZ #17187]
21631         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
21632         trans_compare, open_translit, __gconv_translit_find):
21633         Remove module loading code.
21635 2014-08-26  Allan McRae  <allan@archlinux.org>
21637         * po/vi.po: Update Vietnamese translation from translation project.
21639         * po/uk.po: Update Ukrainian translation from translation project.
21641         * po/fr.po: Update French translation from translation project.
21643         * po/ru.po: Update Russian translation from translation project.
21645         * po/pl.po: Update Polish translation from translation project.
21647         * po/cs.po: Update Czech translation from translation project.
21649         * po/de.po: Update German translation from translation project.
21651         * po/bg.po: Update Bulgarian translation from translation project.
21653         * po/sv.po: Update Sweedish translation from translation project.
21655         * po/nl.po: Update Dutch translation from translation project.
21657         * po/es.po: Update Spanish translation from translation project.
21659 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
21661         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
21663         * catgets/Makefile (CPPFLAGS-gencat): Remove.
21664         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
21665         (CPPFLAGS-iconvconfig): Likewise.
21666         * timezone/Makefile (CPPFLAGS-zic): Likewise.
21668         * include/libc-symbols.h: Remove unnecessary check for
21669         NOT_IN_libc.
21670         * nptl/pthreadP.h: Likewise.
21671         * sysdeps/aarch64/setjmp.S: Likewise.
21672         * sysdeps/alpha/setjmp.S: Likewise.
21673         * sysdeps/arm/sysdep.h: Likewise.
21674         * sysdeps/i386/setjmp.S: Likewise.
21675         * sysdeps/m68k/setjmp.c: Likewise.
21676         * sysdeps/posix/getcwd.c: Likewise.
21677         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
21678         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
21679         * sysdeps/s390/s390-32/setjmp.S: Likewise.
21680         * sysdeps/s390/s390-64/setjmp.S: Likewise.
21681         * sysdeps/sh/sh3/setjmp.S: Likewise.
21682         * sysdeps/sh/sh4/setjmp.S: Likewise.
21683         * sysdeps/unix/alpha/sysdep.h: Likewise.
21684         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
21685         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
21686         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
21687         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
21688         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
21689         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
21690         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
21691         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
21692         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
21693         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
21694         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
21695         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
21696         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
21697         * sysdeps/x86_64/setjmp.S: Likewise.
21699 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
21701         [BZ #17263]
21702         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
21703         <stdint.h>.
21704         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
21705         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
21707 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
21709         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
21711         [BZ #17262]
21712         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
21713         and __x86_64__ when disabling x87 inline functions.
21715 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
21717         [BZ #17259]
21718         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
21719         asm statement with __cpuid_count.
21721 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
21723         * configure.ac: Change __ehdr_start code to dereference the struct.
21724         Run readelf on the output to look for relocations.
21725         * configure: Regenerated.
21727 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
21729         [BZ #17261]
21730         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
21731         value to 0.
21732         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
21734 2014-08-12  Roland McGrath  <roland@hack.frob.com>
21736         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
21738 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
21740         [BZ #16892]
21741         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
21742         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
21744 2014-08-12  Sean Anderson  <seanga2@gmail.com>
21746         * malloc/malloc.c: Fix typo in comment.
21748 2014-08-09  Allan McRae  <allan@archlinux.org>
21750         * Regenerate libc.po.
21752 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
21754         * intl/tst-gettext2.sh: Check every lang file for creation.
21756 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
21758         * sysdeps/aarch64/fpu/math_private.h
21759         (libc_feholdsetround_noex_aarch64_ctx): New function.
21761 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
21763         * sysdeps/arm/armv6/strcpy.S (strcpy):
21764         Fix performance issue in misaligned cases.
21766 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21768         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
21769         Move definition from termios.h.
21770         (struct termio): Likewise.
21771         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
21772         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
21773         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
21774         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
21775         Likewise.
21776         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
21777         Move definition to ioctl-types.h
21778         (struct termio): Likewise.
21779         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
21780         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
21781         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
21782         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
21783         Likewise.
21785 2014-08-05  Richard Henderson  <rth@redhat.com>
21787         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
21788         exceptions.
21789         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
21790         Add fraiseexcpt.
21791         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
21792         Use __feraiseexcept.
21793         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
21794         Protect libm symbols with IS_IN_libm.
21796         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
21798 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
21800         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
21802 2014-08-04  Will Newton  <will.newton@linaro.org>
21804         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
21805         file.
21807 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
21809         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
21810         variants for each function.
21812 2014-08-04  Roland McGrath  <roland@hack.frob.com>
21814         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
21815         appended ...
21816         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
21817         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
21818         appended ...
21819         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
21820         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
21821         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
21822         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
21823         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
21824         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
21825         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
21826         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
21827         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
21828         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
21829         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
21830         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
21831         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
21832         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
21833         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
21834         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
21835         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
21836         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
21837         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
21838         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
21839         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
21840         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
21841         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
21842         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
21843         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
21844         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
21845         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
21846         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
21847         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
21848         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
21849         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
21850         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
21851         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
21852         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
21853         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
21854         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
21855         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
21856         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
21857         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
21858         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
21859         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
21860         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
21861         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
21862         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
21863         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
21864         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
21865         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
21866         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
21867         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
21868         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
21869         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
21870         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
21871         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
21872         Update #include.
21873         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
21874         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
21876 2014-08-04  Roland McGrath  <roland@hack.frob.com>
21878         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
21879         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
21880         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
21881         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
21882         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
21883         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
21885 2014-08-04  Roland McGrath  <roland@hack.frob.com>
21887         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
21888         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
21889         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
21890         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
21892 2014-08-04  Roland McGrath  <roland@hack.frob.com>
21894         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
21895         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
21896         (__libc_vfork): Define function under this name.
21897         (__vfork): Define as an alias.
21898         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
21899         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
21901 2014-08-04  Roland McGrath  <roland@hack.frob.com>
21903         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
21904         that was previously under [RESET_PID].
21905         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
21907 2014-08-04  Andreas Schwab  <schwab@suse.de>
21909         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
21911 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
21913         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
21914         (main): Likewise.
21916 2014-08-01  Roland McGrath  <roland@hack.frob.com>
21918         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
21920 2014-08-01  Richard Henderon  <rth@redhat.com>
21922         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
21923         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
21924         typo in exact zero test.
21925         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
21926         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
21927         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
21929 2014-08-01  Roland McGrath  <roland@hack.frob.com>
21931         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
21932         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
21933         * sysdeps/arm/sysdep.h: ... here.
21934         [!__ASSEMBLER__]: Include <stdint.h>.
21936 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
21938         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
21939         (HAVE_WCTYPE_H): Likewise.
21940         (HAVE_ISWCTYPE): Likewise.
21941         (ENABLE_NLS): Likewise.
21942         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
21943         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
21945         * posix/regex_internal.c: Check if DEBUG is defined and is
21946         set.
21948         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
21949         (HAVE_MBSRTOWCS): Likewise.
21950         * posix/fnmatch.c: Include string.h unconditionally.
21952 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
21954         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
21955         reversal.
21957 2014-07-31  Roland McGrath  <roland@hack.frob.com>
21959         * sysdeps/generic/safe-fatal.h: New file.
21960         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
21961         * nptl/forward.c: Include it.
21962         (__pthread_unwind): Use __safe_fatal as default action, rather
21963         than a bogus use of INTERNAL_SYSCALL that could never work.
21965         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
21966         * configure.ac (libc_cv_builtin_trap): New test.
21967         * configure: Regenerated.
21968         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
21969         (ABORT_INSTRUCTION): Define using __builtin_trap.
21971         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
21972         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
21973         * sysdeps/nptl/nptl-signals.h: New file.
21974         * nptl/pthreadP.h: Include <nptl-signals.h>.
21976 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
21978         * sysdeps/s390/s390-64/utf16-utf32-z9.c
21979         (ONE_DIRECTION): Define.
21980         * sysdeps/s390/s390-64/utf8-utf16-z9.c
21981         (ONE_DIRECTION): Define.
21982         * sysdeps/s390/s390-64/utf8-utf32-z9.c
21983         (ONE_DIRECTION): Define.
21985 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
21987         * sysdeps/s390/Makefile: Delete file.
21988         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
21989         * sysdeps/s390/__longjmp.c: Delete file.
21990         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
21991         Remove fields __flags and __reserved.
21992         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
21993         and add versioning.
21994         * sysdeps/s390/rtld-__longjmp.c: Delete file.
21995         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
21996         * sysdeps/s390/rtld-setjmp.S: Likewise.
21997         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
21998         * sysdeps/s390/s390-32/__longjmp.c: ... here.
21999         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
22000         * sysdeps/s390/s390-32/setjmp.S: ... here.
22001         Add versioning.
22002         (__sigsetjmp): Remove setting __flags field.
22003         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
22004         * sysdeps/s390/s390-64/__longjmp.c: ... here.
22005         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
22006         * sysdeps/s390/s390-64/setjmp.S: ... here.
22007         Add versioning.
22008         (__sigsetjmp): Remove setting __flags field.
22009         * sysdeps/s390/setjmp.S: Delete file.
22010         * sysdeps/s390/sigjmp.c: Likewise.
22011         * sysdeps/s390/v1-longjmp.c: Likewise.
22012         * sysdeps/s390/v1-setjmp.h: Likewise.
22013         * sysdeps/s390/v1-sigjmp.c: Likewise.
22014         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
22015         Remove v1-longjmp_chk.
22016         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
22017         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
22018         Include debug/longjmp_chk.c and add versioning.
22019         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
22020         Include nptl/pt-longjmp.c and add versioning.
22021         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
22022         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
22023         Include __longjmp.c.
22024         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
22025         Move to ...
22026         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
22027         (__getcontext): Remove setting __flags field.
22028         Add versioning.
22029         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
22030         Don't restore upper high grps.
22031         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
22032         Likewise.
22033         (__swapcontext): Remove setting uc_flags field.
22034         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
22035         Delete file.
22036         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
22037         Include __longjmp.c.
22038         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
22039         Move to ...
22040         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
22041         (__getcontext): Remove setting __flags field.
22042         Add versioning.
22043         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
22044         (__swapcontext): Remove setting uc_flags field.
22045         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
22046         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
22047         Remove fields uc_high_gprs and __reserved.
22048         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
22049         New file with reverted content.
22050         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
22051         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
22052         Regenerated.
22053         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
22054         Regenerated.
22056 2014-07-31  Andreas Schwab  <schwab@suse.de>
22058         * config.h.in (HAVE_IFUNC): Define to 0.
22059         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
22060         definedness.
22062 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
22064         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22065         memmove-avx-unaligned, memcpy-avx-unaligned and
22066         mempcpy-avx-unaligned.
22067         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
22068         Add tests for AVX memcpy functions.
22069         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
22070         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
22071         memcpy_chk.
22072         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
22073         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
22074         memmove_chk.
22075         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
22076         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
22077         mempcpy_chk.
22078         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
22079         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
22080         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
22082 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22084         [BZ #17213]
22085         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
22086         powerpc64le.
22088 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
22090         [BZ #16839]
22091         * manual/llio.texi: Add section about open file description locks.
22092         * manual/examples/ofdlocks.c: Example of open file description
22093         lock usage.
22094         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
22095         F_OFD_SETLK, and F_OFD_SETLKW.
22097 2014-07-23  Allan McRae  <allan@archlinux.org>
22099         * po/es.po: Update Spanish translation from translation project.
22101 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
22103         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
22105 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
22107         [BZ #17078]
22108         * sysdeps/arm/dl-machine.h (elf_machine_rela)
22109         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
22110         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
22112 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
22114         [BZ #17088]
22115         * math/fesetenv.c (__fesetenv)
22116         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
22117         * math/feupdateenv.c (__feupdateenv)
22118         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
22120         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
22121         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
22122         (__ASSUME_SOCKETCALL): Do not define.
22124         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
22125         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
22126         (__ASSUME_SOCKETCALL): Do not define.
22127         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
22128         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
22129         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
22130         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
22131         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
22132         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
22133         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
22134         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
22136         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
22137         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
22138         (__ASSUME_SOCKETCALL): Do not define.
22139         (__ASSUME_IPC64): Define unconditionally.
22140         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
22141         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
22142         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
22143         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
22144         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
22145         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
22146         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
22147         Likewise.
22149         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
22150         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
22151         (__ASSUME_SOCKETCALL): Do not define.
22152         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
22153         (__ASSUME_FUTEX_LOCK_PI): Likewise.
22154         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
22155         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
22156         (__ASSUME_REQUEUE_PI): Define unconditionally.
22157         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
22158         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
22159         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
22160         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
22161         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
22162         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
22164         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
22165         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
22166         (__ASSUME_SOCKETCALL): Do not define.
22167         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
22168         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
22169         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
22170         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
22171         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
22172         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
22174         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
22175         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
22176         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
22177         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
22178         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
22179         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
22180         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
22181         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
22182         (__ASSUME_GETCPU_SYSCALL): Likewise.
22184         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
22185         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
22186         cases for individual architectures.
22187         * sysdeps/gnu/configure: Regenerated.
22188         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
22189         LIBC_SLIBDIR_RTLDDIR.
22190         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
22191         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
22192         LIBC_SLIBDIR_RTLDDIR.
22193         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
22194         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
22195         LIBC_SLIBDIR_RTLDDIR.
22196         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
22197         Regenerated.
22198         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
22199         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
22200         file.
22201         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
22202         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
22203         file.
22204         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
22205         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
22206         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
22207         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
22209         * sysdeps/aarch64/shlib-versions: Move to ...
22210         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
22211         * sysdeps/alpha/shlib-versions: Move to ...
22212         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
22213         * sysdeps/arm/shlib-versions: Move to ...
22214         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
22215         * sysdeps/hppa/shlib-versions: Move all contents except for
22216         libgcc_s entry to ...
22217         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
22218         entry from ...
22219         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
22220         * sysdeps/ia64/shlib-versions: Move to ...
22221         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
22222         entry from ...
22223         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
22224         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
22225         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
22226         * sysdeps/microblaze/shlib-versions: Move to ...
22227         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
22228         * sysdeps/mips/shlib-versions: Move to ...
22229         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
22230         entry from ...
22231         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
22232         * sysdeps/tile/shlib-versions: Move to ...
22233         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
22234         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
22235         from ...
22236         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
22237         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
22238         entry from ...
22239         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
22241 2014-07-17  Will Newton  <will.newton@linaro.org>
22243         * sysdeps/arm/bits/atomic.h
22244         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
22245         (__arch_compare_and_exchange_bool_16_int): Likewise.
22246         (__arch_compare_and_exchange_bool_64_int): Likewise.
22248         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
22249         into an #else block.
22251 2014-07-16  Roland McGrath  <roland@hack.frob.com>
22253         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
22254         just Linux configurations.  Test empirically that the compiler sets
22255         __ARM_EABI__, rather than using the tuple to decide.
22256         * sysdeps/arm/preconfigure: Regenerated.
22257         * sysdeps/unix/sysv/linux/arm/configure: File removed.
22258         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
22259         contents appended ...
22260         * sysdeps/arm/configure.ac: ... here.
22261         * sysdeps/arm/configure: Regenerated.
22263 2014-07-15  Roland McGrath  <roland@hack.frob.com>
22265         * nptl/pthread_kill.c: New file.
22266         * nptl/pthread_sigmask.c: New file.
22267         * nptl/pthread_sigqueue.c: New file.
22269         * sysdeps/nptl/lowlevellock.h: New file.
22270         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
22271         * sysdeps/nptl/lowlevellock-futex.h: New file.
22273         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
22274         Remove dead declarations.
22276 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
22278         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
22279         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
22280         config-cflags-avx2.
22281         * sysdeps/x86_64/configure.ac: Likewise.
22282         * sysdeps/i386/configure: Regenerated.
22283         * sysdeps/x86_64/configure: Likewise.
22284         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22285         memset-avx2 only if config-cflags-avx2 is yes.
22286         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
22287         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
22288         defined.
22289         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
22290         only if HAVE_AVX2_SUPPORT is defined.
22291         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
22293 2014-07-14  Alan Modra  <amodra@gmail.com>
22295         [BZ #17153]
22296         * elf/elf.h (DT_PPC64_NUM): Correct value.
22297         * NEWS: Add to fixed bug list.
22299 2014-07-13  Jim Meyering  <meyering@fb.com>
22301         [BZ 17150]
22302         regex: don't deref NULL upon heap allocation failure
22303         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
22304         failure in one more place.
22305         To trigger the segfault, configure grep -with-included-regex,
22306         build it, and run these commands:
22307         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
22309 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
22311         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
22313 2014-07-11  Richard Henderson  <rth@redhat.com>
22315         * sysdeps/aarch64/libm-test-ulps: Update.
22317 2014-07-10  Florian Weimer  <fweimer@redhat.com>
22319         [BZ #17135]
22320         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
22321         * nptl/allocatestack.c (__nptl_setxid_error): New function.
22322         (__nptl_setxid): Initialize error member.  Call
22323         __nptl_setxid_error.
22324         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
22325         * nptl/descr.h (struct xid_command): Add error member.
22326         * nptl/tst-setuid3.c: New file.
22327         * nptl/Makefile (tests): Add it.
22329 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22331         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
22332         New define.
22333         (__lll_trylock): Use __lll_base_trylock.
22334         (__lll_cond_trylock): Likewise.
22336 2014-07-10  Roland McGrath  <roland@hack.frob.com>
22338         * nptl/pthread_create.c (start_thread): Use atomic_or and
22339         lll_futex_wake directly rather than lll_robust_dead.
22340         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
22341         (lll_robust_dead): Macro removed.
22342         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
22343         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
22344         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
22345         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
22346         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
22347         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
22348         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
22349         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
22350         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
22351         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
22352         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
22353         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
22354         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
22355         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
22356         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
22358         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
22359         Use atomic_compare_and_exchange_val_acq directly rather than
22360         lll_robust_trylock.
22361         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
22362         (__lll_robust_trylock, lll_robust_trylock): Removed.
22363         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
22364         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
22365         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
22366         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
22367         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
22368         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
22369         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
22370         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
22371         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
22372         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
22373         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
22374         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
22375         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
22376         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
22378 2014-07-02  Florian Weimer  <fweimer@redhat.com>
22380         * manual/locale.texi (Locale Names): New section documenting
22381         locale name syntax.  Adjust menu and node chaining accordingly.
22382         (Choosing Locale): Reference Locale Names, Locale Categories.
22383         Mention setting LC_ALL=C.  Reflect that name syntax is now
22384         documented.
22385         (Locale Categories): New section title.  Reference Locale Names.
22386         LC_ALL is an environment variable, but not a category.
22387         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
22388         description, now in Locale Name.  Reference that section.  Locale
22389         name syntax is now documented.
22391 2014-07-02  Florian Weimer  <fweimer@redhat.com>
22393         [BZ #17137]
22394         * locale/findlocale.c (name_present, valid_locale_name): New
22395         functions.
22396         (_nl_find_locale): Use the loc_name variable to store name
22397         candidates.  Call name_present and valid_locale_name to check and
22398         validate locale names.  Return an error if the locale is invalid.
22400 2014-07-02  Florian Weimer  <fweimer@redhat.com>
22402         * locale/setlocale.c (setlocale): Use strdup for allocating
22403         composite name copy.
22405 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
22407         Sync up with gnulib.
22408         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
22409         [!_LIBC && ENABLE_NLS]: Include gettext.h.
22410         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
22411         and _GL_ARG_NONNULL.
22412         [USE_UNLOCKED_IO]: Include unlocked-io.h.
22413         [!_LIBC]: Include code for Windows and Cygwin.
22414         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
22415         Include prototype for int strerror_r.
22416         [!_LIBC] (is_open): New function.
22417         (flush_stdout): New function.
22418         (print_errno_message): Use it.
22419         (error): Likewise.
22420         (error_at_line): Likewise.
22421         (error_tail) Add function attribute macros.  Use
22422         __builtin_expect.
22424         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
22426         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
22428         * io/ftw.c: Include sys/param.h unconditionally.
22430         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
22432         [BZ #17125]
22433         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
22434         libc_freeres_ptr.
22435         (freecache): New function to free CACHE on exit.
22437         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
22438         initialization.
22440 2014-07-09  David S. Miller  <davem@davemloft.net>
22442         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22444         * sysdeps/sparc/nptl/internaltypes.h: Delete.
22445         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
22446         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
22447         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
22448         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
22449         * sysdeps/sparc/nptl/sem_init.c: Likewise.
22450         * sysdeps/sparc/nptl/sem_post.c: Likewise.
22451         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
22452         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
22453         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
22454         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
22455         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
22456         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
22458 2014-07-09  Andreas Schwab  <schwab@suse.de>
22460         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
22461         output.
22462         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
22463         (do_test): Likewise.
22465         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
22467 2014-07-09  Will Newton  <will.newton@linaro.org>
22469         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
22470         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
22471         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
22472         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
22473         * sysdeps/hppa/start.S (_start): Likewise.
22475 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
22477         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
22479         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
22480         defined.
22482 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
22484         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
22485         after checking that it is non-NULL.
22487         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
22489 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22491         * sysdeps/powerpc/memmove.c: Remove file.
22492         * sysdeps/powerpc/powerpc32/power4/memcopy.h
22493         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
22494         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
22495         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
22496         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
22497         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
22498         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
22499         string memmove instead of removed powerpc one.
22501         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
22502         [weak_alias]: Fix compiler warning due trailing data.
22503         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
22504         [weak_alias]: Likewise.
22505         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
22506         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
22508         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
22509         (__libc_ifunc_impl_list): Add memmove functions.
22511 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
22513         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
22514         Remove code.
22515         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
22516         Likewise
22517         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
22518         Likewise
22519         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
22520         Likewise
22521         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
22522         Likewise
22523         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
22524         Likewise
22525         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
22526         Likewise
22527         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
22528         Likewise
22529         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
22530         Likewise
22531         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
22532         Likewise
22533         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
22534         Likewise
22535         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
22536         Likewise
22537         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
22538         Likewise
22539         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
22540         Likewise
22541         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
22542         Likewise
22543         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
22544         Likewise
22545         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
22546         Likewise
22548 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22550         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
22551         to avoid alignment traps in non-cacheable memory.
22552         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
22554         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
22555         multiarch objects.
22556         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
22557         file: multiarch power7 memmove.
22558         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
22559         multiarch default memmove.
22560         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
22561         multiarch memove for powerpc32/power4.
22563         * string/bcopy.c: Use full path to include memmove.c.
22564         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
22565         multiarch objects.
22566         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
22567         bcopy for powerpc64.
22568         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
22569         bcopy for powerpc64.
22570         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
22571         and memmove implementations.
22572         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
22573         optimized multiarch memmove for POWER7/powerpc64.
22574         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
22575         default multiarch memmove for powerpc64.
22576         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
22577         multiarch for powerpc64.
22578         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
22579         for POWER7/powerpc64.
22580         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
22581         memmove for POWER7/powerpc64.
22583         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
22584         glibc default one.
22586         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
22587         __ELF_NATIVE_CLASS equal to 64.
22589 2014-07-07  Roland McGrath  <roland@hack.frob.com>
22591         * sysdeps/nptl/lowlevellock.h: File removed.
22593         * NEWS: NPTL is no longer an add-on!
22594         * nptl/internaltypes.h: Moved ...
22595         * sysdeps/nptl/internaltypes.h: ... here.
22596         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
22597         * sysdeps/nptl/fork.c: Likewise.
22598         * sysdeps/nptl/gai_misc.h: Likewise.
22599         * sysdeps/nptl/librt-cancellation.c: Likewise.
22600         * sysdeps/nptl/jmp-unwind.c: Likewise.
22601         * sysdeps/nptl/setxid.h: Likewise.
22602         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
22603         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
22604         * sysdeps/unix/sysv/linux/arm/Implies: New file.
22605         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
22606         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
22607         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
22608         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
22609         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
22610         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
22611         * sysdeps/unix/sysv/linux/mips/Implies: New file.
22612         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
22613         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
22614         * sysdeps/unix/sysv/linux/sh/Implies: New file.
22615         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
22616         * sysdeps/unix/sysv/linux/tile/Implies: New file.
22617         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
22618         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
22619         * nptl/Makeconfig: Moved ...
22620         * sysdeps/nptl/Makeconfig: ... here.
22621         * nptl/configure: File removed.
22622         * nptl/ANNOUNCE: File removed.
22623         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
22624         * sysdeps/unix/sysv/linux/configure: Regenerated.
22626         * nptl/Makefile (routines): Add libc_pthread_init,
22627         libc_multiple_threads, register-atfork and unregister-atfork.
22628         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
22629         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
22630         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
22631         pthread-pi-defines.sym, structsem.sym.
22632         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
22633         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
22634         [$(subdir) = nptl] (tests): Add tst-setgetname.
22635         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
22636         * sysdeps/unix/sysv/linux/sigaction.c: Just include
22637         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
22638         [!LIBC_SIGACTION]: Remove aliases.
22639         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
22640         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
22641         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
22642         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
22643         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
22644         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
22645         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
22646         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
22647         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
22648         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
22649         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
22650         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
22651         __libc_allocate_rtsig_private.
22652         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
22653         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
22654         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
22655         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
22656         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
22657         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
22658         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
22659         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
22660         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
22661         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
22662         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
22663         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
22664         * nptl/internaltypes.h: ... here.
22665         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
22666         * sysdeps/nptl/jmp-unwind.c: ... here.
22667         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
22668         * nptl/libc-lowlevellock.c: ... here.
22669         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
22670         * nptl/libc_multiple_threads.c: ... here.
22671         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
22672         * nptl/libc_pthread_init.c: ... here.
22673         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
22674         * nptl/lowlevelbarrier.sym: ... here.
22675         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
22676         * nptl/lowlevelcond.sym: ... here.
22677         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
22678         * nptl/lowlevellock.c: ... here.
22679         * nptl/lowlevellock.h: Moved ...
22680         * sysdeps/nptl/lowlevellock.h: ... here.
22681         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
22682         * nptl/lowlevelrobustlock.c: ... here.
22683         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
22684         * nptl/lowlevelrobustlock.sym: ... here.
22685         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
22686         * nptl/lowlevelrwlock.sym: ... here.
22687         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
22688         * nptl/pt-fork.c: ... here.
22689         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
22690         * nptl/pthread-pi-defines.sym: ... here.
22691         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
22692         * nptl/pthread_attr_getaffinity.c: ... here.
22693         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
22694         * nptl/pthread_attr_setaffinity.c: ... here.
22695         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
22696         * nptl/pthread_mutex_cond_lock.c: ... here.
22697         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
22698         Update #include.
22699         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
22700         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
22701         * nptl/pthread_once.c: ... here, replacing old file.
22702         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
22703         * nptl/pthread_yield.c: ... here.
22704         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
22705         * nptl/register-atfork.c: ... here.
22706         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
22707         * nptl/sem_post.c: ... here.
22708         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
22709         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
22710         * nptl/sem_timedwait.c: ... here.
22711         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
22712         * nptl/sem_trywait.c: ... here.
22713         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
22714         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
22715         * nptl/sem_wait.c: ... here.
22716         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
22717         * nptl/structsem.sym: ... here.
22718         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
22719         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
22720         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
22721         * nptl/unregister-atfork.c: ... here.
22722         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
22723         * nptl/unwindbuf.sym: ... here.
22724         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
22725         * sysdeps/nptl/fork.c: ... here.
22726         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
22727         * sysdeps/nptl/fork.h: ... here.
22728         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
22729         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
22730         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
22731         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
22732         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
22733         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
22734         * sysdeps/unix/sysv/linux/getpid.c: ... here.
22735         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
22736         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
22737         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
22738         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
22739         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
22740         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
22741         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
22742         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
22743         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
22744         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
22745         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
22746         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
22747         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
22748         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
22749         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
22750         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
22751         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
22752         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
22753         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
22754         * sysdeps/unix/sysv/linux/raise.c: ... here.
22755         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
22756         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
22757         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
22758         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
22759         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
22760         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
22761         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
22762         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
22763         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
22764         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
22765         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
22766         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
22767         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
22768         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
22769         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
22771 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
22773         * sysdeps/generic/memcopy.h: Add comment for
22774         MEMCPY_OK_FOR_FWD_MEMMOVE.
22776 2014-07-04  Will Newton  <will.newton@linaro.org>
22778         * string/memchr.c: Merge from gnulib.
22779         [_LIBC]: Remove conditionals.
22780         (__ptr_t): Remove define.
22781         (LONG_MAX_32_BITS): Likewise.
22782         (LONG_MAX): Likewise.
22783         (MEMCHR): Use ANSI prototype and optimize algorithm.
22785         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
22787 2014-07-03  Roland McGrath  <roland@hack.frob.com>
22789         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
22790         (lll_futex_timed_wait_bitset): Fix syscall argument count.
22792         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
22793         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
22794         in a bare environment with no <stdlib.h> installed.
22795         * sysdeps/nptl/configure: Regenerated.
22797         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
22799         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
22800         AC_EGREP_CPP for kernel header checks, so they only succeed if
22801         including <linux/version.h> actually works right.
22802         * sysdeps/unix/sysv/linux/configure: Regenerated.
22804         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
22805         value so it's not diagnosed as unused.
22807         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
22808         thing) with "ifeq ($(subdir),rt)".
22810 2014-07-03  Richard Henderson  <rth@redhat.com>
22812         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
22813         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
22814         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
22816         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
22817         (math_force_eval): New.
22819         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
22820         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
22822         * sysdeps/alpha/fpu/s_round.c: Remove file.
22823         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
22825         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
22826         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
22827         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
22828         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
22829         (_dl_start, print_statistics): Likewise.
22830         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
22831         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
22833         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
22834         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
22835         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
22836         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
22837         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
22838         (HP_SMALL_TIMING_AVAIL): Define.
22839         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
22840         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
22841         (HP_SMALL_TIMING_AVAIL): Define.
22842         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
22843         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
22845         * sysdeps/aarch64/hp-timing.h: New file.
22847         * sysdeps/generic/hp-timing.h: Remove dead comment.
22848         * sysdeps/generic/hp-timing-common.h: New file.
22849         * sysdeps/alpha/hp-timing.h: Include it.
22850         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
22851         * sysdeps/i386/i686/hp-timing.h: Likewise.
22852         * sysdeps/ia64/hp-timing.h: Likewise.
22853         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
22854         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
22855         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
22856         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
22857         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
22858         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
22859         (hp_timing_t): New.
22861         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
22862         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
22863         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
22864         * elf/rtld.c (_dl_start_final): Likewise.
22865         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
22866         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
22867         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
22868         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
22869         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
22870         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
22871         (HP_TIMING_DIFF_INIT): Remove.
22872         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
22873         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
22874         (HP_TIMING_DIFF_INIT): Remove.
22875         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
22876         * sysdeps/i386/i686/hp-timing.c: Remove file.
22877         * sysdeps/x86_64/hp-timing.c: Remove file.
22878         * sysdeps/ia64/hp-timing.c: Remove file.
22879         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
22880         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
22881         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
22882         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
22884         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
22885         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
22886         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
22887         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
22888         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
22889         (HP_TIMING_ACCUM): Remove.
22890         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
22891         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
22892         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
22894         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
22895         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
22896         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
22897         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
22898         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
22899         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
22900         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
22901         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
22903         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
22905 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
22907         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
22909 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
22911         Sync up with gettext.
22912         * intl/loadmsgcat.c: Define O_BINARY if not defined.
22913         [_MSC_VER]: Include malloc.h
22914         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
22915         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
22916         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
22917         TEMP_FAILURE_RETRY.  Cast return of alloca.
22918         [!_LIBC] Call gl_rwlock_init.
22919         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
22921 2014-07-02  Roland McGrath  <roland@hack.frob.com>
22923         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
22924         before checking its value.
22926 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
22928         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
22930         * debug/memcpy_chk.c: Don't include pagecopy.h.
22931         * debug/mempcpy_chk.c: Likewise.
22932         * string/memcpy.c: Likewise.
22933         * string/memmove.c: Likewise.
22934         * sysdeps/powerpc/memmove.c: Likewise.
22935         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
22936         definition of PAGE_COPY_FWD_MAYBE here...
22937         * sysdeps/generic/pagecopy.h: ... from here.
22938         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
22940 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
22941             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22943         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
22944         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
22945         optimizations.
22946         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
22947         (__libc_ifunc_impl_list): Likewise.
22948         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
22949         multiarch strcat for PPC64.
22950         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
22951         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
22953 2014-07-02  Roland McGrath  <roland@hack.frob.com>
22955         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
22957 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
22959         * intl/loadmsgcat.c: Remove declaration of
22960         get_sysdep_segment_value.
22961         (get_sysdep_segment_value): Use ISO C style.
22962         (_nl_load_domain): Use ISO C style.  Get rid of redundant
22963         semicolon.  Fix typo and formatting in comment.
22964         (_nl_unload_domain): Use ISO C style.
22966         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
22968 2014-07-02  Will Newton  <will.newton@linaro.org>
22970         * malloc/obstack.c: Merge from gnulib master.
22971         [HAVE_CONFIG_H]: Remove conditional code.
22972         [!_LIBC]: Include config.h.
22973         [!ELIDE_CODE]: Don't include inttypes.h, include
22974         stdint.h unconditionally.
22975         (print_and_abort): Mark as _Noreturn.
22976         (_obstack_allocated_p): Mark as __attribute_pure__.
22977         (obstack_free): Rename to __obstack_free.
22978         [!__attribute__]: Remove conditional code.
22979         * malloc/obstack.h: Merge from gnulib master.
22980         [__cplusplus]: Move conditional down.
22981         [!__attribute_pure__]: Define __attribute_pure__ here
22982         if it is not already defined.
22983         (_obstack_memory_used): Mark as __attribute_pure__.
22984         [!__obstack_free]: Define as obstack_free.
22985         [__GNUC__]: Remove check for ancient NeXT gcc.
22987 2014-07-02  Will Newton  <will.newton@linaro.org>
22988             Paul Eggert  <eggert@cs.ucla.edu>
22990         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
22992 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
22994         * resolv/gethnamaddr.c: Add comment warning that the file is
22995         not maintained.
22997 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
22999         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
23000         entries.
23002         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
23003         entry for aio_cancel and aio_cancel64.
23004         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
23005         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
23006         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
23007         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
23008         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
23009         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
23010         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
23011         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
23012         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
23013         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
23014         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
23015         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
23016         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
23018 2014-07-01  Roland McGrath  <roland@hack.frob.com>
23020         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
23021         * nptl/pthread_mutex_lock.c: Likewise.
23022         * nptl/pthread_mutex_timedlock.c: Likewise.
23023         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
23025 2014-07-01  Richard henderson  <rth@redhat.com>
23027         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
23028         (__isnan, __isnanl): Remove.
23029         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
23031         * sysdeps/alpha/fpu/libm-test-ulps: Update.
23033 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
23035         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
23037 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
23039         * resolv/nss_dns/dns-host.c (getanswer_r)
23040         [MULTI_PTRS_ARE_ALIASES]: Remove code.
23042 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
23044         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
23045         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
23046         undefine.
23047         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
23048         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
23050 2014-07-01  Roland McGrath <roland@hack.frob.com>
23052         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
23053         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
23055         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
23056         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
23058         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
23059         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
23060         ... here.
23061         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
23062         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
23064         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
23065         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
23066         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
23067         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
23069         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
23070         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
23071         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
23072         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
23073         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
23074         Moved ...
23075         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
23076         ... here.
23077         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
23078         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
23079         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
23080         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
23081         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
23082         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
23083         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
23084         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
23085         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
23086         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
23087         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
23088         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
23089         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
23090         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
23091         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
23092         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
23093         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
23094         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
23095         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
23096         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
23097         ... here.
23098         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
23099         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
23100         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
23101         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
23102         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
23103         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
23104         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
23105         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
23107 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
23109         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
23110         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
23111         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
23112         Add sysdep.
23114 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23116         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23118 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
23120         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
23121         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
23123         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
23125         * sysdeps/arm/libm-test-ulps: Regenerated.
23127 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
23128             Roland McGrath <roland@hack.frob.com>
23130         * test-skeleton.c (signal_handler): Kill the whole process group
23131         before killing the child individually.
23132         (main): Report any failure on `setpgid'.
23134 2014-06-30  Roland McGrath  <roland@hack.frob.com>
23136         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
23137         from _TLS_H to _ARM_NPTL_TLS_H.
23138         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
23139         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
23141 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
23143         [BZ #16539]
23144         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
23145         (__expm1l): Return argument unchanged when small but not
23146         subnormal.
23148         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
23149         include macro name.
23150         (_FP_UNPACK_RAW_1_P): Likewise.
23151         (_FP_PACK_RAW_1): Likewise.
23152         (_FP_PACK_RAW_1_P): Likewise.
23153         (_FP_MUL_MEAT_1_wide): Likewise.
23154         (_FP_MUL_MEAT_DW_1_hard): Likewise.
23155         (_FP_MUL_MEAT_1_hard): Likewise.
23156         (_FP_DIV_MEAT_1_imm): Likewise.
23157         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
23158         (_FP_DIV_MEAT_1_udiv): Likewise.
23159         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
23160         (_FP_UNPACK_RAW_2): Likewise.
23161         (_FP_UNPACK_RAW_2_P): Likewise.
23162         (_FP_PACK_RAW_2): Likewise.
23163         (_FP_PACK_RAW_2_P): Likewise.
23164         (_FP_MUL_MEAT_DW_2_wide): Likewise.
23165         (_FP_MUL_MEAT_2_wide): Likewise.
23166         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
23167         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
23168         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
23169         (_FP_MUL_MEAT_2_gmp): Likewise.
23170         (_FP_DIV_MEAT_2_udiv): Likewise.
23171         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
23172         (_FP_FRAC_SRL_4): Likewise.
23173         (_FP_FRAC_SRST_4): Likewise.
23174         (_FP_FRAC_SRS_4): Likewise.
23175         (_FP_UNPACK_RAW_4): Likewise.
23176         (_FP_UNPACK_RAW_4_P): Likewise.
23177         (_FP_PACK_RAW_4): Likewise.
23178         (_FP_PACK_RAW_4_P): Likewise.
23179         (_FP_MUL_MEAT_DW_4_wide): Likewise.
23180         (_FP_MUL_MEAT_4_wide): Likewise.
23181         (_FP_MUL_MEAT_4_gmp): Likewise.
23182         (umul_ppppmnnn): Likewise.
23183         (_FP_DIV_MEAT_4_udiv): Likewise.
23184         (__FP_FRAC_ADD_4): Likewise.
23185         (__FP_FRAC_SUB_3): Likewise.
23186         (__FP_FRAC_SUB_4): Likewise.
23187         (__FP_FRAC_DEC_3): Likewise.
23188         (__FP_FRAC_DEC_4): Likewise.
23189         (__FP_FRAC_ADDI_4): Likewise.
23190         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
23191         (_FP_FRAC_SRL_8): Likewise.
23192         (_FP_FRAC_SRS_8): Likewise.
23194         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
23195         include macro name.
23196         (FP_UNPACK_RAW_EP): Likewise.
23197         (FP_PACK_RAW_E): Likewise.
23198         (FP_PACK_RAW_EP): Likewise.
23199         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
23200         (_FP_ISSIGNAN): Likewise.
23201         (_FP_ADD_INTERNAL): Likewise.
23202         (_FP_FMA): Likewise.
23203         (_FP_CMP): Likewise.
23204         (_FP_SQRT): Likewise.
23205         (_FP_TO_INT): Likewise.
23206         (_FP_FROM_INT): Likewise.
23207         (FP_EXTEND): Likewise.
23208         (_FP_DIV_MEAT_N_loop): Likewise.
23210 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
23212         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
23213         throughout.
23215 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
23217         [BZ #17097]
23218         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
23219         result with correct sign in case of exponents that produce
23220         overflow except for X very close to 1.
23222 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
23224         mktime: merge #if/#ifdef usage from glibc
23225         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
23226         as that works with both Glibc's and Gnulib's style.
23227         See thread starting at Siddhesh Poyarekar's bug report at:
23228         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
23230 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
23232         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
23233         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
23234         * sysdeps/tile/tilegx/memmove.c: Remove file.
23236 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
23238         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
23239         abi-name definition.
23240         * scripts/soversions.awk: Do not handle or generate ABI lines.
23241         * shlib-versions: Remove ABI entries.
23242         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
23243         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
23245 2014-06-27  Roland McGrath  <roland@hack.frob.com>
23247         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
23248         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
23249         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
23250         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
23251         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
23252         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
23253         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
23254         Moved ...
23255         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
23256         ... here.
23257         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
23258         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
23259         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
23260         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
23261         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
23262         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
23263         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
23264         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
23265         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
23266         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
23267         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
23268         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
23269         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
23270         Moved ...
23271         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
23272         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
23273         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
23274         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
23275         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
23276         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
23277         Moved ...
23278         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
23279         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
23280         Moved ...
23281         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
23282         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
23283         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
23284         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
23285         Moved ...
23286         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
23287         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
23288         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
23289         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
23290         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
23291         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
23292         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
23293         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
23294         Moved ...
23295         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
23296         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
23297         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
23298         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
23299         Moved ...
23300         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
23301         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
23302         Moved ...
23303         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
23304         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
23305         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
23306         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
23307         Moved ...
23308         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
23309         ... here.
23310         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
23311         Identical file removed.
23312         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
23313         Moved ...
23314         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
23315         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
23316         Identical file removed.
23317         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
23318         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
23319         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
23320         Moved ...
23321         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
23322         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
23323         Identical file removed.
23324         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
23325         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
23326         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
23327         Identical file removed.
23328         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
23329         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
23330         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
23331         Identical file removed.
23332         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
23333         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
23334         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
23335         Identical file removed.
23336         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
23337         Moved ...
23338         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
23339         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
23340         Identical file removed.
23341         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
23342         Moved ...
23343         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
23344         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
23345         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
23346         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
23347         Identical file removed.
23348         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
23349         Moved ...
23350         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
23351         ... here.
23352         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
23353         Identical file removed.
23354         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
23355         Moved ...
23356         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
23357         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
23358         Identical file removed.
23359         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
23360         Moved ...
23361         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
23362         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
23363         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
23364         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
23365         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
23366         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
23367         Moved ...
23368         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
23369         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
23370         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
23372         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
23373         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
23374         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
23375         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
23376         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
23378 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
23380         [BZ #17092]
23381         * nscd/nscd.c (monitor_child): Return exit status of child
23382         instead of return value from wait syscall.
23384 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
23386         * configure.ac (libc_commonpagesize): Remove variable.
23387         (libc_relro_required): Likewise.
23388         (libc_cv_z_relro): Remove configure test.
23389         * configure: Regenerated.
23390         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
23391         variable.
23392         (libc_relro_required): Likewise.
23393         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
23394         (libc_relro_required): Likewise.
23395         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
23396         (libc_relro_required): Likewise.
23397         * sysdeps/arm/preconfigure: Regenerated.
23398         * sysdeps/ia64/preconfigure: Remove file.
23399         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
23400         variable.
23401         (libc_relro_required): Likewise.
23403         [BZ #16561]
23404         [BZ #16562]
23405         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
23406         (__ieee754_yn): Set FE_TONEAREST mode internally and then
23407         recompute overflowing results in original rounding mode.
23408         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
23409         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
23410         recompute overflowing results in original rounding mode.
23411         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
23412         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
23413         recompute overflowing results in original rounding mode.
23414         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
23415         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
23416         recompute overflowing results in original rounding mode.
23417         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
23418         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
23419         recompute overflowing results in original rounding mode.
23420         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
23421         (libc_feholdsetround_ctx): New macro.
23422         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
23423         * sysdeps/i386/fpu/libm-test-ulps: Update.
23424         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
23426 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
23428         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
23429         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
23430         corresponding .cpsetup call.
23432 2014-06-26  Roland McGrath  <roland@hack.frob.com>
23434         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
23435         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
23436         * sysdeps/arm/Makefile [$(subdir) = csu]
23437         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
23438         (static-only-routines): Add aeabi_read_tp here.
23439         (shared-only-routines): Add libc-aeabi_read_tp here.
23440         (CFLAGS-libc-start.c): Add -fexceptions here.
23441         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
23442         (sysdep_routines, static-only-routines, shared-only-routines):
23443         Don't add to these here.
23444         (CFLAGS-libc-start.c): Likewise.
23446         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
23447         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
23448         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
23449         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
23450         * sysdeps/arm/Makefile [$(subdir) = rt]
23451         (librt-sysdep_routines, librt-shared-only-routines):
23452         Append rt-aeabi_unwind_cpp_pr1 here.
23453         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
23454         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
23455         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
23456         (libpthread-sysdep_routines, libpthread-shared-only-routines):
23457         Append nptl-aeabi_unwind_cpp_pr1 here.
23458         (tests): Filter out tst-cleanupx4 here.
23459         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
23460         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
23461         Don't do those here.
23463 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
23465         * scripts/list-sources.sh: Do not handle ports specially.
23467 2014-06-26  Roland McGrath  <roland@hack.frob.com>
23469         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
23470         * sysdeps/arm/feupdateenv.c: Likewise.
23472         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
23474 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
23476         * manual/texinfo.tex: Update to version 2014-05-05.10 with
23477         trailing whitespace removed.
23478         * scripts/config.guess: Update to version 2014-03-23.
23479         * scripts/config.sub: Update to version 2014-05-01
23480         * scripts/install-sh: Update to version 2013-12-25.23.
23481         * scripts/move-if-change: Update from gnulib.
23483 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
23485         * debug/memmove_chk.c: Remove pagecopy.h include.
23487 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
23489         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
23490         identical to gnulib mktime.
23492 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
23494         * configure.ac: Do not test for machine being rs6000.  Do not test
23495         for powerpc*-*soft.
23496         * configure: Regenerated.
23498         [BZ #11505]
23499         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
23500         test.
23501         * configure: Regenerated.
23502         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
23503         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
23504         Remove configure test.
23505         * sysdeps/arm/configure: Regenerated.
23506         * sysdeps/nptl/configure.ac: Do not check
23507         libc_cv_asm_cfi_directives.
23508         * sysdeps/nptl/configure: Regenerated.
23509         * sysdeps/x86_64/nptl/configure.ac: Remove file.
23510         * sysdeps/x86_64/nptl/configure: Remove generated file.
23511         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
23512         unconditional.
23513         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
23515 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
23517         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
23518         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
23519         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
23520         it is defined.
23522         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
23523         instead of whether it is defined.
23524         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
23525         * sysdeps/hppa/dl-machine.h: Likewise.
23526         * sysdeps/ia64/dl-machine.h: Likewise.
23527         * sysdeps/m68k/dl-machine.h: Likewise.
23528         * sysdeps/microblaze/dl-machine.h: Likewise.
23529         * sysdeps/mips/dl-machine.: Likewise.
23530         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
23531         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
23532         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
23533         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
23534         * sysdeps/sh/dl-machine.h: Likewise.
23535         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
23536         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
23537         * sysdeps/tile/dl-machine.h: Likewise.
23538         * sysdeps/x86_64/dl-machine.h: Likewise.
23540         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
23541         code.
23542         (verify_persistent_db): Likewise.
23544 2014-06-26  Roland McGrath  <roland@hack.frob.com>
23546         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
23547         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
23548         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
23549         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
23550         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
23551         Moved ...
23552         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
23553         ... here.
23554         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
23555         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
23556         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
23557         Identical file removed.
23558         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
23559         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
23560         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
23561         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
23562         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
23563         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
23564         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
23565         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
23566         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
23567         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
23568         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
23569         Moved ...
23570         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
23571         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
23572         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
23573         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
23574         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
23575         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
23576         Moved ...
23577         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
23578         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
23579         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
23580         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
23581         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
23582         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
23583         Identical file removed.
23584         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
23585         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
23586         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
23587         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
23588         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
23589         Moved ...
23590         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
23591         ... here.
23592         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
23593         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
23594         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
23595         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
23596         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
23597         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
23598         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
23599         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
23600         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
23601         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
23602         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
23603         Moved ...
23604         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
23605         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
23606         Moved ...
23607         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
23608         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
23609         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
23610         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
23611         Moved ...
23612         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
23613         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
23614         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
23616         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
23617         folded into ...
23618         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
23619         * sysdeps/unix/sysv/linux/s390/Versions
23620         (libpthread: GLIBC_2.19): New version set.
23621         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
23622         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
23623         (librt: GLIBC_2.3.3): New version set.
23624         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
23625         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
23626         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
23627         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
23628         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
23629         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
23630         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
23631         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
23632         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
23633         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
23634         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
23635         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
23636         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
23637         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
23638         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
23639         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
23640         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
23641         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
23642         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
23643         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
23644         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
23645         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
23646         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
23647         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
23648         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
23649         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
23650         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
23651         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
23652         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
23653         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
23654         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
23655         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
23656         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
23657         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
23658         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
23659         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
23660         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
23661         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
23662         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
23663         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
23664         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
23665         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
23666         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
23667         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
23668         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
23670         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
23671         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
23672         (__libc_vfork): Define the function under this name.
23673         [!NOT_IN_libc] (__vfork): Make this an alias.
23674         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
23675         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
23676         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
23677         (__libc_vfork): Define the function under this name.
23678         [!NOT_IN_libc] (__vfork): Make this an alias.
23679         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
23680         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
23681         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
23682         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
23683         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
23684         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
23686         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
23687         code that was previously under [RESET_PID].
23688         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
23689         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
23690         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
23692         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
23693         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
23694         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
23695         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
23696         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
23697         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
23698         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
23699         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
23700         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
23701         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
23702         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
23703         Moved ...
23704         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
23705         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
23706         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
23707         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
23708         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
23709         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
23710         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
23711         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
23712         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
23713         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
23714         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
23715         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
23716         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
23717         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
23718         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
23719         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
23720         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
23721         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
23722         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
23723         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
23724         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
23725         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
23726         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
23727         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
23728         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
23729         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
23730         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
23731         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
23732         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
23734 2014-06-25  Roland McGrath  <roland@hack.frob.com>
23736         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
23737         that was previously under [RESET_PID].
23738         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
23740 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
23742         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
23743         not undefine and redefine.
23744         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
23745         [O_CLOEXEC]: Make code unconditional.
23746         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
23747         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
23748         <kernel-features.h>.
23749         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
23750         conditional variable definition.
23751         (shm_open) [O_CLOEXEC]: Make code unconditional.
23752         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
23753         code.
23755         * configure.ac (USE_REGPARMS): Don't define here.
23756         * configure: Regenerated.
23757         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
23758         * sysdeps/i386/configure: Regenerated.
23760         * nptl/createthread.c: Don't include kernel-features.h.
23761         * nptl/pthread_cancel.c: Likewise.
23762         * nptl/pthread_condattr_setclock.c: Likewise.
23763         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
23764         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
23765         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
23766         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
23767         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
23768         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
23769         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
23770         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
23771         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
23772         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
23773         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
23774         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
23775         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
23776         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
23777         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
23778         * nscd/gai.c: Likewise.
23779         * nss/nss_db/db-open.c: Likewise.
23780         * sysdeps/generic/ldsodefs.h: Likewise.
23781         * sysdeps/sh/nptl/tls.h: Likewise.
23782         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
23783         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
23784         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
23785         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
23786         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
23787         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
23788         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
23789         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
23790         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
23791         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
23792         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
23793         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
23794         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
23795         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
23796         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
23797         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
23798         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
23799         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
23800         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
23801         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
23802         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
23803         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
23804         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
23805         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
23806         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
23807         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
23808         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
23809         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
23810         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
23811         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
23812         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
23813         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
23814         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
23815         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
23816         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
23817         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
23818         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
23819         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
23820         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
23821         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
23822         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
23823         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
23824         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
23825         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
23826         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
23827         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
23828         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
23829         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
23830         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
23831         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
23832         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
23833         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
23834         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
23835         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
23836         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
23837         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
23838         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
23839         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
23840         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
23841         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
23842         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
23843         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
23844         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
23845         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
23846         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
23847         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
23848         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
23849         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
23850         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
23851         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
23852         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
23853         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
23854         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
23855         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
23856         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
23857         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
23858         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
23859         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
23860         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
23861         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
23862         * sysdeps/unix/sysv/linux/pread.c: Likewise.
23863         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
23864         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
23865         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
23866         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
23867         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
23868         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
23869         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
23870         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
23871         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
23872         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
23873         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
23874         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
23875         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
23876         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
23877         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
23878         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
23879         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
23880         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
23881         * sysdeps/unix/sysv/linux/system.c: Likewise.
23882         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
23883         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
23884         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
23885         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
23886         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
23887         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
23888         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
23890         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
23891         * configure: Regenerated.
23892         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
23894         * configure.ac (base_machine): Do not set specially for particular
23895         machines here.
23896         * configure: Regenerated.
23897         * sysdeps/powerpc/preconfigure: Move machine and base_machine
23898         settings from configure.ac.
23899         * sysdeps/i386/preconfigure: New file.
23900         * sysdeps/s390/preconfigure: Likewise.
23901         * sysdeps/sh/preconfigure: Likewise.
23902         * sysdeps/sparc/preconfigure: Likewise.
23904 2014-06-25  Roland McGrath  <roland@hack.frob.com>
23906         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
23907         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
23908         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
23909         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
23910         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
23911         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
23912         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
23913         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
23914         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
23915         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
23916         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
23917         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
23918         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
23919         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
23920         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
23921         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
23922         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
23923         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
23924         * sysdeps/sparc/sparc64/Makefile: ... appended here.
23926         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
23927         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
23928         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
23929         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
23930         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
23931         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
23932         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
23933         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
23934         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
23935         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
23936         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
23937         * sysdeps/sparc/sparc32/sem_post.c: ... here.
23938         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
23939         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
23940         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
23941         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
23942         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
23943         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
23944         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
23945         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
23946         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
23947         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
23948         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
23949         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
23950         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
23951         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
23952         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
23953         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
23954         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
23955         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
23956         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
23957         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
23958         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
23959         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
23960         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
23961         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
23962         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
23963         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
23965         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
23966         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
23967         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
23968         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
23969         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
23970         Moved ...
23971         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
23972         ... here.
23973         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
23974         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
23975         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
23976         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
23977         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
23978         Moved ...
23979         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
23980         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
23981         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
23982         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
23983         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
23984         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
23985         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
23986         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
23987         Moved ...
23988         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
23989         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
23990         Moved ...
23991         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
23992         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
23993         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
23994         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
23995         Moved ...
23996         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
23997         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
23998         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
23999         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
24000         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
24001         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
24002         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
24003         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
24004         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
24005         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
24006         Moved ...
24007         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
24008         ... here.
24009         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
24010         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
24011         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
24012         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
24013         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
24014         Moved ...
24015         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
24016         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
24017         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
24018         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
24019         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
24020         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
24021         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
24022         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
24023         Moved ...
24024         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
24025         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
24026         Moved ...
24027         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
24028         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
24029         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
24030         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
24031         Moved ...
24032         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
24033         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
24034         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
24035         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
24036         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
24038 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
24040         * timezone/checktab.awk: Update from tzcode 2014e.
24041         * timezone/private.h: Likewise.
24042         * timezone/tzfile.h: Likewise.
24043         * timezone/zdump.c: Likewise.
24044         * timezone/zic.c: Likewise.
24046         * sysdeps/unix/sysv/linux/kernel-features.h
24047         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
24048         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
24049         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
24050         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
24051         Remove conditional code.
24053 2014-06-25  Will Newton  <will.newton@linaro.org>
24055         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
24056         (_dl_arm_cap_flags): Add HWCAP2 values.
24057         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
24058         (_DL_HWCAP_COUNT): Increase to 37.
24059         (_DL_HWCAP_LAST): New define.
24060         (_DL_HWCAP2_LAST): New define.
24061         (_dl_procinfo): Add support for printing
24062         AT_HWCAP2 entries.
24063         (_dl_string_hwcap): Use _dl_hwcap_string.
24065 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24067         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24069 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
24071         * README: Do not mention ports directory.
24073         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
24074         Remove macro.
24075         * sysdeps/unix/sysv/linux/futimes.c: Do not include
24076         <kernel-features.h>.
24077         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
24078         conditional variable definition.
24079         (__futimes): Update comment.
24080         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
24081         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
24083         [BZ #16560]
24084         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
24085         arguments close to 0.
24086         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
24087         Likewise.
24088         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
24089         Likewise.
24090         * math/auto-libm-test-in: Add more tests of exp10.
24091         * math/auto-libm-test-out: Regenerated.
24092         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24094         * sysdeps/unix/sysv/linux/kernel-features.h
24095         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
24096         * sysdeps/unix/sysv/linux/readv.c: Do not include
24097         <kernel-features.h>.
24098         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
24099         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
24100         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
24101         unconditional.
24102         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
24103         conditional code.
24104         * sysdeps/unix/sysv/linux/writev.c: Do not include
24105         <kernel-features.h>.
24106         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
24107         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
24108         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
24109         unconditional.
24110         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
24111         conditional code.
24113 2014-06-25  Will Newton  <will.newton@linaro.org>
24115         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
24116         comment changes throughout the file.  Remove checks
24117         for HAVE_*_H definitions that are not required.
24118         (__gen_tempname): Call abort if an unknown kind value is
24119         passed.
24121 2014-06-25  Andreas Schwab  <schwab@suse.de>
24123         [BZ #17086]
24124         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
24125         scalbln, scalblnf, scalblnl in libc.
24127 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
24129         [BZ #17086]
24130         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
24131         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
24132         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
24134 2014-06-24  Roland McGrath  <roland@hack.frob.com>
24136         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
24137         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
24138         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
24139         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
24140         Update #include.
24141         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
24142         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
24143         Update #include.
24144         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
24145         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
24146         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
24147         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
24148         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
24149         * sysdeps/x86/bits/pthreadtypes.h: ... here.
24150         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
24151         * sysdeps/x86/bits/semaphore.h: ... here.
24152         * sysdeps/x86/nptl/elide.h: Moved ...
24153         * sysdeps/x86/elide.h: ... here.
24154         * sysdeps/x86_64/nptl/Implies: File removed.
24155         * sysdeps/i386/nptl/Implies: File removed.
24157 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
24159         [BZ #16539]
24160         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
24161         return the argument for normal arguments with exponent below -64.
24162         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
24163         Likewise.
24164         * math/auto-libm-test-in: Add another test of expm1.
24165         * math/auto-libm-test-out: Regenerated.
24167         [BZ #16287]
24168         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
24169         calling __erfcl for arguments at least 16.
24170         * math/auto-libm-test-in: Add more tests of erf.
24171         * math/auto-libm-test-out: Regenerated.
24173         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
24174         individual architectures.
24175         * sysdeps/unix/sysv/linux/configure: Regenerated.
24176         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
24177         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
24178         * sysdeps/unix/sysv/linux/powerpc/configure.ac
24179         (ldd_rewrite_script): Define variable.
24180         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
24181         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
24182         file.
24183         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
24184         generated file.
24185         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
24186         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
24187         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
24188         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
24189         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
24190         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
24191         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
24192         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
24194 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
24196         [BZ #17084]
24197         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
24198         Rename member __data.d to __data.__elision_data.
24200 2014-06-24  Wilco  <wdijkstr@arm.com>
24202         * NEWS: Add 16918 to fixed bug list.
24204 2014-06-24  Wilco  <wdijkstr@arm.com>
24206         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
24208 2014-06-24  Wilco  <wdijkstr@arm.com>
24210         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
24211         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
24212         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
24213         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
24214         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
24215         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
24216         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
24217         Use _FPU_MASK_RM.
24219 2014-06-24  Wilco  <wdijkstr@arm.com>
24221         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
24223 2014-06-24  Wilco  <wdijkstr@arm.com>
24225         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
24226         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
24227         * sysdeps/arm/fesetround.c (fesetround): Remove space.
24228         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
24230 2014-06-24  Wilco  <wdijkstr@arm.com>
24232         [BZ #16918]
24233         * sysdeps/arm/feupdateenv.c (feupdateenv):
24234         Rewrite to reduce FPSCR accesses and fix return value.
24236 2014-06-24  Wilco  <wdijkstr@arm.com>
24238         * sysdeps/arm/fclrexcpt.c (feclearexcept):
24239         Optimize to avoid unnecessary FPSCR writes.
24240         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
24241         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
24242         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
24243         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
24245 2014-06-24  Wilco  <wdijkstr@arm.com>
24247         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
24248         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
24249         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
24250         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
24251         Call libc_fetestexcept_vfp.
24252         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
24253         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
24254         __SOFTFP__ ifdef so that they can be built for softfp.
24256 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
24258         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
24259         argument type signed char.
24261         * Makerules (check-abi): Dump diff of symlist if the test
24262         fails.
24264 2014-06-23  Roland McGrath  <roland@hack.frob.com>
24266         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
24267         using abort.
24269         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
24270         Remove unused variable ST.
24272 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
24274         [BZ #16354]
24275         [BZ #17061]
24276         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
24277         small arguments before calling __expm1.
24278         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
24279         small arguments before calling __expm1f.
24280         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
24281         small arguments before calling __expm1l.
24282         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
24283         Likewise.
24284         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
24285         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
24286         spurious underflow for some cosh tests.
24287         * math/auto-libm-test-out: Regenerated.
24288         * sysdeps/i386/fpu/libm-test-ulps: Update.
24290         [BZ #17050]
24291         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
24292         (__ieee754_y1): Set errno if return value overflows.
24293         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
24294         (__ieee754_y1f): Set errno if return value overflows.
24295         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
24296         (__ieee754_y1l): Set errno if return value overflows.
24297         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
24298         (__ieee754_y1l): Set errno if return value overflows.
24299         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
24300         * math/auto-libm-test-out: Regenerated.
24302         * math/gen-auto-libm-tests.c: Document use of
24303         ignore-zero-inf-sign.
24304         (input_flag_type): Add value flag_ignore_zero_inf_sign.
24305         (input_flags): Add ignore-zero-inf-sign.
24306         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
24307         * math/gen-libm-test.pl (generate_testfile): Handle
24308         ignore-zero-inf-sign.
24309         * math/auto-libm-test-in: Mark some cpow tests with
24310         ignore-zero-inf-sign and some with xfail-rounding.
24311         * math/auto-libm-test-out: Regenerated.
24312         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
24313         * sysdeps/i386/fpu/libm-test-ulps: Update.
24314         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24316         [BZ #16315]
24317         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
24318         overflowing or underflowing operations take place with sign of
24319         result.
24320         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
24321         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
24322         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
24323         (__ieee754_pow): Recompute overflowing and underflowing results in
24324         original rounding mode.
24325         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
24326         (__powl_helper): Allow negative argument X and scale negated value
24327         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
24328         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
24329         overflowing or underflowing operations take place with sign of
24330         result.
24331         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
24332         Include <math.h>.
24333         * math/auto-libm-test-in: Add more tests of pow.
24334         * math/auto-libm-test-out: Regenerated.
24335         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
24336         (pow_tonearest_test_data): Remove.
24337         (pow_test_tonearest): Likewise.
24338         (pow_towardzero_test_data): Likewise.
24339         (pow_test_towardzero): Likewise.
24340         (pow_downward_test_data): Likewise.
24341         (pow_test_downward): Likewise.
24342         (pow_upward_test_data): Likewise.
24343         (pow_test_upward): Likewise.
24344         (main): Don't call removed functions.
24345         * sysdeps/i386/fpu/libm-test-ulps: Update.
24346         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24348 2014-06-23  Roland McGrath  <roland@hack.frob.com>
24350         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
24351         Moved ...
24352         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
24353         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
24354         Moved ...
24355         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
24356         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
24357         Moved ...
24358         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
24359         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
24360         Moved ...
24361         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
24362         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
24363         File removed.
24364         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
24365         File removed.
24366         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
24367         File removed.
24368         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
24369         File removed.
24370         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
24371         File removed.
24372         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
24373         File removed.
24374         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
24375         File removed.
24376         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
24377         File removed.
24378         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
24379         File removed.
24380         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
24381         File removed.
24382         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
24383         File removed.
24384         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
24385         File removed.
24386         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
24387         Moved ...
24388         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
24389         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
24390         Moved ...
24391         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
24392         ... here.
24393         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
24394         Moved ...
24395         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
24396         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
24397         Moved ...
24398         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
24399         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
24400         Moved ...
24401         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
24402         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
24403         Moved ...
24404         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
24405         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
24406         Moved ...
24407         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
24408         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
24409         Moved ...
24410         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
24411         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
24412         Moved ...
24413         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
24414         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
24415         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
24416         ... here.
24417         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
24418         Moved ...
24419         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
24420         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
24421         Moved ...
24422         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
24423         ... here.
24424         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
24425         Moved ...
24426         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
24427         ... here.
24428         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
24429         Moved ...
24430         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
24431         ... here.
24432         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
24433         Moved ...
24434         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
24435         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
24436         Moved ...
24437         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
24438         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
24439         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
24440         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
24441         Moved ...
24442         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
24443         ... here.
24444         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
24445         Moved ...
24446         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
24447         ... here.
24448         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
24449         Moved ...
24450         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
24451         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
24452         Moved ...
24453         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
24454         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
24455         Moved ...
24456         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
24457         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
24458         Moved ...
24459         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
24460         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
24461         Moved ...
24462         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
24463         ... here.
24464         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
24465         Moved ...
24466         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
24467         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
24468         Moved ...
24469         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
24470         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
24471         Moved ...
24472         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
24473         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
24474         Moved ...
24475         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
24476         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
24477         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
24478         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
24479         Moved ...
24480         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
24481         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
24482         Moved ...
24483         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
24484         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
24485         Moved ...
24486         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
24487         ... here.
24488         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
24489         Moved ...
24490         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
24491         ... here.
24492         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
24493         Moved ...
24494         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
24495         ... here.
24496         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
24497         Moved ...
24498         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
24499         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
24500         Moved ...
24501         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
24502         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
24503         Moved ...
24504         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
24505         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
24506         Moved ...
24507         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
24508         ... here.
24509         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
24510         Moved ...
24511         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
24512         ... here.
24513         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
24514         Moved ...
24515         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
24516         ... here.
24517         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
24518         Moved ...
24519         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
24520         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
24521         Moved ...
24522         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
24524 2014-06-23  Will Newton  <will.newton@linaro.org>
24525             Wilco  <wdijkstr@arm.com>
24527         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
24528         implementation.  Include get-rounding-mode.h.
24529         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
24530         [!libc_feholdsetround_noex_ctx]: Define
24531         libc_feholdsetround_noex_ctx.
24532         [!libc_feholdsetround_noexf_ctx]: Define
24533         libc_feholdsetround_noexf_ctx.
24534         [!libc_feholdsetround_noexl_ctx]: Define
24535         libc_feholdsetround_noexl_ctx.
24536         (libc_feholdsetround_ctx): New function.
24537         (libc_feresetround_ctx): New function.
24538         (libc_feholdsetround_noex_ctx): New function.
24539         (libc_feresetround_noex_ctx): New function.
24541 2014-06-23  Roland McGrath  <roland@hack.frob.com>
24543         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
24544         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
24545         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
24546         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
24547         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
24548         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
24550         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
24551         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
24552         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
24553         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
24554         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
24555         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
24556         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
24557         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
24558         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
24559         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
24560         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
24561         Moved ...
24562         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
24563         ... here.
24564         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
24565         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
24566         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
24567         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
24568         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
24569         Moved ...
24570         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
24571         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
24572         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
24573         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
24574         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
24575         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
24576         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
24577         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
24578         Moved ...
24579         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
24580         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
24581         Moved ...
24582         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
24583         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
24584         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
24585         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
24586         Moved ...
24587         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
24588         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
24589         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
24590         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
24591         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
24592         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
24593         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
24594         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
24595         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
24596         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
24597         Moved ...
24598         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
24599         ... here.
24600         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
24601         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
24602         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
24603         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
24604         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
24605         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
24606         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
24607         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
24608         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
24609         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
24610         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
24611         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
24612         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
24613         Moved ...
24614         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
24615         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
24616         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
24617         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
24618         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
24619         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
24620         Moved ...
24621         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
24622         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
24623         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
24624         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
24625         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
24627         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
24628         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
24629         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
24630         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
24631         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
24632         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
24633         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
24634         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
24635         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
24636         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
24637         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
24638         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
24639         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
24640         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
24641         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
24642         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
24643         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
24644         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
24645         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
24646         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
24647         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
24648         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
24649         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
24650         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
24651         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
24652         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
24653         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
24654         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
24656 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
24658         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
24659         (FALLOC_FL_COLLAPSE_RANGE): New macro.
24660         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
24661         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
24662         (IPV6_PMTUDISC_INTERFACE): Likewise.
24663         (IPV6_PMTUDISC_OMIT): Likewise.
24665 2014-06-23  Andreas Schwab  <schwab@suse.de>
24667         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
24668         Remove unused errout label.
24670 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24672         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
24673         macro: hardware supports Vector Crypto instructions.
24675 2014-06-23  Will Newton  <will.newton@linaro.org>
24677         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
24678         rather than __builtin_expect.
24680         * elf/dl-lookup.c (undefined_msg): Remove variable.
24681         (_dl_lookup_symbol_x): Replace undefined_msg with string
24682         literal.
24684         * elf/dl-lookup.c (do_lookup_unique): New function.
24685         (do_lookup_x): Move STB_GNU_UNIQUE handling code
24686         to a separate function.
24688 2014-06-23  Andreas Schwab  <schwab@suse.de>
24690         [BZ #17079]
24691         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
24692         before reading the next line.
24694 2014-06-23  Will Newton  <will.newton@linaro.org>
24696         * test-skeleton.c (signal_handler): Use printf and %m
24697         rather than perror.  Use printf rather than fprintf to
24698         stderr.  Use puts rather than fputs to stderr.
24699         (main): Likewise.
24701 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
24703         * nscd/nscd.c (thread_info_t): Remove typedef.
24704         (thread_info): Remove variable.
24706 2014-06-21  Allan McRae  <allan@archlinux.org>
24708         * NEWS: Mention CVE-2014-4043.
24710 2014-06-20  Roland McGrath  <roland@hack.frob.com>
24712         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
24713         * nptl/smp.h: ... here.
24715         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
24717         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
24718         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
24719         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
24720         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
24722         * nptl/allocatestack.c: Include <stack-aliasing.h>.
24723         * nptl/stack-aliasing.h: New file.
24724         * sysdeps/i386/i686/stack-aliasing.h: New file.
24725         * sysdeps/i386/i686/nptl/Makefile: File removed.
24726         * sysdeps/x86_64/stack-aliasing.h: New file.
24727         * sysdeps/x86_64/nptl/Makefile
24728         (CFLAGS-pthread_create.c): Variable removed.
24730         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
24731         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
24732         old file.
24733         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
24734         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
24735         old file.
24737 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
24739         * sysdeps/unix/sysv/linux/arm/kernel-features.h
24740         (__ASSUME_SIGFRAME_V2): Remove macro.
24741         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
24742         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
24743         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
24744         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
24745         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
24746         Declare as function.  Remove conditional macro definitions.
24747         (__default_rt_sa_restorer): Likewise.
24748         (__default_sa_restorer_v1): Remove declaration.
24749         (__default_sa_restorer_v2): Likewise.
24750         (__default_rt_sa_restorer_v1): Likewise.
24751         (__default_rt_sa_restorer_v2): Likewise.
24752         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
24753         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
24754         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
24756 2014-06-20  Roland McGrath  <roland@hack.frob.com>
24758         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
24759         (libpthread-routines): Add sysdep.
24760         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
24761         * sysdeps/unix/sysv/linux/sparc/Versions
24762         (libpthread: GLIBC_2.3.3): New version set.
24763         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
24764         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
24765         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
24766         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
24767         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
24768         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
24769         Moved ...
24770         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
24771         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
24772         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
24773         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
24774         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
24775         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
24776         * sysdeps/sparc/nptl/sem_init.c: ... here.
24777         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
24778         * sysdeps/sparc/nptl/sem_post.c: ... here.
24779         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
24780         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
24781         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
24782         * sysdeps/sparc/nptl/sem_wait.c: ... here.
24783         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
24784         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
24785         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
24786         (libpthread-routines): Add cpu_relax.
24787         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
24788         File removed.
24789         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
24790         (librt: GLIBC_2.3.3): New version set.
24791         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
24792         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
24793         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
24794         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
24795         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
24796         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
24797         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
24798         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
24799         Moved ...
24800         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
24801         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
24802         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
24803         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
24804         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
24805         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
24806         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
24807         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
24808         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
24809         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
24810         Moved ...
24811         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
24812         Update #include.
24813         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
24814         Moved ...
24815         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
24816         Update #include.
24817         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
24818         Moved ...
24819         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
24820         Update #include.
24821         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
24822         Moved ...
24823         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
24824         Update #include.
24825         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
24826         Moved ...
24827         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
24828         Update #include.
24829         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
24830         Moved ...
24831         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
24832         Update #include.
24833         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
24834         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
24835         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
24836         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
24837         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
24838         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
24839         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
24840         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
24841         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
24842         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
24843         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
24844         Moved ...
24845         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
24846         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
24847         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
24848         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
24849         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
24851 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
24853         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
24854         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
24855         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
24856         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
24857         * nscd/nscd.c: Likewise.
24858         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
24859         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
24860         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
24861         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
24863         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
24864         <kernel-features.h>.
24865         (init_mq_netlink): Remove conditional have_sock_cloexec
24866         definitions.  Remove code conditional on have_sock_cloexec < 0.
24867         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
24868         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
24869         * sysdeps/unix/sysv/linux/opensock.c: Do not include
24870         <kernel-features.h>.
24871         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
24872         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
24874 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
24876         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
24877         Add tests for memset_chk and memset.
24879         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
24880         with AVX2_Usable.
24882 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
24884         [BZ #16046]
24885         * elf/tst-dl-iter-static.c: New file.
24886         * elf/Makefile (tests-static): Add tst-dl-iter-static.
24888         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
24889         error.
24891 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
24893         * sysdeps/unix/sysv/linux/kernel-features.h
24894         (__ASSUME_F_GETOWN_EX): Remove macro.
24895         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
24896         <kernel-features.h>.
24897         (miss_F_GETOWN_EX): Remove variable or macro.
24898         (do_fcntl): Do not check miss_F_GETOWN_EX.
24899         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
24901         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
24902         Remove macro.
24903         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
24904         [!__ASSUME_AT_RANDOM]: Remove conditional code.
24905         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
24907         * sysdeps/unix/sysv/linux/kernel-features.h
24908         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
24909         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
24910         [ADJ_OFFSET_SS_READ]: Make code unconditional.
24911         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
24913 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
24915         [BZ #17075]
24916         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
24917         Fix calculation of the symbol's value.
24918         * sysdeps/arm/tst-armtlsdescloc.c: New file.
24919         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
24920         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
24921         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
24922         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
24923         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
24924         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
24925         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
24926         (modules-names): Add `tst-armtlsdescmod',
24927         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
24928         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
24929         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
24930         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
24931         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
24932         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
24933         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
24934         ($(objpfx)tst-armtlsdescloc): New dependency.
24935         ($(objpfx)tst-armtlsdescextnow): Likewise.
24936         ($(objpfx)tst-armtlsdescextlazy): Likewise.
24937         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
24938         TLS scheme support.
24939         * sysdeps/arm/configure: Regenerate.
24941 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
24943         * include/fcntl.h (__atfct_seterrno): Remove prototype.
24944         (__atfct_seterrno_2): Likewise.
24945         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
24946         <kernel-features.h>.
24947         (__ASSUME_ATFCTS): Do not undefine and redefine.
24948         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
24949         (__have_atfcts): Remove conditional definition.
24950         (__fxstatat([__NR_fstatat64]: Make code unconditional.
24951         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
24952         unreachable if [__ASSUME_ATFCTS].
24953         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
24954         not undefine and redefine.
24955         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
24956         <kernel-features.h>.
24957         (faccessat) [__NR_faccessat]: Make code unconditional.
24958         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
24959         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
24960         <kernel-features.h>.
24961         (fchmodat) [__NR_fchmodat]: Make code unconditional.
24962         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
24963         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
24964         <kernel-features.h>.
24965         (fchownat) [__NR_fchownat]: Make code unconditional.
24966         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
24967         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
24968         <kernel-features.h>.
24969         (futimesat) [__NR_futimesat]: Make code unconditional.
24970         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
24971         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
24972         <kernel-features.h>.
24973         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
24974         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
24975         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
24976         <kernel-features.h>.
24977         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
24978         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
24979         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
24980         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
24981         <kernel-features.h>.
24982         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
24983         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
24984         * sysdeps/unix/sysv/linux/linkat.c: Do not include
24985         <kernel-features.h>.
24986         (linkat) [__NR_linkat]: Make code unconditional.
24987         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
24988         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
24989         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
24990         <kernel-features.h>.
24991         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
24992         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
24993         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
24994         <kernel-features.h>.
24995         (mkdirat) [__NR_mkdirat]: Make code unconditional.
24996         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
24997         * sysdeps/unix/sysv/linux/openat.c: Do not include
24998         <kernel-features.h>.
24999         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
25000         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
25001         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
25002         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
25003         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
25004         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
25005         <kernel-features.h>.
25006         (readlinkat) [__NR_readlinkat]: Make code unconditional.
25007         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
25008         result of INLINE_SYSCALL directly, not via int variable.
25009         * sysdeps/unix/sysv/linux/renameat.c: Do not include
25010         <kernel-features.h>.
25011         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
25012         (renameat) [__NR_renameat]: Make code unconditional.
25013         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
25014         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
25015         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
25016         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
25017         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
25018         (__ASSUME_ATFCTS): Do not undefine and redefine.
25019         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
25020         <kernel-features.h>.
25021         (symlinkat) [__NR_symlinkat]: Make code unconditional.
25022         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
25023         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
25024         <kernel-features.h>.
25025         (unlinkat) [__NR_unlinkat]: Make code unconditional.
25026         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
25027         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
25028         (__ASSUME_ATFCTS): Do not undefine and redefine.
25029         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
25030         <kernel-features.h>.
25031         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
25032         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
25033         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
25034         <kernel-features.h>.
25035         (__xmknodat) [__NR_mknodat]: Make code unconditional.
25036         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
25038 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
25040         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
25042 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
25044         [BZ #17069]
25045         * posix/regcomp.c (parse_reg_exp): Deallocate partially
25046         constructed tree before returning error.
25047         * posix/bug-regexp36.c: Expand test case.
25049 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
25051         [BZ #6803]
25052         * math/libm-test.inc (scalbln_test_date):
25053         Add errno expectations.
25054         * math/w_scalblnf.c: New File.
25055         Add wrapper which checks for setting errno to ERANGE.
25056         Add weak_alias for corresponding scalbln function.
25057         * math/w_scalbln.c: Likewise.
25058         * math/w_scalblnl.c: Likewise.
25059         * math/Makefile (libm-calls): Add w_scalbln.
25060         * sysdeps/ieee754/flt-32/s_scalblnf.c:
25061         Remove weak_alias for corresponding scalbln function.
25062         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
25063         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
25064         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
25065         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
25066         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
25067         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
25068         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
25069         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
25070         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
25071         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
25072         Remove long_double_symbol for scalblnl function in libm, libc.
25073         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
25074         Add wrapper which checks for setting errno to ERANGE.
25075         Add long_double_symbol for scalblnl function in libm, libc.
25076         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
25077         Remove long_double_symbol for scalblnl in libm.
25078         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
25079         Add wrapper which checks for setting errno to ERANGE.
25080         Add long_double_symbol for scalblnl function in libm.
25081         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
25082         Do not use wrapper because of own implementation.
25084 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
25086         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
25087         3 bytes for __pad1 for x32.
25088         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
25090 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
25091             H.J. Lu  <hongjiu.lu@intel.com>
25093         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
25094         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
25095         * sysdeps/x86_64/multiarch/memset.S: Likewise.
25096         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
25097         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
25099 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
25101         [BZ #17069]
25102         * posix/regcomp.c (parse_expression): Deallocate partially
25103         constructed tree before returning error.
25104         * posix/Makefile.c (tests): Add bug-regex36.
25105         (generated): Add bug-regex36.mtrace.
25106         (tests-special): Add $(objpfx)bug-regex36-mem.out
25107         (bug-regex36-ENV): New variable.
25108         ($(objpfx)bug-regex36-mem.out): New rule.
25109         * posix/bug-regex36.c: New file.
25111 2014-06-19  Will Newton  <will.newton@linaro.org>
25113         * malloc/malloc.c (systrim): If extra is zero then return
25114         early.
25116 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
25118         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
25120 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
25122         * sysdeps/aarch64/strchr.S: New file.
25124 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
25126         [BZ #17022]
25127         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
25128         from arguments -2 or below.
25129         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
25130         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
25132 2014-06-18  Andreas Schwab  <schwab@suse.de>
25134         [BZ #17062]
25135         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
25136         of a bracket expr not to run off the end of the string.
25137         * posix/Makefile (tests): Add tst-fnmatch3.
25138         * posix/tst-fnmatch3.c: New file.
25140 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
25142         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
25143         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
25144         [$(cross-compiling) = no]: Likewise.
25145         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
25146         [$(cross-compiling) = no]: Likewise.
25148 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
25150         [BZ #17031]
25151         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
25152         double, adjusted for any remainder from the high double.
25153         * math/libm-test.inc (nearbyint): Add tests.
25154         (rint): Likewise.
25156 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25158         * nptl/sysdeps/powerpc/Makefile: Moved ...
25159         * sysdeps/powerpc/nptl/Makefile: ... here.
25160         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
25161         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
25162         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
25163         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
25164         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
25165         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
25166         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
25167         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
25168         * nptl/sysdeps/powerpc/tls.h: Moved ...
25169         * sysdeps/powerpc/nptl/tls.h: ... here.
25171 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
25173         [BZ #16681]
25174         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
25175         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
25176         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
25177         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
25178         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
25179         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
25180         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
25181         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
25182         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
25184 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
25186         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
25188 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
25190         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
25191         defined operator.
25193         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
25194         $TIMEOUTFACTOR.
25196 2014-06-16  Florian Weimer  <fweimer@redhat.com>
25198         [BZ #17058]
25199         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
25200         non-executed part of the test.
25202 2014-06-16  Andreas Schwab  <schwab@suse.de>
25204         * string/bits/string2.h (strdup, strndup): Update feature guard.
25206 2014-06-14  David S. Miller  <davem@davemloft.net>
25208         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25210 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
25212         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
25213         that was previously under [RESET_PID].
25214         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
25216         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
25217         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
25218         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
25219         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
25220         (__libc_vfork): New strong alias.
25221         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
25223 2014-06-14 Andi Kleen  <ak@linux.intel.com>
25225         * sysdeps/generic/elide.h: New file.
25227 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
25229         * Makefile (installed-headers): Adjust path of pthread.h header.
25231 2014-06-13  Roland McGrath  <roland@hack.frob.com>
25233         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
25234         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
25235         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
25236         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
25238         * nptl/sysdeps/s390/Makefile: Moved ...
25239         * sysdeps/s390/nptl/Makefile: ... here.
25240         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
25241         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
25242         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
25243         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
25244         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
25245         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
25246         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
25247         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
25248         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
25249         * sysdeps/s390/nptl/pthreaddef.h: ... here.
25250         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
25251         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
25252         * nptl/sysdeps/s390/tls.h: Moved ...
25253         * sysdeps/s390/nptl/tls.h: ... here.
25255         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
25256         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
25258 2014-06-13  David S. Miller  <davem@davemloft.net>
25260         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
25261         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
25262         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
25263         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
25264         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
25265         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
25266         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
25267         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
25268         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
25269         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
25270         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
25271         Remove RESET_PID cpp guards.
25272         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
25273         Remove RESET_PID cpp guards.
25274         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
25276 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
25278         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
25279         __sp to uintptr_t.
25281 2014-06-13  Andi Kleen  <ak@linux.intel.com>
25283         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
25284         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
25285         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
25286         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
25287         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
25288         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
25289         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
25290         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
25291         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
25292         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
25293         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
25294         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
25295         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
25296         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
25297         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
25298         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
25299         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
25300         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
25301         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
25302         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
25304         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
25305         (pthread_rwlock_rdlock): Add elision.
25306         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
25307         (pthread_rwlock_wrlock): Add elision.
25308         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
25309         (pthread_rwlock_trywrlock): Add elision.
25310         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
25311         (pthread_rwlock_tryrdlock): Add elision.
25312         * nptl/pthread_rwlock_unlock.c: Include elide.h.
25313         (pthread_rwlock_tryrdlock): Add elision unlock.
25314         * nptl/sysdeps/pthread/pthread.h:
25315         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
25316         (PTHREAD_RWLOCK_INITIALIZER,
25317         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
25318         Handle new elision field.
25319         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
25320         * sysdeps/arm/nptl/bits/pthreadtypes.h
25321         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
25322         * sysdeps/sh/nptl/bits/pthreadtypes.h
25323         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
25324         * sysdeps/tile/nptl/bits/pthreadtypes.h
25325         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
25326         * sysdeps/a/nptl/bits/pthreadtypes.h
25327         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
25328         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
25329         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
25330         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
25331         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
25332         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
25333         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
25334         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
25335         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
25336         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
25337         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
25338         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
25339         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
25340         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
25341         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
25342         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
25343         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
25344         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
25345         (elision_init): Set try_xbegin to zero when no RTM.
25346         * sysdeps/x86/nptl/bits/pthreadtypes.h
25347         (pthread_rwlock_t): Change __pad1 to __rwelision.
25348         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
25350 2014-06-13  Andi Kleen  <ak@linux.intel.com>
25352         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
25353         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
25354         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
25355         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
25357 2014-06-13  Meador Inge  <meadori@codesourcery.com>
25359         [BZ #16996]
25360         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
25361         that the cached result has been set before returning it.
25363 2014-06-12  Roland McGrath  <roland@hack.frob.com>
25365         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
25366         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
25367         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
25368         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
25369         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
25370         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
25372         * nptl/sysdeps/sparc/Makefile: Moved ...
25373         * sysdeps/sparc/nptl/Makefile: ... here.
25374         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
25375         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
25376         * nptl/sysdeps/sparc/tls.h: Moved ...
25377         * sysdeps/sparc/nptl/tls.h: ... here.
25378         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
25379         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
25380         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
25381         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
25382         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
25383         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
25384         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
25385         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
25386         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
25387         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
25388         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
25389         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
25390         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
25391         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
25392         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
25393         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
25394         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
25395         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
25396         Update #include.
25397         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
25398         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
25399         Update #include.
25400         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
25401         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
25402         Update #include.
25403         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
25404         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
25405         Update #include.
25407         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
25409         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
25410         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
25412         * sysdeps/pthread/posix-timer.h: Include <list.h>.
25413         (struct list_links): Type removed.
25414         (struct thread_node, struct timer_node): Replace struct list_links
25415         with struct list_head.
25416         (list_unlink_ip): Likewise.
25417         * sysdeps/pthread/timer_routines.c
25418         (timer_free_list, thread_free_list, thread_active_list): Likewise.
25419         (list_append, list_insbefore): Likewise.
25420         (list_init): Function removed.
25421         (thread_init, init_module): Use INIT_LIST_HEAD instead.
25422         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
25423         * sysdeps/pthread/Makefile: ... here, new file.
25425         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
25426         * sysdeps/nptl/Implies: ... here.
25427         * sysdeps/unix/sysv/linux/Implies: Add nptl.
25428         * nptl/sysdeps/pthread/list.h: Moved ...
25429         * include/list.h: ... here.
25430         * nptl/sysdeps/pthread/createthread.c: Moved ...
25431         * nptl/createthread.c: ... here.
25432         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
25433         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
25434         * nptl/pt-longjmp.c: ... here.
25435         * nptl/sysdeps/pthread/Makefile: Moved ...
25436         * sysdeps/nptl/Makefile: ... here.
25437         * nptl/sysdeps/pthread/Subdirs: Moved ...
25438         * sysdeps/nptl/Subdirs: ... here.
25439         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
25440         * sysdeps/nptl/aio_misc.h: ... here.
25441         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
25442         * sysdeps/nptl/bits/libc-lock.h: ... here.
25443         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
25444         * sysdeps/nptl/bits/libc-lockP.h: ... here.
25445         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
25446         * sysdeps/nptl/bits/stdio-lock.h: ... here.
25447         * nptl/sysdeps/pthread/configure: Moved ...
25448         * sysdeps/nptl/configure: ... here.
25449         * nptl/sysdeps/pthread/configure.ac: Moved ...
25450         * sysdeps/nptl/configure.ac: ... here.
25451         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
25452         * sysdeps/nptl/gai_misc.h: ... here.
25453         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
25454         * sysdeps/nptl/librt-cancellation.c: ... here.
25455         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
25456         * sysdeps/nptl/malloc-machine.h: ... here.
25457         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
25458         * sysdeps/nptl/pthread-functions.h: ... here.
25459         * nptl/sysdeps/pthread/pthread.h: Moved ...
25460         * sysdeps/nptl/pthread.h: ... here.
25461         * nptl/sysdeps/pthread/setxid.h: Moved ...
25462         * sysdeps/nptl/setxid.h: ... here.
25463         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
25464         * sysdeps/nptl/sigfillset.c: ... here.
25465         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
25466         * sysdeps/nptl/tcb-offsets.h: ... here.
25467         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
25468         * sysdeps/nptl/tst-mqueue8x.c: ... here.
25469         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
25470         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
25471         * nptl/sysdeps/pthread/allocalim.h: Moved ...
25472         * sysdeps/pthread/allocalim.h: ... here.
25473         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
25474         * sysdeps/pthread/bits/sigthread.h: ... here.
25475         * nptl/sysdeps/pthread/flockfile.c: Moved ...
25476         * sysdeps/pthread/flockfile.c: ... here.
25477         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
25478         * sysdeps/pthread/ftrylockfile.c: ... here.
25479         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
25480         * sysdeps/pthread/funlockfile.c: ... here.
25481         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
25482         * sysdeps/pthread/posix-timer.h: ... here.
25483         * nptl/sysdeps/pthread/timer_create.c: Moved ...
25484         * sysdeps/pthread/timer_create.c: ... here.
25485         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
25486         * sysdeps/pthread/timer_delete.c: ... here.
25487         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
25488         * sysdeps/pthread/timer_getoverr.c: ... here.
25489         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
25490         * sysdeps/pthread/timer_gettime.c: ... here.
25491         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
25492         * sysdeps/pthread/timer_routines.c: ... here.
25493         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
25494         * sysdeps/pthread/timer_settime.c: ... here.
25495         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
25496         * sysdeps/pthread/tst-timer.c: ... here.
25497         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
25498         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
25500         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
25501         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
25503         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
25504         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
25505         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
25506         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
25507         Update #include target.
25508         * nptl/sysdeps/i386/i686/Makefile: Moved ...
25509         * sysdeps/i386/i686/nptl/Makefile: ... here.
25510         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
25511         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
25512         Update #include target.
25513         * nptl/sysdeps/i386/i686/tls.h: Moved ...
25514         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
25515         * nptl/sysdeps/i386/Makefile: Moved ...
25516         * sysdeps/i386/nptl/Makefile: ... here.
25517         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
25518         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
25519         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
25520         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
25521         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
25522         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
25523         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
25524         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
25525         * sysdeps/i386/nptl/pthreaddef.h: ... here.
25526         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
25527         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
25528         * nptl/sysdeps/i386/tls.h: Moved ...
25529         * sysdeps/i386/nptl/tls.h: ... here.
25531         * sysdeps/sh/Makefile [$(subdir) = csu]
25532         (gen-as-const-headers): Add tcb-offsets.sym.
25533         * nptl/sysdeps/sh/Makefile: File removed.
25534         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
25535         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
25536         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
25537         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
25538         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
25539         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
25540         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
25541         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
25542         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
25543         * sysdeps/sh/nptl/pthreaddef.h: ... here.
25544         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
25545         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
25546         * nptl/sysdeps/sh/tls.h: Moved ...
25547         * sysdeps/sh/nptl/tls.h: ... here.
25548         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
25549         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
25550         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
25551         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
25552         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
25553         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
25554         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
25555         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
25556         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
25557         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
25558         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
25559         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
25560         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
25561         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
25562         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
25563         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
25564         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
25565         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
25566         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
25567         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
25568         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
25569         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
25570         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
25571         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
25572         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
25573         Moved ...
25574         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
25575         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
25576         Moved ...
25577         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
25578         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
25579         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
25580         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
25581         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
25582         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
25583         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
25584         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
25585         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
25586         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
25587         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
25588         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
25589         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
25590         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
25591         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
25592         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
25593         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
25594         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
25595         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
25597 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
25599         * posix/spawn_faction_addopen.c: Include string.h.
25601 2014-06-11  Roland McGrath  <roland@hack.frob.com>
25603         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
25604         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
25605         * nptl/sysdeps/x86_64/Makefile: Moved ...
25606         * sysdeps/x86_64/nptl/Makefile: ... here.
25607         * nptl/sysdeps/x86_64/configure: Moved ...
25608         * sysdeps/x86_64/nptl/configure: ... here.
25609         * nptl/sysdeps/x86_64/configure.ac: Moved ...
25610         * sysdeps/x86_64/nptl/configure.ac: ... here.
25611         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
25612         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
25613         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
25614         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
25615         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
25616         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
25617         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
25618         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
25619         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
25620         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
25621         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
25622         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
25623         * nptl/sysdeps/x86_64/tls.h: Moved ...
25624         * sysdeps/x86_64/nptl/tls.h: ... here.
25625         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
25626         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
25627         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
25628         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
25630         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
25632 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25634         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25636 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
25638         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
25639         type.
25640         [POSIX] (off_t): Likewise.
25641         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
25642         [POSIX] (S_ISBLK): Require macro.
25643         [POSIX] (S_ISCHR): Likewise.
25644         [POSIX] (S_ISDIR): Likewise.
25645         [POSIX] (S_ISFIFO): Likewise.
25646         [POSIX] (S_ISREG): Likewise.
25647         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
25648         optional-macro.
25649         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
25650         type.
25651         [POSIX] (time_t): Likewise.
25652         [POSIX] (timer_t): Likewise.
25654 2014-06-11  Florian Weimer  <fweimer@redhat.com>
25656         [BZ #17048]
25657         * posix/spawn_int.h (struct __spawn_action): Make the path string
25658         non-const to support deallocation.
25659         * posix/spawn_faction_addopen.c
25660         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
25661         * posix/spawn_faction_destroy.c
25662         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
25663         path in all spawn_do_open actions.
25664         * posix/tst-spawn.c (do_test): Exercise the copy operation in
25665         posix_spawn_file_actions_addopen.
25667 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
25669         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
25670         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
25671         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
25672         conditional code always true.
25673         (__libc_vfork): New alias.
25675 2014-06-11  Roland McGrath  <roland@hack.frob.com>
25677         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
25678         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
25680         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
25682         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
25683         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
25685         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
25686         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
25688         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
25689         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
25691 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
25693         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
25694         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
25695         multiarch strcmp for PPC64.
25696         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
25697         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
25698         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
25699         multiarch optimizations.
25700         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
25701         (__libc_ifunc_impl_list): Likewise.
25703 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
25705         * benchtests/scripts/validate_benchout.py: New script.
25706         * benchtests/Makefile (bench-func): Call it.
25707         * benchtests/scripts/benchout.schema.json: New file.
25709 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
25711         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
25712         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
25713         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
25714         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
25715         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
25716         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
25717         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
25718         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
25719         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
25720         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
25721         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
25722         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
25723         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
25724         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
25725         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
25726         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
25727         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
25728         Moved ...
25729         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
25730         ... here.
25731         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
25732         Moved ...
25733         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
25734         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
25735         Moved ...
25736         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
25737         ... here.
25738         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
25739         Moved ...
25740         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
25741         ... here.
25742         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
25743         Moved ...
25744         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
25745         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
25746         Moved ...
25747         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
25748         ... here.
25749         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
25750         Moved ...
25751         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
25752         ... here.
25753         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
25754         Moved ...
25755         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
25756         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
25757         Moved ...
25758         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
25759         ... here.
25760         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
25761         Moved ...
25762         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
25763         ... here.
25764         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
25765         Moved ...
25766         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
25767         ... here.
25768         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
25769         Moved ...
25770         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
25771         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
25772         Moved ...
25773         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
25774         ... here.
25775         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
25776         Moved ...
25777         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
25778         ... here.
25779         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
25780         Moved ...
25781         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
25782         ... here.
25783         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
25784         Moved ...
25785         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
25786         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
25787         Moved ...
25788         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
25789         ... here.
25790         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
25791         Moved ...
25792         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
25793         ... here.
25794         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
25795         Moved ...
25796         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
25797         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
25798         Moved ...
25799         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
25800         ... here.
25801         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
25802         Moved ...
25803         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
25804         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
25805         Moved ...
25806         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
25807         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
25808         Moved ...
25809         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
25810         ... here.
25811         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
25812         Moved ...
25813         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
25814         ... here.
25815         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
25816         Moved ...
25817         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
25818         ... here.
25819         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
25820         Moved ...
25821         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
25822         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
25823         Moved ...
25824         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
25825         ... here.
25826         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
25827         Moved ...
25828         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
25829         ... here.
25830         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
25831         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
25832         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
25833         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
25834         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
25835         Moved ...
25836         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
25837         ... here.
25838         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
25839         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
25840         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
25841         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
25842         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
25843         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
25844         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
25845         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
25846         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
25847         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
25848         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
25849         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
25850         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
25851         Moved ...
25852         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
25853         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
25854         Moved ...
25855         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
25856         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
25857         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
25858         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
25859         Moved ...
25860         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
25861         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
25862         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
25863         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
25864         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
25865         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
25866         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
25868 2014-06-10  Wilco  <wdijkstr@arm.com>
25870         * math/test-fenv-return.c: New file.
25871         * math/Makefile: Add new test test-fenv-return.
25873 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
25875         [BZ #17042]
25876         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
25877         when x - 1 is zero.
25878         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
25879         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
25880         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
25881         0.0L for an argument of 1.0L.
25882         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
25883         Likewise.
25884         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
25885         value when x - 1 is zero.
25886         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
25887         * sysdeps/i386/fpu/libm-test-ulps: Update.
25888         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25890 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
25892         [BZ #15119]
25893         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
25895 2014-06-09  Roland McGrath  <roland@hack.frob.com>
25897         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
25898         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
25900 2014-06-09  Roland McGrath  <roland@hack.frob.com>
25902         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
25903         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
25905         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
25906         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
25908         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
25909         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
25911         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
25912         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
25914         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
25915         if not already defined.
25916         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
25917         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
25918         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
25919         (TLS_INIT_TP): Use it.
25920         (TLS_DEFINE_INIT_TP): New macro.
25921         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
25923 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
25925         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
25926         constant.
25927         [POSIX] (IXANY): Likewise.
25928         [POSIX] (OLCUC): Likewise.
25929         [POSIX || POSIX2008] (CBAUD): Do not allow.
25930         [POSIX || POSIX2008] (DEFECHO): Likewise.
25931         [POSIX || POSIX2008] (ECHOCTL): Likewise.
25932         [POSIX || POSIX2008] (ECHOKE): Likewise.
25933         [POSIX || POSIX2008] (ECHOPRT): Likewise.
25934         [POSIX || POSIX2008] (EXTA): Likewise.
25935         [POSIX || POSIX2008] (EXTB): Likewise.
25936         [POSIX || POSIX2008] (FLUSHO): Likewise.
25937         [POSIX || POSIX2008] (LOBLK): Likewise.
25938         [POSIX || POSIX2008] (PENDIN): Likewise.
25939         [POSIX || POSIX2008] (SWTCH): Likewise.
25940         [POSIX || POSIX2008] (VDISCARD): Likewise.
25941         [POSIX || POSIX2008] (VDSUSP): Likewise.
25942         [POSIX || POSIX2008] (VLNEXT): Likewise.
25943         [POSIX || POSIX2008] (VREPRINT): Likewise.
25944         [POSIX || POSIX2008] (VSTATUS): Likewise.
25945         [POSIX || POSIX2008] (VWERASE): Likewise.
25946         (B*): Change to B[0123456789]*.
25947         * conform/data/time.h-data [POSIX || UNIX98]
25948         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
25949         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
25950         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
25951         [POSIX] (tm_*): Do not allow.
25953 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
25955         * Makefile (install): Don't set LANGUAGE.
25956         * Makefile.in (install): Likewise.
25957         * assert/Makefile (test-assert-ENV): Remove variable.
25958         (test-assert-perr-ENV): Likewise.
25959         * elf/Makefile (neededtest4-ENV): Likewise.
25960         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
25961         [$(cross-compiling) = no]: Don't set LANGUAGE.
25962         * io/ftwtest-sh (LANG): Remove variable.
25963         * libio/Makefile (tst-widetext-ENV): Likewise.
25964         * manual/install.texi (Running make install): Don't refer to
25965         environment settings for make install.
25966         * INSTALL: Regenerated.
25967         * nptl/tst-tls6.sh: Don't set LANG.
25968         * posix/globtest.sh (LANG): Remove variable.
25969         * string/Makefile (tester-ENV): Likewise.
25970         (inl-tester-ENV): Likewise.
25971         (noinl-tester-ENV): Likewise.
25972         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
25973         [$(cross-compiling) = no]: Don't set LANGUAGE.
25974         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
25975         without explicit environment settings.
25977 2014-06-06  Roland McGrath  <roland@hack.frob.com>
25979         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
25980         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
25981         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
25982         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
25984 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
25986         * crypt/crypt-private.h [DOS]: Add some includes taken from the
25987         other files in the crypt directory.
25988         * crypt/crypt.c: Remove duplicate includes.
25989         * crypt/crypt-entry.c: Likewise.
25990         * crypt/crypt_util.c: Likewise.
25992 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
25994         * Makeconfig (run-program-env): New variable.
25995         (run-program-prefix-before-env): Likewise.
25996         (run-program-prefix-after-env): Likewise.
25997         (run-program-prefix): Define in terms of new variables.
25998         (built-program-cmd-before-env): New variable.
25999         (built-program-cmd-after-env): Likewise.
26000         (built-program-cmd): Define in terms of new variables.
26001         (test-program-prefix-before-env): New variable.
26002         (test-program-prefix-after-env): Likewise.
26003         (test-program-prefix): Define in terms of new variables.
26004         (test-program-cmd-before-env): New variable.
26005         (test-program-cmd-after-env): Likewise.
26006         (test-program-cmd): Define in terms of new variables.
26007         * Rules (make-test-out): Use $(run-program-env).
26008         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
26009         (help): Do not mention environment variables.  Mention
26010         --timeoutfactor option.
26011         (timeoutfactor): New variable.
26012         (blacklist_exports): Remove function.
26013         (exports): Remove variable.
26014         (command): Do not include ${exports}.
26015         * manual/install.texi (Configuring and compiling): Do not mention
26016         test wrappers preserving environment variables.  Mention that last
26017         assignment to a variable must take precedence.
26018         * INSTALL: Regenerated.
26019         * benchtests/Makefile (run-bench): Use $(run-program-env).
26020         * catgets/Makefile ($(objpfx)test1.cat): Use
26021         $(built-program-cmd-before-env), $(run-program-env) and
26022         $(built-program-cmd-after-env).
26023         ($(objpfx)test2.cat): Do not specify environment variables
26024         explicitly.
26025         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
26026         $(run-program-env) and $(built-program-cmd-after-env).
26027         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
26028         $(run-program-env) and $(test-program-cmd-after-env).
26029         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
26030         explicitly.
26031         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
26032         run_program_env and test_program_cmd_after_env arguments.
26033         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
26034         * elf/tst-pathopt.sh: Use run_program_env argument.
26035         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
26036         $(test-wrapper-env) and $(run-program-env).
26037         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
26038         run_program_env arguments.
26039         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
26040         * intl/Makefile ($(objpfx)tst-gettext.out): Use
26041         $(test-program-prefix-before-env), $(run-program-env) and
26042         $(test-program-prefix-after-env).
26043         ($(objpfx)tst-gettext2.out): Likewise.
26044         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
26045         run_program_env and test_program_prefix_after_env arguments.
26046         * intl/tst-gettext2.sh: Likewise.
26047         * intl/tst-gettext4.sh: Do not set environment variables
26048         explicitly.
26049         * intl/tst-gettext6.sh: Likewise.
26050         * intl/tst-translit.sh: Likewise.
26051         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
26052         $(test-program-prefix-before-env), $(run-program-env) and
26053         $(test-program-prefix-after-env).
26054         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
26055         run_program_env and test_program_prefix_after_env arguments.
26056         * math/Makefile (run-regen-ulps): Use $(run-program-env).
26057         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
26058         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
26059         explicitly with each use of ${test_wrapper_env}.
26060         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
26061         $(test-program-prefix-before-env), $(run-program-env) and
26062         $(test-program-prefix-after-env).
26063         * posix/tst-getconf.sh: Do not set environment variables
26064         explicitly.
26065         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
26066         run_program_env and test_program_prefix_after_env arguments.
26067         * stdio-common/tst-printf.sh: Do not set environment variables
26068         explicitly.
26069         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
26070         $(test-program-prefix-before-env), $(run-program-env) and
26071         $(test-program-prefix-after-env).
26072         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
26073         run_program_env and test_program_prefix_after_env arguments.
26074         Split $test calls into $test_pre and $test.
26075         * timezone/Makefile (build-testdata): Use
26076         $(built-program-cmd-before-env), $(run-program-env) and
26077         $(built-program-cmd-after-env).
26079 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26081         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
26082         strlen for non SHARED builds.
26084 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
26086         * nptl/allocatestack.c (check_list): Inlined function...
26087         (__reclaim_stacks): ... here.
26089 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
26091         [BZ #15698]
26092         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
26093         memory overrun.
26095 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
26097         * Rules (make-test-out): Include
26098         LOCPATH=$(common-objpfx)localedata in default environment.
26099         * debug/Makefile (tst-chk1-ENV): Remove variable.
26100         (tst-chk2-ENV): Likewise.
26101         (tst-chk3-ENV): Likewise.
26102         (tst-chk4-ENV): Likewise.
26103         (tst-chk5-ENV): Likewise.
26104         (tst-chk6-ENV): Likewise.
26105         (tst-lfschk1-ENV): Likewise.
26106         (tst-lfschk2-ENV): Likewise.
26107         (tst-lfschk3-ENV): Likewise.
26108         (tst-lfschk4-ENV): Likewise.
26109         (tst-lfschk5-ENV): Likewise.
26110         (tst-lfschk6-ENV): Likewise.
26111         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
26112         (tst-iconv7-ENV): Likewise.
26113         * intl/Makefile (LOCPATH-ENV): Likewise.
26114         (tst-codeset-ENV): Likewise.
26115         (tst-gettext3-ENV): Likewise.
26116         (tst-gettext5-ENV): Likewise.
26117         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
26118         (tst-fopenloc-ENV): Likewise.
26119         (tst-fgetws-ENV): Remove variable.
26120         (tst-ungetwc1-ENV): Likewise.
26121         (tst-ungetwc2-ENV): Likewise.
26122         (bug-ungetwc2-ENV): Likewise.
26123         (tst-swscanf-ENV): Likewise.
26124         (bug-ftell-ENV): Likewise.
26125         (tst-fgetwc-ENV): Likewise.
26126         (tst-fseek-ENV): Likewise.
26127         (tst-ftell-partial-wide-ENV): Likewise.
26128         (tst-ftell-active-handler-ENV): Likewise.
26129         (tst-ftell-append-ENV): Likewise.
26130         * posix/Makefile (tst-fnmatch-ENV): Likewise.
26131         (tst-regexloc-ENV): Likewise.
26132         (bug-regex1-ENV): Likewise.
26133         (tst-regex-ENV): Likewise.
26134         (tst-regex2-ENV): Likewise.
26135         (bug-regex5-ENV): Likewise.
26136         (bug-regex6-ENV): Likewise.
26137         (bug-regex17-ENV): Likewise.
26138         (bug-regex18-ENV): Likewise.
26139         (bug-regex19-ENV): Likewise.
26140         (bug-regex20-ENV): Likewise.
26141         (bug-regex22-ENV): Likewise.
26142         (bug-regex23-ENV): Likewise.
26143         (bug-regex25-ENV): Likewise.
26144         (bug-regex26-ENV): Likewise.
26145         (bug-regex30-ENV): Likewise.
26146         (bug-regex32-ENV): Likewise.
26147         (bug-regex33-ENV): Likewise.
26148         (bug-regex34-ENV): Likewise.
26149         (bug-regex35-ENV): Likewise.
26150         (tst-rxspencer-ENV): Likewise.
26151         (tst-rxspencer-no-utf8-ENV): Likewise.
26152         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
26153         (tst-sscanf-ENV): Likewise.
26154         (tst-swprintf-ENV): Likewise.
26155         (tst-swscanf-ENV): Likewise.
26156         (test-vfprintf-ENV): Likewise.
26157         (scanf13-ENV): Likewise.
26158         (bug14-ENV): Likewise.
26159         (tst-grouping-ENV): Likewise.
26160         * stdlib/Makefile (tst-strtod-ENV): Likewise.
26161         (tst-strtod3-ENV): Likewise.
26162         (tst-strtod4-ENV): Likewise.
26163         (tst-strtod5-ENV): Likewise.
26164         (testmb2-ENV): Likewise./
26165         * string/Makefile (tst-strxfrm-ENV): Likewise.
26166         (tst-strxfrm2-ENV): Likewise.
26167         (bug-strcoll1-ENV): Likewise.
26168         (test-strcasecmp-ENV): Likewise.
26169         (test-strncasecmp-ENV): Likewise.
26170         * time/Makefile (tst-strptime-ENV): Likewise.
26171         (tst-ftime_l-ENV): Likewise.
26172         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
26173         (tst-mbrtowc-ENV): Likewise.
26174         (tst-wcrtomb-ENV): Likewise.
26175         (tst-mbrtowc2-ENV): Likewise.
26176         (tst-c16c32-1-ENV): Likewise.
26177         (tst-mbsnrtowcs-ENV): Likewise.
26179 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
26181         * manual/resource.texi (How to get information about the memory
26182         subsystem?): Fix typo.
26183         Reported by Peon de la Parra Ivan <peon@keba.com>
26185 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
26187         [BZ #16882]
26188         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
26189         (pthread_spin_lock): Branch out of spin loop to proper location.
26190         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
26191         (pthread_spin_lock): Likewise.
26193         * nptl/tst-spin4.c: New test.
26194         * nptl/Makefile (tests): Add tst-spin4.
26196 2014-06-03  Andreas Schwab  <schwab@suse.de>
26198         [BZ #15946]
26199         * resolv/res_send.c (send_dg): Reload file descriptor after
26200         calling reopen.
26202 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
26204         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
26206 2014-06-03  Richard Henderson  <rth@redhat.com>
26208         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
26209         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
26210         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
26211         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
26212         in the SAVE_PID block.
26213         (__libc_vfork): New alias.
26214         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
26216         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
26217         child in registers, not on the stack.  Remove RESET_PID conditionals.
26218         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
26220 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
26222         * sysdeps/aarch64/libm-test-ulps: Regenerate.
26224 2014-06-03  Wilco  <wdijkstr@arm.com>
26226         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
26227         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
26228         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
26229         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
26230         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
26231         Likewise.
26233 2014-06-03  Wilco  <wdijkstr@arm.com>
26235         * sysdeps/aarch64/fpu/math_private.h
26236         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
26237         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
26238         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
26239         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
26240         Fix declarations.
26242 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
26244         * crypt/crypt-private.h: Include ufc-crypt.h.
26245         (__b64_from_24bit): Declare extern.
26246         * crypt/crypt_util.c(__b64_from_24bit): New function.
26247         (b64t): New static const variable.
26248         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
26249         (b64t): Remove variable.
26250         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
26251         * crypt/sha256-crypt.c: Include crypt-private.h.
26252         (b64t): Remove variable.
26253         (__sha256_crypt_r): Remove b64_from_24bit and replace
26254         with __b64_from_24bit.
26255         * crypt/sha512-crypt.c: Likewise.
26257 2014-06-02  Roland McGrath  <roland@hack.frob.com>
26259         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
26260         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
26261         Label the code __libc_vfork rather than __vfork.
26262         [!NOT_IN_libc] (vfork): Define as weak alias.
26263         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
26264         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
26265         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
26267 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
26269         * malloc/malloc.c (malloc_info): Fix format specifier for
26270         n_mmaps.
26272 2014-06-02  Wilco  <wdijkstr@arm.com>
26274         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
26275         FPCR write.
26277 2014-06-02  Wilco  <wdijkstr@arm.com>
26279         [BZ #17009]
26280         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
26281         Rewrite to reduce FPCR/FPSR accesses.
26283 2014-06-01  David S. Miller  <davem@davemloft.net>
26285         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26287 2014-05-31  David S. Miller  <davem@davemloft.net>
26289         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
26290         to occur in round to nearest mode when |x| >= 2.0
26292 2014-05-30  Richard Henderson  <rth@twiddle.net>
26294         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
26295         (PSEUDO_RET_NOERRNO): Remove.
26296         (ret): Don't redefine.
26297         (ret_NOERRNO): Define in terms of ret.
26298         (ret_ERRVAL): Likewise.
26300         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
26301         use of PSEUDO_RET; perform the error check directly.
26303 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
26305         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
26306         with __int128_t.
26308 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
26310         * malloc/malloc (malloc_info): Fix formatting.
26312 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
26313             Roland McGrath  <roland@hack.frob.com>
26315         * malloc/malloc (malloc_info): Also print mmapped statistics.
26317 2014-05-30  Roland McGrath  <roland@hack.frob.com>
26319         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
26320         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
26322 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
26324         * malloc/malloc.c (malloc_info): Inline mi_arena.
26326 2014-05-29  Richard Henderson  <rth@twiddle.net>
26328         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
26329         Remove comma before expanding ASM_ARGS_##nr.
26330         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
26331         Make _x0 a strict output; make _x8 a strict input; adjust expansion
26332         of ASM_ARGS_##nr.
26333         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
26334         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
26335         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
26336         (ASM_ARGS_1): Add leading comma.
26338         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
26339         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
26340         to __errno_location.
26341         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
26342         Remove the expected plt for __errno_location.
26344         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
26345         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
26346         call to __read_tp.
26348         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
26349         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
26350         it and break it down.
26351         (DOCARGS_0, DOCARGS_1): Do nothing.
26352         (DOCARGS_2): Update to store into the new stack frame.
26353         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
26354         (UNDOCARGS_1): Update to restore from the new stack frame.
26355         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
26356         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
26358         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
26359         (SINGLE_THREAD_P): New parameter for result regno.
26360         (PSEUDO): Update to match; use cbz instead of beq.
26362         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
26363         Use ENTRY to define the _nocancel entry point.  Share the syscall
26364         and syscall error check paths with the cancel path.
26365         (PSEUDO_END): New.
26367         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
26368         whitespace; tabs before and after asm mnemonics.
26370 2014-05-29  Eric Wong  <normalperson@yhbt.net>
26372         [BZ #15132]
26373         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
26374         Call fstat64 or stat64 internally, depending on arguments passed.
26375         Replace stat buffer argument with file descriptor argument.
26376         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
26377         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
26378         Pass fd to __internal_statvfs instead of calling fstat64.
26379         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
26380         Pass fd to __internal_statvfs64 instead of calling fstat64.
26381         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
26382         Pass -1 to __internal_statvfs instead of calling stat64.
26383         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
26384         Pass -1 to __internal_statvfs64 instead of calling stat64.
26386 2014-05-28  Roland McGrath  <roland@hack.frob.com>
26388         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
26389         that was previously under [RESET_PID].
26390         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
26392         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
26393         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
26395 2014-05-27  Roland McGrath  <roland@hack.frob.com>
26397         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
26399         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
26400         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
26402 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
26404         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
26406 2014-05-27  Andreas Schwab  <schwab@suse.de>
26408         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
26409         TLS_INIT_TP macro.
26410         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
26411         * elf/rtld.c (init_tls, dl_main): Likewise.
26412         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
26413         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
26414         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
26415         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
26416         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
26417         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
26418         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
26419         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
26420         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
26421         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
26422         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
26423         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
26424         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
26425         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
26426         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
26427         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
26428         * sysdeps/generic/tls.h: Update description.
26430 2014-05-27  Will Newton  <will.newton@linaro.org>
26432         [BZ #16990]
26433         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
26434         and restore r2 rather than just restoring.
26436 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
26438         [BZ #16724]
26439         * libio/tst-ftell-append.c: New test case.
26440         * libio/Makefile (tests): Add test case.
26441         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
26442         append mode.
26443         * libio/wfileops.c (do_ftell_wide): Likewise.
26445 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26447         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26449         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
26450         ...
26451         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
26452         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
26453         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
26454         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
26455         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
26456         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
26457         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
26458         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
26459         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
26460         Moved ...
26461         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
26462         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
26463         Moved ...
26464         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
26465         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
26466         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
26467         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
26468         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
26469         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
26470         ...
26471         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
26472         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
26473         Moved ...
26474         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
26475         here.
26476         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
26477         ...
26478         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
26479         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
26480         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
26482         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
26483         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
26484         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
26485         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
26487         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
26488         merge into ...
26489         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
26490         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
26491         ...
26492         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
26493         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
26494         ...
26495         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
26496         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
26497         Moved ...
26498         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
26499         here.
26500         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
26501         Moved ...
26502         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
26503         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
26504         Moved ...
26505         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
26507         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
26508         conditional [RESET_PID].
26509         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
26510         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
26511         removed.
26512         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
26513         removed.
26515         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
26516         <tcb-offsets.h>.
26517         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
26518         (__libc_vfork): New strong alias.
26519         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
26520         removed.
26521         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
26522         Removed.
26524         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
26525         <tcb-offsets.h>.
26526         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
26527         (__libc_vfork): New strong alias.
26528         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
26529         removed.
26530         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
26531         removed.
26533 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
26535         * malloc/malloc.c (mi_arena): New function.
26536         (malloc_info): Remove nested function mi_arena. Call non-nosted
26537         function mi_arena.
26539 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26541         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
26542         by insrwi.
26543         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
26544         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
26545         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
26546         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
26547         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
26548         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
26549         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
26551 2014-05-26  Andreas Schwab  <schwab@suse.de>
26553         [BZ #16984]
26554         * locale/programs/repertoire.c (repertoire_read): Add slash
26555         between I18NPATH element and file name.
26556         * locale/programs/locfile.c (locfile_read): Likewise.
26558 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
26560         * nptl/pthread_mutexattr_settype.c
26561         (__pthread_mutexattr_settype):
26562         Disable lock elision for PTHREAD_MUTEX_NORMAL.
26564 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
26566         * nptl/tst-mutex5 (do_test):
26567         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
26569 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
26571         * benchtests/README: Document 'init' directive.
26572         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
26573         BENCH_INIT.
26574         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
26575         (parse_file): Recognize 'init' directive.
26577 2014-05-26  Kyle McMartin  <kyle@redhat.com>
26579         [BZ #16796]
26580         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
26581         alignment of struct pthread.
26583 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
26585         [BZ #16878]
26586         * nscd/netgroupcache.c (addgetnetgrentX): Look for
26587         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
26588         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
26589         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
26591 2014-05-25  Richard Henderson  <rth@twiddle.net>
26593         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
26594         (SINGLE_THREAD_P_PIC): Remove.
26595         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
26596         (SINGLE_THREAD_P_PIC): Remove.
26598         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
26599         branch to syscall error ...
26600         (PSEUDO): ... here.
26601         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
26602         from __local_syscall_error to .Lsyscall_error.
26603         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
26604         (SYSCALL_ERROR): Update label name.
26606         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
26607         Do not use DOARGS/UNDOARGS.
26608         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
26609         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
26610         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
26611         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
26612         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
26614         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
26615         block comment.
26617         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
26618         define if !NOT_IN_libc.
26619         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
26620         define with non-default symbol versions.
26622 2014-05-23  Richard Henderson  <rth@twiddle.net>
26624         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
26625         (vfork, __vfork): Define via compat_symbol.
26627         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
26628         [!HAVE_IFUNC] (vfork_compat): Remove.
26629         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
26631 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
26633         [BZ #16978]
26634         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
26635         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
26636         variable.
26638 2014-05-23  Richard Henderson  <rth@twiddle.net>
26640         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
26641         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
26642         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
26643         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
26645         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
26646         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
26647         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
26648         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
26649         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
26650         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
26651         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
26652         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
26653         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
26654         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
26655         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
26656         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
26657         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
26658         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
26659         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
26660         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
26661         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
26662         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
26663         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
26664         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
26665         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
26666         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
26667         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
26668         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
26669         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
26670         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
26671         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
26672         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
26673         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
26674         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
26675         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
26676         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
26677         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
26678         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
26679         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
26680         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
26681         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
26682         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
26683         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
26684         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
26685         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
26686         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
26687         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
26688         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
26689         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
26690         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
26691         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
26692         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
26693         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
26694         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
26695         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
26696         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
26697         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
26698         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
26699         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
26700         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
26702         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
26703         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
26704         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
26705         before exiting on error.
26706         (__libc_vfork): New strong alias.
26707         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
26708         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
26710         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
26711         that was previously under [RESET_PID].
26712         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
26714         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
26716 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
26718         [BZ #16977]
26719         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
26720         value when x - 1 is zero.
26721         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
26722         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
26723         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
26724         0.0L for an argument of 1.0L.
26725         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
26726         Likewise.
26727         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
26728         value when x - 1 is zero.
26729         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
26730         * sysdeps/i386/fpu/libm-test-ulps: Update.
26731         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26733 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
26735         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
26736         alphasort and versionsort.
26738 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26740         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
26741         macro.
26742         [copysignf]: Likewise.
26744 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
26746         * crypt/md5-crypt.c: Fix formatting.
26748 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
26750         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
26751         (b64_from_24bit): New function.
26753 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26755         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
26756         libc_hidden_builtin_def to ifunc.
26757         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
26758         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
26760 2014-05-21  Roland McGrath  <roland@hack.frob.com>
26762         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
26763         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
26765 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
26767         * nscd/Depend (linuxthreads): Remove.
26768         (nptl): Add.
26769         * resolv/Depend (linuxthreads): Remove.
26770         * rt/Depend (linuxthreads): Remove.
26772         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
26773         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
26774         $(common-objpfx)elf/.
26775         (link-libc-before-gnulib): Likewise.
26776         (elfobjdir): Remove variable.
26777         * Makefile (install): Use $(elf-objpfx) instead of
26778         $(common-objpfx)elf/.
26779         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
26780         $(elfobjdir)/.
26781         (link-libc-deps): Likewise.
26782         ($(common-objpfx)libc.so): Likewise.
26783         ($(common-objpfx)linkobj/libc.so): Likewise.
26784         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
26785         instead of $(common-objpfx)elf/.
26786         (symbolic-link-list): Likewise.
26787         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
26788         [$(cross-compiling) = no]: Likewise.
26789         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
26790         $(elfobjdir)/.
26791         (static-gnulib-arch): Likewise.
26792         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
26793         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
26794         $(common-objpfx)elf/.
26796 2014-05-21  Richard Henderson  <rth@redhat.com>
26798         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
26799         (SINGLE_THREAD_P): Use the correct width load.  Fold
26800         into the ldr offset.
26802         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
26803         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
26805 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
26807         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
26808         (libgcc_s_resume): Use __attribute_used__.
26809         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
26810         Likewise.
26812 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26814         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
26815         optimization when used with float constants.
26817         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26819 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
26821         [BZ #16915]
26822         * locale/nl_langinfo_l.c: Make direct reference to every
26823         _nl_current_CATEGORY symbol.
26824         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
26825         (tests-static): Add tst-langinfo-static.
26826         (tests-special): Add tst-langinfo-static.out.
26827         ($(objpfx)tst-langinfo.out): Redirect output.
26828         ($(objpfx)tst-langinfo-static.out): New.
26829         * localedata/tst-langinfo.sh: Send output to stdout.
26830         * localedata/tst-langinfo-static.c: New file.
26832         [BZ #16965]
26833         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
26834         when the shift amount is modulo the limb size.
26836 2014-05-20  Richard Henderson  <rth@redhat.com>
26838         [BZ #16967]
26839         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
26840         Change type of sa_flags from unsigned int to int.
26842         [BZ #16966]
26843         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
26845         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
26847 2014-05-20  Will Newton  <will.newton@linaro.org>
26849         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
26850         Test the return value of the system call in the nocancel case.
26852 2014-05-20  Will Newton  <will.newton@linaro.org>
26853             Yvan Roux  <yvan.roux@linaro.org>
26855         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
26856         #include of asm/ptrace.h.
26857         (PTRACE_GET_THREAD_AREA): Remove #undef.
26858         (PTRACE_GETHBPREGS): Likewise.
26859         (PTRACE_SETHBPREGS): Likewise.
26860         (struct user_regs_struct): New structure.
26861         (struct user_fpsimd_struct): New structure.
26862         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
26863         #include of asm/ptrace.h and second #include of sys/user.h.
26864         (PTRACE_GET_THREAD_AREA): Remove #undef.
26865         (PTRACE_GETHBPREGS): Likewise.
26866         (PTRACE_SETHBPREGS): Likewise.
26867         (ELF_NGREG): Use new struct user_regs_struct.
26868         (elf_fpregset_t): Use new struct user_fpsimd_struct.
26870 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26872         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
26873         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
26875 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
26877         [BZ #16958]
26878         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
26879         membar to avoid block loads/stores to overlap previous stores.
26881 2014-05-17  Richard Henderson  <rth@redhat.com>
26883         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
26884         Create the __##syscall_name##_nocancel entry point.
26885         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
26886         Remove; let the sysdep-cancel.h code create it.
26888 2014-05-17  David S. Miller  <davem@davemloft.net>
26890         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
26891         Protect with __USE_GNU.
26892         (TIOCSET_TEMPT): Likewise.
26893         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
26894         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
26895         these are already provided in bits/ioctl-types.h
26897 2014-05-16  Roland McGrath  <roland@hack.frob.com>
26899         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
26900         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
26902         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
26903         Use wait4 regardless of [__NR_waitpid].
26905 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
26907         PR libgcc/60166
26908         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
26909         (_FP_NANSIGN_Q): Set the quiet bit.
26911 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
26913         * benchtests/Makefile
26914         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
26915         not $(common-objpfx)math/libm.so.
26916         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
26917         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
26918         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
26919         $(common-objpfx)dlfcn/libdl.so.
26920         ($(objpfx)tst-audit8): Depend on $(libm), not
26921         $(common-objpfx)math/libm.so.
26922         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
26923         not $(common-objpfx)dlfcn/libdl.so.
26924         * math/Makefile
26925         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
26926         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
26927         [$(build-shared) = yes].
26928         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
26929         $(common-objpfx)nptl/libpthread.so.
26930         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
26931         $(common-objpfx)math/libm.so$(libm.so-version) or
26932         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
26933         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
26934         $(common-objpfx)dlfcn/libdl.so.
26935         * setjmp/Makefile (link-libm): Remove variable.
26936         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
26937         * stdio-common/Makefile (link-libm): Remove variable.
26938         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
26939         * stdlib/Makefile (link-libm): Remove variable.
26940         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
26941         ($(objpfx)tst-strtod-round): Likewise.
26942         ($(objpfx)tst-tininess): Likewise.
26943         ($(objpfx)tst-strtod-underflow): Likewise.
26944         ($(objpfx)tst-strtod6): Likewise.
26945         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
26946         $(libdl), not $(common-objpfx)nptl/libpthread.so and
26947         $(common-objpfx)dlfcn/libdl.so.
26949 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26951         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
26952         BSD terminal modes definitions.
26954 2014-05-16  Roland McGrath  <roland@hack.frob.com>
26956         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
26957         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
26959         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
26960         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
26961         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
26962         Don't do #include_next.
26963         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
26964         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
26965         Don't do #include_next.
26966         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
26967         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
26968         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
26969         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
26971 2014-05-16  Allan McRae  <allan@archlinux.org>
26973         * po/sv.po: Update Swedish translation from translation project.
26975         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
26976         in sed expression.
26978 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
26980         [BZ #16917]
26981         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
26982         errno if the TIOCGPTN ioctl fails with an error different than
26983         EINVAL.
26984         * login/tst-ptsname.c: New file.
26985         * login/Makefile (tests): Add tst-ptsname.
26987         [BZ #16943]
26988         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
26989         and prlimit64.
26991 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
26993         [BZ #16849]
26994         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
26995         herrno to return EAI_AGAIN.
26997 2014-05-14  Roland McGrath  <roland@hack.frob.com>
26999         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
27000         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
27001         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
27002         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
27003         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
27004         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
27005         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
27006         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
27007         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
27008         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
27009         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
27010         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
27011         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
27012         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
27013         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
27014         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
27015         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
27016         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
27017         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
27018         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
27019         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
27020         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
27021         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
27022         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
27023         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
27024         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
27025         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
27026         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
27027         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
27028         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
27029         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
27030         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
27031         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
27032         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
27033         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
27034         Moved ...
27035         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
27036         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
27037         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
27038         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
27039         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
27040         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
27041         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
27042         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
27043         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
27044         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
27045         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
27046         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
27047         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
27048         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
27049         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
27050         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
27051         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
27052         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
27053         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
27054         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
27055         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
27056         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
27057         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
27058         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
27059         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
27060         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
27061         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
27062         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
27063         Moved ...
27064         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
27065         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
27066         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
27067         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
27068         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
27069         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
27070         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
27071         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
27072         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
27073         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
27074         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
27075         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
27076         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
27077         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
27078         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
27079         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
27080         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
27081         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
27082         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
27083         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
27084         Moved ...
27085         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
27086         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
27087         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
27089         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
27090         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
27091         (libpthread-sysdep_routines): Add elision-related stuff here instead.
27092         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
27093         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
27094         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
27095         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
27096         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
27097         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
27098         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
27099         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
27100         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
27101         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
27102         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
27103         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
27104         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
27105         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
27106         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
27107         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
27108         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
27109         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
27110         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
27111         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
27112         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
27113         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
27114         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
27115         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
27116         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
27117         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
27118         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
27119         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
27121         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
27122         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
27124         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
27125         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
27126         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
27127         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
27128         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
27129         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
27130         Moved ...
27131         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
27132         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
27133         Moved ...
27134         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
27135         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
27136         Moved ...
27137         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
27138         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
27139         Moved ...
27140         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
27141         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
27142         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
27143         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
27144         Moved ...
27145         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
27146         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
27147         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
27148         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
27149         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
27150         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
27151         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
27152         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
27153         Moved ...
27154         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
27155         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
27156         Moved ...
27157         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
27158         ... here.
27159         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
27160         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
27161         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
27162         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
27163         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
27164         Moved ...
27165         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
27166         ... here.
27167         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
27168         Moved ...
27169         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
27170         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
27171         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
27172         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
27173         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
27174         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
27175         Moved ...
27176         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
27177         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
27178         Moved ...
27179         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
27180         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
27181         Moved ...
27182         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
27183         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
27184         Moved ...
27185         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
27186         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
27187         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
27188         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
27189         Moved ...
27190         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
27191         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
27192         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
27193         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
27194         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
27195         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
27196         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
27197         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
27198         Moved ...
27199         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
27200         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
27201         Moved ...
27202         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
27203         ... here.
27204         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
27205         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
27206         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
27207         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
27208         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
27209         Moved ...
27210         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
27211         ... here.
27212         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
27213         Moved ...
27214         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
27215         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
27216         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
27217         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
27218         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
27219         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
27220         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
27221         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
27222         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
27223         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
27224         Moved ...
27225         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
27226         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
27227         Moved ...
27228         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
27229         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
27230         Moved ...
27231         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
27232         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
27233         Moved ...
27234         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
27235         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
27236         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
27237         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
27238         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
27239         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
27240         Moved ...
27241         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
27242         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
27243         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
27244         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
27245         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
27246         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
27247         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
27248         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
27249         Moved ...
27250         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
27251         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
27252         Moved ...
27253         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
27254         ... here.
27255         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
27256         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
27257         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
27258         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
27259         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
27260         Moved ...
27261         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
27262         ... here.
27263         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
27264         Moved ...
27265         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
27266         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
27267         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
27268         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
27269         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
27270         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
27271         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
27272         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
27273         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
27274         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
27275         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
27277         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
27278         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
27280         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
27281         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
27283         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
27284         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
27285         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
27286         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
27287         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
27288         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
27289         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
27290         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
27291         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
27292         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
27293         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
27294         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
27295         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
27296         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
27297         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
27298         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
27299         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
27300         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
27301         Moved ...
27302         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
27303         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
27304         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
27305         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
27306         Moved ...
27307         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
27308         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
27309         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
27310         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
27311         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
27312         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
27313         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
27314         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
27315         Moved ...
27316         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
27317         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
27318         Moved ...
27319         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
27320         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
27321         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
27322         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
27323         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
27324         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
27325         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
27326         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
27327         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
27328         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
27329         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
27330         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
27331         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
27332         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
27333         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
27334         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
27335         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
27337         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
27338         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
27339         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
27340         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
27341         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
27343         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
27344         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
27345         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
27346         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
27347         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
27348         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
27349         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
27350         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
27351         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
27352         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
27354         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
27355         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
27357         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
27358         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
27359         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
27360         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
27361         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
27362         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
27363         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
27364         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
27365         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
27366         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
27367         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
27368         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
27369         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
27370         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
27371         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
27372         Update #include.
27373         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
27374         Likewise.
27375         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
27376         Likewise.
27377         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
27378         Likewise.
27379         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
27380         Likewise.
27381         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
27382         Likewise.
27383         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
27384         Likewise.
27385         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
27386         Likewise.
27387         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
27388         Likewise.
27389         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
27390         Likewise.
27391         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
27392         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
27393         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
27394         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
27395         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
27396         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
27397         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
27398         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
27399         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
27400         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
27401         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
27402         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
27403         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
27404         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
27405         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
27407         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
27408         that was previously under [RESET_PID].
27409         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
27410         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
27411         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
27413         * sysdeps/i386/nptl/Implies: New file.
27414         * sysdeps/x86_64/nptl/Implies: New file.
27415         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
27416         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
27417         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
27418         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
27420         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
27421         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
27422         (__libc_vfork): New strong alias.
27423         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
27424         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
27426         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
27427         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
27428         (__libc_vfork): New strong alias.
27429         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
27430         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
27432         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
27433         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
27434         (__libc_vfork): New strong alias.
27435         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
27436         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
27437         * nptl/pt-vfork.c: New file.
27438         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
27439         (libpthread: GLIBC_2.20): New version set (empty).
27441 2014-05-14  Will Newton  <will.newton@linaro.org>
27443         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
27444         rather than #if.
27446 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
27448         [BZ #16564]
27449         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
27450         arguments with exponent 65 or above.
27451         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
27452         arguments 0x1p113L or above.
27453         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
27454         to arguments 0x1p107L or above.
27455         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
27456         positive arguments with exponent 65 or above.
27457         * math/auto-libm-test-in: Add more tests of log1p.
27458         * math/auto-libm-test-out: Regenerated.
27460         [BZ #16928]
27461         * math/s_cacos.c (__cacos): Ensure zero real part of result from
27462         non-finite arguments is +0.
27463         * math/s_cacosf.c (__cacosf): Likewise.
27464         * math/s_cacosl.c (__cacosl): Likewise.
27465         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
27466         * sysdeps/i386/fpu/libm-test-ulps: Update.
27467         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27469         [BZ #16927]
27470         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
27471         value.
27472         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
27473         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
27474         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
27475         for explicit high bit of mantissa when testing for argument equal
27476         to 1.
27477         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
27478         * sysdeps/i386/fpu/libm-test-ulps: Update.
27479         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27481         [BZ #16516]
27482         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
27483         (__erf): Scale by 16 instead of 8 in potentially underflowing
27484         case.  Ensure exception if result actually underflows.
27485         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
27486         (__erff): Scale by 16 instead of 8 in potentially underflowing
27487         case.  Ensure exception if result actually underflows.
27488         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
27489         (efx8): Remove variable.
27490         (__erfl): Scale by 16 instead of 8 in potentially underflowing
27491         case.  Ensure exception if result actually underflows.
27492         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
27493         (efx8): Remove variable.
27494         (__erfl): Scale by 16 instead of 8 in potentially underflowing
27495         case.  Ensure exception if result actually underflows.
27496         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
27497         (efx8): Remove variable.
27498         (__erfl): Scale by 16 instead of 8 in potentially underflowing
27499         case.  Ensure exception if result actually underflows.
27500         * math/auto-libm-test-in: Add more tests of erf.
27501         * math/auto-libm-test-out: Regenerated.
27503 2014-05-14  Andreas Schwab  <schwab@suse.de>
27505         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
27506         Remove code conditionalized on USE___THREAD.
27508         * config.h.in (HAVE_PT_CHOWN): Define as 0.
27509         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
27510         not definedness.
27512 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
27514         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
27515         Define unconditionally.
27516         (__ASSUME_O_CLOEXEC): Likewise.
27517         (__ASSUME_SOCK_CLOEXEC): Likewise.
27518         (__ASSUME_IN_NONBLOCK): Likewise.
27519         (__ASSUME_PIPE2): Likewise.
27520         (__ASSUME_EVENTFD2): Likewise.
27521         (__ASSUME_SIGNALFD4): Likewise.
27522         (__ASSUME_DUP3): Likewise.
27523         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
27524         (__ASSUME_DUP3): Do not define.
27525         (__ASSUME_EVENTFD2): Likewise.
27526         (__ASSUME_IN_NONBLOCK): Likewise.
27527         (__ASSUME_O_CLOEXEC): Likewise.
27528         (__ASSUME_PIPE2): Likewise.
27529         (__ASSUME_SIGNALFD4): Likewise.
27530         (__ASSUME_SOCK_CLOEXEC): Likewise.
27531         (__ASSUME_UTIMES): Undefine.
27532         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
27533         (__ASSUME_UTIMES): Do not define.
27534         (__ASSUME_O_CLOEXEC): Likewise.
27535         (__ASSUME_SOCK_CLOEXEC): Likewise.
27536         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
27537         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
27538         0x020621].
27539         (__ASSUME_PIPE2): Likewise.
27540         (__ASSUME_EVENTFD2): Likewise.
27541         (__ASSUME_SIGNALFD4): Likewise.
27542         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
27543         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
27544         Do not define.
27545         (__ASSUME_EVENTFD2): Likewise.
27546         (__ASSUME_SIGNALFD4): Likewise.
27547         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
27548         (__ASSUME_32BITUIDS): Likewise.
27549         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
27550         (__ASSUME_IPC64): Likewise.
27551         (__ASSUME_ST_INO_64_BIT): Likewise.
27552         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
27553         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
27554         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
27555         (__ASSUME_UTIMES): Do not define.
27556         (__ASSUME_PSELECT): Likewise.
27557         (__ASSUME_PPOLL): Likewise.
27558         (__ASSUME_O_CLOEXEC): Likewise.
27559         (__ASSUME_SOCK_CLOEXEC): Likewise.
27560         (__ASSUME_IN_NONBLOCK): Likewise.
27561         (__ASSUME_PIPE2): Likewise.
27562         (__ASSUME_EVENTFD2): Likewise.
27563         (__ASSUME_SIGNALFD4): Likewise.
27564         (__ASSUME_DUP3): Likewise.
27565         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
27566         (__ASSUME_UTIMES): Likewise.
27567         (__ASSUME_O_CLOEXEC): Likewise.
27568         (__ASSUME_SOCK_CLOEXEC): Likewise.
27569         (__ASSUME_IN_NONBLOCK): Likewise.
27570         (__ASSUME_PIPE2): Likewise.
27571         (__ASSUME_EVENTFD2): Likewise.
27572         (__ASSUME_SIGNALFD4): Likewise.
27573         (__ASSUME_DUP3): Likewise.
27574         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
27575         (__ASSUME_UTIMES): Likewise.
27576         (__ASSUME_O_CLOEXEC): Likewise.
27577         (__ASSUME_SOCK_CLOEXEC): Likewise.
27578         (__ASSUME_IN_NONBLOCK): Likewise.
27579         (__ASSUME_PIPE2): Likewise.
27580         (__ASSUME_EVENTFD2): Likewise.
27581         (__ASSUME_SIGNALFD4): Likewise.
27582         (__ASSUME_DUP3): Likewise.
27583         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
27584         Likewise.
27585         (__ASSUME_UTIMES): Likewise.
27586         (__ASSUME_EVENTFD2): Likewise.
27587         (__ASSUME_SIGNALFD4): Likewise.
27588         * sysdeps/unix/sysv/linux/tile/kernel-features.h
27589         (__ASSUME_O_CLOEXEC): Likewise.
27590         (__ASSUME_SOCK_CLOEXEC): Likewise.
27591         (__ASSUME_IN_NONBLOCK): Likewise.
27592         (__ASSUME_PIPE2): Likewise.
27593         (__ASSUME_EVENTFD2): Likewise.
27594         (__ASSUME_SIGNALFD4): Likewise.
27595         (__ASSUME_DUP3): Likewise.
27596         (__ASSUME_UTIMES): Undefine.
27598         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
27599         feclearexcept.  Remove symbol versioning code.
27600         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
27601         symbol versioning code.
27602         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
27603         symbol versioning code.
27604         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
27605         feupdateenv.  Remove symbol versioning code.
27606         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
27607         fegetexceptflag.  Remove symbol versioning code.
27608         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
27609         fesetexceptflag.  Remove symbol versioning code.
27610         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
27611         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
27612         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
27613         (__posix_fadvise64_l32): Remove prototype.
27614         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
27615         code.
27617 2014-05-13  Roland McGrath  <roland@hack.frob.com>
27619         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
27620         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
27621         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
27622         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
27624 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
27626         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
27627         current working directory
27629 2014-05-13  Roland McGrath  <roland@hack.frob.com>
27631         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
27632         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
27633         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
27634         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
27635         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
27636         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
27637         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
27638         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
27639         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
27640         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
27641         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
27642         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
27643         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
27644         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
27645         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
27646         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
27647         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
27648         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
27649         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
27650         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
27651         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
27652         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
27653         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
27654         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
27655         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
27656         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
27657         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
27658         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
27659         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
27660         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
27661         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
27662         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
27663         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
27664         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
27665         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
27666         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
27667         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
27668         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
27669         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
27670         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
27671         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
27672         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
27674         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
27675         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
27677         * sysdeps/unix/sysv/linux/arm/Makefile
27678         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
27679         Add rt-aeabi_unwind_cpp_pr1.
27680         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
27681         Add nptl-aeabi_unwind_cpp_pr1.
27682         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
27683         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
27684         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
27685         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
27686         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
27687         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
27689         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
27690         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
27691         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
27692         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
27694         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
27695         Deconditionalize the code that was previously under [RESET_PID].
27696         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
27698         * sysdeps/generic/exit-thread.h: New file.
27699         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
27700         * include/unistd.h (__exit_thread): Remove declaration.
27701         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
27702         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
27703         * csu/libc-start.c: Include <exit-thread.h>.
27704         (LIBC_START_MAIN): Pass no argument to __exit_thread.
27705         * nptl/pthread_create.c: Include <exit-thread.h>.
27706         (start_thread): Call __exit_thread in place of __exit_thread_inline.
27707         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
27708         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
27709         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
27710         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
27711         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
27712         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
27713         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
27714         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
27715         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
27716         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
27717         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
27718         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
27719         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
27720         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
27721         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
27722         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
27724 2014-05-13  Andreas Schwab  <schwab@suse.de>
27726         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
27728 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
27730         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
27731         (__ASSUME_UTIMES): Do not condition on kernel version.
27732         (__ASSUME_PSELECT): Define unconditionally.
27733         (__ASSUME_PPOLL): Likewise.
27734         (__ASSUME_ATFCTS): Likewise.
27735         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
27736         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
27737         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
27738         (__ASSUME_UTIMENSAT): Define unconditionally.
27739         (__ASSUME_PRIVATE_FUTEX): Likewise.
27740         (__ASSUME_FALLOCATE): Likewise.
27741         (__ASSUME_O_CLOEXEC): Likewise.
27742         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
27743         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
27744         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
27745         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
27746         (__ASSUME_IN_NONBLOCK): Likewise.
27747         (__ASSUME_PIPE2): Likewise.
27748         (__ASSUME_EVENTFD2): Likewise.
27749         (__ASSUME_SIGNALFD4): Likewise.
27750         (__ASSUME_DUP3): Likewise.
27751         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
27752         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
27753         (__ASSUME_AT_RANDOM): Likewise.
27754         (__ASSUME_PREADV): Likewise.
27755         (__ASSUME_PWRITEV): Likewise.
27756         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
27757         (__ASSUME_F_GETOWN_EX): Define unconditionally.
27758         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
27759         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
27760         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
27761         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
27762         (__ASSUME_O_CLOEXEC): Define unconditionally.
27763         (__ASSUME_PSELECT): Do not undefine conditionally.
27764         (__ASSUME_PPOLL): Likewise.
27765         (__ASSUME_ATFCTS): Likewise.
27766         (__ASSUME_SET_ROBUST_LIST): Likewise.
27767         (__ASSUME_UTIMENSAT): Likewise.
27768         (__ASSUME_FDATASYNC): Define unconditionally.
27769         * sysdeps/unix/sysv/linux/arm/kernel-features.h
27770         (__ASSUME_SIGFRAME_V2): Likewise.
27771         )__ASSUME_EVENTFD2): Likewise.
27772         (__ASSUME_SIGNALFD4): Likewise.
27773         (__ASSUME_PSELECT): Do not undefine conditionally.
27774         (__ASSUME_PPOLL): Likewise.
27775         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
27776         (__ASSUME_PSELECT): Define unconditionally.
27777         (__ASSUME_PPOLL): Likewise.
27778         (__ASSUME_O_CLOEXEC): Likewise.
27779         (__ASSUME_SOCK_CLOEXEC): Likewise.
27780         (__ASSUME_IN_NONBLOCK): Likewise.
27781         (__ASSUME_PIPE2): Likewise.
27782         (__ASSUME_EVENTFD2): Likewise.
27783         (__ASSUME_SIGNALFD4): Likewise.
27784         (__ASSUME_DUP3): Likewise.
27785         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
27786         (__ASSUME_O_CLOEXEC): Likewise.
27787         (__ASSUME_SOCK_CLOEXEC): Likewise.
27788         (__ASSUME_IN_NONBLOCK): Likewise.
27789         (__ASSUME_PIPE2): Likewise.
27790         (__ASSUME_EVENTFD2): Likewise.
27791         (__ASSUME_SIGNALFD4): Likewise.
27792         (__ASSUME_DUP3): Likewise.
27793         * sysdeps/unix/sysv/linux/mips/kernel-features.h
27794         (__ASSUME_EVENTFD2): Likewise.
27795         (__ASSUME_SIGNALFD4): Likewise.
27796         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
27798 2014-05-12  Andreas Schwab  <schwab@suse.de>
27800         [BZ #16932]
27801         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
27802         (_nss_nis_gethostbyname4_r): Return error if item length is larger
27803         than maximum RPC packet size.
27804         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
27805         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
27806         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
27807         (_nss_nis_getservbyport_r): Likewise.
27809 2014-05-12  Will Newton  <will.newton@linaro.org>
27811         * malloc/Makefile (tests): Add tst-mallopt.
27812         * malloc/tst-mallopt.c: New file.
27814 2014-05-09  Roland McGrath  <roland@hack.frob.com>
27816         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
27817         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
27819 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27821         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
27822         (tst-tlsmod6.so): Likewise.
27824 2014-05-09  Roland McGrath  <roland@hack.frob.com>
27826         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
27828 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
27830         [BZ #16064]
27831         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
27832         and <dl-procinfo.h>.
27833         (__fegetenv): Save SSE state in envp->__eip if supported.
27834         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
27835         envp->__eip if supported.
27836         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
27837         and <dl-procinfo.h>.
27838         (__fesetenv): Always set __eip, __cs_selector, __opcode,
27839         __data_offset and __data_selector in environment to 0.  Set SSE
27840         state if supported.
27841         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
27842         test-fenv-sse.
27843         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
27844         -mfpmath=sse.
27845         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
27847 2014-05-09  Will Newton  <will.newton@linaro.org>
27849         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
27850         and libc_relro_required for ARM.
27851         * sysdeps/arm/preconfigure: Regenerate.
27853 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
27854             Stefan Liebler  <stli@linux.vnet.ibm.com>
27856         * config.make.in (enable-lock-elision): New Makefile variable.
27857         * configure.ac: Likewise.
27858         * configure: Regenerate.
27859         * sysdeps/s390/configure.ac:
27860         Add check for gcc transactions support.
27861         * sysdeps/s390/configure: Regenerate.
27862         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
27863         Build elision files if enabled.
27864         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
27865         Add lock elision support for s390.
27866         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
27867         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
27868         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
27869         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
27870         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
27871         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
27872         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
27873         Likewise.
27874         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
27875         Likewise.
27876         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
27877         Likewise.
27878         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
27879         Likewise.
27880         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
27881         (__lll_timedlock_elision, __lll_lock_elision)
27882         (__lll_unlock_elision, __lll_trylock_elision)
27883         (lll_timedlock_elision, lll_lock_elision)
27884         (lll_unlock_elision, lll_trylock_elision): Add.
27885         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
27886         (pthread_mutex_t): Add lock elision support for s390.
27888 2014-05-14  Wilco  <wdijkstr@arm.com>
27890         * sysdeps/arm/fclrexcpt.c: Cleanup.
27891         * sysdeps/arm/fedisblxcpt.c: Cleanup.
27892         * sysdeps/arm/feenablxcpt.c: Cleanup.
27893         * sysdeps/arm/fegetenv.c: Cleanup.
27894         * sysdeps/arm/fegetexcept.c: Cleanup.
27895         * sysdeps/arm/fegetround.c: Cleanup.
27896         * sysdeps/arm/feholdexcpt.c: Cleanup.
27897         * sysdeps/arm/fesetenv.c: Cleanup.
27898         * sysdeps/arm/fesetround.c: Cleanup.
27899         * sysdeps/arm/feupdateenv.c: Cleanup.
27900         * sysdeps/arm/fgetexcptflg.c: Cleanup.
27901         * sysdeps/arm/fraiseexcpt.c: Cleanup.
27902         * sysdeps/arm/fsetexcptflg.c: Cleanup.
27903         * sysdeps/arm/ftestexcept.c: Cleanup.
27904         * sysdeps/arm/get-rounding-mode.h: Cleanup.
27905         * sysdeps/arm/setfpucw.c: Cleanup.
27907 2014-05-09  Will Newton  <will.newton@linaro.org>
27909         * sysdeps/arm/armv7/strcmp.S: New file.
27910         * NEWS: Mention addition of ARMv7 optimized strcmp.
27912 2014-05-08  Roland McGrath  <roland@hack.frob.com>
27914         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
27915         look for %.ac rather than %.in.
27917         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
27918         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
27919         * sysdeps/mach/hurd/configure: Regenerated.
27920         * sysdeps/unix/sysv/linux/configure: Regenerated.
27922         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
27924 2014-05-07  Steve Ellcey  <sellcey@mips.com>
27926         [BZ# 16922]
27927         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
27928         (LONG_SUB): Ditto.
27929         (PTR_SUB): Ditto.
27931 2014-05-07  Andreas Schwab  <schwab@suse.de>
27933         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
27934         when skipping over non-matching result from nscd.
27936 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
27938         [BZ #16876]
27939         * nptl/sockperf.c (client): Check socket return value.
27941         [BZ #16877]
27942         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
27943         nscd security class.
27945 2014-05-06  Roland McGrath  <roland@hack.frob.com>
27947         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
27948         * sysdeps/arm/unwind.h: ... here.
27950 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
27952         [BZ# 16916]
27953         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
27954         Define.
27956 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
27958         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
27959         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
27960         multiarch strncpy for PPC64.
27961         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
27962         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
27963         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
27964         multiarch optimizations.
27965         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
27966         (__libc_ifunc_impl_list): Likewise.
27967         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
27968         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
27969         multiarch stpncpy for PPC64.
27970         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
27971         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
27973 2014-05-06  Andreas Schwab  <schwab@suse.de>
27975         [BZ #16912]
27976         * gmon/mcount.c (_MCOUNT_DECL): Use
27977         atomic_compare_and_exchange_bool_acq instead of
27978         catomic_compare_and_exchange_bool_acq.
27980 2014-05-05  Roland McGrath  <roland@hack.frob.com>
27982         * elf/Makefile (others, install-bin): Remove pldd.
27983         (pldd-modules): Variable removed.
27984         ($(objpfx)pldd): Target removed.
27985         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
27986         (others, install-bin): Append pldd here.
27987         ($(objpfx)pldd): New target.
27989         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
27990         to 0, so the first #if test emitted later doesn't see it undefined.
27991         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
27992         * sysdeps/gnu/errlist.c: Regenerated.
27994 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27996         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
27997         [libc_hidden_builtin_def]: Define to empty value.
27998         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
27999         [libc_hidden_builtin_def]: Likewise.
28000         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
28001         [libc_hidden_builtin_def]: Likewise.
28002         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
28003         [libc_hidden_builtin_def]: Likewise.
28004         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
28005         __redirect_memcpy and define ifunc as default hidden symbol.
28006         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
28007         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
28009 2014-05-04  Adam Conrad  <adconrad@0c3.net>
28011         * locale/iso-4217.def: Reintroduce XDR currency.
28013 2014-05-04  Allan McRae  <allan@archlinux.org>
28015         * po/eo.po: Update Esperanto translation from translation project.
28017 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
28019         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
28020         and FEATURE_INDEX_MAX to 1.
28021         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
28023 2014-05-01  Steve Ellcey  <sellcey@mips.com>
28025         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
28026         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
28027         * iconvdata/big5.c (ONE_DIRECTION): Define.
28028         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
28029         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
28030         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
28031         * iconvdata/cp932.c (ONE_DIRECTION): Define.
28032         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
28033         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
28034         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
28035         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
28036         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
28037         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
28038         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
28039         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
28040         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
28041         * iconvdata/gbk.c (ONE_DIRECTION): Define.
28042         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
28043         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
28044         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
28045         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
28046         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
28047         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
28048         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
28049         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
28050         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
28051         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
28052         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
28053         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
28054         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
28055         * iconvdata/iso646.c (ONE_DIRECTION): Define.
28056         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
28057         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
28058         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
28059         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
28060         * iconvdata/johab.c (ONE_DIRECTION): Define.
28061         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
28062         * iconvdata/sjis.c (ONE_DIRECTION): Define.
28063         * iconvdata/t.61.c (ONE_DIRECTION): Define.
28064         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
28065         * iconvdata/tscii.c (ONE_DIRECTION): Define.
28066         * iconvdata/uhc.c (ONE_DIRECTION): Define.
28067         * iconvdata/unicode.c (ONE_DIRECTION): Define.
28068         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
28069         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
28070         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
28072 2014-05-01  Roland McGrath  <roland@hack.frob.com>
28074         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
28075         (_IO_JUMPS_OFFSET): Define to 0.
28077         * nptl/sysdeps/pthread/bits/libc-lock.h
28078         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
28079         (__libc_lock_define_initialized_recursive): Always define using
28080         initializer.  Modern compilers treat uninitialized (implicit zero) and
28081         explicit zero initializers the same (i.e. put the datum in bss).
28083 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
28085         * nscd/nscd-client.h: Include <string.h>.
28087 2014-05-01  David S. Miller  <davem@davemloft.net>
28089         [BZ #16885]
28090         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
28091         multiple zero bytes exist at the end of a string.
28092         Reported by Aurelien Jarno <aurelien@aurel32.net>
28094         * string/test-strcmp.c (check): Add explicit test for situations where
28095         there are multiple zero bytes after the first.
28097 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
28099         [BZ #16890]
28100         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
28101         when compiling wprintf.
28102         * stdio-common/tstdiomisc.c (t3): New function.
28103         (main): Call it.
28105 2014-05-01  Steve Ellcey  <sellcey@mips.com>
28107         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
28108         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
28109         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
28110         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
28112 2014-05-01  Steve Ellcey  <sellcey@mips.com>
28114         * stdlib/longlong.h: Updated from GCC.
28116 2014-05-01  Will Newton  <will.newton@linaro.org>
28117             Bernard Ogden  <bernie.ogden@linaro.org>
28119         * NEWS: Update fixed bug list.
28121         [BZ #15119]
28122         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
28124 2014-04-30  David S. Miller  <davem@davemloft.net>
28126         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
28127         (libc_feholdexcept_setround_sparc_ctx): New function.
28128         (libc_fesetenv_sparc_ctx): Likewise.
28129         (libc_feupdateenv_sparc_ctx): Likewise.
28130         (libc_feholdsetround_sparc_ctx): Likewise.
28131         (libc_feholdexcept_setround_ctx): Define.
28132         (libc_feholdexcept_setroundf_ctx): Likewise.
28133         (libc_feholdexcept_setroundl_ctx): Likewise.
28134         (libc_fesetenv_ctx): Likewise.
28135         (libc_fesetenvf_ctx): Likewise.
28136         (libc_fesetenvl_ctx): Likewise.
28137         (libc_feupdateenv_ctx): Likewise.
28138         (libc_feupdateenvf_ctx): Likewise.
28139         (libc_feupdateenvl_ctx): Likewise.
28140         (libc_feresetround_ctx): Likewise.
28141         (libc_feresetroundf_ctx): Likewise.
28142         (libc_feresetroundl_ctx): Likewise.
28143         (libc_feholdsetround_ctx): Likewise.
28144         (libc_feholdsetroundf_ctx): Likewise.
28145         (libc_feholdsetroundl_ctx): Likewise.
28147         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
28148         with __USE_GNU instead of XOPEN cpp guards.
28150         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
28151         0.
28153         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
28154         with XOPEN cpp guards.
28156 2014-04-30  Julian Brown  <julian@codesourcery.com>
28158         [BZ #16888]
28159         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
28160         handling.
28162 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
28164         [BZ #9894]
28165         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
28166         Change to 2.6.32.
28167         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
28168         * sysdeps/unix/sysv/linux/configure: Regenerated.
28169         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
28170         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
28171         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
28172         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
28173         * README: Update reference to required Linux kernel version.
28174         * manual/install.texi (Linux): Update reference to required Linux
28175         kernel headers version.
28176         * INSTALL: Regenerated.
28178         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
28179         header inclusion.
28180         [POSIX] (limits.h): Likewise.
28181         [POSIX] (math.h): Likewise.
28182         [POSIX] (sys/wait.h): Likewise.
28183         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
28184         function.
28185         [POSIX] (stddef.h): Do not allow header inclusion.
28187 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28189         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
28191 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
28193         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
28194         Return immediately after lll_futex_wake.
28196 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
28198         [BZ #16791]
28199         * nscd/nscd-client.h (datahead_init_common): Initialize entire
28200         structure.
28201         (datahead_init_pos): Call datahead_init_common early.
28202         (datahead_init_neg): Likewise.
28204         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
28205         datahead_init_neg): New functions.
28206         * nscd/aicache.c (addhstaiX): Use them.
28207         * nscd/grpcache.c (cache_addgr): Likewise.
28208         * nscd/hstcache.c (cache_addhst): Likewise.
28209         * nscd/initgrcache.c (addinitgroupsX): Likewise.
28210         * nscd/netgroupcache.c (do_notfound): Likewise.
28211         (addgetnetgrentX): Likewise.
28212         (addinnetgrX): Likewise.
28213         * nscd/pwdcache.c (cache_addpw): Likewise.
28214         * nscd/servicescache.c (cache_addserv): Likewise.
28216 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
28217             Atsushi Onoe  <atsushi@onoe.org>
28219         [BZ #14308]
28220         [BZ #12994]
28221         [BZ #13651]
28222         * resolv/res_query.c (__libc_res_nsearch): Return if at least
28223         one response is valid.
28224         * resolv/res_send.c (send_dg): Check for validity of other
28225         response if the current response is a referral.
28227 2014-04-29  Steve Ellcey  <sellcey@mips.com>
28229         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
28231 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
28233         [BZ #16823]
28234         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
28235         Always divide by positive zero when computing -Inf result.
28236         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
28237         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
28239 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28241         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
28242         FPSCR if value do not change.
28243         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
28244         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
28245         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
28246         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
28247         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
28248         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
28249         function.
28251 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
28253         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
28254         * sysdeps/unix/sysv/linux/hppa: Move directory from
28255         ports/systeps/unix/sysv/linux/hppa.
28256         * README: Update listing for hppa-*-linux-gnu.
28258 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
28260         [BZ #16754]
28261         * manual/stdio.texi (Hook functions): Fix types of stream hook
28262         functions.
28263         [BZ #16854]
28264         * socket/sys/socket.h: Fix typo in comment.
28266 2014-04-28  Wilco  <wdijkstr@arm.com>
28268         * sysdeps/arm/fenv_private.h: New file.
28269         * sysdeps/arm/math_private.h: New file.
28270         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
28272 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
28274         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
28275         with __int128_t.
28276         (La_x86_64_retval): Likewise.
28278 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
28280         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
28281         fpsr if value didn't change.
28282         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
28283         to fpcr if value didn't change.
28284         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
28285         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
28286         fpsr or fpcr if value didn't change.
28287         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
28288         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
28289         fpcr if value didn't change.
28290         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
28291         to fpsr if value didn't change.
28293 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
28295         * nptl/tst-sem3.c: Use test-skeleton.c
28296         (main): Rename to do_test.  Use return instead of
28297         exit.
28298         * nptl/tst-sem4.c: Use test-skeleton.c
28299         (main): Rename to do_test.
28301 2014-04-22  David S. Miller  <davem@davemloft.net>
28303         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
28304         (struct sigaction): New struct member __glibc_reserved0, change
28305         type of sa_flags to int.
28307 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
28309         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
28310         (COUNT_LEADING_ZEROS_0): Define for AArch64.
28312 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
28314         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
28315         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
28317 2014-04-22  Will Newton  <will.newton@linaro.org>
28318             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
28320         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
28321         (__longjmp): Add longjmp and longjmp_target SystemTap
28322         probes.
28323         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
28324         (__sigsetjmp): Add setjmp SystemTap probe.
28326 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
28328         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
28329         match manual order.
28331 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28333         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
28335         * sysdeps/powerpc/fpu/fenv_private.h
28336         (libc_feholdexcept_setroundl_ctx): Define to
28337         libc_feholdexcept_setround_ppc_ctx.
28338         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
28339         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
28340         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
28341         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
28343 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
28345         * sysdeps/aarch64/math-tests.h: New file.
28347 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
28349         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
28350         New.
28351         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28352         Check and set bit_AVX2_Usable.
28353         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
28354         macro.
28355         (bit_AVX2): Likewise.
28356         (index_AVX2_Usable): Likewise.
28357         (CPUID_AVX2): Likewise.
28358         (HAS_AVX2): Likewise.
28360 2014-04-17  Will Newton  <will.newton@linaro.org>
28362         * manual/setjmp.texi (System V contexts): Add note that
28363         calling setcontext on a context created by a call to a
28364         signal handler is undefined.  Update text to note that
28365         setcontext from a signal handler is possible but not
28366         recommended.
28368         [BZ #16629]
28369         * stdlib/tst-setcontext.c: Include signal.h.
28370         (main): Check that the signal stack before and
28371         after swapcontext is the same.
28373         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
28374         Re-implement to restore registers in user code and avoid
28375         rt_sigreturn system call.
28377 2014-04-17  Wilco  <wdijkstr@arm.com>
28379         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
28380         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
28381         * math/test-fenv.c: Skip exception trap tests on targets which only
28382         support non-stop mode.
28384 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
28385             Wilco Dijkstra  <wilco.dijkstra@arm.com>
28387         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
28388         (libc_feholdsetround_aarch64_ctx)
28389         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
28390         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
28391         (libc_feresetround_ctx, libc_feresetroundf_ctx)
28392         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
28393         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
28394         (libc_feresetround_noexl_ctx): Define.
28396 2014-04-16  Richard Henderson  <rth@redhat.com>
28398         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
28400         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
28401         unwind tables.
28403         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
28404         const from the non-libc, non-ldso copy.
28406         * sysdeps/alpha/libm-test-ulps: Regenerate.
28408 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
28409             Wilco Dijkstra  <wilco.dijkstra@arm.com>
28411         * sysdeps/aarch64/fpu/math_private.h: New file.
28413 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
28415         * sysdeps/aarch64/libm-test-ulps: Regenerate.
28417 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
28419         [BZ #16275]
28420         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
28421         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
28422         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
28423         Intel MPX bound registers before _dl_profile_fixup.
28424         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
28425         registers after _dl_profile_fixup.  Save and restore bound
28426         registers bnd0/bnd1 when calling _dl_call_pltexit.
28427         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
28428         (LR_BND_OFFSET): Likewise.
28429         (LRV_BND0_OFFSET): Likewise.
28430         (LRV_BND1_OFFSET): Likewise.
28432 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28434         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
28435         to...
28436         * sysdeps/mach/hurd/i386/tls.h: ... here.
28437         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
28438         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
28439         fields.
28441 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28443         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
28445 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
28447         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
28449 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
28451         [BZ #14770]
28452         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
28453         * sysdeps/s390/configure: Regenerate.
28455         [BZ #16824]
28456         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
28457         Set round-to-nearest internally to reduce error accumulation.
28459 2014-04-16  Alan Modra  <amodra@gmail.com>
28461         [BZ #16740]
28462         [BZ #16619]
28463         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
28464         * math/libm-test.inc (frexp_test_data): Add tests.
28465         * NEWS: Update fixed bug list.
28467 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
28469         * benchtests/Makefile: Depend on libraries in build directory.
28470         (bench-math): Separate out math tests.
28471         (bench-pthread): Separate out pthread tests.
28472         (bench): Include math and pthread tests.
28474 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
28476         [BZ #16831]
28477         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
28478         _dl_debug_initialize.
28480         * configure.ac: Remove SELinux header check.
28481         * configure: Regenerate.
28482         * nscd/selinux.c (perms): Array of const char* to permission names.
28483         (nscd_request_avc_has_perm): Call security_deny_unknown to find
28484         default policy. Call string_to_security_class and string_to_av_perm to
28485         translate strings. Enforce default policy and call avs_has_perm with
28486         results of translated strings.
28488 2014-04-13  David S. Miller  <davem@davemloft.net>
28490         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28492 2014-04-12  Allan McRae  <allan@archlinux.org>
28494         [BZ #16838]
28495         * manual/string.texi (Collation Functions): Fix qsort argument
28496         order in example.
28497         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
28499 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
28501         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
28502         Make the test a no-op if there are no exceptions defined.
28504 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
28506         * elf/Makefile (tests): make tst-dlopen-aout conditional on
28507         enable-hardcoded-path-in-tests
28509 2014-04-11  Will Newton  <will.newton@linaro.org>
28511         * benchtests/Makefile (extra-objs): Add json-lib.o.
28512         (bench-func): Tidy up JSON output.
28513         * benchtests/bench-skeleton.c: Include json-lib.h.
28514         (main): Use JSON library functions to do output of
28515         benchmark results.
28516         * benchtests/bench-timing-type.c (main): Output the
28517         timing type simply, leaving formatting to the user.
28518         * benchtests/json-lib.c: New file.
28519         * benchtests/json-lib.h: Likewise.
28521 2014-04-11  Torvald Riegel  <triegel@redhat.com>
28523         [BZ #15215]
28524         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
28525         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
28526         memory barriers.  Add comments.
28527         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
28528         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
28529         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
28530         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
28531         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
28532         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
28534 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
28536         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
28537         * sysdeps/s390/s390-64/configure.ac: ... this ...
28538         * sysdeps/s390/configure.ac: ... to here.
28539         * sysdeps/s390/s390-32/configure: Delete file.
28540         * sysdeps/s390/s390-64/configure: Delete file.
28541         * sysdeps/s390/configure: Regenerate.
28543 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
28545         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
28547 2014-04-11  Will Newton  <will.newton@linaro.org>
28549         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
28550         to zero if it is not defined elsewhere.  (mtrim): Test
28551         the value of MALLOC_DEBUG with #if rather than #ifdef.
28553 2014-04-10 Torvald Riegel  <triegel@redhat.com>
28555         * benchtests/pthread_once-inputs: New file.
28556         * benchtests/pthread_once-source.c: New file.
28557         * benchtests/README: Update documentation.
28559 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
28560             H.J. Lu  <hongjiu.lu@intel.com>
28562         [BZ #16275]
28563         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
28564         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
28565         * sysdeps/x86_64/configure: Regenerated.
28566         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
28567         macro.
28568         (REGISTER_SAVE_RAX): Likewise.
28569         (REGISTER_SAVE_RCX): Likewise.
28570         (REGISTER_SAVE_RDX): Likewise.
28571         (REGISTER_SAVE_RSI): Likewise.
28572         (REGISTER_SAVE_RDI): Likewise.
28573         (REGISTER_SAVE_R8): Likewise.
28574         (REGISTER_SAVE_R9): Likewise.
28575         (REGISTER_SAVE_BND0): Likewise.
28576         (REGISTER_SAVE_BND1): Likewise.
28577         (REGISTER_SAVE_BND2): Likewise.
28578         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
28579         bound registers when calling _dl_fixup.
28581 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28583         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
28584         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
28585         of its definition.
28586         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
28587         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
28588         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
28589         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
28590         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
28591         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
28592         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
28594 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
28596         [BZ #15514]
28597         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
28598         pathconf(_PC_NAME_MAX).
28600 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28602         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
28603         Remove macro usage.
28604         (__PTHREAD_SPINS): Move definition to ...
28605         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
28606         (__PTHREAD_SPINS): ... here.
28607         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
28608         (__PTHREAD_SPIN): Likewise.
28609         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
28610         (__PTHREAD_SPIN): Likewise.
28611         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
28612         (__PTHREAD_SPIN): Likewise.
28613         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
28614         (__PTHREAD_SPIN): Likewise.
28615         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
28616         (__PTHREAD_SPIN): Likewise.
28617         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
28618         (__PTHREAD_SPIN): Likewise.
28619         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
28620         (__PTHREAD_SPIN): Likewise.
28621         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
28622         (__PTHREAD_SPIN): Likewise.
28623         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
28624         (__PTHREAD_SPIN): Likewise.
28625         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
28626         (__PTHREAD_SPIN): Likewise.
28627         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
28628         (__PTHREAD_SPIN): Likewise.
28629         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
28630         (__PTHREAD_SPIN): Likewise.
28632         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
28633         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
28634         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
28635         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
28636         imply folder.
28637         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
28638         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
28639         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
28640         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
28641         correct imply path.
28642         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
28643         strlen symbol for non multi-arch builds.
28644         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
28645         missing hidden_def and weak_alias.
28647 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
28649         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
28651 2014-04-07  Will Newton  <will.newton@linaro.org>
28653         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
28654         and contents.  [!_LIBC] Remove #ifndef and contents.
28655         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
28656         * string/memccpy.c (__memccpy): Use ANSI prototype.
28657         * string/memfrob.c (memfrob): Likewise.
28658         * string/strcoll.c (STRCOLL): Likewise.
28659         * string/strlen.c (strlen): Likewise.
28660         * string/strtok.c (STRTOK): Likewise.
28661         * string/strcat.c: Remove unused #include of memcopy.h.
28662         (strcat): Use ANSI prototype.
28663         * string/strchr.c: Remove unused #include of memcopy.h.
28664         (strchr): Use ANSI prototype.
28665         * string/strcmp.c: Remove unused #include of memcopy.h.
28666         (strcmp): Use ANSI prototype.
28667         * string/strcpy.c: Remove unused #include of memcopy.h.
28668         (strcpy): Use ANSI prototype.
28670 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28672         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
28673         * config.make.in (config-extra-cppflags): Set it from
28674         libc_extra_cppflags.
28675         * configure.ac (libc_extra_cflags): Make it accumulate over
28676         configure fragments.
28677         (libc_extra_cppflags): New flag.
28678         * configure. Regenerate.
28679         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
28680         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
28681         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
28682         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
28684         [BZ #16815]
28685         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
28686         result for FE_DOWNWARD rounding mode.
28687         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
28688         Likewise.
28689         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28691 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
28693         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
28694         in function argument name.
28696 2014-04-03  David Svoboda  <svoboda@cert.org>
28698         [BZ #5666]
28699         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
28700         explicitly.
28702 2014-04-03  Roland McGrath  <roland@hack.frob.com>
28704         * elf/dl-unmap-segments.h: New file.
28705         * sysdeps/generic/ldsodefs.h
28706         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
28707         * elf/dl-close.c: Include <dl-unmap-segments.h>.
28708         * elf/dl-fptr.c: Likewise.
28709         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
28710         * sysdeps/aarch64/tlsdesc.c: Likewise.
28711         * sysdeps/arm/tlsdesc.c: Likewise.
28712         * sysdeps/i386/tlsdesc.c: Likewise.
28713         * sysdeps/tile/dl-runtime.c: Likewise.
28714         * sysdeps/x86_64/tlsdesc.c: Likewise.
28715         * elf/dl-load.h: New file.
28716         * elf/dl-load.c: Include it.
28717         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
28718         Macros moved to dl-load.h.
28719         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
28720         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
28721         Use _dl_unmap_segments in place of __munmap.
28722         Break out segment-mapping loop into ...
28723         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
28725 2014-04-03  Will Newton  <will.newton@linaro.org>
28727         * elf/dl-lookup.c (do_lookup_x): Remove comment
28728         referring to nested function and move variable
28729         declarations down to before first use.
28731 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
28733         [BZ #16799]
28734         [BZ #16800]
28735         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
28736         with 0 numerator.
28737         * math/s_catanf.c (__catanf): Likewise.
28738         * math/s_catanh.c (__catanh): Likewise.
28739         * math/s_catanhf.c (__catanhf): Likewise.
28740         * math/s_catanhl.c (__catanhl): Likewise.
28741         * math/s_catanl.c (__catanl): Likewise.
28742         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
28743         by positive zero when computing -Inf result.
28744         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
28745         (catanh_test): Likewise.
28746         * sysdeps/i386/fpu/libm-test-ulps: Update.
28747         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28749         [BZ #16789]
28750         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
28751         instead of using underflowing value in computing result.
28752         * math/s_clog10.c (__clog10): Likewise.
28753         * math/s_clog10f.c (__clog10f): Likewise.
28754         * math/s_clog10l.c (__clog10l): Likewise.
28755         * math/s_clogf.c (__clogf): Likewise.
28756         * math/s_clogl.c (__clogl): Likewise.
28757         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
28758         (clog10_test): Likewise.
28759         * sysdeps/i386/fpu/libm-test-ulps: Update.
28760         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28762 2014-04-02  Alan Modra  <amodra@gmail.com>
28764         [BZ #16739]
28765         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
28766         output when value is near a power of two.  Use int64_t for lx and
28767         remove casts.  Use decimal rather than hex exponent constants.
28768         Don't use long double multiplication when double will suffice.
28769         * math/libm-test.inc (nextafter_test_data): Add tests.
28770         * NEWS: Add 16739 and 16786 to bug list.
28772         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
28774         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
28776 2014-04-01  Will Newton  <will.newton@linaro.org>
28778         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
28779         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
28781 2014-04-01  Florian Weimer  <fweimer@redhat.com>
28783         [BZ #13347]
28784         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
28785         * nptl/tst-setuid2.c: New file.
28786         * nptl/Makefile (xtests): Add tst-setuid2.
28788 2014-04-01  Alan Modra  <amodra@gmail.com>
28790         [BZ #16786]
28791         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
28793 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
28795         [BZ #6803]
28796         [BZ #6804]
28797         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
28798         set errno as appropriate.
28799         * math/w_scalbf.c (__scalbf): Likewise.
28800         * math/w_scalbl.c (__scalbl): Likewise.
28801         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
28802         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
28803         * math/libm-test.inc (scalb_test_data): Add errno expectations.
28804         Add more NaN tests.
28806         [BZ #16349]
28807         * math/w_atan2.c: Include <errno.h>.
28808         (__atan2): Set errno for result underflowing to zero.
28809         * math/w_atan2f.c: Include <errno.h>.
28810         (__atan2f): Set errno for result underflowing to zero.
28811         * math/w_atan2l.c: Include <errno.h>.
28812         (__atan2l): Set errno for result underflowing to zero.
28813         * math/auto-libm-test-in: Don't allow missing errno for some atan2
28814         tests.
28815         * math/auto-libm-test-out: Regenerated.
28817 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28819         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
28820         Encode instruction correctly in little endian.
28821         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
28822         Likewise.
28823         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
28824         Likewise.
28825         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
28826         Likewise.
28827         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
28828         Likewise.
28830 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
28832         [BZ #9894]
28833         * sysdeps/unix/sysv/linux/kernel-features.h
28834         [__sparc__ && !__arch64__ && !__sparc_v9__]
28835         (__ASSUME_SET_ROBUST_LIST): Do not define.
28836         [__sparc__ && !__arch64__ && !__sparc_v9__]
28837         (__ASSUME_FUTEX_LOCK_PI): Likewise.
28838         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
28839         Likewise.
28840         * sysdeps/unix/sysv/linux/arm/kernel-features.h
28841         (__ASSUME_FUTEX_LOCK_PI): Undefine.
28842         (__ASSUME_REQUEUE_PI): Likewise.
28843         (__ASSUME_SET_ROBUST_LIST): Likewise.
28844         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
28845         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
28846         Undefine.
28847         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
28848         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
28849         Likewise.
28850         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
28851         Likewise.
28852         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
28853         Likewise.
28854         * sysdeps/unix/sysv/linux/mips/kernel-features.h
28855         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
28856         Undefine.
28857         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
28858         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
28859         Likewise.
28861         [BZ #16648]
28862         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
28863         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
28864         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
28866 2014-03-31  Will Newton  <will.newton@linaro.org>
28868         * benchtests/Makefile (bench): Add ffs and ffsll to list
28869         of tests.
28870         * benchtests/ffs-inputs: New file.
28871         * benchtests/ffsll-inputs: Likewise.
28873 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
28875         [BZ #16770]
28876         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
28877         too large before casting to int.
28878         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
28879         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
28880         * math/libm-test.inc (scalb_test_data): Add more tests.
28882 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
28884         * benchtests/Makefile (DETAILED_OPT): New make option.
28885         (bench-func): Run benchmark program with -d if DETAILED_OPT is
28886         set.
28887         * benchtests/bench-skeleton.c: Include stdbool.h.
28888         (main): Store and print timings per input.
28889         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
28890         member to each argument value.
28891         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
28892         (_print_arg_data): Initialize per-input timing to 0.
28894         * benchtests/Makefile (timing-type): New binary.
28895         (bench-clean): Also remove bench-timing-type.
28896         (bench): New target for timing-type.
28897         (bench-func): Print output in JSON format.
28898         * benchtests/bench-skeleton.c (main): Print output in JSON
28899         format.
28900         * benchtests/bench-timing-type.c: New file.
28901         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
28902         (TIMING_PRINT_STATS): Remove.
28903         * benchtests/scripts/bench.py (_print_arg_data): Store variant
28904         name separately.
28906         * benchtests/bench-modf.c: Remove.
28907         * benchtests/modf-inputs: New inputs file.
28909 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
28911         [BZ #16362]
28912         * math/s_clog10.c (M_PI_LOG10E): New macro.
28913         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
28914         imaginary parts are 0.
28915         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
28916         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
28917         imaginary parts are 0.
28918         * math/s_clog10l.c (M_PI_LOG10El): New macro.
28919         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
28920         imaginary parts are 0.
28921         * math/libm-test.inc (clog10_test_data): Update expected results
28922         for when real and imaginary parts are 0.
28924 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
28926         * elf/dl-load.c: Finish conversion of __builtin_expect into
28927         __glibc_{un}likely.
28929 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
28931         [BZ #16348]
28932         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
28933         1+x for argument with exponent below -67.
28934         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
28935         Likewise.
28936         * math/auto-libm-test-in: Add more tests of exp.
28937         * math/auto-libm-test-out: Regenerated.
28939 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
28941         [BZ #16759]
28942         * inet/getnetgrent_r.c (get_nonempty_val): New function.
28943         (nscd_getnetgrent): Use it.
28945         [BZ #16760]
28946         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
28947         of stpcpy.
28949 2014-03-27  Andi Kleen  <ak@linux.intel.com>
28951         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
28952         (lll_robust_lock, lll_cond_lock, lll_timedlock)
28953         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
28954         (lll_robust_unlock): Remove out of line section. Use cfi
28955         intrinsics.
28956         (LLL_STUB_UNWIND_INFO*): Remove.
28957         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
28958         (lll_robust_lock, lll_cond_lock, lll_timedlock)
28959         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
28960         (lll_robust_unlock): Remove out of line section. Use cfi
28961         intrinsics.
28962         (LLL_STUB_UNWIND_INFO*): Remove.
28964 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
28966         [BZ #16758]
28967         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
28968         blank values.
28970 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
28972         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
28974 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
28976         [BZ #16198]
28977         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
28978         fnstenv.
28979         * math/test-fenv-preserve.c: New file.
28980         * math/Makefile (tests): Add test-fenv-preserve.
28982 2014-03-26  Will Newton <will.newton@linaro.org>
28984         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
28986 2014-03-25  Roland McGrath  <roland@hack.frob.com>
28988         * scripts/versionlist.awk: Partition the version sets and emit all
28989         GLIBC_* (sorted) before all others (sorted).
28991 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
28993         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
28994         GLIBC_2.2.5 version.
28996 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28998         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
28999         calls.
29001         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
29002         previous change.
29004         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29006 2014-03-25  Andreas Schwab  <schwab@suse.de>
29008         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
29009         label to be used after in6ailist is initialized.
29011 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29013         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
29014         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
29016 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
29018         [BZ #16357]
29019         [BZ #16599]
29020         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
29021         min_plus_half.
29022         (fp_formats): Update initializers.
29023         (init_fp_formats): Initialize new field.
29024         (output_for_one_input_case): Allow underflow for results up to
29025         min_plus_half.
29026         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
29027         * math/auto-libm-test-in: Don't mark some underflows from asin and
29028         atanh as spurious.
29029         * math/auto-libm-test-out: Regenerated.
29030         * sysdeps/i386/fpu/libm-test-ulps: Update.
29031         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29033 2014-03-25  Andreas Schwab  <schwab@suse.de>
29035         * libio/Makefile (tst-ftell-partial-wide-ENV)
29036         (tst-ftell-active-handler-ENV): Define.
29038 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
29040         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
29042 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
29044         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
29046 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
29048         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
29049         * sysdeps/x86_64/fpu/multiarch/e_exp.c
29050         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
29052 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
29054         [BZ #16634]
29055         * elf/dl-load.c (open_verify): Add mode parameter.
29056         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
29057         (open_path): Change from boolean 'secure' to complete flag 'mode'
29058         (_dl_map_object): Adjust.
29059         * elf/Makefile (tests): Add tst-dlopen-aout.
29060         * elf/tst-dlopen-aout.c: New test.
29062 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
29064         [BZ #16714]
29065         * sysdeps/unix/sysv/linux/s390/bits/stat.h
29066         (struct stat): Rename member pad0 to __glibc_reserved0.
29068         [BZ #16712]
29069         * sysdeps/s390/s390-32/bits/wordsize.h
29070         (__WORDSIZE32_SIZE_ULONG): New define.
29071         * sysdeps/s390/s390-64/bits/wordsize.h
29072         (__WORDSIZE32_SIZE_ULONG): Likewise.
29073         * sysdeps/generic/stdint.h (SIZE_MAX):
29074         Define as UL if __WORDSIZE32_SIZE_ULONG.
29076         [BZ #16713]
29077         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
29078         (__glibc_reserved0): New variable.
29079         (sa_flags): Change type to int.
29081         * posix/Makefile (before-compile): Use += before-compile instead
29082         of a :=.
29084         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
29085         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
29087 2014-03-20  Andreas Schwab  <schwab@suse.de>
29089         [BZ #16743]
29090         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
29091         non-matching result from nscd.
29093 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
29095         * scripts/bench.py: Moved to ...
29096         * benchtests/scripts/bench.py: ... here.
29097         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
29099 2014-03-24  Andreas Schwab  <schwab@suse.de>
29101         [BZ #16002]
29102         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
29103         alloca_account and account alloca use for struct in6ailist.
29105 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
29107         [BZ #16284]
29108         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
29109         rounding mode to recompute results that overflow to infinity or
29110         underflow to zero.
29111         * math/auto-libm-test-in: Don't mark tests as expected to fail for
29112         bug 16284.
29113         * math/auto-libm-test-out: Regenerated.
29114         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
29115         (ccosh_test): Likewise.
29116         (csin_test_data): Use plus_oflow.
29117         (csin_test): Use ALL_RM_TEST.
29118         (csinh_test_data): Use plus_oflow.
29119         (csinh_test): Use ALL_RM_TEST.
29120         * sysdeps/i386/fpu/libm-test-ulps: Update.
29121         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29123 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
29125         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
29126         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
29127         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
29129         [BZ #16731]
29130         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
29131         when x - 1 is zero.
29132         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
29133         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
29134         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
29135         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
29136         argument is 1.
29137         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
29138         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
29139         zero.
29140         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
29141         * sysdeps/i386/fpu/libm-test-ulps: Update.
29142         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29144 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
29146         * scripts/bench.pl: Remove file.
29147         * scripts/bench.py: New benchmark script.
29148         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
29149         * benchtests/README: Mention python dependency.
29150         * scripts/pylintrc: New file.
29151         * scripts/pylint: New file.
29153         * bits/mathdef.h: Use #ifdef instead of #if.
29154         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
29155         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
29156         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
29157         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
29158         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
29159         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
29161 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29162             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
29164         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
29165         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
29166         and strpbrk-ppc64 objects.
29167         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29168         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
29169         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
29170         multiarch strpbrk for POWER7.
29171         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
29172         multiarch strpbrk for PPC64.
29173         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
29174         ifunc selector.
29175         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
29176         strpbrk for POWER7.
29178 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
29180         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
29181         (atan_test): Likewise.
29182         (atanh_test_data): Use NO_TEST_INLINE for two tests.
29183         (atanh_test): Use ALL_RM_TEST.
29184         (atan2_test_data): Likewise.
29185         (cabs_test): Likewise.
29186         (cacosh_test): Likewise.
29187         (carg_test): Likewise.
29188         (casin_test): Likewise.
29189         (casinh_test): Likewise.
29190         (cbrt_test): Likewise.
29191         (csqrt_test): Likewise.
29192         (erf_test): Likewise.
29193         (erfc_test): Likewise.
29194         (pow10_test): Likewise.
29195         (exp2_test): Likewise.
29196         (hypot_test): Likewise.
29197         (j0_test): Likewise.
29198         (j1_test): Likewise.
29199         (lgamma_test): Likewise.
29200         (gamma_test): Likewise.
29201         (sincos_test): Likewise.
29202         (tanh_test): Likewise.
29203         (y0_test): Likewise.
29204         (y1_test): Likewise.
29205         * sysdeps/i386/fpu/libm-test-ulps: Update.
29206         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29208 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29210         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
29211         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
29212         and strcspn-ppc64 objects.
29213         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29214         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
29215         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
29216         multiarch strcspn for POWER7.
29217         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
29218         multiarch strcspn for PPC64.
29219         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
29220         ifunc selector.
29221         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
29222         strcspn for POWER7.
29224 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
29226         * math/gen-libm-test.pl (generate_testfile): Expect only function
29227         name as argument to AUTO_TESTS_* and pass results for all rounding
29228         modes to parse_args.
29229         (parse_auto_input): Separate inputs of automatic tests from
29230         outputs before storing in %auto_tests.
29231         * math/libm-test.inc (acos_test_data): Update call to
29232         AUTO_TESTS_f_f.
29233         (acos_test): Use ALL_RM_TEST.
29234         (acos_tonearest_test_data): Remove.
29235         (acos_test_tonearest): Likewise.
29236         (acos_towardzero_test_data): Likewise.
29237         (acos_test_towardzero): Likewise.
29238         (acos_downward_test_data): Likewise.
29239         (acos_test_downward): Likewise.
29240         (acos_upward_test_data): Likewise.
29241         (acos_test_upward): Likewise.
29242         (acosh_test_data): Update call to AUTO_TESTS_f_f.
29243         (asin_test_data): Likewise.
29244         (asin_test): Use ALL_RM_TEST.
29245         (asin_tonearest_test_data): Remove.
29246         (asin_test_tonearest): Likewise.
29247         (asin_towardzero_test_data): Likewise.
29248         (asin_test_towardzero): Likewise.
29249         (asin_downward_test_data): Likewise.
29250         (asin_test_downward): Likewise.
29251         (asin_upward_test_data): Likewise.
29252         (asin_test_upward): Likewise.
29253         (asinh_test_data): Update call to AUTO_TESTS_f_f.
29254         (atan_test_data): Likewise.
29255         (atanh_test_data): Likewise.
29256         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
29257         (cabs_test_data): Update call to AUTO_TESTS_c_f.
29258         (carg_test_data): Likewise.
29259         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
29260         (ccos_test_data): Update call to AUTO_TESTS_c_c.
29261         (ccosh_test_data): Likewise.
29262         (cexp_test_data): Likewise.
29263         (clog_test_data): Likewise.
29264         (clog10_test_data): Likewise.
29265         (cos_test_data): Update call to AUTO_TESTS_f_f.
29266         (cos_test): Use ALL_RM_TEST.
29267         (cos_tonearest_test_data): Remove.
29268         (cos_test_tonearest): Likewise.
29269         (cos_towardzero_test_data): Likewise.
29270         (cos_test_towardzero): Likewise.
29271         (cos_downward_test_data): Likewise.
29272         (cos_test_downward): Likewise.
29273         (cos_upward_test_data): Likewise.
29274         (cos_test_upward): Likewise.
29275         (cosh_test_data): Update call to AUTO_TESTS_f_f.
29276         (cosh_test): Use ALL_RM_TEST.
29277         (cosh_tonearest_test_data): Remove.
29278         (cosh_test_tonearest): Likewise.
29279         (cosh_towardzero_test_data): Likewise.
29280         (cosh_test_towardzero): Likewise.
29281         (cosh_downward_test_data): Likewise.
29282         (cosh_test_downward): Likewise.
29283         (cosh_upward_test_data): Likewise.
29284         (cosh_test_upward): Likewise.
29285         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
29286         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
29287         (ctan_test_data): Likewise.
29288         (ctan_test): Use ALL_RM_TEST.
29289         (ctan_tonearest_test_data): Remove.
29290         (ctan_test_tonearest): Likewise.
29291         (ctan_towardzero_test_data): Likewise.
29292         (ctan_test_towardzero): Likewise.
29293         (ctan_downward_test_data): Likewise.
29294         (ctan_test_downward): Likewise.
29295         (ctan_upward_test_data): Likewise.
29296         (ctan_test_upward): Likewise.
29297         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
29298         (ctanh_test): Use ALL_RM_TEST.
29299         (ctanh_tonearest_test_data): Remove.
29300         (ctanh_test_tonearest): Likewise.
29301         (ctanh_towardzero_test_data): Likewise.
29302         (ctanh_test_towardzero): Likewise.
29303         (ctanh_downward_test_data): Likewise.
29304         (ctanh_test_downward): Likewise.
29305         (ctanh_upward_test_data): Likewise.
29306         (ctanh_test_upward): Likewise.
29307         (erf_test_data): Update call to AUTO_TESTS_f_f.
29308         (erfc_test_data): Likewise.
29309         (exp_test_data): Likewise.
29310         (exp_test): Use ALL_RM_TEST.
29311         (exp_tonearest_test_data): Remove.
29312         (exp_test_tonearest): Likewise.
29313         (exp_towardzero_test_data): Likewise.
29314         (exp_test_towardzero): Likewise.
29315         (exp_downward_test_data): Likewise.
29316         (exp_test_downward): Likewise.
29317         (exp_upward_test_data): Likewise.
29318         (exp_test_upward): Likewise.
29319         (exp10_test_data): Update call to AUTO_TESTS_f_f.
29320         (exp10_test): Use ALL_RM_TEST.
29321         (exp10_tonearest_test_data): Remove.
29322         (exp10_test_tonearest): Likewise.
29323         (exp10_towardzero_test_data): Likewise.
29324         (exp10_test_towardzero): Likewise.
29325         (exp10_downward_test_data): Likewise.
29326         (exp10_test_downward): Likewise.
29327         (exp10_upward_test_data): Likewise.
29328         (exp10_test_upward): Likewise.
29329         (exp2_test_data): Update call to AUTO_TESTS_f_f.
29330         (expm1_test_data): Likewise.
29331         (expm1_test): Use ALL_RM_TEST.
29332         (expm1_tonearest_test_data): Remove.
29333         (expm1_test_tonearest): Likewise.
29334         (expm1_towardzero_test_data): Likewise.
29335         (expm1_test_towardzero): Likewise.
29336         (expm1_downward_test_data): Likewise.
29337         (expm1_test_downward): Likewise.
29338         (expm1_upward_test_data): Likewise.
29339         (expm1_test_upward): Likewise.
29340         (fma_test_data): Update call to AUTO_TESTS_fff_f.
29341         (fma_test): Use ALL_RM_TEST.
29342         (fma_towardzero_test_data): Remove.
29343         (fma_test_towardzero): Likewise.
29344         (fma_downward_test_data): Likewise.
29345         (fma_test_downward): Likewise.
29346         (fma_upward_test_data): Likewise.
29347         (fma_test_upward): Likewise.
29348         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
29349         (j0_test_data): Update call to AUTO_TESTS_f_f.
29350         (j1_test_data): Likewise.
29351         (jn_test_data): Update call to AUTO_TESTS_if_f.
29352         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
29353         (log_test_data): Update call to AUTO_TESTS_f_f.
29354         (log10_test_data): Likewise.
29355         (log1p_test_data): Likewise.
29356         (log2_test_data): Likewise.
29357         (pow_test_data): Update call to AUTO_TESTS_ff_f.
29358         (pow_tonearest_test_data): Likewise.
29359         (sin_test_data): Update call to AUTO_TESTS_f_f.
29360         (sin_test): Use ALL_RM_TEST.
29361         (sin_tonearest_test_data): Remove.
29362         (sin_test_tonearest): Likewise.
29363         (sin_towardzero_test_data): Likewise.
29364         (sin_test_towardzero): Likewise.
29365         (sin_downward_test_data): Likewise.
29366         (sin_test_downward): Likewise.
29367         (sin_upward_test_data): Likewise.
29368         (sin_test_upward): Likewise.
29369         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
29370         (sinh_test_data): Update call to AUTO_TESTS_f_f.
29371         (sinh_test): Use ALL_RM_TEST.
29372         (sinh_tonearest_test_data): Remove.
29373         (sinh_test_tonearest): Likewise.
29374         (sinh_towardzero_test_data): Likewise.
29375         (sinh_test_towardzero): Likewise.
29376         (sinh_downward_test_data): Likewise.
29377         (sinh_test_downward): Likewise.
29378         (sinh_upward_test_data): Likewise.
29379         (sinh_test_upward): Likewise.
29380         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
29381         (sqrt_test): Use ALL_RM_TEST.
29382         (sqrt_tonearest_test_data): Remove.
29383         (sqrt_test_tonearest): Likewise.
29384         (sqrt_towardzero_test_data): Likewise.
29385         (sqrt_test_towardzero): Likewise.
29386         (sqrt_downward_test_data): Likewise.
29387         (sqrt_test_downward): Likewise.
29388         (sqrt_upward_test_data): Likewise.
29389         (sqrt_test_upward): Likewise.
29390         (tan_test_data): Update call to AUTO_TESTS_f_f.
29391         (tan_test): Use ALL_RM_TEST.
29392         (tan_tonearest_test_data): Remove.
29393         (tan_test_tonearest): Likewise.
29394         (tan_towardzero_test_data): Likewise.
29395         (tan_test_towardzero): Likewise.
29396         (tan_downward_test_data): Likewise.
29397         (tan_test_downward): Likewise.
29398         (tan_upward_test_data): Likewise.
29399         (tan_test_upward): Likewise.
29400         (tanh_test_data): Update call to AUTO_TESTS_f_f.
29401         (tgamma_test_data): Likewise.
29402         (y0_test_data): Likewise.
29403         (y1_test_data): Likewise.
29404         (yn_test_data): Update call to AUTO_TESTS_if_f.
29405         (main): Do not call removed functions.
29407 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
29409         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
29410         (ldexp_test_data): Remove.
29411         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
29412         scalbn_test_data.
29413         (scalb_test): Use ALL_RM_TEST.
29415 2014-03-19  Andreas Schwab  <schwab@suse.de>
29417         * nscd/nscd.service: Also invalidate netgroup cache on reload.
29419 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
29421         [BZ #16649]
29422         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
29423         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
29424         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
29425         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
29426         (__ASSUME_PREADV): Undefine.
29427         (__ASSUME_PWRITEV): Likewise.
29429 2014-03-18  Roland McGrath  <roland@hack.frob.com>
29431         * bits/mman-linux.h: Add comment about non-Linux use.
29432         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
29433         bits/mman-linux.h resting place.
29435         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
29436         * bits/mman-linux.h: ... here.
29438 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29440         * conform/conformtest.pl: Add standard definition when calling C
29441         preprocessor on data files.
29442         (checknamespace): Remove unused variable.
29444 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
29446         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
29447         minus_oflow, plus_uflow and minus_uflow in expected results.
29448         * math/libm-test.inc (scalbn_test_data): Add more tests of
29449         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
29450         minus_uflow.
29451         (scalbn_test): Use ALL_RM_TEST.
29452         (scalbln_test_data): Add more tests of negative arguments.  Use
29453         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
29454         (scalbln_test): Use ALL_RM_TEST.
29456 2014-03-18  Roland McGrath  <roland@hack.frob.com>
29458         * scripts/abilist.awk: Ignore symbols marked with .hidden.
29460 2014-03-18  Will Newton  <will.newton@linaro.org>
29462         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
29463         inaccurate comment.
29465 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
29467         * Makerules [!subdir] (check-abi): Exit with error status if a
29468         test failed.
29470 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
29472         * math/libm-test.inc (nearbyint_test_data): Include all tests used
29473         for rint.  Include results for all rounding modes.
29474         (nearbyint_test): Use ALL_RM_TEST.
29475         (rint_test_data): Include all tests used for nearbyint.
29477 2014-03-17  Will Newton  <will.newton@linaro.org>
29479         * nptl/sysdeps/pthread/pthread.h: Revert previous
29480         change.
29482         * sysdeps/generic/ldsodefs.h: Revert previous
29483         change.
29485         * libio/genops.c: Revert previous change.
29486         * libio/libioP.h: Likewise.
29487         * stdio-common/vfprintf.c: Likewise.
29489         * sysdeps/generic/math_private.h: Revert previous
29490         change.
29492         * sysdeps/generic/math_private.h: Check whether
29493         HAVE_RM_CTX is defined with #ifdef rather
29494         than #if.
29496         * argp/argp-fmtstream.h: Check whether
29497         __STRICT_ANSI__ is defined with #ifdef rather
29498         than #if.
29499         * argp/argp.h: Likewise.
29501         * libio/genops.c: Check whether
29502         _IO_JUMPS_OFFSET is defined with #ifdef rather
29503         than #if.
29504         * libio/libioP.h: Likewise.
29505         * stdio-common/vfprintf.c: Likewise.
29507         * sysdeps/generic/ldsodefs.h: Check whether
29508         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
29509         than #if.
29511         * nptl/sysdeps/pthread/pthread.h: Check
29512         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
29513         its value.
29515 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
29517         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
29518         setting O_APPEND.
29519         * libio/tst-ftell-active-handler.c (do_append_test): Add a
29520         test case.
29522         [BZ #16680]
29523         * libio/fileops.c (_IO_file_open): Seek to end of file but
29524         don't cache the offset.
29525         (get_file_offset): Remove function.
29526         (do_ftell): Use cached offset when available.
29527         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
29528         don't cache the offset.
29529         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
29530         case.
29531         (do_one_test): Call it.
29532         (do_ftell_test): Fix up expected old offset for a+ mode.
29533         * libio/wfileops.c (do_ftell_wide): Used cached offset when
29534         available.
29536         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
29537         up test status with function return status.
29538         (do_write_test): Likewise.
29539         (do_append_test): Likewise.
29541         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
29542         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
29543         Remove.
29545 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
29547         * math/gen-libm-test.pl (parse_args): Handle results specified for
29548         each rounding mode separately.
29549         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
29550         tests and results from lrint_tonearest_test_data,
29551         lrint_towardzero_test_data, lrint_downward_test_data and
29552         lrint_upward_test_data.
29553         (lrint_test): Use ALL_RM_TEST.
29554         (lrint_tonearest_test_data): Remove.
29555         (lrint_test_tonearest): Likewise.
29556         (lrint_towardzero_test_data): Likewise.
29557         (lrint_test_towardzero): Likewise.
29558         (lrint_downward_test_data): Likewise.
29559         (lrint_test_downward): Likewise.
29560         (lrint_upward_test_data): Likewise.
29561         (lrint_test_upward): Likewise.
29562         (llrint_test_data): Merge in per-rounding-mode tests and results
29563         from llrint_tonearest_test_data, llrint_towardzero_test_data,
29564         llrint_downward_test_data and llrint_upward_test_data.
29565         (llrint_test): Use ALL_RM_TEST.
29566         (llrint_tonearest_test_data): Remove.
29567         (llrint_test_tonearest): Likewise.
29568         (llrint_towardzero_test_data): Likewise.
29569         (llrint_test_towardzero): Likewise.
29570         (llrint_downward_test_data): Likewise.
29571         (llrint_test_downward): Likewise.
29572         (llrint_upward_test_data): Likewise.
29573         (llrint_test_upward): Likewise.
29574         (rint_test_data): Merge in per-rounding-mode tests and results
29575         from rint_tonearest_test_data, rint_towardzero_test_data,
29576         rint_downward_test_data and rint_upward_test_data.  Add
29577         per-rounding-mode results for tests not in those arrays.
29578         (rint_test): Use ALL_RM_TEST.
29579         (rint_tonearest_test_data): Remove.
29580         (rint_test_tonearest): Likewise.
29581         (rint_towardzero_test_data): Likewise.
29582         (rint_test_towardzero): Likewise.
29583         (rint_downward_test_data): Likewise.
29584         (rint_test_downward): Likewise.
29585         (rint_upward_test_data): Likewise.
29586         (rint_test_upward): Likewise.
29587         (main): Don't call removed functions.
29589 2014-03-14  Roland McGrath  <roland@hack.frob.com>
29591         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
29592         "Compiled on ..." crapola.  It is anti-useful.
29594 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
29596         * scripts/evaluate-test.sh: Handle fourth argument to determine
29597         whether test run should stop on failure.
29598         * Makeconfig (stop-on-test-failure): New variable.
29599         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
29600         $(stop-on-test-failure).
29601         * Makefile (tests): Give a summary of results from testing and
29602         exit with failure status if they include an ERROR or FAIL.
29603         (xtests): Likewise.
29604         * manual/install.texi (Configuring and compiling): Mention
29605         stop-on-test-failure=y.
29606         * INSTALL: Regenerated.
29608 2014-03-14  Roland McGrath  <roland@hack.frob.com>
29610         * scripts/versionlist.awk: New file.
29611         * Makerules [$(build-shared) = yes]
29612         (postclean-generated): Add Versions.def, not Versions.def.v and
29613         Versions.def.v.i.
29614         ($(common-objpfx)Versions.def.v.i): Target removed.
29615         ($(common-objpfx)Versions.def): New target.
29616         ($(common-objpfx)Versions.all): Depend on that rather that
29617         $(common-objpfx)Versions.def.v.
29618         * Versions.def: File removed.
29620         * Makeconfig (+gccwarn): Add -Wundef.
29621         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
29622         a dl-sysdep.h breaking its contract.
29623         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
29624         * include/stackinfo.h: New file.
29625         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
29626         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
29627         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
29628         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
29629         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
29630         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
29631         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
29632         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
29633         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
29634         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
29635         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
29636         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
29637         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
29638         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
29639         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
29641 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29643         [BZ #16707]
29644         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
29645         implementation.
29646         * math/libm-test.inc (round_test_data): Add more tests.
29648         [BZ #16706]
29649         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
29650         implementation.
29651         * math/libm-test.inc (nearbyint_test_data): Add more tests.
29653         [BZ #16701]
29654         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
29655         implementation.
29656         * math/libm-test.inc (ceil_test_data): Add more tests.
29658         * math/libm-test.inc (trunc_test_data): Add more tests related to
29659         BZ#16414.
29661 2014-03-14  Roland McGrath  <roland@hack.frob.com>
29663         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
29664         with #if rather than #ifdef.
29665         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
29667 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
29669         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
29670         first.  Disable AVX-512 GCC support if assembler doesn't support
29671         it.
29672         * sysdeps/x86_64/configure: Regenerated.
29674 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
29676         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
29677         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
29678         (__old_pthread_attr_setstack): Likewise.
29679         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
29680         [!_STACK_GROWS_DOWN]: Likewise.
29682 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
29684         * config.make.in (have-bash2): Delete.
29685         * configure.ac (libc_cv_have_bash2): Delete.
29686         * configure: Regenerate.
29687         * elf/Makefile (common-ldd-rewrite): Rename to ...
29688         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
29689         (sh-ldd-rewrite): Delete.
29690         (bash-ldd-rewrite): Delete.
29691         (have-bash2): Delete checks.
29692         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
29693         ldd-rewrite.
29695         * config.make.in (have-ksh): Delete.
29696         (KSH): Delete.
29697         * configure.ac (libc_cv_have_ksh): Delete.
29698         * configure: Regenerate.
29700         * elf/Makefile: Delete $(have-ksh) check.
29701         ($(objpfx)sotruss): Change KSH to BASH.
29702         * elf/sotruss.ksh: Rename to ...
29703         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
29704         function style to match POSIX.  Drop ksh vim mode setting.
29706         * manual/time.texi (Specifying the Time Zone with TZ): Change
29707         Tuesday to Thursday.
29709         * debug/tst-longjmp_chk2.c: Update header comment.
29710         (stackoverflow_handler): Add comment.  Call assert on pass value.
29712 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
29714         [BZ #16194]
29715         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
29716         (HAVE_AVX512_ASM_SUPPORT): Likewise.
29717         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
29718         (La_x86_64_vector): Add zmm.
29719         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
29720         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
29721         ($(objpfx)tst-audit10): New target.
29722         ($(objpfx)tst-audit10.out): Likewise.
29723         (tst-audit10-ENV): New.
29724         (AVX512-CFLAGS): Likewise.
29725         (CFLAGS-tst-audit10.c): Likewise.
29726         (CFLAGS-tst-auditmod10a.c): Likewise.
29727         (CFLAGS-tst-auditmod10b.c): Likewise.
29728         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
29729         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
29730         * sysdeps/x86_64/configure: Regenerated.
29731         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
29732         AVX-512 zmm register support.
29733         (_dl_x86_64_save_sse): Likewise.
29734         (_dl_x86_64_restore_sse): Likewise.
29735         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
29736         size vector registers.
29737         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
29738         (ZMM_SIZE): Likewise.
29739         * sysdeps/x86_64/tst-audit10.c: New file.
29740         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
29741         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
29743 2014-03-13  Roland McGrath  <roland@hack.frob.com>
29745         * configure.ac (HAVE_EHDR_START): New check.
29746         * configure: Regenerated.
29747         * config.h.in (HAVE_EHDR_START): New #undef.
29748         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
29749         assuming the lowest-addressed segment maps the start of the file.
29751 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
29753         * INSTALL: Regenerated.
29755 2014-03-13  Will Newton  <will.newton@linaro.org>
29757         * manual/setjmp.texi (System V contexts): Improve
29758         clarity and grammar of documentation.
29760 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
29762         [BZ #16381]
29763         * elf/Makefile (tests): Add tst-pie2.
29764         (tests-pie): Add tst-pie2.
29765         * elf/tst-pie2.c: New file.
29766         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
29767         for ET_EXEC.
29768         * elf/rtld.c (map_doit): Load executable as lt_executable.
29769         (dl_main): Likewise.
29771 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
29773         [BZ #16642]
29774         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
29775         (__ASSUME_PSELECT): Undefine.
29777 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29779         [BZ #16689]
29780         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
29781         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
29782         static build.
29783         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
29784         selector for static builds.
29786 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
29788         [BZ #16695]
29789         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
29790         key in the buffer.
29792 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29794         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
29795         IFUNC selector for static builds.
29797 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
29799         * sysdeps/mips/math_private.h [__mips_hard_float]
29800         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
29801         libc_feresetround_mips_ctx.
29802         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
29803         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
29804         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
29806         [BZ #16677]
29807         * math/s_nextafter.c (__nextafter): Do not return value from
29808         overflowing computation.
29809         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
29810         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
29811         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
29812         Likewise.
29813         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
29814         Likewise.
29815         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
29816         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
29818 2014-03-11  Roland McGrath  <roland@hack.frob.com>
29820         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
29821         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
29822         Move sfi_sp use from the load-multiple (that no longer sets sp) to
29823         the new mov targetting sp.
29825 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29827         [BZ #16683]
29828         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
29829         Define it for static builds as well.
29830         (NO_BZERO_IMPL): Likewise.
29832 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
29834         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
29835         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
29836         multiarch strspn for PPC64.
29837         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
29838         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
29839         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
29840         (__libc_ifunc_impl_list): Likewise.
29841         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
29842         multiarch optimizations
29843         * string/strspn.c (strspn): Using macro to redefine symbol name.
29845 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
29846             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29848         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
29849         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
29850         multiarch strncat for PPC64.
29851         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
29852         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
29853         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
29854         (__libc_ifunc_impl_list): Likewise.
29855         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
29856         multiarch optimizations
29858 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
29860         [BZ #16639]
29861         * nscd/nscd.service: Make service type forking.
29863 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29865         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
29866         sign in non default rounding modes.
29867         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
29869 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
29871         * math/libm-test.inc (ALL_RM_TEST): New macro.
29872         (ceil_test): Use ALL_RM_TEST.
29873         (cimag_test): Likewise.
29874         (conj_test): Likewise.
29875         (copysign_test): Likewise.
29876         (cproj_test): Likewise.
29877         (creal_test): Likewise.
29878         (fabs_test): Likewise.
29879         (floor_test): Likewise.
29880         (fmax_test): Likewise.
29881         (fmin_test): Likewise.
29882         (fmod_test): Likewise.
29883         (fpclassify_test): Likewise.
29884         (frexp_test): Likewise.
29885         (ilogb_test): Likewise.
29886         (isfinite_test): Likewise.
29887         (finite_test): Likewise.
29888         (isgreater_test): Likewise.
29889         (isgreaterequal_test): Likewise.
29890         (isinf_test): Likewise.
29891         (isless_test): Likewise.
29892         (islessequal_test): Likewise.
29893         (islessgreater_test): Likewise.
29894         (isnan_test): Likewise.
29895         (isnormal_test): Likewise.
29896         (issignaling_test): Likewise.
29897         (isunordered_test): Likewise.
29898         (logb_test): Likewise.
29899         (logb_downward_test_data): Remove.
29900         (logb_test_downward): Likewise.
29901         (lround_test): Use ALL_RM_TEST.
29902         (llround_test): Likewise.
29903         (modf_test): Likewise.
29904         (nexttoward_test): Likewise.
29905         (remainder_test): Likewise.
29906         (drem_test): Likewise.
29907         (remainder_tonearest_test_data): Likewise.
29908         (remainder_test_tonearest): Likewise.
29909         (drem_test_tonearest): Likewise.
29910         (remainder_towardzero_test_data): Likewise.
29911         (remainder_test_towardzero): Likewise.
29912         (drem_test_towardzero): Likewise.
29913         (remainder_downward_test_data): Likewise.
29914         (remainder_test_downward): Likewise.
29915         (drem_test_downward): Likewise.
29916         (remainder_upward_test_data): Likewise.
29917         (remainder_test_upward): Likewise.
29918         (drem_test_upward): Likewise.
29919         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
29920         (round_test): Use ALL_RM_TEST.
29921         (signbit_test): Likewise.
29922         (trunc_test): Likewise.
29923         (significand_test): Likewise.
29924         (main): Don't call removed functions.
29926 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
29928         [BZ #16674]
29929         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
29930         || __USE_XOPEN2K8].
29931         (ILL_ILLOPN): Likewise.
29932         (ILL_ILLADR): Likewise.
29933         (ILL_ILLTRP): Likewise.
29934         (ILL_PRVOPC): Likewise.
29935         (ILL_PRVREG): Likewise.
29936         (ILL_COPROC): Likewise.
29937         (ILL_BADSTK): Likewise.
29938         (FPE_INTDIV): Likewise.
29939         (FPE_INTOVF): Likewise.
29940         (FPE_FLTDIV): Likewise.
29941         (FPE_FLTOVF): Likewise.
29942         (FPE_FLTUND): Likewise.
29943         (FPE_FLTRES): Likewise.
29944         (FPE_FLTINV): Likewise.
29945         (FPE_FLTSUB): Likewise.
29946         (SEGV_MAPERR): Likewise.
29947         (SEGV_ACCERR): Likewise.
29948         (BUS_ADRALN): Likewise.
29949         (BUS_ADRERR): Likewise.
29950         (BUS_OBJERR): Likewise.
29951         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
29952         (TRAP_TRACE): Likewise.
29953         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
29954         __USE_XOPEN2K8].
29955         (CLD_KILLED): Likewise.
29956         (CLD_DUMPED): Likewise.
29957         (CLD_TRAPPED): Likewise.
29958         (CLD_STOPPED): Likewise.
29959         (CLD_CONTINUED): Likewise.
29960         (POLL_IN): Likewise.
29961         (POLL_OUT): Likewise.
29962         (POLL_MSG): Likewise.
29963         (POLL_ERR): Likewise.
29964         (POLL_PRI): Likewise.
29965         (POLL_HUP): Likewise.
29966         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
29967         Likewise.
29968         (ILL_ILLOPN): Likewise.
29969         (ILL_ILLADR): Likewise.
29970         (ILL_ILLTRP): Likewise.
29971         (ILL_PRVOPC): Likewise.
29972         (ILL_PRVREG): Likewise.
29973         (ILL_COPROC): Likewise.
29974         (ILL_BADSTK): Likewise.
29975         (FPE_INTDIV): Likewise.
29976         (FPE_INTOVF): Likewise.
29977         (FPE_FLTDIV): Likewise.
29978         (FPE_FLTOVF): Likewise.
29979         (FPE_FLTUND): Likewise.
29980         (FPE_FLTRES): Likewise.
29981         (FPE_FLTINV): Likewise.
29982         (FPE_FLTSUB): Likewise.
29983         (SEGV_MAPERR): Likewise.
29984         (SEGV_ACCERR): Likewise.
29985         (BUS_ADRALN): Likewise.
29986         (BUS_ADRERR): Likewise.
29987         (BUS_OBJERR): Likewise.
29988         (BUS_MCEERR_AR): Likewise.
29989         (BUS_MCEERR_AO): Likewise.
29990         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
29991         (TRAP_TRACE): Likewise.
29992         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
29993         __USE_XOPEN2K8].
29994         (CLD_KILLED): Likewise.
29995         (CLD_DUMPED): Likewise.
29996         (CLD_TRAPPED): Likewise.
29997         (CLD_STOPPED): Likewise.
29998         (CLD_CONTINUED): Likewise.
29999         (POLL_IN): Likewise.
30000         (POLL_OUT): Likewise.
30001         (POLL_MSG): Likewise.
30002         (POLL_ERR): Likewise.
30003         (POLL_PRI): Likewise.
30004         (POLL_HUP): Likewise.
30005         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
30006         (ILL_ILLOPN): Likewise.
30007         (ILL_ILLADR): Likewise.
30008         (ILL_ILLTRP): Likewise.
30009         (ILL_PRVOPC): Likewise.
30010         (ILL_PRVREG): Likewise.
30011         (ILL_COPROC): Likewise.
30012         (ILL_BADSTK): Likewise.
30013         (FPE_INTDIV): Likewise.
30014         (FPE_INTOVF): Likewise.
30015         (FPE_FLTDIV): Likewise.
30016         (FPE_FLTOVF): Likewise.
30017         (FPE_FLTUND): Likewise.
30018         (FPE_FLTRES): Likewise.
30019         (FPE_FLTINV): Likewise.
30020         (FPE_FLTSUB): Likewise.
30021         (SEGV_MAPERR): Likewise.
30022         (SEGV_ACCERR): Likewise.
30023         (BUS_ADRALN): Likewise.
30024         (BUS_ADRERR): Likewise.
30025         (BUS_OBJERR): Likewise.
30026         (BUS_MCEERR_AR): Likewise.
30027         (BUS_MCEERR_AO): Likewise.
30028         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
30029         (TRAP_TRACE): Likewise.
30030         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
30031         __USE_XOPEN2K8].
30032         (CLD_KILLED): Likewise.
30033         (CLD_DUMPED): Likewise.
30034         (CLD_TRAPPED): Likewise.
30035         (CLD_STOPPED): Likewise.
30036         (CLD_CONTINUED): Likewise.
30037         (POLL_IN): Likewise.
30038         (POLL_OUT): Likewise.
30039         (POLL_MSG): Likewise.
30040         (POLL_ERR): Likewise.
30041         (POLL_PRI): Likewise.
30042         (POLL_HUP): Likewise.
30043         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
30044         Likewise.
30045         (ILL_ILLOPN): Likewise.
30046         (ILL_ILLADR): Likewise.
30047         (ILL_ILLTRP): Likewise.
30048         (ILL_PRVOPC): Likewise.
30049         (ILL_PRVREG): Likewise.
30050         (ILL_COPROC): Likewise.
30051         (ILL_BADSTK): Likewise.
30052         (ILL_BADIADDR): Likewise.
30053         (ILL_BREAK): Likewise.
30054         (FPE_INTDIV): Likewise.
30055         (FPE_INTOVF): Likewise.
30056         (FPE_FLTDIV): Likewise.
30057         (FPE_FLTOVF): Likewise.
30058         (FPE_FLTUND): Likewise.
30059         (FPE_FLTRES): Likewise.
30060         (FPE_FLTINV): Likewise.
30061         (FPE_FLTSUB): Likewise.
30062         (FPE_DECOVF): Likewise.
30063         (FPE_DECDIV): Likewise.
30064         (FPE_DECERR): Likewise.
30065         (FPE_INVASC): Likewise.
30066         (FPE_INVDEC): Likewise.
30067         (SEGV_MAPERR): Likewise.
30068         (SEGV_ACCERR): Likewise.
30069         (SEGV_PSTKOVF): Likewise.
30070         (BUS_ADRALN): Likewise.
30071         (BUS_ADRERR): Likewise.
30072         (BUS_OBJERR): Likewise.
30073         (BUS_MCEERR_AR): Likewise.
30074         (BUS_MCEERR_AO): Likewise.
30075         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
30076         (TRAP_TRACE): Likewise.
30077         (TRAP_BRANCH): Likewise.
30078         (TRAP_HWBKPT): Likewise.
30079         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
30080         __USE_XOPEN2K8].
30081         (CLD_KILLED): Likewise.
30082         (CLD_DUMPED): Likewise.
30083         (CLD_TRAPPED): Likewise.
30084         (CLD_STOPPED): Likewise.
30085         (CLD_CONTINUED): Likewise.
30086         (POLL_IN): Likewise.
30087         (POLL_OUT): Likewise.
30088         (POLL_MSG): Likewise.
30089         (POLL_ERR): Likewise.
30090         (POLL_PRI): Likewise.
30091         (POLL_HUP): Likewise.
30092         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
30093         (ILL_ILLOPN): Likewise.
30094         (ILL_ILLADR): Likewise.
30095         (ILL_ILLTRP): Likewise.
30096         (ILL_PRVOPC): Likewise.
30097         (ILL_PRVREG): Likewise.
30098         (ILL_COPROC): Likewise.
30099         (ILL_BADSTK): Likewise.
30100         (FPE_INTDIV): Likewise.
30101         (FPE_INTOVF): Likewise.
30102         (FPE_FLTDIV): Likewise.
30103         (FPE_FLTOVF): Likewise.
30104         (FPE_FLTUND): Likewise.
30105         (FPE_FLTRES): Likewise.
30106         (FPE_FLTINV): Likewise.
30107         (FPE_FLTSUB): Likewise.
30108         (SEGV_MAPERR): Likewise.
30109         (SEGV_ACCERR): Likewise.
30110         (BUS_ADRALN): Likewise.
30111         (BUS_ADRERR): Likewise.
30112         (BUS_OBJERR): Likewise.
30113         (BUS_MCEERR_AR): Likewise.
30114         (BUS_MCEERR_AO): Likewise.
30115         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
30116         (TRAP_TRACE): Likewise.
30117         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
30118         __USE_XOPEN2K8].
30119         (CLD_KILLED): Likewise.
30120         (CLD_DUMPED): Likewise.
30121         (CLD_TRAPPED): Likewise.
30122         (CLD_STOPPED): Likewise.
30123         (CLD_CONTINUED): Likewise.
30124         (POLL_IN): Likewise.
30125         (POLL_OUT): Likewise.
30126         (POLL_MSG): Likewise.
30127         (POLL_ERR): Likewise.
30128         (POLL_PRI): Likewise.
30129         (POLL_HUP): Likewise.
30130         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
30131         (ILL_ILLOPN): Likewise.
30132         (ILL_ILLADR): Likewise.
30133         (ILL_ILLTRP): Likewise.
30134         (ILL_PRVOPC): Likewise.
30135         (ILL_PRVREG): Likewise.
30136         (ILL_COPROC): Likewise.
30137         (ILL_BADSTK): Likewise.
30138         (FPE_INTDIV): Likewise.
30139         (FPE_INTOVF): Likewise.
30140         (FPE_FLTDIV): Likewise.
30141         (FPE_FLTOVF): Likewise.
30142         (FPE_FLTUND): Likewise.
30143         (FPE_FLTRES): Likewise.
30144         (FPE_FLTINV): Likewise.
30145         (FPE_FLTSUB): Likewise.
30146         (SEGV_MAPERR): Likewise.
30147         (SEGV_ACCERR): Likewise.
30148         (BUS_ADRALN): Likewise.
30149         (BUS_ADRERR): Likewise.
30150         (BUS_OBJERR): Likewise.
30151         (BUS_MCEERR_AR): Likewise.
30152         (BUS_MCEERR_AO): Likewise.
30153         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
30154         (TRAP_TRACE): Likewise.
30155         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
30156         __USE_XOPEN2K8].
30157         (CLD_KILLED): Likewise.
30158         (CLD_DUMPED): Likewise.
30159         (CLD_TRAPPED): Likewise.
30160         (CLD_STOPPED): Likewise.
30161         (CLD_CONTINUED): Likewise.
30162         (POLL_IN): Likewise.
30163         (POLL_OUT): Likewise.
30164         (POLL_MSG): Likewise.
30165         (POLL_ERR): Likewise.
30166         (POLL_PRI): Likewise.
30167         (POLL_HUP): Likewise.
30168         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
30169         (ILL_ILLOPN): Likewise.
30170         (ILL_ILLADR): Likewise.
30171         (ILL_ILLTRP): Likewise.
30172         (ILL_PRVOPC): Likewise.
30173         (ILL_PRVREG): Likewise.
30174         (ILL_COPROC): Likewise.
30175         (ILL_BADSTK): Likewise.
30176         (FPE_INTDIV): Likewise.
30177         (FPE_INTOVF): Likewise.
30178         (FPE_FLTDIV): Likewise.
30179         (FPE_FLTOVF): Likewise.
30180         (FPE_FLTUND): Likewise.
30181         (FPE_FLTRES): Likewise.
30182         (FPE_FLTINV): Likewise.
30183         (FPE_FLTSUB): Likewise.
30184         (SEGV_MAPERR): Likewise.
30185         (SEGV_ACCERR): Likewise.
30186         (BUS_ADRALN): Likewise.
30187         (BUS_ADRERR): Likewise.
30188         (BUS_OBJERR): Likewise.
30189         (BUS_MCEERR_AR): Likewise.
30190         (BUS_MCEERR_AO): Likewise.
30191         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
30192         (TRAP_TRACE): Likewise.
30193         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
30194         __USE_XOPEN2K8].
30195         (CLD_KILLED): Likewise.
30196         (CLD_DUMPED): Likewise.
30197         (CLD_TRAPPED): Likewise.
30198         (CLD_STOPPED): Likewise.
30199         (CLD_CONTINUED): Likewise.
30200         (POLL_IN): Likewise.
30201         (POLL_OUT): Likewise.
30202         (POLL_MSG): Likewise.
30203         (POLL_ERR): Likewise.
30204         (POLL_PRI): Likewise.
30205         (POLL_HUP): Likewise.
30206         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
30207         (ILL_ILLOPN): Likewise.
30208         (ILL_ILLADR): Likewise.
30209         (ILL_ILLTRP): Likewise.
30210         (ILL_PRVOPC): Likewise.
30211         (ILL_PRVREG): Likewise.
30212         (ILL_COPROC): Likewise.
30213         (ILL_BADSTK): Likewise.
30214         (ILL_DBLFLT): Likewise.
30215         (ILL_HARDWALL): Likewise.
30216         (FPE_INTDIV): Likewise.
30217         (FPE_INTOVF): Likewise.
30218         (FPE_FLTDIV): Likewise.
30219         (FPE_FLTOVF): Likewise.
30220         (FPE_FLTUND): Likewise.
30221         (FPE_FLTRES): Likewise.
30222         (FPE_FLTINV): Likewise.
30223         (FPE_FLTSUB): Likewise.
30224         (SEGV_MAPERR): Likewise.
30225         (SEGV_ACCERR): Likewise.
30226         (BUS_ADRALN): Likewise.
30227         (BUS_ADRERR): Likewise.
30228         (BUS_OBJERR): Likewise.
30229         (BUS_MCEERR_AR): Likewise.
30230         (BUS_MCEERR_AO): Likewise.
30231         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
30232         (TRAP_TRACE): Likewise.
30233         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
30234         __USE_XOPEN2K8].
30235         (CLD_KILLED): Likewise.
30236         (CLD_DUMPED): Likewise.
30237         (CLD_TRAPPED): Likewise.
30238         (CLD_STOPPED): Likewise.
30239         (CLD_CONTINUED): Likewise.
30240         (POLL_IN): Likewise.
30241         (POLL_OUT): Likewise.
30242         (POLL_MSG): Likewise.
30243         (POLL_ERR): Likewise.
30244         (POLL_PRI): Likewise.
30245         (POLL_HUP): Likewise.
30246         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
30247         (ILL_ILLOPN): Likewise.
30248         (ILL_ILLADR): Likewise.
30249         (ILL_ILLTRP): Likewise.
30250         (ILL_PRVOPC): Likewise.
30251         (ILL_PRVREG): Likewise.
30252         (ILL_COPROC): Likewise.
30253         (ILL_BADSTK): Likewise.
30254         (FPE_INTDIV): Likewise.
30255         (FPE_INTOVF): Likewise.
30256         (FPE_FLTDIV): Likewise.
30257         (FPE_FLTOVF): Likewise.
30258         (FPE_FLTUND): Likewise.
30259         (FPE_FLTRES): Likewise.
30260         (FPE_FLTINV): Likewise.
30261         (FPE_FLTSUB): Likewise.
30262         (SEGV_MAPERR): Likewise.
30263         (SEGV_ACCERR): Likewise.
30264         (BUS_ADRALN): Likewise.
30265         (BUS_ADRERR): Likewise.
30266         (BUS_OBJERR): Likewise.
30267         (BUS_MCEERR_AR): Likewise.
30268         (BUS_MCEERR_AO): Likewise.
30269         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
30270         (TRAP_TRACE): Likewise.
30271         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
30272         __USE_XOPEN2K8].
30273         (CLD_KILLED): Likewise.
30274         (CLD_DUMPED): Likewise.
30275         (CLD_TRAPPED): Likewise.
30276         (CLD_STOPPED): Likewise.
30277         (CLD_CONTINUED): Likewise.
30278         (POLL_IN): Likewise.
30279         (POLL_OUT): Likewise.
30280         (POLL_MSG): Likewise.
30281         (POLL_ERR): Likewise.
30282         (POLL_PRI): Likewise.
30283         (POLL_HUP): Likewise.
30284         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
30285         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
30287         [BZ #16670]
30288         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
30289         before #include of <time.h>.
30290         [!__USE_XOPEN2K] (__need_timespec): Likewise.
30291         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
30292         (test-xfail-UNIX98/sched.h/conform): Likewise.
30294 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
30296         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
30297         error absence of trapping exception support.
30298         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
30300 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
30302         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
30303         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
30304         * timezone/Makefile (testdata): Move definition above include of
30305         Rules.
30306         (test-zones): New variable.
30307         (tests-special): Add zone files.
30308         (build-testdata): Use $(evaluate-test).
30310         * elf/Makefile (tests-special): Rename tests to end with .out.
30311         ($(objpfx)noload-mem): Likewise.
30312         ($(objpfx)tst-leaks1-mem): Likewise.
30313         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
30314         * iconv/Makefile (xtests-special): Change test-iconvconfig to
30315         $(objpfx)test-iconvconfig.out.
30316         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
30317         set -e inside subshell and redirect output to file.
30318         * iconvdata/Makefile (generated): Rename tests to end with .out.
30319         Correct type.
30320         (tests-special): Rename tests to end with .out.
30321         ($(objpfx)mtrace-tst-loading): Likewise.
30322         * intl/Makefile (generated): Likewise.
30323         (tests-special): Likewise.
30324         ($(objpfx)mtrace-tst-gettext): Likewise.
30325         * misc/Makefile (generated): Likewise.
30326         (tests-special): Likewise.
30327         ($(objpfx)tst-error1-mem): Likewise.
30328         * nptl/Makefile (tests-special): Likewise.
30329         ($(objpfx)tst-stack3-mem): Likewise.
30330         (generated): Likewise.
30331         * posix/Makefile (generated): Likewise.
30332         (tests-special): Likewise.
30333         (xtests-special): Likewise.
30334         ($(objpfx)tst-fnmatch-mem): Likewise.
30335         ($(objpfx)bug-regex2-mem): Likewise.
30336         ($(objpfx)bug-regex14-mem): Likewise.
30337         ($(objpfx)bug-regex21-mem): Likewise.
30338         ($(objpfx)bug-regex31-mem): Likewise.
30339         ($(objpfx)tst-vfork3-mem): Likewise.
30340         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
30341         ($(objpfx)tst-pcre-mem): Likewise.
30342         ($(objpfx)tst-boost-mem): Likewise.
30343         ($(objpfx)bug-ga2-mem): Likewise.
30344         ($(objpfx)bug-glob2-mem): Likewise.
30345         * resolv/Makefile (generate): Likewise.
30346         (tests-special): Likewise.
30347         (xtests-special): Likewise.
30348         (generated): Likewise.
30349         ($(objpfx)mtrace-tst-leaks): Likewise.
30350         ($(objpfx)mtrace-tst-leaks2): Likewise.
30352         * scripts/merge-test-results.sh: New file.
30353         * Makefile (tests-special-notdir): New variable.
30354         (tests): Run merge-test-results.sh.
30355         (xtests): Likewise.
30356         * Rules (tests-special-notdir): New variable.
30357         (xtests-special-notdir): Likewise.
30358         (tests): Run merge-test-results.sh
30359         (xtests): Likewise.
30361         * Makeconfig (test-xfail-name): New variable.
30362         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
30363         compute variable name for expected failures.
30364         * conform/Makefile (conformtest-headers-data): New variable.
30365         (conformtest-standards): Likewise.
30366         (conformtest-headers-ISO): Likewise.
30367         (conformtest-headers-ISO99): Likewise.
30368         (conformtest-headers-ISO11): Likewise.
30369         (conformtest-headers-POSIX): Likewise.
30370         (conformtest-headers-XPG3): Likewise.
30371         (conformtest-headers-XPG4): Likewise.
30372         (conformtest-headers-UNIX98): Likewise.
30373         (conformtest-headers-XOPEN2K): Likewise.
30374         (conformtest-headers-POSIX2008): Likewise.
30375         (conformtest-headers-XOPEN2K8): Likewise.
30376         (conformtest-header-list-base): Likewise.
30377         (conformtest-header-list-tests): Likewise.
30378         (conformtest-header-base): Likewise.
30379         (conformtest-header-tests): Likewise.
30380         (tests-special): Add $(conformtest-header-list-tests).  If
30381         [$(fast-check) && !$(cross-compiling)], add
30382         $(conformtest-header-tests) instead of
30383         $(objpfx)run-conformtest.out.
30384         (generated): Add $(conformtest-header-list-base).  If
30385         [$(fast-check) && !$(cross-compiling)], add
30386         $(conformtest-header-base).  Remove previous setting.
30387         ($(conformtest-header-list-tests)): New target.
30388         (test-xfail-run-conformtest): Remove variable.
30389         ($(objpfx)run-conformtest.out): Remove target.
30390         (test-xfail-ISO11/complex.h/conform): New variable.
30391         (test-xfail-ISO11/stdalign.h/conform): Likewise.
30392         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
30393         (test-xfail-XPG3/varargs.h/conform): Likewise.
30394         (test-xfail-XPG4/varargs.h/conform): Likewise.
30395         (test-xfail-UNIX98/varargs.h/conform): Likewise.
30396         (test-xfail-XPG4/ndbm.h/conform): Likewise.
30397         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
30398         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
30399         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
30400         (test-xfail-XPG3/fcntl.h/conform): Likewise.
30401         (test-xfail-XPG3/ftw.h/conform): Likewise.
30402         (test-xfail-XPG3/grp.h/conform): Likewise.
30403         (test-xfail-XPG3/langinfo.h/conform): Likewise.
30404         (test-xfail-XPG3/limits.h/conform): Likewise.
30405         (test-xfail-XPG3/pwd.h/conform): Likewise.
30406         (test-xfail-XPG3/search.h/conform): Likewise.
30407         (test-xfail-XPG3/signal.h/conform): Likewise.
30408         (test-xfail-XPG3/stdio.h/conform): Likewise.
30409         (test-xfail-XPG3/stdlib.h/conform): Likewise.
30410         (test-xfail-XPG3/string.h/conform): Likewise.
30411         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
30412         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
30413         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
30414         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
30415         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
30416         (test-xfail-XPG3/sys/types.h/conform): Likewise.
30417         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
30418         (test-xfail-XPG3/termios.h/conform): Likewise.
30419         (test-xfail-XPG3/time.h/conform): Likewise.
30420         (test-xfail-XPG3/unistd.h/conform): Likewise.
30421         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
30422         (test-xfail-XPG4/fcntl.h/conform): Likewise.
30423         (test-xfail-XPG4/langinfo.h/conform): Likewise.
30424         (test-xfail-XPG4/netdb.h/conform): Likewise.
30425         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
30426         (test-xfail-XPG4/signal.h/conform): Likewise.
30427         (test-xfail-XPG4/stdio.h/conform): Likewise.
30428         (test-xfail-XPG4/stdlib.h/conform): Likewise.
30429         (test-xfail-XPG4/stropts.h/conform): Likewise.
30430         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
30431         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
30432         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
30433         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
30434         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
30435         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
30436         (test-xfail-XPG4/sys/time.h/conform): Likewise.
30437         (test-xfail-XPG4/sys/types.h/conform): Likewise.
30438         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
30439         (test-xfail-XPG4/termios.h/conform): Likewise.
30440         (test-xfail-XPG4/ucontext.h/conform): Likewise.
30441         (test-xfail-XPG4/unistd.h/conform): Likewise.
30442         (test-xfail-XPG4/utmpx.h/conform): Likewise.
30443         (test-xfail-POSIX/sched.h/conform): Likewise.
30444         (test-xfail-POSIX/signal.h/conform): Likewise.
30445         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
30446         (test-xfail-POSIX/tar.h/conform): Likewise.
30447         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
30448         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
30449         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
30450         (test-xfail-UNIX98/netdb.h/conform): Likewise.
30451         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
30452         (test-xfail-UNIX98/sched.h/conform): Likewise.
30453         (test-xfail-UNIX98/signal.h/conform): Likewise.
30454         (test-xfail-UNIX98/stdio.h/conform): Likewise.
30455         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
30456         (test-xfail-UNIX98/stropts.h/conform): Likewise.
30457         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
30458         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
30459         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
30460         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
30461         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
30462         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
30463         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
30464         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
30465         (test-xfail-UNIX98/unistd.h/conform): Likewise.
30466         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
30467         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
30468         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
30469         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
30470         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
30471         (test-xfail-XOPEN2K/math.h/conform): Likewise.
30472         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
30473         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
30474         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
30475         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
30476         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
30477         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
30478         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
30479         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
30480         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
30481         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
30482         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
30483         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
30484         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
30485         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
30486         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
30487         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
30488         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
30489         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
30490         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
30491         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
30492         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
30493         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
30494         (test-xfail-POSIX2008/signal.h/conform): Likewise.
30495         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
30496         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
30497         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
30498         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
30499         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
30500         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
30501         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
30502         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
30503         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
30504         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
30505         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
30506         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
30507         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
30508         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
30509         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
30510         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
30511         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
30512         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
30513         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
30514         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
30515         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
30516         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
30517         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
30518         (conformtest-cc-flags): Likewise.
30519         ($(conformtest-header-tests): New target.
30520         * conform/check-header-lists.sh: New file.
30521         * conform/run-conformtest.sh: Remove.
30523         * conform/conformtest.pl: Allow ' and \ in values given for
30524         constants.
30525         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
30526         inclusion.
30527         [POSIX] (sys/types.h): Likewise.
30528         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
30529         inclusion.
30530         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
30531         inclusion.
30532         * conform/data/signal.h-data (SIGIO): Remove expectation.
30533         [XPG3] (SIGBUS): Do not expect.
30534         [POSIX || XPG3] (SIGPOLL): Likewise.
30535         [POSIX || XPG3] (SIGPROF): Likewise.
30536         [POSIX || XPG3] (SIGSYS): Likewise.
30537         [XPG3] (SIGTRAP): Likewise.
30538         [POSIX || XPG3] (SIGURG): Likewise.
30539         [POSIX || XPG3] (SIGVTALRM): Likewise.
30540         [POSIX || XPG3] (SIGXCPU): Likewise.
30541         [POSIX || XPG3] (SIGXFSZ): Likewise.
30542         [POSIX] (SA_SIGINFO): Expect.
30543         [XPG3] (siginfo_t): Do not expect type or contents.
30544         [POSIX] (si_pid): Do not expect element.
30545         [POSIX] (si_uid): Likewise.
30546         [POSIX] (si_addr): Likewise.
30547         [POSIX] (si_status): Likewise.
30548         [POSIX] (si_band): Likewise.
30549         [XPG4] (si_value): Likewise.
30550         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
30551         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
30552         [POSIX || XPG3] (ILL_ILLADR): Likewise.
30553         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
30554         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
30555         [POSIX || XPG3] (ILL_PRVREG): Likewise.
30556         [POSIX || XPG3] (ILL_COPROC): Likewise.
30557         [POSIX || XPG3] (ILL_BADSTK): Likewise.
30558         [POSIX || XPG3] (FPE_INTDIV): Likewise.
30559         [POSIX || XPG3] (FPE_INTOVF): Likewise.
30560         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
30561         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
30562         [POSIX || XPG3] (FPE_FLTUND): Likewise.
30563         [POSIX || XPG3] (FPE_FLTRES): Likewise.
30564         [POSIX || XPG3] (FPE_FLTINV): Likewise.
30565         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
30566         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
30567         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
30568         [POSIX || XPG3] (BUS_ADRALN): Likewise.
30569         [POSIX || XPG3] (BUS_ADRERR): Likewise.
30570         [POSIX || XPG3] (BUS_OBJERR): Likewise.
30571         [POSIX || XPG3] (CLD_EXITED): Likewise.
30572         [POSIX || XPG3] (CLD_KILLED): Likewise.
30573         [POSIX || XPG3] (CLD_DUMPED): Likewise.
30574         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
30575         [POSIX || XPG3] (CLD_STOPPED): Likewise.
30576         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
30577         [POSIX || XPG3] (POLL_IN): Likewise.
30578         [POSIX || XPG3] (POLL_OUT): Likewise.
30579         [POSIX || XPG3] (POLL_MSG): Likewise.
30580         [POSIX || XPG3] (POLL_ERR): Likewise.
30581         [POSIX || XPG3] (POLL_PRI): Likewise.
30582         [POSIX || XPG3] (POLL_HUP): Likewise.
30583         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
30584         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
30585         (SIG*): Do not allow.
30586         [XPG3] (si_*): Likewise.
30587         [XPG3] (SI_*): Likewise.
30588         [XPG3 || XPG4] (sigev_*): Likewise.
30589         [XPG3 || XPG4] (SIGEV_*): Likewise.
30590         [XPG3 || XPG4] (sival_*): Likewise.
30591         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
30592         [POSIX || XPG3] (BUS_*): Likewise.
30593         [POSIX || XPG3] (CLD_*): Likewise.
30594         [POSIX || XPG3] (FPE_*): Likewise.
30595         [POSIX || XPG3] (ILL_*): Likewise.
30596         [POSIX || XPG3] (POLL_*): Likewise.
30597         [POSIX || XPG3] (SEGV_*): Likewise.
30598         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
30599         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
30600         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
30601         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
30602         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
30603         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
30604         Specify type and value.
30605         (TVERSLEN): Likewise.
30606         (REGTYPE): Likewise.
30607         (AREGTYPE): Likewise.
30608         (LNKTYPE): Likewise.
30609         (SYMTYPE): Likewise.
30610         (CHRTYPE): Likewise.
30611         (BLKTYPE): Likewise.
30612         (DIRTYPE): Likewise.
30613         (FIFOTYPE): Likewise.
30614         (CONTTYPE): Likewise.
30615         (TSUID): Likewise.
30616         (TSGID): Likewise.
30617         (TSVTX): Likewise.
30618         (TUREAD): Likewise.
30619         (TUWRITE): Likewise.
30620         (TUEXEC): Likewise.
30621         (TGREAD): Likewise.
30622         (TGWRITE): Likewise.
30623         (TGEXEC): Likewise.
30624         (TOREAD): Likewise.
30625         (TOWRITE): Likewise.
30626         (TOEXEC): Likewise.
30627         [POSIX] (TSVTX): Expect constant.
30629 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
30631         * Makefile (tests): Change dependencies to ....
30632         (tests-special): ... additions to this variable.
30633         (tests): Depend on $(tests-special).
30634         * Makerules (check-abi-list): New variable.
30635         (check-abi): Depend on $(check-abi-list).
30636         [$(subdir) = elf] (tests-special): Add
30637         $(objpfx)check-abi-libc.out.
30638         [$(build-shared) = yes && subdir] (tests-special): Add
30639         $(check-abi-list).
30640         [$(build-shared) = yes && subdir] (tests): Do not depend on
30641         check-abi.
30642         * Rules (tests): Depend on $(tests-special).
30643         (xtests): Depend on $(xtests-special).
30644         * catgets/Makefile (tests): Change dependencies to ....
30645         (tests-special): ... additions to this variable.
30646         * conform/Makefile (tests): Change dependencies to ....
30647         (tests-special): ... additions to this variable.
30648         * elf/Makefile (tests): Change dependencies to ....
30649         (tests-special): ... additions to this variable.
30650         * grp/Makefile (tests): Change dependencies to ....
30651         (tests-special): ... additions to this variable.
30652         * iconv/Makefile (xtests): Change dependencies to ....
30653         (xtests-special): ... additions to this variable.
30654         * iconvdata/Makefile (tests): Change dependencies to ....
30655         (tests-special): ... additions to this variable.
30656         * intl/Makefile (tests): Change dependencies to ....
30657         (tests-special): ... additions to this variable.  Also add
30658         $(objpfx)tst-gettext.out.
30659         * io/Makefile (tests): Change dependencies to ....
30660         (tests-special): ... additions to this variable.
30661         * libio/Makefile (tests): Change dependencies to ....
30662         (tests-special): ... additions to this variable.
30663         * malloc/Makefile (tests): Change dependencies to ....
30664         (tests-special): ... additions to this variable.
30665         * misc/Makefile (tests): Change dependencies to ....
30666         (tests-special): ... additions to this variable.
30667         * nptl/Makefile (tests): Change dependencies to ....
30668         (tests-special): ... additions to this variable.
30669         * nptl_db/Makefile (tests): Change dependencies to ....
30670         (tests-special): ... additions to this variable.
30671         * posix/Makefile (tests): Change dependencies to ....
30672         (tests-special): ... additions to this variable.
30673         (xtests): Change dependencies to ....
30674         (xtests-special): ... additions to this variable.
30675         * resolv/Makefile (tests): Change dependencies to ....
30676         (tests-special): ... additions to this variable.
30677         (xtests): Change dependencies to ....
30678         (xtests-special): ... additions to this variable.
30679         * stdio-common/Makefile (tests): Change dependencies to ....
30680         (tests-special): ... additions to this variable.
30681         (do-tst-unbputc): Remove target.
30682         (do-tst-printf): Likewise.
30683         * stdlib/Makefile (tests): Change dependencies to ....
30684         (tests-special): ... additions to this variable.
30685         * string/Makefile (tests): Change dependencies to ....
30686         (tests-special): ... additions to this variable.
30687         * sysdeps/x86/Makefile (tests): Change dependencies to ....
30688         (tests-special): ... additions to this variable.
30690         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
30691         whole file.
30692         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
30693         whole file.
30694         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
30695         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
30697         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
30698         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
30699         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
30700         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
30701         * conform/data/libgen.h-data [XPG3]: Likewise.
30702         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
30703         * conform/data/ndbm.h-data [XPG3]: Likewise.
30704         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
30705         * conform/data/netdb.h-data [XPG3]: Likewise.
30706         * conform/data/netinet/in.h-data [XPG3]: Likewise.
30707         * conform/data/poll.h-data [XPG3]: Likewise.
30708         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
30709         * conform/data/strings.h-data [XPG3]: Likewise.
30710         * conform/data/stropts.h-data [XPG3]: Likewise.
30711         * conform/data/sys/mman.h-data [XPG3]: Likewise.
30712         * conform/data/sys/resource.h-data [XPG3]: Likewise.
30713         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
30714         Likewise.
30715         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
30716         * conform/data/sys/time.h-data [XPG3]: Likewise.
30717         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
30718         * conform/data/sys/uio.h-data [XPG3]: Likewise.
30719         * conform/data/sys/un.h-data [XPG3]: Likewise.
30720         * conform/data/syslog.h-data [XPG3]: Likewise.
30721         * conform/data/ucontext.h-data [XPG3]: Likewise.
30722         * conform/data/utmpx.h-data [XPG3]: Likewise.
30723         * conform/data/varargs.h-data [UNIX98]: Enable file.
30725         * manual/Makefile (INSTALL_INFO): Remove variable setting.
30727         * math/libm-test.inc (struct test_f_f_data): Move expected results
30728         into structure for each rounding mode.
30729         (struct test_ff_f_data): Likewise.
30730         (struct test_ff_f_data_nexttoward): Likewise.
30731         (struct test_fi_f_data): Likewise.
30732         (struct test_fl_f_data): Likewise.
30733         (struct test_if_f_data): Likewise.
30734         (struct test_fff_f_data): Likewise.
30735         (struct test_c_f_data): Likewise.
30736         (struct test_f_f1_data): Likewise.
30737         (struct test_fF_f1_data): Likewise.
30738         (struct test_ffI_f1_data): Likewise.
30739         (struct test_c_c_data): Likewise.
30740         (struct test_cc_c_data): Likewise.
30741         (struct test_f_i_data): Likewise.
30742         (struct test_ff_i_data): Likewise.
30743         (struct test_f_l_data): Likewise.
30744         (struct test_f_L_data): Likewise.
30745         (struct test_fFF_11_data): Likewise.
30746         (RM_): New macro.
30747         (RM_FE_DOWNWARD): Likewise.
30748         (RM_FE_TONEAREST): Likewise.
30749         (RM_FE_TOWARDZERO): Likewise.
30750         (RM_FE_UPWARD): Likewise.
30751         (RUN_TEST_LOOP_f_f): Update references to expected results.
30752         (RUN_TEST_LOOP_2_f): Likewise.
30753         (RUN_TEST_LOOP_fff_f): Likewise.
30754         (RUN_TEST_LOOP_c_f): Likewise.
30755         (RUN_TEST_LOOP_f_f1): Likewise.
30756         (RUN_TEST_LOOP_fF_f1): Likewise.
30757         (RUN_TEST_LOOP_fI_f1): Likewise.
30758         (RUN_TEST_LOOP_ffI_f1): Likewise.
30759         (RUN_TEST_LOOP_c_c): Likewise.
30760         (RUN_TEST_LOOP_cc_c): Likewise.
30761         (RUN_TEST_LOOP_f_i): Likewise.
30762         (RUN_TEST_LOOP_f_i_tg): Likewise.
30763         (RUN_TEST_LOOP_ff_i_tg): Likewise.
30764         (RUN_TEST_LOOP_f_b): Likewise.
30765         (RUN_TEST_LOOP_f_b_tg): Likewise.
30766         (RUN_TEST_LOOP_f_l): Likewise.
30767         (RUN_TEST_LOOP_f_L): Likewise.
30768         (RUN_TEST_LOOP_fFF_11): Likewise.
30769         * math/gen-libm-test.pl (parse_args): Output four copies of
30770         expected results for each test.
30772         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
30773         (__ASSUME_UTIMES): Remove.
30774         * sysdeps/unix/sysv/linux/tile/kernel-features.h
30775         (__ASSUME_UTIMES): Likewise.
30777         * math/gen-auto-libm-tests.c: Update comment on output format.
30778         (output_for_one_input_case): Generate before-rounding and
30779         after-rounding information as conditions on output flags not
30780         floating-point format.
30781         * math/auto-libm-test-out: Regenerated.
30782         * math/gen-libm-test.pl (cond_value): New function.
30783         (or_cond_value): Use cond_value.
30784         (generate_testfile): Handle conditional exceptions.
30786 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
30788         * math/libm-test.inc (max_valid_error): New variable.
30789         (init_max_error): Take new argument specifying whether function
30790         results are exactly determined.  Set max_valid_error and bound
30791         other variables for errors based on this argument.
30792         (set_max_error): Do not record results above max_valid_error.
30793         (check_float_internal): Only accept errors of up to 0.5ulps if
30794         also at most max_valid_error.
30795         (START): Take new argument EXACT and pass it to init_max_error.
30796         (acos_test): Update call to START.
30797         (acos_test_tonearest): Likewise.
30798         (acos_test_towardzero): Likewise.
30799         (acos_test_downward): Likewise.
30800         (acos_test_upward): Likewise.
30801         (acosh_test): Likewise.
30802         (asin_test): Likewise.
30803         (asin_test_tonearest): Likewise.
30804         (asin_test_towardzero): Likewise.
30805         (asin_test_downward): Likewise.
30806         (asin_test_upward): Likewise.
30807         (asinh_test): Likewise.
30808         (atan_test): Likewise.
30809         (atanh_test): Likewise.
30810         (atan2_test): Likewise.
30811         (cabs_test): Likewise.
30812         (cacos_test): Likewise.
30813         (cacosh_test): Likewise.
30814         (carg_test): Likewise.
30815         (casin_test): Likewise.
30816         (casinh_test): Likewise.
30817         (catan_test): Likewise.
30818         (catanh_test): Likewise.
30819         (cbrt_test): Likewise.
30820         (ccos_test): Likewise.
30821         (ccosh_test): Likewise.
30822         (ceil_test): Likewise.
30823         (cexp_test): Likewise.
30824         (cimag_test): Likewise.
30825         (clog_test): Likewise.
30826         (clog10_test): Likewise.
30827         (conj_test): Likewise.
30828         (copysign_test): Likewise.
30829         (cos_test): Likewise.
30830         (cos_test_tonearest): Likewise.
30831         (cos_test_towardzero): Likewise.
30832         (cos_test_downward): Likewise.
30833         (cos_test_upward): Likewise.
30834         (cosh_test): Likewise.
30835         (cosh_test_tonearest): Likewise.
30836         (cosh_test_towardzero): Likewise.
30837         (cosh_test_downward): Likewise.
30838         (cosh_test_upward): Likewise.
30839         (cpow_test): Likewise.
30840         (cproj_test): Likewise.
30841         (creal_test): Likewise.
30842         (csin_test): Likewise.
30843         (csinh_test): Likewise.
30844         (csqrt_test): Likewise.
30845         (ctan_test): Likewise.
30846         (ctan_test_tonearest): Likewise.
30847         (ctan_test_towardzero): Likewise.
30848         (ctan_test_downward): Likewise.
30849         (ctan_test_upward): Likewise.
30850         (ctanh_test): Likewise.
30851         (ctanh_test_tonearest): Likewise.
30852         (ctanh_test_towardzero): Likewise.
30853         (ctanh_test_downward): Likewise.
30854         (ctanh_test_upward): Likewise.
30855         (erf_test): Likewise.
30856         (erfc_test): Likewise.
30857         (exp_test): Likewise.
30858         (exp_test_tonearest): Likewise.
30859         (exp_test_towardzero): Likewise.
30860         (exp_test_downward): Likewise.
30861         (exp_test_upward): Likewise.
30862         (exp10_test): Likewise.
30863         (exp10_test_tonearest): Likewise.
30864         (exp10_test_towardzero): Likewise.
30865         (exp10_test_downward): Likewise.
30866         (exp10_test_upward): Likewise.
30867         (pow10_test): Likewise.
30868         (exp2_test): Likewise.
30869         (expm1_test): Likewise.
30870         (expm1_test_tonearest): Likewise.
30871         (expm1_test_towardzero): Likewise.
30872         (expm1_test_downward): Likewise.
30873         (expm1_test_upward): Likewise.
30874         (fabs_test): Likewise.
30875         (fdim_test): Likewise.
30876         (floor_test): Likewise.
30877         (fma_test): Likewise.
30878         (fma_test_towardzero): Likewise.
30879         (fma_test_downward): Likewise.
30880         (fma_test_upward): Likewise.
30881         (fmax_test): Likewise.
30882         (fmin_test): Likewise.
30883         (fmod_test): Likewise.
30884         (fpclassify_test): Likewise.
30885         (frexp_test): Likewise.
30886         (hypot_test): Likewise.
30887         (ilogb_test): Likewise.
30888         (isfinite_test): Likewise.
30889         (finite_test): Likewise.
30890         (isgreater_test): Likewise.
30891         (isgreaterequal_test): Likewise.
30892         (isinf_test): Likewise.
30893         (isless_test): Likewise.
30894         (islessequal_test): Likewise.
30895         (islessgreater_test): Likewise.
30896         (isnan_test): Likewise.
30897         (isnormal_test): Likewise.
30898         (issignaling_test): Likewise.
30899         (isunordered_test): Likewise.
30900         (j0_test): Likewise.
30901         (j1_test): Likewise.
30902         (jn_test): Likewise.
30903         (ldexp_test): Likewise.
30904         (lgamma_test): Likewise.
30905         (gamma_test): Likewise.
30906         (lrint_test): Likewise.
30907         (lrint_test_tonearest): Likewise.
30908         (lrint_test_towardzero): Likewise.
30909         (lrint_test_downward): Likewise.
30910         (lrint_test_upward): Likewise.
30911         (llrint_test): Likewise.
30912         (llrint_test_tonearest): Likewise.
30913         (llrint_test_towardzero): Likewise.
30914         (llrint_test_downward): Likewise.
30915         (llrint_test_upward): Likewise.
30916         (log_test): Likewise.
30917         (log10_test): Likewise.
30918         (log1p_test): Likewise.
30919         (log2_test): Likewise.
30920         (logb_test): Likewise.
30921         (logb_test_downward): Likewise.
30922         (lround_test): Likewise.
30923         (llround_test): Likewise.
30924         (modf_test): Likewise.
30925         (nearbyint_test): Likewise.
30926         (nextafter_test): Likewise.
30927         (nexttoward_test): Likewise.
30928         (pow_test): Likewise.
30929         (pow_test_tonearest): Likewise.
30930         (pow_test_towardzero): Likewise.
30931         (pow_test_downward): Likewise.
30932         (pow_test_upward): Likewise.
30933         (remainder_test): Likewise.
30934         (drem_test): Likewise.
30935         (remainder_test_tonearest): Likewise.
30936         (drem_test_tonearest): Likewise.
30937         (remainder_test_towardzero): Likewise.
30938         (drem_test_towardzero): Likewise.
30939         (remainder_test_downward): Likewise.
30940         (drem_test_downward): Likewise.
30941         (remainder_test_upward): Likewise.
30942         (drem_test_upward): Likewise.
30943         (remquo_test): Likewise.
30944         (rint_test): Likewise.
30945         (rint_test_tonearest): Likewise.
30946         (rint_test_towardzero): Likewise.
30947         (rint_test_downward): Likewise.
30948         (rint_test_upward): Likewise.
30949         (round_test): Likewise.
30950         (scalb_test): Likewise.
30951         (scalbn_test): Likewise.
30952         (scalbln_test): Likewise.
30953         (signbit_test): Likewise.
30954         (sin_test): Likewise.
30955         (sin_test_tonearest): Likewise.
30956         (sin_test_towardzero): Likewise.
30957         (sin_test_downward): Likewise.
30958         (sin_test_upward): Likewise.
30959         (sincos_test): Likewise.
30960         (sinh_test): Likewise.
30961         (sinh_test_tonearest): Likewise.
30962         (sinh_test_towardzero): Likewise.
30963         (sinh_test_downward): Likewise.
30964         (sinh_test_upward): Likewise.
30965         (sqrt_test): Likewise.
30966         (sqrt_test_tonearest): Likewise.
30967         (sqrt_test_towardzero): Likewise.
30968         (sqrt_test_downward): Likewise.
30969         (sqrt_test_upward): Likewise.
30970         (tan_test): Likewise.
30971         (tan_test_tonearest): Likewise.
30972         (tan_test_towardzero): Likewise.
30973         (tan_test_downward): Likewise.
30974         (tan_test_upward): Likewise.
30975         (tanh_test): Likewise.
30976         (tgamma_test): Likewise.
30977         (trunc_test): Likewise.
30978         (y0_test): Likewise.
30979         (y1_test): Likewise.
30980         (yn_test): Likewise.
30981         (significand_test): Likewise.
30983         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
30984         individual tests in comment.
30985         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
30986         (prev_max_error): New variable.
30987         (prev_real_max_error): Likewise.
30988         (prev_imag_max_error): Likewise.
30989         (compare_ulp_data): Don't refer to test names in comment.
30990         (find_test_ulps): Remove function.
30991         (find_function_ulps): Likewise.
30992         (find_complex_function_ulps): Likewise.
30993         (init_max_error): Take function name as argument.  Look up ulps
30994         for that function.
30995         (print_ulps): Remove function.
30996         (print_max_error): Use prev_max_error instead of calling
30997         find_function_ulps.
30998         (print_complex_max_error): Use prev_real_max_error and
30999         prev_imag_max_error instead of calling find_complex_function_ulps.
31000         (check_float_internal): Take max_ulp parameter instead of calling
31001         find_test_ulps.  Don't call print_ulps.
31002         (check_float): Update call to check_float_internal.
31003         (check_complex): Update calls to check_float_internal.
31004         (START): Pass argument to init_max_error.
31005         * math/gen-libm-test.pl (%results): Don't include "kind"
31006         information.
31007         (parse_ulps): Don't handle ulps of individual tests.
31008         (print_ulps_file): Likewise.
31009         (output_ulps): Likewise.
31010         * math/README.libm-test: Update.
31011         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
31012         individual tests.
31013         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
31014         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
31015         * sysdeps/arm/libm-test-ulps: Likewise.
31016         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
31017         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
31018         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
31019         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
31020         * sysdeps/microblaze/libm-test-ulps: Likewise.
31021         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
31022         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
31023         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
31024         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
31025         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
31026         * sysdeps/sh/libm-test-ulps: Likewise.
31027         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
31028         * sysdeps/tile/libm-test-ulps: Likewise.
31029         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31031 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
31033         * math/libm-test.inc (print_complex_max_error): Check separately
31034         whether real and imaginary errors are within allowed range and
31035         pass 0 to print_complex_function_ulps instead of value within
31036         allowed range.
31038 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
31040         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
31041         formatting.
31042         (get_handles_fopen): Likewise.
31043         (do_write_test): Likewise.
31045         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
31047         * libio/fileops.c (do_ftell): Use cached offset when
31048         available.
31049         * libio/iofwide.c (do_ftell_wide): Likewise.
31050         * libio/iofdopen.c (_IO_new_fdopen): Don't use
31051         _IO_file_attach.
31052         * libio/wfileops.c (_IO_fwide): Don't cache offset.
31054         [BZ #16532]
31055         * libio/libioP.h (get_file_offset): New function.
31056         * libio/fileops.c (get_file_offset): Likewise.
31057         (do_ftell): Likewise.
31058         (_IO_new_file_seekoff): Split out ftell logic.
31059         * libio/wfileops.c (do_ftell_wide): Likewise.
31060         (_IO_wfile_seekoff): Split out ftell logic.
31061         * libio/tst-ftell-active-handler.c: New test case.
31062         * libio/Makefile (tests): Add it.
31064 2014-03-03  Roland McGrath  <roland@hack.frob.com>
31066         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
31067         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
31069 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
31071         [BZ #16639]
31072         * nscd/connections.c (nscd_init): Call do_exit.
31073         (start_threads): Call do_exit and notify_parent.
31074         (begin_drop_privileges): Call do_exit.
31075         (finish_drop_privileges): Likewise.
31076         * nscd/selinux.c (preserve_capabilities): Likewise.
31077         (install_real_capabilities): Likewise.
31078         (nscd_selinux_enabled): Likewise.
31079         (avc_create_thread): Likewise.
31080         (avc_alloc_lock): Likewise.
31081         (nscd_avc_init): Likewise.
31082         * nscd/nscd.c (parent_fd): New static variable.
31083         (main): Create a pipe between parent and child processes.
31084         Skip closing parent_fd.
31085         (monitor_child): New function.
31086         (do_exit): Likewise.
31087         (notify_parent): Likewise.
31088         * nscd/nscd.h (notify_parent): Likewise.
31089         (do_exit): Likewise.
31091 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
31093         * malloc/malloc.c (__libc_calloc): Revert last change.
31095 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31097         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31099 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
31101         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
31102         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
31103         implementation.
31104         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
31105         (__libc_ifunc_impl_list): Likewise.
31106         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
31107         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
31108         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
31109         * string/strrchr.c: Define STRRCHR.
31111 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
31113         * benchtest/bench-strtok.c (simple_strtok): Delete.
31114         (strtok_string): Use as benchmark.
31115         * string/strtok (STRTOK): New macro.
31117 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
31119         * manual/threads.texi: Add header and standard comments to all
31120         functions.
31122         * elf/dl-lookup.c (check_match): New function.
31123         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
31124         (do_lookup_x): Remove nested function check_match. Use non-nested
31125         function check_match.
31127 2014-02-28  Roland McGrath  <roland@hack.frob.com>
31129         * csu/Makefile (generated, before-compile): Use += rather than =.
31130         * catgets/Makefile (generated, generated-dirs): Likewise.
31131         * debug/Makefile (generated): Likewise.
31132         * dlfcn/Makefile (generated): Likewise.
31133         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
31134         * iconvdata/Makefile (before-compile, generated): Likewise.
31135         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
31136         * libio/Makefile (generated): Likewise.
31137         * malloc/Makefile (generated): Likewise.
31138         * manual/Makefile (generated, generated-dirs): Likewise.
31139         * misc/Makefile (generated): Likewise.
31140         * posix/Makefile (generated): Likewise.
31141         * resolv/Makefile (generated): Likewise.
31142         * sunrpc/Makefile (generated, generated-dirs): Likewise.
31143         * timezone/Makefile (generated, generated-dirs): Likewise.
31145         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
31147 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31149         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
31150         power8 implementation.
31151         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
31152         file: POWER8 llround ifunc implementation.
31153         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
31154         (__lllround): Add POWER8 implementation.
31155         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
31156         POWER8 llround implementation.
31158         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
31159         power8 implementation.
31160         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
31161         file: POWER8 llrint ifunc implementation.
31162         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
31163         Add POWER8 implementation.
31164         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
31165         POWER8 llrint implementation.
31167         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
31168         power8 implementation.
31169         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
31170         file: POWER8 finite ifunc implementation.
31171         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
31172         Add POWER8 implementation.
31173         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
31174         Likewise.
31175         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
31176         POWER8 finite implementation.
31177         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
31179         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
31180         power8 implementation.
31181         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
31182         file: POWER8 isinf ifunc implementation.
31183         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
31184         POWER8 implementation.
31185         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
31186         Likewise.
31187         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
31188         isinf implementation.
31189         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
31191         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
31192         (INIT_ARCH): Add hwcap2 initialization.
31193         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
31194         power8 implementation.
31195         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
31196         file: POWER8 isnan ifunc implementation.
31197         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
31198         POWER8 implementation.
31199         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
31200         Likewise.
31201         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
31202         isnan implementation.
31203         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
31205 2014-02-27  Joey Ye  <joey.ye@arm.com>
31207         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
31208         (_FP_NANFRAC_Q): Set to zero.
31210 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
31212         [BZ #16623]
31213         * math/auto-libm-test-in: New test inputs.
31214         * math/auto-libm-test-out: Regenerate.
31215         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
31216         and DA.
31217         (__cos): Likewise.
31218         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
31220 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
31222         * scripts/evaluate-test.sh: Take new argument indicating whether
31223         failure is expected.
31224         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
31225         indicating whether failure is expected.
31226         * conform/Makefile (test-xfail-run-conformtest): New variable.
31227         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
31228         level.
31229         * posix/Makefile (test-xfail-annexc): New variable.
31230         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
31232 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
31234         * argp/Makefile: Include Makeconfig immediately after defining
31235         subdir.
31236         * assert/Makefile: Likewise.
31237         * benchtests/Makefile: Likewise.
31238         * catgets/Makefile: Likewise.
31239         * conform/Makefile: Likewise.
31240         * crypt/Makefile: Likewise.
31241         * csu/Makefile: Likewise.
31242         (all): Remove target.
31243         * ctype/Makefile: Include Makeconfig immediately after defining
31244         subdir.
31245         * debug/Makefile: Likewise.
31246         * dirent/Makefile: Likewise.
31247         * dlfcn/Makefile: Likewise.
31248         * gmon/Makefile: Likewise.
31249         * gnulib/Makefile: Likewise.
31250         * grp/Makefile: Likewise.
31251         * gshadow/Makefile: Likewise.
31252         * hesiod/Makefile: Likewise.
31253         * hurd/Makefile: Likewise.
31254         (all): Remove target.
31255         * iconvdata/Makefile: Include Makeconfig immediately after
31256         defining subdir.
31257         * inet/Makefile: Likewise.
31258         * intl/Makefile: Likewise.
31259         * io/Makefile: Likewise.
31260         * libio/Makefile: Likewise.
31261         (all): Remove target.
31262         * locale/Makefile: Include Makeconfig immediately after defining
31263         subdir.
31264         * login/Makefile: Likewise.
31265         * mach/Makefile: Likewise.
31266         (all): Remove target.
31267         * malloc/Makefile: Include Makeconfig immediately after defining
31268         subdir.
31269         (all): Remove target.
31270         * manual/Makefile: Include Makeconfig immediately after defining
31271         subdir.
31272         * math/Makefile: Likewise.
31273         * misc/Makefile: Likewise.
31274         * nis/Makefile: Likewise.
31275         * nss/Makefile: Likewise.
31276         * po/Makefile: Likewise.
31277         (all): Remove target.
31278         * posix/Makefile: Include Makeconfig immediately after defining
31279         subdir.
31280         * pwd/Makefile: Likewise.
31281         * resolv/Makefile: Likewise.
31282         * resource/Makefile: Likewise.
31283         * rt/Makefile: Likewise.
31284         * setjmp/Makefile: Likewise.
31285         * shadow/Makefile: Likewise.
31286         * signal/Makefile: Likewise.
31287         * socket/Makefile: Likewise.
31288         * soft-fp/Makefile: Likewise.
31289         * stdio-common/Makefile: Likewise.
31290         * stdlib/Makefile: Likewise.
31291         * streams/Makefile: Likewise.
31292         * string/Makefile: Likewise.
31293         * sunrpc/Makefile: Likewise.
31294         (all): Remove target.
31295         * sysvipc/Makefile: Include Makeconfig immediately after defining
31296         subdir.
31297         * termios/Makefile: Likewise.
31298         * time/Makefile: Likewise.
31299         * timezone/Makefile: Likewise.
31300         (all): Remove target.
31301         * wcsmbs/Makefile: Include Makeconfig immediately after defining
31302         subdir.
31303         * wctype/Makefile: Likewise.
31305 2014-02-26  Steve Ellcey  <sellcey@mips.com>
31307         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
31308         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
31309         (libc_feholdexcept_setround_mips): Ditto.
31310         (libc_feholdsetround): New.
31311         (libc_feholdsetroundf): New.
31312         (libc_feholdsetroundl): New.
31313         (libc_feupdateenv_test_mips): New.
31314         (libc_feupdateenv_test): New.
31315         (libc_feupdateenv_testf): New.
31316         (libc_feupdateenv_testl): New.
31317         (libc_feresetround): New.
31318         (libc_feresetroundf): New.
31319         (libc_feresetroundl): New.
31320         (libc_fetestexcept_mips): New.
31321         (libc_fetestexcept): New.
31322         (libc_fetestexceptf): New.
31323         (libc_fetestexceptl): New.
31324         (HAVE_RM_CTX): New.
31325         (libc_feholdexcept_setround_mips_ctx): New.
31326         (libc_feholdexcept_setround_ctx): New.
31327         (libc_feholdexcept_setroundf_ctx): New.
31328         (libc_feholdexcept_setroundl_ctx): New.
31329         (libc_fesetenv_mips_ctx): New.
31330         (libc_fesetenv_ctx): New.
31331         (libc_fesetenv_ctxf): New.
31332         (libc_fesetenv_ctxl): New.
31333         (libc_feupdateenv_mips_ctx): New.
31334         (libc_feupdateenv_ctx): New.
31335         (libc_feupdateenvf_ctx): New.
31336         (libc_feupdateenvl_ctx): New.
31337         (libc_feholdsetround_mips_ctx): New.
31338         (libc_feholdsetround_ctx): New.
31339         (libc_feholdsetroundf_ctx): New.
31340         (libc_feholdsetroundl_ctx): New.
31341         (libc_feresetround_mips_ctx): New.
31342         (libc_feresetround_ctx): New.
31343         (libc_feresetroundf_ctx): New.
31344         (libc_feresetroundl_ctx): New.
31346 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
31348         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
31350         * manual/ipc.texi: New file.
31351         * manual/Makefile (chapters): Add ipc.
31352         * manual/job.texi: Add "Inter-Process Communication" to next.
31353         * manual/process.texi: Add "Inter-Process Communication" to prev.
31355 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31357         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31359 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
31361         * malloc/malloc.c (__libc_calloc): Simplify implementation.
31363         * manual/arith.texi: Fix spaces after sentences.
31364         * manual/charset.texi: Likewise.
31365         * manual/errno.texi: Likewise.
31366         * manual/install.texi: Likewise.
31367         * manual/llio.texi: Likewise.
31368         * manual/locale.texi: Likewise.
31369         * manual/maint.texi: Likewise.
31370         * manual/math.texi: Likewise.
31371         * manual/memory.texi: Likewise.
31372         * manual/message.texi: Likewise.
31373         * manual/probes.texi: Likewise.
31374         * manual/resource.texi: Likewise.
31375         * manual/signal.texi: Likewise.
31376         * manual/socket.texi: Likewise.
31377         * manual/stdio.texi: Likewise.
31378         * manual/string.texi: Likewise.
31379         * manual/time.texi: Likewise.
31380         * manual/users.texi: Likewise.
31382 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
31384         [BZ #16632]
31385         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
31386         _DEFAULT_SOURCE is defined.
31388 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
31389             Carlos O'Donell  <carlos@redhat.com>
31391         [BZ #16613]
31392         * elf/dl-tls.c (_dl_count_modids): New function.
31393         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
31394         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
31395         audit library and increment generation counter.
31396         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
31397         * elf/tst-audit9.c: New file.
31398         * elf/tst-auditmod9a.c: New file.
31399         * elf/tst-auditmod9b.c: New file.
31400         * elf/Makefile: Add rules to build and run tst-audit9.
31402 2014-02-25  Florian Weimer  <fweimer@redhat.com>
31404         [BZ #15347]
31405         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
31407 2014-02-25  Will Newton  <will.newton@linaro.org>
31409         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
31410         (__longjmp): Restore sp and lr before restoring callee
31411         saved registers.  Add longjmp and longjmp_target
31412         SystemTap probe point.
31413         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
31414         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
31415         Define to zero to match jmpbuf layout.
31416         * sysdeps/arm/setjmp.S: Include stap-probe.h.
31417         (__sigsetjmp): Save sp and lr before saving callee
31418         saved registers.  Add setjmp SystemTap probe point.
31420 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
31422         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
31424 2014-02-24  Andreas Schwab  <schwab@suse.de>
31426         [BZ #15804]
31427         * elf/pldd.c (wait_for_ptrace_stop): New function.
31428         (main): Call it after attaching.
31430 2014-02-22  Roland McGrath  <roland@hack.frob.com>
31432         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
31433         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
31434         Versions files is now verboten.
31435         * hurd/Versions (libc: GLIBC_2.0):
31436         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
31437         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
31438         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
31439         * mach/Versions: Likewise.
31441         * csu/Versions: Remove unused %include.
31442         * resolv/Versions: Likewise.
31444 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
31446         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
31447         ($(objpfx)check-local-headers.out): Likewise.
31448         ($(objpfx)begin-end-check.out): Likewise.
31449         * Makerules (check-abi-%.out): Likewise.
31450         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
31451         ($(objpfx)test2.cat): Likewise.
31452         ($(objpfx)de/libc.cat): Likewise.
31453         ($(objpfx)test-gencat.out): Likewise.
31454         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
31455         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
31456         ($(objpfx)noload-mem): Likewise.
31457         ($(objpfx)tst-pathopt.out): Likewise.
31458         ($(objpfx)tst-rtld-load-self.out): Likewise.
31459         ($(objpfx)tst-array1-cmp.out): Likewise.
31460         ($(objpfx)tst-array1-static-cmp.out): Likewise.
31461         ($(objpfx)tst-array2-cmp.out): Likewise.
31462         ($(objpfx)tst-array3-cmp.out): Likewise.
31463         ($(objpfx)tst-array4-cmp.out): Likewise.
31464         ($(objpfx)tst-array5-cmp.out): Likewise.
31465         ($(objpfx)tst-array5-static-cmp.out): Likewise.
31466         ($(objpfx)check-textrel.out): Likewise.
31467         ($(objpfx)check-execstack.out): Likewise.
31468         ($(objpfx)check-localplt.out): Likewise.
31469         ($(objpfx)order2-cmp.out): Likewise.
31470         ($(objpfx)tst-leaks1-mem): Likewise.
31471         ($(objpfx)tst-leaks1-static-mem): Likewise.
31472         ($(objpfx)tst-initorder-cmp.out): Likewise.
31473         ($(objpfx)tst-initorder2-cmp.out): Likewise.
31474         ($(objpfx)tst-unused-dep.out): Likewise.
31475         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
31476         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
31477         * iconv/Makefile (test-iconvconfig): Likewise.
31478         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
31479         ($(objpfx)iconv-test.out): Likewise.
31480         ($(objpfx)tst-tables.out): Likewise.
31481         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
31482         ($(objpfx)tst-gettext.out): Likewise.
31483         ($(objpfx)tst-translit.out): Likewise.
31484         ($(objpfx)tst-gettext2.out): Likewise.
31485         ($(objpfx)tst-gettext4.out): Likewise.
31486         ($(objpfx)tst-gettext6.out): Likewise.
31487         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
31488         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
31489         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
31490         ($(objpfx)tst-fopenloc-mem.out): Likewise.
31491         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
31492         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
31493         * posix/Makefile ($(objpfx)globtest.out): Likewise.
31494         ($(objpfx)wordexp-tst.out): Likewise.
31495         ($(objpfx)annexc.out): Likewise.
31496         ($(objpfx)tst-fnmatch-mem): Likewise.
31497         ($(objpfx)bug-regex2-mem): Likewise.
31498         ($(objpfx)bug-regex14-mem): Likewise.
31499         ($(objpfx)bug-regex21-mem): Likewise.
31500         ($(objpfx)bug-regex31-mem): Likewise.
31501         ($(objpfx)tst-vfork3-mem): Likewise.
31502         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
31503         ($(objpfx)tst-pcre-mem): Likewise.
31504         ($(objpfx)tst-boost-mem): Likewise.
31505         ($(objpfx)tst-getconf.out): Likewise.
31506         ($(objpfx)bug-ga2-mem): Likewise.
31507         ($(objpfx)bug-glob2-mem): Likewise.
31508         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
31509         ($(objpfx)mtrace-tst-leaks2): Likewise.
31510         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
31511         ($(objpfx)tst-printf.out): Likewise.
31512         ($(objpfx)tst-setvbuf1.out): Likewise.
31513         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
31514         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
31515         ($(objpfx)tst-fmtmsg.out): Likewise.
31516         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
31517         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
31519         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
31520         * bits/sigaction.h [__USE_MISC]: Likewise.
31521         * bits/waitstatus.h: Update #endif comments.
31522         * ctype/ctype.h: Likewise.
31523         * dirent/dirent.h: Likewise.
31524         [__USE_MISC]: Remove redundant conditionals.
31525         * grp/grp.h: Update #endif comments.
31526         [__USE_GNU]: Remove redundant conditionals.
31527         [__USE_MISC]: Likewise.
31528         * inet/netinet/in.h [__USE_GNU]: Likewise.
31529         * io/sys/stat.h [__USE_MISC]: Likewise.
31530         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
31531         * libio/bits/stdio.h: Update #endif comments.
31532         [__USE_MISC]: Remove redundant conditionals.
31533         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
31534         * libio/stdio.h: Update #endif comments.
31535         [__USE_MISC]: Remove redundant conditionals.
31536         * math/bits/math-finite.h [__USE_MISC]: Likewise.
31537         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
31538         * math/math.h: Update #else and #endif comments.
31539         [__USE_MISC]: Remove redundant conditionals.
31540         * misc/sys/uio.h: Update #endif comments.
31541         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
31542         * posix/glob.h [__USE_MISC]: Likewise.
31543         * posix/sys/types.h: Update #endif comments.
31544         [__USE_MISC]: Remove redundant conditionals.
31545         * posix/sys/wait.h: Update #endif comments.
31546         [__USE_MISC]: Remove redundant conditionals.
31547         * posix/unistd.h: Update #endif comments.
31548         [__USE_MISC]: Remove redundant conditionals.
31549         * pwd/pwd.h [__USE_GNU]: Likewise.
31550         [__USE_MISC]: Likewise.
31551         * resolv/netdb.h [__USE_GNU]: Likewise.
31552         * signal/signal.h: Update #endif comments.
31553         [__USE_MISC]: Remove redundant conditionals.
31554         * stdlib/stdlib.h: Update #else and #endif comments.
31555         [__USE_MISC]: Remove redundant conditionals.
31556         [__USE_GNU]: Likewise.
31557         * string/bits/string2.h [__USE_MISC]: Likewise.
31558         * string/string.h: Update #endif comments.
31559         [__USE_MISC]: Remove redundant conditionals.
31560         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
31561         Likewise.
31562         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
31563         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
31564         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
31565         Likewise.
31566         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
31567         Likewise.
31568         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
31569         comments.
31570         [__USE_MISC]: Remove redundant conditionals.
31571         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
31572         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
31573         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
31574         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
31575         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
31576         Likewise.
31577         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
31578         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
31579         Likewise.
31580         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
31581         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
31582         Likewise.
31583         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
31584         Likewise.
31585         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
31586         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
31587         Likewise.
31588         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
31589         Likewise.
31590         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
31591         * sysdeps/x86/bits/string.h: Update #endif comments.
31592         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
31593         conditionals.
31594         * time/sys/time.h: Update #endif comments.
31595         * time/time.h: Likewise.
31596         [__USE_MISC]: Remove redundant conditionals.
31598 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
31600         [BZ #16600]
31601         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
31603 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
31605         * Versions.def (librt): Add GLIBC_2.17.
31607 2014-02-21  Adam Conrad  <adconrad@0c3.net>
31609         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
31610         synonym for _SYS_AUXV_H to allow direct inclusion.
31611         * sysdeps/sparc/bits/hwcap.h: Likewise.
31612         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
31613         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
31614         * sysdeps/sparc/sysdep.h: Likewise.
31616 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
31618         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
31620 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
31622         * benchtests/bench-strrchr.c: Print length instead of position.
31624 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
31626         [BZ #16611]
31627         * sysdeps/unix/sysv/linux/kernel-features.h
31628         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
31629         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
31630         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
31631         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
31632         Likewise.
31633         [__i386__ || __powerpc__ || __sh__ || __sparc__]
31634         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
31635         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
31636         (__ASSUME_SENDMMSG): Define instead of using previous
31637         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
31638         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
31639         (__ASSUME_SENDMMSG_SYSCALL): Define.
31640         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
31641         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
31642         Likewise.
31643         * sysdeps/unix/sysv/linux/arm/kernel-features.h
31644         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
31645         Likewise.
31646         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
31647         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
31648         Likewise.
31649         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
31650         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
31651         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
31652         [__ASSUME_SENDMMSG]: Change conditionals to
31653         [__ASSUME_SENDMMSG_SOCKETCALL].
31654         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
31655         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
31656         Define.
31657         * sysdeps/unix/sysv/linux/mips/kernel-features.h
31658         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
31659         Likewise.
31660         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
31661         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
31662         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
31663         [!__ASSUME_SENDMMSG]: Change conditional to
31664         [!__ASSUME_SENDMMSG_SOCKETCALL].
31665         * sysdeps/unix/sysv/linux/tile/kernel-features.h
31666         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
31667         Define.
31669         [BZ #16610]
31670         * sysdeps/unix/sysv/linux/kernel-features.h
31671         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
31672         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
31673         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
31674         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
31675         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
31676         [__i386__ || __sparc__]
31677         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
31678         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
31679         (__ASSUME_RECVMMSG): Define instead of using previous
31680         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
31681         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
31682         (__ASSUME_RECVMMSG_SYSCALL): Define.
31683         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
31684         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
31685         Likewise.
31686         * sysdeps/unix/sysv/linux/arm/kernel-features.h
31687         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
31688         Likewise.
31689         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
31690         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
31691         Likewise.
31692         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
31693         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
31694         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
31695         [__ASSUME_RECVMMSG]: Change condition to
31696         [__ASSUME_RECVMMSG_SOCKETCALL].
31697         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
31698         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
31699         Define.
31700         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
31701         * sysdeps/unix/sysv/linux/mips/kernel-features.h
31702         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
31703         Likewise.
31704         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
31705         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
31706         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
31707         [!__ASSUME_RECVMMSG]: Change condition to
31708         [!__ASSUME_RECVMMSG_SOCKETCALL].
31709         * sysdeps/unix/sysv/linux/tile/kernel-features.h
31710         (__ASSUME_RECVMMSG_SYSCALL): Define.
31712         [BZ #16609]
31713         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
31714         __powerpc__ || __s390__ || __sh__ || __sparc__]
31715         (__ASSUME_SOCKETCALL): Define.
31716         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
31717         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
31718         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
31719         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
31720         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
31721         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
31722         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
31723         (__ASSUME_ACCEPT4): Define instead of using previous
31724         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
31725         __powerpc__ || __sparc__ || __s390__)] condition.
31726         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
31727         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
31728         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
31729         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
31730         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
31731         [!__ASSUME_ACCEPT4]: Change condition to
31732         [!__ASSUME_ACCEPT4_SOCKETCALL].
31733         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
31734         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
31735         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
31736         * sysdeps/unix/sysv/linux/arm/kernel-features.h
31737         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
31738         __ASSUME_ACCEPT4_SYSCALL.
31739         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
31740         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
31741         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
31742         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
31743         __ASSUME_ACCEPT4_SYSCALL.
31744         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
31745         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
31746         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
31747         [__ASSUME_ACCEPT4]: Change condition to
31748         [__ASSUME_ACCEPT4_SOCKETCALL].
31749         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
31750         (__ASSUME_SOCKETCALL): Define.
31751         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
31752         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
31753         (__ASSUME_SOCKETCALL): Define.
31754         (__ASSUME_ACCEPT4): Remove.
31755         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
31756         Define.
31757         * sysdeps/unix/sysv/linux/mips/kernel-features.h
31758         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
31759         Likewise.
31760         * sysdeps/unix/sysv/linux/tile/kernel-features.h
31761         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
31763         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
31764         macro.
31765         (HWCAP_ARM_LPAE): Likewise.
31766         (HWCAP_ARM_EVTSTRM): Likewise.
31767         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
31768         Add vpfd32, lpae and evtstrm.
31769         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
31770         Increase to 22.
31772 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
31774         * math/auto-libm-test-in: Add tests of clog10.
31775         * math/auto-libm-test-out: Regenerated.
31776         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
31777         * sysdeps/i386/fpu/libm-test-ulps: Update.
31778         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31780 2014-02-18  Andreas Schwab  <schwab@suse.de>
31782         [BZ #16574]
31783         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
31784         Store non-zero if the second buffer was newly allocated.
31785         (send_dg): Likewise.
31786         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
31787         to send_vc and send_dg.
31788         (res_nsend): Pass NULL for ansp2_malloced.
31789         * resolv/res_query.c (__libc_res_nquery): Add parameter
31790         answerp2_malloced and pass it down to __libc_res_nsend.
31791         (res_nquery): Pass additional NULL to __libc_res_nquery.
31792         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
31793         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
31794         second answer buffer if answerp2_malloced was set.
31795         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
31796         (__libc_res_nquerydomain): Add parameter
31797         answerp2_malloced and pass it down to __libc_res_nquery.
31798         (res_nquerydomain): Pass additional NULL to
31799         __libc_res_nquerydomain.
31800         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
31801         additional NULL to __libc_res_nsend and __libc_res_nquery.
31802         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
31803         additional NULL to __libc_res_nsearch.
31804         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
31805         parameter of __libc_res_nsearch to check for separately allocated
31806         second buffer.
31807         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
31808         __libc_res_nquery.
31809         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
31810         additional NULL to __libc_res_nquery.
31811         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
31812         __libc_res_nsearch.
31813         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
31814         * include/resolv.h: Update prototypes of __libc_res_nquery,
31815         __libc_res_nsearch, __libc_res_nsend.
31817 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
31819         * math/auto-libm-test-in: Add tests of fma.
31820         * math/auto-libm-test-out: Regenerated.
31821         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
31822         (fma_towardzero_test_data): Likewise.
31823         (fma_downward_test_data): Likewise.
31824         (fma_upward_test_data): Likewise.
31825         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
31826         mpc_mode.
31827         (rounding_modes): Add values for new field.
31828         (func_calc_method): Add value mpfr_fff_f.
31829         (func_calc_desc): Add mpfr_fff_f union field.
31830         (test_function): Add field exact_args.
31831         (FUNC): Add macro argument EXACT_ARGS.
31832         (FUNC_mpfr_f_f): Update call to FUNC.
31833         (FUNC_mpfr_f_f): Likewise.
31834         (FUNC_mpfr_ff_f): Likewise.
31835         (FUNC_mpfr_if_f): Likewise.
31836         (FUNC_mpc_c_f): Likewise.
31837         (FUNC_mpc_c_c): Likewise.
31838         (test_functions): Add fma.  Update calls to FUNC.
31839         (handle_input_arg): Add argument exact_args.
31840         (add_test): Update call to handle_input_arg.
31841         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
31842         (output_for_one_input_case): Update call to calc_generic_results.
31843         Recalculate exact zero results in each rounding mode.
31845         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
31846         non-negative before setting low bit.
31847         * math/auto-libm-test-in: Mark one asin test possibly having
31848         spurious underflow.
31849         * math/auto-libm-test-out: Regenerated.
31850         * sysdeps/i386/fpu/libm-test-ulps: Update.
31851         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31853 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
31855         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
31856         * sysdeps/unix/sysv/linux/microblaze: Move directory from
31857         ports/sysdeps/unix/sysv/linux/microblaze.
31858         * README: Add missing listing for microblaze*-*-linux-gnu.
31860 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
31862         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
31863         duplicate code
31865 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
31867         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
31868         * sysdeps/unix/sysv/linux/ia64: Move directory from
31869         ports/sysdeps/unix/sysv/linux/ia64.
31870         * README: Update listing for ia64-*-linux-gnu.
31872 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
31873             Joseph Myers  <joseph@codesourcery.com>
31875         * Makeconfig (test-name): New variable.
31876         (evaluate-test): Likewise.
31877         * Makerules (do-test-clean): Remove .test-result files.
31878         (common-mostlyclean): Likewise.
31879         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
31880         * scripts/evaluate-test.sh: New file.
31882 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
31884         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
31885         separate $(objpfx)tst-fopenloc-cmp.out and
31886         $(objpfx)tst-fopenloc-mem.out targets.
31887         (tests): Update dependencies.
31888         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
31889         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
31890         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
31891         (tst-rxspencer-no-utf8-ARGS): New variable.
31892         (tst-rxspencer-no-utf8-ENV): Likewise.
31893         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
31894         instead of $(objpfx)tst-rxspencer-mem.
31895         ($(objpfx)tst-rxspencer-mem): Change target to
31896         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
31897         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
31898         * posix/tst-rxspencer-no-utf8.c: New file.
31900         * elf/Makefile ($(objpfx)order.out): Remove rule.
31901         [$(run-built-tests) = yes] (tests): Depend on
31902         $(objpfx)order-cmp.out.
31903         ($(objpfx)order-cmp.out): New rule.
31904         [$(run-built-tests) = yes] (tests): Depend on
31905         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
31906         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
31907         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
31908         $(objpfx)tst-array5-static-cmp.out.
31909         ($(objpfx)tst-array1.out): Remove rule.
31910         ($(objpfx)tst-array1-cmp.out): New rule.
31911         ($(objpfx)tst-array1-static.out): Remove rule.
31912         ($(objpfx)tst-array1-static-cmp.out): New rule.
31913         ($(objpfx)tst-array2.out): Remove rule.
31914         ($(objpfx)tst-array2-cmp.out): New rule.
31915         ($(objpfx)tst-array3.out): Remove rule.
31916         ($(objpfx)tst-array3-cmp.out): New rule.
31917         ($(objpfx)tst-array4.out): Remove rule.
31918         ($(objpfx)tst-array4-cmp.out): New rule.
31919         ($(objpfx)tst-array5.out): Remove rule.
31920         ($(objpfx)tst-array5-cmp.out): New rule.
31921         ($(objpfx)tst-array5-static.out): Remove rule.
31922         ($(objpfx)tst-array5-static-cmp.out): New rule.
31923         [$(run-built-tests) = yes] (tests): Depend on
31924         $(objpfx)order2-cmp.out.
31925         ($(objpfx)order2.out): Remove rule.
31926         ($(objpfx)order2-cmp.out): New rule.
31927         ($(objpfx)tst-initorder.out): Remove rule.
31928         [$(run-built-tests) = yes] (tests): Depend on
31929         $(objpfx)tst-initorder-cmp.out.
31930         ($(objpfx)tst-initorder-cmp.out): New rule.
31931         ($(objpfx)tst-initorder2.out): Remove rule.
31932         [$(run-built-tests) = yes] (tests): Depend on
31933         $(objpfx)tst-initorder2-cmp.out.
31934         ($(objpfx)tst-initorder2-cmp.out): New rule.
31935         [$(run-built-tests) = yes] (tests): Depend on
31936         $(objpfx)tst-unused-dep-cmp.out.
31937         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
31938         ($(objpfx)tst-unused-dep-cmp.out): New rule.
31939         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
31940         on $(objpfx)tst-setvbuf1-cmp.out.
31941         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
31942         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
31943         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
31944         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
31945         ($(objpfx)tst-svc.out): Remove rule.
31946         ($(objpfx)tst-svc-cmp.out): New rule.
31948 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
31950         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
31951         * ctype/ctype.h [__USE_MISC]: Likewise.
31952         * dirent/dirent.h [__USE_MISC]: Likewise.
31953         * grp/grp.h [__USE_MISC]: Likewise.
31954         * io/fcntl.h [__USE_MISC]: Likewise.
31955         * io/sys/stat.h [__USE_MISC]: Likewise.
31956         * libio/stdio.h [__USE_MISC]: Likewise.
31957         * posix/unistd.h [__USE_MISC]: Likewise.
31958         * pwd/pwd.h [__USE_MISC]: Likewise.
31959         * stdlib.h [__USE_MISC]: Likewise.
31960         * string/bits/string2.h [__USE_MISC]: Likewise.
31961         * string/string.h [__USE_MISC]: Likewise.
31962         * time/time.h [__USE_MISC]: Likewise.
31964 2014-02-13  Andreas Schwab  <schwab@suse.de>
31966         [BZ #16574]
31967         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
31968         second answer buffer if it was separately allocated.
31970 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
31972         * sysdeps/mips/math-tests.h: Include <features.h>.
31973         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
31974         (ROUNDING_TESTS_long_double): Do not define.
31975         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
31976         (EXCEPTION_TESTS_long_double): Likewise.
31977         * sysdeps/mips/mips64/libm-test-ulps: Update.
31979         * include/features.h (__USE_BSD): Remove macro definitions.
31980         (__USE_SVID): Likewise.
31981         (_BSD_SOURCE): Likewise.
31982         (_SVID_SOURCE): Likewise.
31983         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
31984         from definition of _DEFAULT_SOURCE.
31985         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
31986         [_DEFAULT_SOURCE].
31987         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
31988         * bits/mman.h [__USE_BSD]: Likewise.
31989         * bits/termios.h [__USE_BSD]: Likewise.
31990         * bits/waitstatus.h [__USE_BSD]: Likewise.
31991         * ctype/ctype.h [__USE_SVID]: Likewise.
31992         * dirent/dirent.h [__USE_BSD]: Likewise.
31993         * grp/grp.h [__USE_SVID]: Likewise.
31994         [__USE_BSD]: Likewise.
31995         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
31996         * io/fcntl.h [__USE_BSD]: Likewise.
31997         * io/ftw.h [__USE_BSD]: Likewise.
31998         * io/sys/stat.h [__USE_BSD]: Likewise.
31999         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
32000         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
32001         * libio/stdio.h [__USE_SVID]: Likewise.
32002         [__USE_BSD]: Likewise.
32003         * math/math.h [__USE_SVID]: Likewise.
32004         [__USE_BSD]: Likewise.
32005         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
32006         * misc/bits/syslog.h [__USE_BSD]: Likewise.
32007         * misc/search.h [__USE_SVID]: Likewise.
32008         * misc/sys/mman.h [__USE_BSD]: Likewise.
32009         * misc/sys/syslog.h [__USE_BSD]: Likewise.
32010         * misc/sys/uio.h [__USE_BSD]: Likewise.
32011         * posix/bits/unistd.h [__USE_BSD]: Likewise.
32012         * posix/glob.h [__USE_BSD]: Likewise.
32013         * posix/regex.h [__USE_BSD]: Likewise.
32014         * posix/sys/types.h [__USE_BSD]: Likewise.
32015         [__USE_SVID]: Likewise.
32016         * posix/sys/utsname.h [__USE_SVID]: Likewise.
32017         * posix/sys/wait.h [__USE_BSD]: Likewise.
32018         [__USE_SVID]: Likewise.
32019         * posix/unistd.h [__USE_BSD]: Likewise.
32020         [__USE_SVID]: Likewise.
32021         * pwd/pwd.h [__USE_SVID]: Likewise.
32022         * resolv/netdb.h [__USE_BSD]: Likewise.
32023         * setjmp/setjmp.h [__USE_BSD]: Likewise.
32024         * signal/signal.h [__USE_BSD]: Likewise.
32025         [__USE_SVID]: Likewise.
32026         * socket/sys/socket.h [__USE_BSD]: Likewise.
32027         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
32028         * stdlib/stdlib.h [__USE_BSD]: Likewise.
32029         [__USE_SVID]: Likewise.
32030         * string/bits/string2.h [__USE_BSD]: Likewise.
32031         [__USE_SVID]: Likewise.
32032         * string/bits/string3.h [__USE_BSD]: Likewise.
32033         * string/endian.h [__USE_BSD]: Likewise.
32034         * string/string.h [__USE_SVID]: Likewise.
32035         [__USE_BSD]: Likewise.
32036         * string/strings.h [__USE_BSD]: Likewise.
32037         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
32038         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
32039         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
32040         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
32041         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
32042         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
32043         Likewise.
32044         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
32045         Likewise.
32046         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
32047         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
32048         Likewise.
32049         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
32050         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
32051         Likewise.
32052         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
32053         Likewise.
32054         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
32055         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
32056         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
32057         Likewise.
32058         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
32059         Likewise.
32060         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
32061         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
32062         * termios/termios.h [__USE_BSD]: Likewise.
32063         * time/sys/time.h [__USE_BSD]: Likewise.
32064         * time/time.h [__USE_BSD]: Likewise.
32065         [__USE_SVID]: Likewise.
32067         * Makefile (subdir_targets): Remove subdir_lint.out.
32069         * stdio-common/Makefile (do-tst-unbputc): Remove target.
32070         (do-tst-printf): Likewise.
32071         (tests): Depend directly on $(objpfx)tst-unbputc.out and
32072         $(objpfx)tst-printf.out.
32074         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
32076         * Makerules (check-abi-%): Change target to
32077         $(objpfx)check-abi-%.out.
32078         (check-abi target): Update dependencies.
32079         (check-abi-pattern variable): Redirect output of diff to $@.
32080         (check-abi variable): Likewise.
32081         * elf/Makefile (check-abi): Update dependencies.
32083         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
32084         unused.
32085         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
32086         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
32087         subnormal range.
32088         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
32089         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
32090         value has largest subnormal exponent.
32091         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
32092         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
32093         * sysdeps/aarch64/soft-fp/sfp-machine.h
32094         (_FP_TININESS_AFTER_ROUNDING): New macro.
32095         * sysdeps/alpha/soft-fp/sfp-machine.h
32096         (_FP_TININESS_AFTER_ROUNDING): Likewise.
32097         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
32098         Likewise.
32099         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
32100         (_FP_TININESS_AFTER_ROUNDING): Likewise.
32101         * sysdeps/mips/soft-fp/sfp-machine.h
32102         (_FP_TININESS_AFTER_ROUNDING): Likewise.
32103         * sysdeps/powerpc/soft-fp/sfp-machine.h
32104         (_FP_TININESS_AFTER_ROUNDING): Likewise.
32105         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
32106         Likewise.
32107         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
32108         (_FP_TININESS_AFTER_ROUNDING): Likewise.
32109         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
32110         (_FP_TININESS_AFTER_ROUNDING): Likewise.
32111         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
32112         Likewise.
32114 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
32116         [BZ #16545]
32117         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
32118         model 1.
32120 2014-02-12  Richard Henderson  <rth@redhat.com>
32122         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
32123         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
32124         * sysdeps/unix/sysv/linux/alpha: Move directory from
32125         ports/sysdeps/unix/sysv/linux/alpha.
32126         * README: Update listing for alpha-*-linux-gnu.
32128 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
32130         * include/features.h: Update comment documenting feature test
32131         macros.
32132         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
32133         _DEFAULT_SOURCE.
32134         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
32135         (_SVID_SOURCE): Likewise.
32136         (_DEFAULT_SOURCE): Update description of default features.
32137         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
32138         with _GNU_SOURCE.
32139         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
32140         (S_ISVTX): Likewise.
32141         * manual/math.texi (Mathematical Constants): Likewise.
32142         * manual/signal.texi (Interrupted Primitives): Likewise.
32143         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
32144         * math/test-matherr.c (_SVID_SOURCE): Do not define.
32145         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
32146         Don't refer to _SVID_SOURCE in warning text.
32148         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32150         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
32151         already defined.
32152         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
32153         * sysdeps/mips/dl-lookup.c: Remove.
32154         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
32156 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
32158         [BZ #16447]
32159         * math/auto-libm-test-in: Add testcase for expl.
32160         * math/auto-libm-test-out: Regenerate.
32161         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
32162         calculation of unsafe.
32163         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
32165 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
32167         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
32168         * sysdeps/unix/sysv/linux/aarch64: Move directory from
32169         ports/sysdeps/unix/sysv/linux/aarch64.
32170         * README: Update listing for aarch64*-*-linux-gnu.
32172 2014-02-11  Will Newton  <will.newton@linaro.org>
32174         * manual/probes.texi (Mathematical Function Probes): Use
32175         "triggered" instead of "hit".
32177         * manual/probes.texi (Internal Probes): Add documentation
32178         of setjmp, longjmp and longjmp_target probes.
32180         * include/stap-probe.h: Add comment about probe argument
32181         format.
32183         * malloc/mtrace.c (attribute_hidden): Remove unused macro
32184         definition.  (tr_where, tr_freehook, tr_mallochook,
32185         tr_reallochook, tr_memalignhook): Use ANSI protoype.
32187 2014-02-11  David S. Miller  <davem@davemloft.net>
32189         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
32190         processing int_tests.
32192 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
32194         * sysdeps/mips: Move directory from ports/sysdeps/mips.
32195         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
32196         * sysdeps/unix/sysv/linux/mips: Move directory from
32197         ports/sysdeps/unix/sysv/linux/mips.
32198         * README: Update listing for mips-*-linux-gnu and
32199         mips64-*-linux-gnu.
32201 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
32203         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
32204         * sysdeps/unix/sysv/linux/m68k: Move directory from
32205         ports/sysdeps/unix/sysv/linux/m68k.
32206         * README: Update listing for m68k-*-linux-gnu.
32208 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
32210         * sysdeps/tile: Move directory from ports/sysdeps/tile.
32211         * sysdeps/unix/sysv/linux/generic: Move directory from
32212         ports/sysdeps/unix/sysv/linux/generic.
32213         * sysdeps/unix/sysv/linux/tile: Move directory from
32214         ports/sysdeps/unix/sysv/linux/tile.
32215         * README: Update listing for tile*-*-linux-gnu.
32217 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
32219         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
32220         __builtin_expect.
32221         * benchtests/bench-memmem.c (simple_memmem): Likewise.
32222         * catgets/open_catalog.c (__open_catalog): Likewise.
32223         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
32224         * debug/confstr_chk.c: Likewise.
32225         * debug/fread_chk.c (__fread_chk): Likewise.
32226         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
32227         * debug/getgroups_chk.c: Likewise.
32228         * debug/mbsnrtowcs_chk.c: Likewise.
32229         * debug/mbsrtowcs_chk.c: Likewise.
32230         * debug/mbstowcs_chk.c: Likewise.
32231         * debug/memcpy_chk.c: Likewise.
32232         * debug/memmove_chk.c: Likewise.
32233         * debug/mempcpy_chk.c: Likewise.
32234         * debug/memset_chk.c: Likewise.
32235         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
32236         * debug/strcat_chk.c (__strcat_chk): Likewise.
32237         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
32238         * debug/strncat_chk.c (__strncat_chk): Likewise.
32239         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
32240         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
32241         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
32242         * debug/wcpncpy_chk.c: Likewise.
32243         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
32244         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
32245         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
32246         * debug/wcsncpy_chk.c: Likewise.
32247         * debug/wcsnrtombs_chk.c: Likewise.
32248         * debug/wcsrtombs_chk.c: Likewise.
32249         * debug/wcstombs_chk.c: Likewise.
32250         * debug/wmemcpy_chk.c: Likewise.
32251         * debug/wmemmove_chk.c: Likewise.
32252         * debug/wmempcpy_chk.c: Likewise.
32253         * debug/wmemset_chk.c: Likewise.
32254         * dirent/scandirat.c (SCANDIRAT): Likewise.
32255         * dlfcn/dladdr1.c (dladdr1): Likewise.
32256         * dlfcn/dladdr.c (dladdr): Likewise.
32257         * dlfcn/dlclose.c (dlclose_doit): Likewise.
32258         * dlfcn/dlerror.c (__dlerror): Likewise.
32259         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
32260         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
32261         * dlfcn/dlopen.c (dlopen_doit): Likewise.
32262         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
32263         * dlfcn/dlsym.c (dlsym_doit): Likewise.
32264         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
32265         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
32266         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
32267         Likewise.
32268         * elf/dl-conflict.c: Likewise.
32269         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
32270         * elf/dl-dst.h: Likewise.
32271         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
32272         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
32273         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
32274         * elf/dl-init.c (call_init, _dl_init): Likewise.
32275         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
32276         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
32277         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
32278         Likewise.
32279         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
32280         Likewise.
32281         * elf/dl-minimal.c (__libc_memalign): Likewise.
32282         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
32283         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
32284         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
32285         * elf/dl-sym.c (do_sym): Likewise.
32286         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
32287         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
32288         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
32289         * elf/dl-writev.h (_dl_writev): Likewise.
32290         * elf/ldconfig.c (search_dir): Likewise.
32291         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
32292         (dl_main): Likewise.
32293         * elf/setup-vdso.h (setup_vdso): Likewise.
32294         * grp/compat-initgroups.c (compat_call): Likewise.
32295         * grp/fgetgrent.c (fgetgrent): Likewise.
32296         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
32297         * grp/putgrent.c (putgrent): Likewise.
32298         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
32299         Likewise.
32300         * hurd/hurdinit.c: Likewise.
32301         * iconvdata/8bit-gap.c (struct): Likewise.
32302         * iconvdata/ansi_x3.110.c : Likewise.
32303         * iconvdata/big5.c : Likewise.
32304         * iconvdata/big5hkscs.c : Likewise.
32305         * iconvdata/cp1255.c: Likewise.
32306         * iconvdata/cp1258.c : Likewise.
32307         * iconvdata/cp932.c : Likewise.
32308         * iconvdata/euc-cn.c: Likewise.
32309         * iconvdata/euc-jisx0213.c : Likewise.
32310         * iconvdata/euc-jp.c: Likewise.
32311         * iconvdata/euc-jp-ms.c : Likewise.
32312         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
32313         * iconvdata/gb18030.c : Likewise.
32314         * iconvdata/gbbig5.c (const): Likewise.
32315         * iconvdata/gbgbk.c: Likewise.
32316         * iconvdata/gbk.c : Likewise.
32317         * iconvdata/ibm1364.c : Likewise.
32318         * iconvdata/ibm930.c : Likewise.
32319         * iconvdata/ibm932.c: Likewise.
32320         * iconvdata/ibm933.c : Likewise.
32321         * iconvdata/ibm935.c : Likewise.
32322         * iconvdata/ibm937.c : Likewise.
32323         * iconvdata/ibm939.c : Likewise.
32324         * iconvdata/ibm943.c: Likewise.
32325         * iconvdata/iso_11548-1.c: Likewise.
32326         * iconvdata/iso-2022-cn.c : Likewise.
32327         * iconvdata/iso-2022-cn-ext.c : Likewise.
32328         * iconvdata/iso-2022-jp-3.c: Likewise.
32329         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
32330         * iconvdata/iso-2022-kr.c : Likewise.
32331         * iconvdata/iso646.c (gconv_end): Likewise.
32332         * iconvdata/iso_6937-2.c : Likewise.
32333         * iconvdata/iso_6937.c : Likewise.
32334         * iconvdata/iso8859-1.c: Likewise.
32335         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
32336         * iconvdata/shift_jisx0213.c : Likewise.
32337         * iconvdata/sjis.c : Likewise.
32338         * iconvdata/t.61.c : Likewise.
32339         * iconvdata/tcvn5712-1.c : Likewise.
32340         * iconvdata/tscii.c: Likewise.
32341         * iconvdata/uhc.c : Likewise.
32342         * iconvdata/unicode.c (gconv_end): Likewise.
32343         * iconvdata/utf-16.c (gconv_end): Likewise.
32344         * iconvdata/utf-32.c (gconv_end): Likewise.
32345         * iconvdata/utf-7.c (base64): Likewise.
32346         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
32347         * iconv/gconv_close.c (__gconv_close): Likewise.
32348         * iconv/gconv_open.c (__gconv_open): Likewise.
32349         * iconv/gconv_simple.c (internal_ucs4_loop_single)
32350         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
32351         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
32352         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
32353         (ucs4le_internal_loop_single): Likewise.
32354         * iconv/iconv.c (iconv): Likewise.
32355         * iconv/iconv_close.c: Likewise.
32356         * iconv/loop.c (SINGLE): Likewise.
32357         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
32358         * include/atomic.h: Likewise.
32359         * inet/inet6_option.c (option_alloc): Likewise.
32360         * intl/bindtextdom.c (set_binding_values): Likewise.
32361         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
32362         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
32363         * intl/localealias.c (read_alias_file): Likewise.
32364         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
32365         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
32366         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
32367         * libio/fmemopen.c (fmemopen): Likewise.
32368         * libio/iofgets.c (_IO_fgets): Likewise.
32369         * libio/iofgets_u.c (fgets_unlocked): Likewise.
32370         * libio/iofgetws.c (fgetws): Likewise.
32371         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
32372         * libio/iogetdelim.c (_IO_getdelim): Likewise.
32373         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
32374         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
32375         * locale/findlocale.c (_nl_find_locale): Likewise.
32376         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
32377         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
32378         Likewise.
32379         * locale/setlocale.c (setlocale): Likewise.
32380         * login/programs/pt_chown.c (main): Likewise.
32381         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
32382         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
32383         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
32384         (mmap, mmap64, mremap, munmap): Likewise.
32385         * math/e_exp2l.c: Likewise.
32386         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
32387         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
32388         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
32389         * math/s_catan.c (__catan): Likewise.
32390         * math/s_catanf.c (__catanf): Likewise.
32391         * math/s_catanh.c (__catanh): Likewise.
32392         * math/s_catanhf.c (__catanhf): Likewise.
32393         * math/s_catanhl.c (__catanhl): Likewise.
32394         * math/s_catanl.c (__catanl): Likewise.
32395         * math/s_ccosh.c (__ccosh): Likewise.
32396         * math/s_ccoshf.c (__ccoshf): Likewise.
32397         * math/s_ccoshl.c (__ccoshl): Likewise.
32398         * math/s_cexp.c (__cexp): Likewise.
32399         * math/s_cexpf.c (__cexpf): Likewise.
32400         * math/s_cexpl.c (__cexpl): Likewise.
32401         * math/s_clog10.c (__clog10): Likewise.
32402         * math/s_clog10f.c (__clog10f): Likewise.
32403         * math/s_clog10l.c (__clog10l): Likewise.
32404         * math/s_clog.c (__clog): Likewise.
32405         * math/s_clogf.c (__clogf): Likewise.
32406         * math/s_clogl.c (__clogl): Likewise.
32407         * math/s_csin.c (__csin): Likewise.
32408         * math/s_csinf.c (__csinf): Likewise.
32409         * math/s_csinh.c (__csinh): Likewise.
32410         * math/s_csinhf.c (__csinhf): Likewise.
32411         * math/s_csinhl.c (__csinhl): Likewise.
32412         * math/s_csinl.c (__csinl): Likewise.
32413         * math/s_csqrt.c (__csqrt): Likewise.
32414         * math/s_csqrtf.c (__csqrtf): Likewise.
32415         * math/s_csqrtl.c (__csqrtl): Likewise.
32416         * math/s_ctan.c (__ctan): Likewise.
32417         * math/s_ctanf.c (__ctanf): Likewise.
32418         * math/s_ctanh.c (__ctanh): Likewise.
32419         * math/s_ctanhf.c (__ctanhf): Likewise.
32420         * math/s_ctanhl.c (__ctanhl): Likewise.
32421         * math/s_ctanl.c (__ctanl): Likewise.
32422         * math/w_pow.c: Likewise.
32423         * math/w_powf.c: Likewise.
32424         * math/w_powl.c: Likewise.
32425         * math/w_scalb.c (sysv_scalb): Likewise.
32426         * math/w_scalbf.c (sysv_scalbf): Likewise.
32427         * math/w_scalbl.c (sysv_scalbl): Likewise.
32428         * misc/error.c (error_tail): Likewise.
32429         * misc/pselect.c (__pselect): Likewise.
32430         * nis/nis_callback.c (__nis_create_callback): Likewise.
32431         * nis/nis_call.c (__nisfind_server): Likewise.
32432         * nis/nis_creategroup.c (nis_creategroup): Likewise.
32433         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
32434         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
32435         * nis/nis_getservlist.c (nis_getservlist): Likewise.
32436         * nis/nis_lookup.c (nis_lookup): Likewise.
32437         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
32438         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
32439         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
32440         * nis/nis_xdr.c (xdr_endpoint): Likewise.
32441         * nis/nss_compat/compat-grp.c (getgrent_next_file)
32442         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
32443         * nis/nss_compat/compat-initgroups.c (add_group)
32444         (internal_getgrent_r): Likewise.
32445         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
32446         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
32447         * nis/nss_compat/compat-spwd.c (getspent_next_file)
32448         (internal_getspnam_r): Likewise.
32449         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
32450         (_nss_nis_getaliasbyname_r): Likewise.
32451         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
32452         (_nss_nis_getntohost_r): Likewise.
32453         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
32454         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
32455         (_nss_nis_getgrgid_r): Likewise.
32456         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
32457         (internal_nis_gethostent_r, internal_gethostbyname2_r)
32458         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
32459         (_nss_nis_gethostbyname4_r): Likewise.
32460         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
32461         (initgroups_netid): Likewise.
32462         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
32463         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
32464         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
32465         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
32466         (_nss_nis_getprotobynumber_r): Likewise.
32467         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
32468         (_nss_nis_getsecretkey): Likewise.
32469         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
32470         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
32471         (_nss_nis_getpwuid_r): Likewise.
32472         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
32473         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
32474         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
32475         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
32476         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
32477         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
32478         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
32479         Likewise.
32480         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
32481         (_nss_nisplus_getntohost_r): Likewise.
32482         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
32483         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
32484         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
32485         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
32486         Likewise.
32487         * nis/nss_nisplus/nisplus-initgroups.c
32488         (_nss_nisplus_initgroups_dyn): Likewise.
32489         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
32490         (_nss_nisplus_getnetbyaddr_r): Likewise.
32491         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
32492         (_nss_nisplus_getprotobynumber_r): Likewise.
32493         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
32494         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
32495         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
32496         Likewise.
32497         * nis/nss_nisplus/nisplus-service.c
32498         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
32499         (_nss_nisplus_getservbyport_r): Likewise.
32500         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
32501         (_nss_nisplus_getspnam_r): Likewise.
32502         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
32503         Likewise.
32504         * nscd/aicache.c (addhstaiX): Likewise.
32505         * nscd/cache.c (cache_search, prune_cache): Likewise.
32506         * nscd/connections.c (register_traced_file, send_ro_fd)
32507         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
32508         (main_loop_epoll): Likewise.
32509         * nscd/grpcache.c (addgrbyX): Likewise.
32510         * nscd/hstcache.c (addhstbyX): Likewise.
32511         * nscd/initgrcache.c (addinitgroupsX): Likewise.
32512         * nscd/mem.c (gc, mempool_alloc): Likewise.
32513         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
32514         (addinnetgrX): Likewise.
32515         * nscd/nscd-client.h (__nscd_acquire_maplock)
32516         (__nscd_drop_map_ref): Likewise.
32517         * nscd/nscd_getai.c (__nscd_getai): Likewise.
32518         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
32519         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
32520         Likewise.
32521         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
32522         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
32523         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
32524         (__nscd_get_map_ref): Likewise.
32525         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
32526         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
32527         Likewise.
32528         * nscd/pwdcache.c (addpwbyX): Likewise.
32529         * nscd/selinux.c (preserve_capabilities): Likewise.
32530         * nscd/servicescache.c (addservbyX): Likewise.
32531         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
32532         * posix/fnmatch.c (fnmatch): Likewise.
32533         * posix/getopt.c (_getopt_internal_r): Likewise.
32534         * posix/glob.c (glob, glob_in_dir): Likewise.
32535         * posix/wordexp.c (exec_comm_child): Likewise.
32536         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
32537         (getanswer_r, gaih_getanswer_slice): Likewise.
32538         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
32539         * resolv/res_init.c: Likewise.
32540         * resolv/res_mkquery.c (res_nmkquery): Likewise.
32541         * resolv/res_query.c (__libc_res_nquery): Likewise.
32542         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
32543         Likewise.
32544         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
32545         * stdio-common/perror.c (perror): Likewise.
32546         * stdio-common/printf_fp.c (___printf_fp): Likewise.
32547         * stdio-common/tmpnam.c (tmpnam): Likewise.
32548         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
32549         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
32550         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
32551         Likewise.
32552         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
32553         * stdlib/putenv.c (putenv): Likewise.
32554         * stdlib/setenv.c (__add_to_environ): Likewise.
32555         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
32556         * stdlib/strtol_l.c (INTERNAL): Likewise.
32557         * string/memmem.c (memmem): Likewise.
32558         * string/strerror.c (strerror): Likewise.
32559         * string/strnlen.c (__strnlen): Likewise.
32560         * string/test-memmem.c (simple_memmem): Likewise.
32561         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
32562         * sunrpc/pm_getport.c (__get_socket): Likewise.
32563         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
32564         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
32565         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
32566         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
32567         Likewise.
32568         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
32569         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
32570         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
32571         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
32572         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
32573         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
32574         Likewise.
32575         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
32576         Likewise.
32577         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
32578         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
32579         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
32580         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
32581         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
32582         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
32583         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
32584         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
32585         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
32586         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
32587         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
32588         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
32589         Likewise.
32590         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
32591         Likewise.
32592         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
32593         Likewise.
32594         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
32595         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
32596         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
32597         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
32598         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
32599         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
32600         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
32601         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
32602         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
32603         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
32604         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
32605         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
32606         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
32607         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
32608         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
32609         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
32610         Likewise.
32611         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
32612         Likewise.
32613         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
32614         Likewise.
32615         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
32616         Likewise.
32617         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
32618         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
32619         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
32620         Likewise.
32621         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
32622         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
32623         * sysdeps/posix/opendir.c (__opendirat): Likewise.
32624         * sysdeps/posix/sleep.c: Likewise.
32625         * sysdeps/posix/tempname.c: Likewise.
32626         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
32627         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
32628         Likewise.
32629         * sysdeps/powerpc/powerpc32/dl-machine.h
32630         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
32631         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
32632         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
32633         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
32634         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
32635         Likewise.
32636         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
32637         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
32638         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
32639         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
32640         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
32641         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
32642         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
32643         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
32644         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
32645         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
32646         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
32647         (elf_machine_lazy_rel): Likewise.
32648         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
32649         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
32650         (elf_machine_lazy_rel): Likewise.
32651         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
32652         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
32653         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
32654         * sysdeps/unix/grantpt.c (grantpt): Likewise.
32655         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
32656         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
32657         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
32658         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
32659         Likewise.
32660         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
32661         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
32662         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
32663         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
32664         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
32665         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
32666         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
32667         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
32668         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
32669         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
32670         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
32671         Likewise.
32672         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
32673         (__posix_fallocate64_l64): Likewise.
32674         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
32675         (posix_fallocate): Likewise.
32676         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
32677         Likewise.
32678         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
32679         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
32680         (getifaddrs_internal): Likewise.
32681         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
32682         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
32683         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
32684         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
32685         * sysdeps/unix/sysv/linux/posix_fallocate64.c
32686         (__posix_fallocate64_l64): Likewise.
32687         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
32688         Likewise.
32689         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
32690         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
32691         (__get_clockfreq): Likewise.
32692         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
32693         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
32694         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
32695         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
32696         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
32697         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
32698         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
32699         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
32700         Likewise.
32701         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
32702         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
32703         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
32704         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
32705         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
32706         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
32707         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
32708         Likewise.
32709         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
32710         (posix_fallocate): Likewise.
32711         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
32712         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
32713         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
32714         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
32715         (elf_machine_rela, elf_machine_rela_relative)
32716         (elf_machine_lazy_rel): Likewise.
32717         * time/asctime.c (asctime_internal): Likewise.
32718         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
32719         * time/tzset.c (__tzset_parse_tz): Likewise.
32720         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
32721         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
32722         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
32723         * wcsmbs/wcsmbsload.h: Likewise.
32725         [BZ #15894]
32726         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
32728         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
32729         (arena_get2): Remove THREAD_STATS conditionals.
32730         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
32731         (__malloc_stats, int): Likewise.
32733 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
32735         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
32736         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
32738         * manual/setjmp.texi: Fix typos/grammar errors.
32740         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
32741         Only return early when n is <= 0.  Delete unused return statement.
32743         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
32744         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
32745         * debug/tst-longjmp_chk3.c: New file.
32747         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
32748         (test_main): Replace code with set_fortify_handler call.
32749         * debug/test-strcpy_chk.c: Likewise.
32750         * debug/tst-chk1.c: Likewise.
32751         * debug/tst-longjmp_chk.c: Likewise.
32752         * test-skeleton.c: Include fcntl.h & paths.h
32753         (set_fortify_handler): Define.
32755         * debug/tst-longjmp_chk.c: Add header comment and include
32756         ../test-skeleton.c.
32757         (do_test): Mark static.
32758         (TEST_FUNCTION): Define.
32760         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
32761         (IP_PMTUDISC_INTERFACE): Likewise.
32762         (IP_MULTICAST_IF): Likewise.
32763         (IP_MULTICAST_TTL): Likewise.
32764         (IP_MULTICAST_LOOP): Likewise.
32765         (IP_ADD_MEMBERSHIP): Likewise.
32766         (IP_DROP_MEMBERSHIP): Likewise.
32767         (IP_UNBLOCK_SOURCE): Likewise.
32768         (IP_BLOCK_SOURCE): Likewise.
32769         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
32770         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
32771         (IP_MSFILTER): Likewise.
32772         (MCAST_JOIN_GROUP): Likewise.
32773         (MCAST_BLOCK_SOURCE): Likewise.
32774         (MCAST_UNBLOCK_SOURCE): Likewise.
32775         (MCAST_LEAVE_GROUP): Likewise.
32776         (MCAST_JOIN_SOURCE_GROUP): Likewise.
32777         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
32778         (MCAST_MSFILTER): Likewise.
32779         (IP_MULTICAST_ALL): Likewise.
32780         (IP_UNICAST_IF): Likewise.
32782         * timezone/Makefile: Delete $(have-ksh) check.
32783         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
32784         * timezone/tzselect.ksh: Add +x mode bits.
32786         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
32787         (ANON_INODE_FS_MAGIC): Likewise.
32788         (BDEVFS_MAGIC): Likewise.
32789         (BINFMTFS_MAGIC): Likewise.
32790         (BTRFS_TEST_MAGIC): Likewise.
32791         (CRAMFS_MAGIC_WEND): Likewise.
32792         (DEBUGFS_MAGIC): Likewise.
32793         (ECRYPTFS_SUPER_MAGIC): Likewise.
32794         (EXT3_SUPER_MAGIC): Likewise.
32795         (EXT4_SUPER_MAGIC): Likewise.
32796         (FUTEXFS_SUPER_MAGIC): Likewise.
32797         (HOSTFS_SUPER_MAGIC): Likewise.
32798         (HUGETLBFS_MAGIC): Likewise.
32799         (MINIX3_SUPER_MAGIC): Likewise.
32800         (MTD_INODE_FS_MAGIC): Likewise.
32801         (NILFS_SUPER_MAGIC): Likewise.
32802         (OPENPROM_SUPER_MAGIC): Likewise.
32803         (PIPEFS_MAGIC): Likewise.
32804         (PSTOREFS_MAGIC): Likewise.
32805         (QNX6_SUPER_MAGIC): Likewise.
32806         (RAMFS_MAGIC): Likewise.
32807         (REISERFS_SUPER_MAGIC_STRING): Likewise.
32808         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
32809         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
32810         (SECURITYFS_MAGIC): Likewise.
32811         (SELINUX_MAGIC): Likewise.
32812         (SMACK_MAGIC): Likewise.
32813         (SOCKFS_MAGIC): Likewise.
32814         (SQUASHFS_MAGIC): Likewise.
32815         (STACK_END_MAGIC): Likewise.
32816         (TMPFS_MAGIC): Likewise.
32817         (USBDEVICE_SUPER_MAGIC): Likewise.
32818         (V9FS_MAGIC): Likewise.
32819         (XENFS_SUPER_MAGIC): Likewise.
32820         (CRAMFS_MAGIC): Fix typo in comment.
32821         (EXT2_SUPER_MAGIC): Update comment.
32822         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
32824 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
32826         * sysdeps/arm: Move directory from ports/sysdeps/arm.
32827         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
32828         * sysdeps/unix/sysv/linux/arm: Move directory from
32829         ports/sysdeps/unix/sysv/linux/arm.
32830         * README: Update listing for arm-*-linux-gnueabi.
32832         * README: Remove mention of am33.
32834 2014-02-07  Roland McGrath  <roland@hack.frob.com>
32836         * bits/sigset.h (__sigemptyset): Use a statement expression rather
32837         than the comma operator, to avoid "rhs of comma has no effect"
32838         compiler warnings.
32839         (__sigfillset, __sigandset, __sigorset): Likewise.
32840         * include/signal.h (__sigemptyset): Likewise.
32841         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
32843 2014-02-07  Allan McRae  <allan@archlinux.org>
32845         * version.h (RELEASE): Set to "development".
32846         (VERSION): Set to "2.19.90"
32847         * NEWS: Add 2.20 section.
32849 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
32851         [BZ #16529]
32852         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
32854 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
32856         * manual/contrib.texi: Update entry for Carlos O'Donell,
32857         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
32859 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
32861         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
32863         * sysdeps/unix/sysv/linux/kernel-features.h
32864         [__LINUX_KERNEL_VERSION >= 0x020621]
32865         (__ASSUME_PROC_PID_TASK_COMM): Define.
32867 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
32869         [BZ #16398]
32870         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
32871         conversion when destination buffer does not have enough space.
32872         * libio/tst-ftell-partial-wide.c: New test case.
32873         * libio/Makefile (tests): Add tst-ftell-partial-wide.
32875         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
32876         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
32877         Leonard and Allan McRae.
32879 2014-02-04  David S. Miller  <davem@davemloft.net>
32881         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
32882         32-bit.
32884 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32886         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
32887         New file
32888         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
32889         New file
32890         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
32891         New file.
32892         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
32893         New file.
32894         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
32895         New file.
32896         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
32897         New file.
32898         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
32899         New file.
32900         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
32901         New file.
32902         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
32903         New file.
32904         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
32905         New file.
32906         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
32907         New file.
32908         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
32909         New file.
32910         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
32911         New file.
32913 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32915         * nptl/shlib-versions: Change powerpc*le start to 2.17.
32916         * shlib-versions: Likewise.
32918 2014-02-04  Roland McGrath  <roland@hack.frob.com>
32919             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32921         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
32922         (abilist-pattern): New variable, set to %-le.abilist.
32924         * Makerules (abilist-pattern): New variable.
32925         (vpath): Use $(abilist-pattern) in place of %.abilist.
32926         (check-abi-% pattern rule): Likewise.
32927         (check-abi, update-abi): Likewise.
32929 2014-02-04  Eric Wong  <normalperson@yhbt.net>
32931         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32933 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
32935         * manual/startup.texi: Add next, previous, and top entries for
32936         the `Program Arguments' and `Environment Variables' nodes.
32938 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
32940         * manual/macros.texi: Add comments before MTASC-safety macros.
32942         * manual/users.texi: Document MTASC-safety properties.
32944         * manual/threads.texi (pthread_key_create, pthread_key_delete)
32945         (pthread_getspecific, pthread_setspecific): Format with
32946         @deftypefun, and add @safety note.
32947         * manual/signal.texi: Move comments that analyze the above
32948         functions to their home place.
32950 2014-02-03  Allan McRae  <allan@archlinux.org>
32952         * po/sl.po: Update Slovenian translation from translation project.
32954 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
32956         * manual/time.texi (timegm): Add missing blank after @c.
32957         Reported by Joseph Myers <joseph@codesourcery.com>.
32959 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
32961         * manual/check-safety.sh: New.
32962         * manual/Makefile ($(objpfx)stamp-summary): Run it.
32964         * manual/terminal.texi: Document MTASC-safety properties.
32966         * manual/filesys.texi: Document MTASC-safety properties.
32968         * manual/errno.texi: Document MTASC-safety properties.
32970         * manual/intro.texi: Document safety identifiers and
32971         conditionals.
32973         * manual/string.texi (wcstok): Fix prototype.
32974         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
32976         * manual/time.texi: Document MTASC-safety properties.
32978         * manual/string.texi: Document MTASC-safety properties.
32980         * manual/threads.texi: Document MTASC-safety properties.
32982         * manual/stdio.texi: Document MTASC-safety properties.
32984         * manual/syslog.texi: Document MTASC-safety properties.
32986         * manual/sysinfo.texi: Document MTASC-safety properties.
32988         * manual/startup.texi: Document MTASC-safety properties.
32990         * manual/socket.texi: Document MTASC-safety properties.
32992         * manual/signal.texi: Document MTASC-safety properties.
32994 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
32996         * manual/setjmp.texi: Document MTASC-safety properties.
32998         * manual/search.texi: Document MTASC-safety properties.
33000         * manual/resource.texi: Document MTASC-safety properties.
33002         * manual/process.texi: Document MTASC-safety properties.
33004         * manual/platform.texi: Document MTASC-safety properties.
33006         * manual/pipe.texi: Document MTASC-safety properties.
33008         * manual/pattern.texi: Document MTASC-safety properties.
33010         * manual/message.texi: Document MTASC-safety properties.
33012         [BZ #12751]
33013         * manual/memory.texi: Document MTASC-safety properties.
33015         * manual/math.texi: Document MTASC-safety properties.
33017         * manual/locale.texi: Document MTASC-safety properties.
33019         * manual/llio.texi: Document MTASC-safety properties.
33021         * manual/libdl.texi: New.
33023         * manual/lang.texi: Document MTASC-safety properties.
33025         * manual/job.texi: Document MTASC-safety properties.
33027         * manual/getopt.texi: Document MTASC-safety properties.
33029         * manual/ctype.texi: Document MTASC-safety properties.
33031 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
33033         [BZ #16046]
33034         * csu/libc-tls.c (static_map): Remove variable.
33035         (__libc_setup_tls): Use main executable's link map for TLS data.
33036         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
33037         casing for LM_ID_BASE and GL(dl_nns).
33038         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
33039         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
33040         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
33041         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
33042         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
33043         member.
33044         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
33045         l_phnum members.
33047 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
33049         * manual/debug.texi: Document MTASC-safety properties.
33051 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
33053         [BZ #16510]
33054         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
33055         of __x86_64__ when disabling x87 inline functions.
33057 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
33059         * manual/charset.texi: Document MTASC-safety properties.
33061         * manual/crypt.texi: Document MTASC-safety properties.
33063         * manual/conf.texi: Document MTASC-safety properties.
33065         * manual/arith.texi: Document MTASC-safety properties.
33067         * manual/argp.texi: Document MTASC-safety properties.
33069         * manual/macros.texi: Introduce macros to document multi
33070         thread, asynchronous signal and asynchronous cancellation
33071         safety properties.
33072         * manual/intro.texi: Introduce the properties themselves.
33074 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
33076         * sysdeps/sh/sh4/Makefile: New file.
33078 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
33080         * math/gen-libm-test.pl ($srcdir): New variable.
33081         ($auto_input): Use it.
33083 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
33085         [BZ #16506]
33086         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
33087         access beyond array bounds when parsing netgroups file.
33089         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
33090         the old buffer before realloc.
33092 2014-01-27  Allan McRae  <allan@archlinux.org>
33094         * po/fr.po: Update French translation from translation project.
33096 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
33098         * sysdeps/sh/libm-test-ulps: Regenerate.
33100 2014-01-24  David S. Miller  <davem@davemloft.net>
33102         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
33104 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
33106         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
33107         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
33109 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
33111         [BZ #16474]
33112         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
33113         string pointers after reallocation.
33115 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
33117         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
33118         __SH4A__ instead of __SH_FPU_ANY__.
33120 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
33122         * sysdeps/sh/fpu_control.h: New file.
33123         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
33124         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
33125         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
33126         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
33127         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
33128         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
33129         * sysdeps/sh/sys/ucontext.h: Remove.
33130         * sysdeps/sh/sys: Remove directory.
33132 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33134         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
33135         s390/sys/ucontext.h.
33136         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
33137         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
33139 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
33141         [BZ #15605]
33142         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
33144 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33146         [BZ#16431]
33147         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
33148         Adjust the vDSO correctly for internal calls.
33149         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
33151 2014-01-20  Allan McRae  <allan@archlinux.org>
33153         * po/ca.po: Update Catalan translation from translation project.
33155 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
33157         * sysdeps/s390/sotruss-lib.c: New file.
33159 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33161         [BZ#16430]
33162         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
33163         (__GI___gettimeofday): Alias for a different internal symbol to avoid
33164         local calls issues by not having a PLT stub required for IFUNC calls.
33165         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
33167 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
33169         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
33170         * math/test-fpucw-static.c: Likewise.
33172 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
33174         [BZ #16453]
33175         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
33177 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33179         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
33180         implementation for powerpc.
33182 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
33184         [BZ #14782]
33185         * sysdeps/posix/system.c (__libc_system): Do not enable
33186         asynchronous cancellation.
33188 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33190         [BZ #16427]
33191         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
33192         handling only for numbers special also in the IEEE case.
33194 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33196         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
33198 2014-01-11  Allan McRae  <allan@archlinux.org>
33200         * po/bg.po: Update Bulgarian translation from translation project.
33202         * po/de.po: Update German translation from translation project.
33204 2014-01-10  Roland McGrath  <roland@hack.frob.com>
33206         * sysdeps/generic/gcc-compat.h: New file.
33208 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
33210         * benchtests/asin-inputs: Correct slow inputs.
33211         * benchtests/acos-inputs: Likewise.
33213 2014-01-10  Allan McRae  <allan@archlinux.org>
33215         * po:sv.po: Update Swedish translation from translation project.
33217         * po/vi.po: Update Vietnamese translation from translation project.
33219         * po/eo.po: Update Esperanto translation from translation project.
33221         * po/cs.po: Update Czech translation from translation project.
33223         * po/nl.po: Update Dutch translation from translation project.
33225         * po/pl.po: Update Polish translation from translation project.
33227         * po/ru.po: Update Russian translation from translation project.
33229         * po/uk.po: Update Ukrainian translation from translation project.
33231 2014-01-08  Brooks Moses  <bmoses@google.com>
33233         * elf/dl-load.c: Fix comment typo.
33235 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
33237         * po/header.pot: Rename to...
33238         * po/pot.header: ... this.
33239         * po/Makefile: Use pot.header.
33241 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
33242             Maxim Kuvyrkov  <maxim@kugelworks.com>
33244         [BZ #16394]
33245         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
33246         SRC and DEST against LEN.
33248 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33250         [BZ #16414]
33251         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
33252         implementation.
33253         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
33255 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33257         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33259 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
33261         [BZ #16408]
33262         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
33263         for large positive arguments.
33265 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
33267         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
33269         * math/auto-libm-test-in: Mark various tests with
33270         xfail-rounding:ldbl-128ibm.
33271         * math/auto-libm-test-out: Regenerated.
33273         [BZ #16407]
33274         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
33275         Increase overflow threshold.
33277 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
33279         [BZ #14286]
33280         * stdio-common/vfprintf.c: Check for integer overflow.
33282 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33284         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
33285         the first argument and return value of __tls_get_addr_internal.
33287 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33289         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
33290         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
33292 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33294         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
33295         * sysdeps/s390/rtld-global-offsets.sym: New file.
33296         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
33297         GLIBC_2.19 symbol.
33298         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
33299         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
33300         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
33301         ... this.
33302         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
33303         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
33304         ... this.
33305         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
33306         Regenerate.
33307         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
33308         Regenerate.
33309         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
33310         halfs of GPRs for high_gprs contexts.
33311         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
33312         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
33313         field.
33314         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
33315         uc_flags field.
33316         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
33317         64 bit versions:
33318         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
33319         for high GPRs (uc_high_gprs) and for future extensions
33320         (__reserved).
33321         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
33322         for future extensions (__reserved).
33323         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
33324         64 bit versions:
33325         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
33326         SC_HIGHGPRS offset definition.
33327         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
33328         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
33330         * Versions.def: Add GLIBC_2.19 for libpthread.
33331         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
33332         siglongjmp for libpthread with GLIBC_2.19 symver.
33333         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
33334         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
33335         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
33336         * sysdeps/s390/__longjmp.c: New file.
33337         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
33338         * sysdeps/s390/longjmp.c: New file.
33339         * sysdeps/s390/setjmp.S: New file.
33340         * sysdeps/s390/sigjmp.S: New file.
33341         * sysdeps/s390/v1-longjmp.c: New file.
33342         * sysdeps/s390/v1-setjmp.h: New file.
33343         * sysdeps/s390/v1-sigjmp.c: New file.
33344         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
33345         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
33346         GLIBC_2.19 version.
33347         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
33348         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
33349         versioned symbols for ____longjmp_chk.
33350         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
33351         Likewise.
33352         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
33353         Regenerate.
33354         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
33355         Regenerate.
33356         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
33357         Regenerate.
33358         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
33359         Regenerate.
33360         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
33361         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
33362         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
33363         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
33364         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
33365         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
33366         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
33367         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
33368         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
33369         * sysdeps/s390/rtld-__longjmp.c: New file.
33370         * sysdeps/s390/rtld-setjmp.S: New file.
33372 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
33374         [BZ #16400]
33375         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
33376         Return -__logl (x) for small positive arguments without evaluating
33377         a polynomial.
33379 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
33381         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
33382         Rename to ...
33383         (__ptrace_peeksiginfo_args): ... this.
33384         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
33385         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
33386         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
33388 2014-01-06  Allan McRae  <allan@archlinux.org>
33390         * inet/netinet/in.h: Fix typo in comment.
33392 2014-01-05  Andreas Jaeger  <aj@suse.de>
33394         * sysdeps/i386/fpu/libm-test-ulps: Update.
33396 2014-01-05  Allan McRae  <allan@archlinux.org>
33398         * po/libc.pot: Regenerated.
33400         * malloc/memusagestat.c: Fix gettext call formatting.
33402 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
33404         * nscd/nscd.c: Improve usage() output.
33406 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
33408         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
33409         * sysdeps/unix/sysv/linux/configure: Regenerated.
33410         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
33411         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
33413 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
33415         [BZ #16390]
33416         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
33417         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
33419 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33421         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
33422         extra tokens at end of #undef directive.
33423         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
33424         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
33425         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
33427 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
33429         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
33431         * math/auto-libm-test-in: Mark various tests with
33432         xfail-rounding:ldbl-128ibm.
33433         * math/auto-libm-test-out: Regenerated.
33435 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
33437         [BZ #16386]
33438         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
33439         numbers with subnormal high part when calculating exponent.
33441         [BZ #16385]
33442         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
33443         fabs.
33445         [BZ #16384]
33446         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
33447         M_LN2l.
33448         (__ieee754_acoshl): Use __log1pl not __log1p.
33450 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
33452         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
33453         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
33454         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
33455         (grow_heap, heap_trim, _int_new_arena, get_free_list)
33456         (reused_arena, arena_get2): Convert to GNU style.
33457         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
33458         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
33459         (memalign_check, __malloc_set_state): Likewise.
33460         * malloc/mallocbug.c (main): Likewise.
33461         * malloc/malloc.c (__malloc_assert, malloc_init_state)
33462         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
33463         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
33464         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
33465         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
33466         (__posix_memalign, malloc_info): Likewise.
33467         * malloc/malloc.h: Likewise.
33468         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
33469         (mallochook, memalignhook, reallochook, mabort): Likewise.
33470         * malloc/mcheck.h: Likewise.
33471         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
33472         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
33473         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
33474         * malloc/morecore.c (__default_morecore): Likewise.
33475         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
33476         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
33477         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
33478         (print_and_abort): Likewise.
33479         * malloc/obstack.h: Likewise.
33480         * malloc/set-freeres.c (__libc_freeres): Likewise.
33481         * malloc/tst-mallocstate.c (main): Likewise.
33482         * malloc/tst-mtrace.c (main): Likewise.
33483         * malloc/tst-realloc.c (do_test): Likewise.
33485 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
33487         [BZ #16366]
33488         * nscd/netgroupcache.c (do_notfound): New function.
33489         (addgetnetgrentX): Use it.
33491         [BZ # 16365]
33492         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
33493         NSS_STATUS_NOTFOUND.
33495 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
33497         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
33498         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33500 2014-01-01  Allan McRae  <allan@archlinux.org>
33502         * scripts/update-copyrights: Update configure input file suffix.
33504         * NEWS: Update copyright year.
33505         * catgets/gencat.c: Likewise.
33506         * csu/version.c: Likewise.
33507         * debug/catchsegv.sh: Likewise.
33508         * debug/pcprofiledump.c: Likewise.
33509         * debug/xtrace.sh: Likewise.
33510         * elf/ldconfig.c: Likewise.
33511         * elf/ldd.bash.in: Likewise.
33512         * elf/pldd.c: Likewise.
33513         * elf/sotruss.ksh: Likewise.
33514         * elf/sprof.c: Likewise.
33515         * iconv/iconv_prog.c: Likewise.
33516         * iconv/iconvconfig.c: Likewise.
33517         * locale/programs/locale.c: Likewise.
33518         * locale/programs/localedef.c: Likewise.
33519         * login/programs/pt_chown.c: Likewise.
33520         * malloc/memusage.sh: Likewise.
33521         * malloc/memusagestat.c: Likewise.
33522         * malloc/mtrace.pl: Likewise.
33523         * manual/libc.texinfo: Likewise.
33524         * nscd/nscd.c: Likewise.
33525         * nss/getent.c: Likewise.
33526         * nss/makedb.c: Likewise.
33527         * posix/getconf.c: Likewise.
33528         * scripts/test-installation.pl: Likewise.
33530         * All files with FSF copyright notices: Update copyright dates
33531         using scripts/update-copyrights.
33532         * intl/plural.c: Regenerated.
33533         * locale/programs/charmap-kw.h: Likewise.
33534         * locale/programs/locfile-kw.h: Likewise.
33536 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
33538         * sysdeps/unix/sysv/linux/configure: Regenerated.
33539         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
33540         the linux/fanotify.h header.
33541         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
33542         HAVE_LINUX_FANOTIFY_H is defined.
33544 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
33546         * benchtests/cos-inputs: New inputs.
33547         * benchtests/sin-inputs: Likewise.
33549         * benchtests/atan-inputs: New inputs. Fix name of multiple
33550         precision fallback inputs.
33552         * benchtests/atanh-inputs: New inputs.
33553         * benchtests/tanh-inputs: Likewise.
33555         * benchtests/acosh-inputs: New inputs.
33556         * benchtests/asinh-inputs: Likewise.
33558         * benchtests/cosh-inputs: New inputs.
33559         * benchtests/sinh-inputs: Likewise.
33561         * benchtests/acos-inputs: Add more inputs.
33562         * benchtests/asin-inputs: Likewise.
33564 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
33566         [BZ #16375]
33567         * manual/arith.texi: Fix spelling.
33568         * manual/charset.texi: Likewise.
33569         * manual/errno.texi: Likewise.
33570         * manual/filesys.texi: Likewise.
33571         * manual/lang.texi: Likewise.
33572         * manual/llio.texi: Likewise.
33573         * manual/locale.texi: Likewise.
33574         * manual/message.texi: Likewise.
33575         * manual/resource.texi: Likewise.
33576         * manual/search.texi: Likewise.
33577         * manual/setjmp.texi: Likewise.
33578         * manual/stdio.texi: Likewise.
33579         * manual/string.texi: Likewise.
33580         * manual/sysinfo.texi: Likewise.
33581         * manual/time.texi: Likewise.
33583 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
33585         * po/sl.po: New file.
33587 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
33589         * .gitignore: Add core/.gdbinit/.gdb_history.
33591 2013-12-27  Allan McRae  <allan@archlinux.org>
33593         [BZ #16369]
33594         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
33595         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
33597 2013-12-24  Brooks Moses  <bmoses@google.com>
33599         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
33600         all compilers that claim C++98 compliance, not just GCC.
33601         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
33602         Likewise.
33604 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
33606         * NEWS: Restore accidentally deleted bug-fix entries.
33608 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
33609             Ondřej Bílka  <neleai@seznam.cz>
33611         [BZ #15073]
33612         * malloc/malloc.c (_int_free): Perform sanity check only if we
33613         have_lock.
33615 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
33617         [BZ #12986]
33618         * manual/stdio.texi (String Input Conversions): Clarify that character
33619         classes are not supported.
33621 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33623         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33625 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
33627         [BZ #16337]
33628         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
33629         Calculate results for small negative arguments directly rather
33630         than using reflection formula with special underflow handling.
33632         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
33633         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
33634         sysdeps/unix/bsd/bsd4.4/syscalls.list.
33635         (fchflags): Likewise.
33636         (revoke): Likewise.
33637         (setlogin): Likewise.
33638         (sigaltstack): Likewise.
33639         (wait4): Likewise.
33640         (sigblock): Remove.
33641         (sigsetmask): Likewise.
33642         (wait3): Likewise.
33643         (waitpid): Likewise.
33644         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
33645         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
33646         file.
33647         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
33648         * sysdeps/unix/bsd/Makefile: ... here.
33649         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
33650         * sysdeps/unix/bsd/Versions: ... here.
33651         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
33652         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
33653         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
33654         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
33655         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
33656         * sysdeps/unix/bsd/sigblock.c: ... here.
33657         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
33658         * sysdeps/unix/bsd/sigsetmask.c: ... here.
33659         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
33660         * sysdeps/unix/bsd/sigvec.c: ... here.
33661         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
33662         * sysdeps/unix/bsd/tcdrain.c: ... here.
33663         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
33664         * sysdeps/unix/bsd/tcgetattr.c: ... here.
33665         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
33666         * sysdeps/unix/bsd/tcsetattr.c: ... here.
33667         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
33668         * sysdeps/unix/bsd/wait.c: ... here.
33669         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
33670         * sysdeps/unix/bsd/wait3.c: ... here.
33671         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
33672         * sysdeps/unix/bsd/waitpid.c: ... here.
33674 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
33676         [BZ #16356]
33677         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
33678         round-to-nearest for [!USE_AS_EXPM1L].
33679         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
33680         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
33681         more tests of exp and exp10.  Expect some exp10 tests to miss
33682         exceptions or fail in directed rounding modes.
33683         * math/auto-libm-test-out: Regenerated.
33684         * math/libm-test.inc (exp10_tonearest_test_data): New array.
33685         (exp10_test_tonearest): New function.
33686         (exp10_towardzero_test_data): New array.
33687         (exp10_test_towardzero): New function.
33688         (exp10_downward_test_data): New array.
33689         (exp10_test_downward): New function.
33690         (exp10_upward_test_data): New array.
33691         (exp10_test_upward): New function.
33692         (main): Call the new functions.
33693         * sysdeps/i386/fpu/libm-test-ulps: Update.
33694         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33696 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
33698         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
33699         asinh, atan, atan2, atanh, cbrt, cos and cosh.
33700         * math/auto-libm-test-out: Regenerated.
33701         * math/libm-test.inc (acosh_test_data): Add more tests.
33702         (atanh_test_data): Likewise.
33703         (ceil_test_data): Likewise.
33704         (copysign_test_data): Likewise.
33705         * sysdeps/i386/fpu/libm-test-ulps: Update.
33706         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33708         * timezone/checktab.awk: Update from tzcode 2013i.
33709         * timezone/private.h: Likewise.
33710         * timezone/scheck.c: Likewise.
33711         * timezone/tzfile.h: Likewise.
33712         * timezone/tzselect.ksh: Likewise.
33713         * timezone/zdump.c: Likewise.
33714         * timezone/zic.c: Likewise.
33716         * math/auto-libm-test-in: Add tests of cpow.
33717         * math/auto-libm-test-out: Regenerated.
33718         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
33719         * math/gen-auto-libm-tests.c (func_calc_method): Add value
33720         mpc_cc_c.
33721         (func_calc_desc): Add mpc_cc_c union field.
33722         (test_functions): Add cpow.
33723         (special_fill_2pi): New function.
33724         (special_real_inputs): Add 2pi.
33725         (calc_generic_results): Handle mpc_cc_c.
33726         * sysdeps/i386/fpu/libm-test-ulps: Update.
33727         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33729         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
33730         csqrt, ctan and ctanh.
33731         * math/auto-libm-test-out: Regenerated.
33732         * math/libm-test.inc (TEST_COND_x86_64): New macro.
33733         (TEST_COND_x86): Likewise.
33734         (ccos_test_data): Use AUTO_TESTS_c_c.
33735         (ccosh_test_data): Likewise.
33736         (cexp_test_data): Likewise.
33737         (clog_test_data): Likewise.
33738         (csqrt_test_data): Likewise.
33739         (ctan_test_data): Likewise.
33740         (ctan_tonearest_test_data): Likewise.
33741         (ctan_towardzero_test_data): Likewise.
33742         (ctan_downward_test_data): Likewise.
33743         (ctan_upward_test_data): Likewise.
33744         (ctanh_test_data): Likewise.
33745         (ctanh_tonearest_test_data): Likewise.
33746         (ctanh_towardzero_test_data): Likewise.
33747         (ctanh_downward_test_data): Likewise.
33748         (ctanh_upward_test_data): Likewise.
33749         * math/gen-auto-libm-tests.c (func_calc_method): Add value
33750         mpc_c_c.
33751         (func_calc_desc): Add mpc_c_c union field.
33752         (FUNC_mpc_c_c): New macro.
33753         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
33754         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
33755         ctanh.
33756         (special_fill_min_subnorm_p120): New function.
33757         (special_real_inputs): Add min_subnorm_p120.
33758         (calc_generic_results): Handle mpc_c_c.
33759         * sysdeps/i386/fpu/libm-test-ulps: Update.
33760         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33762 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
33764         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
33765         (do_sin_slow): New functions.
33766         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
33767         (cslow2, csloww1, csloww2): Use the new functions.
33769         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
33770         Use M to change sign of result instead of X.  Assume X is
33771         positive.
33772         (csloww1): Likewise.
33773         (__sin): Adjust.
33774         (__cos): Adjust.
33776         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
33777         arguments A and DA.
33778         (__sin): Adjust.
33779         (__cos): Likewise.
33781         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
33782         (__cos): Likewise.
33783         (sloww1): Don't adjust sign of DX.
33784         (csloww1): Likewise.
33785         (sloww2): Use X directly and don't adjust sign of DX.
33786         (csloww2): Likewise.
33788 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
33790         * math/auto-libm-test-in: Add tests of cabs and carg.
33791         * math/auto-libm-test-out: Regenerated.
33792         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
33793         (carg_test_data): Likewise.
33794         * math/gen-auto-libm-tests.c (func_calc_method): Add value
33795         mpc_c_f.
33796         (func_calc_desc): Add mpc_c_f union field.
33797         (test_functions): Add cabs and carg.
33798         (calc_generic_results): Handle mpc_c_f.
33800         * sysdeps/powerpc/powerpc32/libgcc-compat.S
33801         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
33802         as a macro and a compat symbol.
33803         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
33804         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
33805         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
33806         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
33807         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
33808         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
33809         not use .hidden.
33810         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
33811         Likewise.
33812         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
33813         Likewise.
33814         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
33815         Likewise.
33816         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
33817         Likewise.
33818         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
33819         Likewise.
33820         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
33821         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
33822         from GLIBC_2.3.2.
33824 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33826         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33828 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
33830         * manual/texinfo.tex: Update to version 2013-11-26.10 with
33831         trailing whitespace removed.
33832         * scripts/config.guess: Update to version 2013-11-29.
33833         * scripts/config.sub: Update to version 2013-10-01.
33835         * math/auto-libm-test-in: Add tests of sincos.
33836         * math/auto-libm-test-out: Regenerated.
33837         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
33838         * math/gen-auto-libm-tests.c (func_calc_method): Add value
33839         mpfr_f_11.
33840         (func_calc_desc): Add mpfr_f_11 union field.
33841         (test_functions): Add sincos.
33842         (calc_generic_results): Handle mpfr_f_11.
33843         * sysdeps/i386/fpu/libm-test-ulps: Update.
33844         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33846 2013-12-19  Andreas Schwab  <schwab@suse.de>
33848         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
33849         CALL_MCOUNT.
33850         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
33851         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
33852         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
33854 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
33856         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
33857         * sysdeps/i386/fpu/libm-test-ulps: Update.
33858         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33860         [BZ #16293]
33861         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
33862         round-to-nearest mode when using frndint.
33863         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
33864         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
33865         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
33866         Likewise.
33867         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
33868         sinh test to fail.
33869         * math/auto-libm-test-out: Regenerated.
33870         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
33871         (TEST_COND_x86): Likewise.
33872         (expm1_tonearest_test_data): New array.
33873         (expm1_test_tonearest): New function.
33874         (expm1_towardzero_test_data): New array.
33875         (expm1_test_towardzero): New function.
33876         (expm1_downward_test_data): New array.
33877         (expm1_test_downward): New function.
33878         (expm1_upward_test_data): New array.
33879         (expm1_test_upward): New function.
33880         (main): Run the new test functions.
33881         * sysdeps/i386/fpu/libm-test-ulps: Update.
33882         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33884         * include/features.h: Update comment documenting feature test
33885         macros.  Mention _DEFAULT_SOURCE in comment.
33886         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
33887         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
33888         _BSD_SOURCE and _SVID_SOURCE.
33889         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
33890         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
33891         !_SVID_SOURCE]: Likewise.
33892         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
33893         (__USE_POSIX_IMPLICITLY): Define.
33894         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
33895         (_POSIX_SOURCE): Undefine and redefine.
33896         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
33897         (_POSIX_C_SOURCE): Likewise.
33898         * manual/creature.texi (_DEFAULT_SOURCE): Document.
33899         (Feature Test Macros): Update documentation of default features.
33901 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
33903         * benchtests/Makefile: Add bench-strtok.
33904         * benchtests/bench-strtok.c: New file: strtok benchtest.
33906 2013-12-19  Allan McRae  <allan@archlinux.org>
33908         * manual/install.texi: Suppress menu for plain text output.
33909         * INSTALL: Regenerated.
33911 2013-12-18  Brooks Moses  <bmoses@google.com>
33913         [BZ #15846]
33914         * misc/getauxval.c: Include errno.h.
33915         (__getauxval): Set errno to ENOENT if the requested type is not
33916         found.
33917         * misc/sys/auxv.h (getauxval): Document that it may set errno;
33918         don't declare with __attribute_const__.
33919         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
33920         * manual/startup.texi: Document that getauxval sets errno.
33922 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
33924         * math/auto-libm-test-in: Add tests of jn and yn.
33925         * math/auto-libm-test-out: Regenerated.
33926         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
33927         (yn_test_data): Likewise.
33928         * math/gen-auto-libm-tests.c (func_calc_method): Add value
33929         mpfr_if_f.
33930         (func_calc_desc): Add mpfr_if_f union field.
33931         (FUNC_mpfr_if_f): New macro.
33932         (test_functions): Add jn and yn.
33933         (calc_generic_results): Assert type of second input for
33934         mpfr_ff_f.  Handle mpfr_if_f.
33935         (output_for_one_input_case): Disable all checking for arguments
33936         fitting floating-point types in case of an integer argument.
33937         * sysdeps/i386/fpu/libm-test-ulps: Update.
33938         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33940         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
33941         Don't expect fegetround reference in libm.so.
33943 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
33945         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
33946         $(config-cflags-nofma).
33948 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
33950         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
33951         * math/auto-libm-test-out: Regenerated.
33953         [BZ #16338]
33954         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
33955         to determine exponent and adjust argument to have exponent of -1.
33956         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
33957         log2.
33958         * math/auto-libm-test-out: Regenerated.
33959         * sysdeps/i386/fpu/libm-test-ulps: Update.
33960         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33962 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
33964         * manual/probes.texi: Remove cases when per-thread arenas are
33965         disabled.
33967 2013-12-18  Andreas Schwab  <schwab@suse.de>
33969         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
33970         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
33971         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
33972         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
33973         * sysdeps/i386/i686/multiarch/Makefile: Update.
33974         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
33976 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
33978         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
33979         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
33981 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
33983         [BZ #15968]
33984         Support TZ transition times < 00:00:00.
33985         This is needed for version-3 tz-format files; it supports time
33986         stamps past 2037 for America/Godthab (the only entry in the tz
33987         database for which this change is relevant).
33988         * manual/time.texi (TZ Variable): Document transition times
33989         from -167:59:59 through -00:00:01.
33990         * time/tzset.c (tz_rule): Time of day is now signed.
33991         (__tzset_parse_tz): Parse negative time of day.
33993         Document TZ transition times >= 25:00:00.
33994         * manual/time.texi (TZ Variable): Document transition times from
33995         25:00:00 through 167:59:59.  These are already supported, and this
33996         support will help with version-3 tz-format files.
33998         * manual/time.texi (TZ Variable): Modernize North America example
33999         to reflect current (i.e., 2007-and-later) daylight saving rules.
34001         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
34003 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
34005         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
34006         * sysdeps/unix/bsd/bits/stat.h: Likewise.
34007         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
34008         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
34009         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
34010         * sysdeps/unix/bsd/bsdstat.h: Likewise.
34011         * sysdeps/unix/bsd/clock.c: Likewise.
34012         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
34013         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
34014         * sysdeps/unix/bsd/init-posix.c: Likewise.
34015         * sysdeps/unix/bsd/poll.c: Likewise.
34016         * sysdeps/unix/bsd/ptsname.c: Likewise.
34017         * sysdeps/unix/bsd/seekdir.c: Likewise.
34018         * sysdeps/unix/bsd/setegid.c: Likewise.
34019         * sysdeps/unix/bsd/seteuid.c: Likewise.
34020         * sysdeps/unix/bsd/setgid.c: Likewise.
34021         * sysdeps/unix/bsd/setrgid.c: Likewise.
34022         * sysdeps/unix/bsd/setruid.c: Likewise.
34023         * sysdeps/unix/bsd/setsid.c: Likewise.
34024         * sysdeps/unix/bsd/setuid.c: Likewise.
34025         * sysdeps/unix/bsd/sigaction.c: Likewise.
34026         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
34027         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
34028         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
34029         * sysdeps/unix/bsd/telldir.c: Likewise.
34030         * sysdeps/unix/bsd/times.c: Likewise.
34031         * sysdeps/unix/bsd/usleep.c: Likewise.
34033         * misc/Makefile (install-lib): Remove libbsd-compat.a.
34034         ($(objpfx)libbsd-compat.a): Remove rule.
34036         * include/features.h (__FAVOR_BSD): Do not define.
34037         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
34038         features conflicting with POSIX.
34039         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
34040         (_BSD_SOURCE): Remove description of not being a subset of other
34041         feature test macros.
34042         * manual/job.texi (getpgrp): Do not document BSD version.
34043         (getpgid): Do not document by reference to BSD getpgrp.
34044         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
34045         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
34046         * signal/signal.h [__FAVOR_BSD]: Likewise.
34047         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
34048         instead of making contents conditional on [__FAVOR_BSD].
34049         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
34051 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34053         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34055 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
34057         [BZ #16314]
34058         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
34059         values below 2**-450, not 2**-500.
34060         * math/auto-libm-test-in: Don't allow spurious underflow from
34061         hypot.
34062         * math/auto-libm-test-out: Regenerated.
34064         [BZ #16316]
34065         [BZ #16330]
34066         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
34067         values of ha and hb and sort them after adjusting subnormal
34068         arguments.
34069         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
34070         Likewise.
34071         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
34072         values of ea and eb and sort them after adjusting subnormal
34073         arguments.
34074         * math/auto-libm-test-in: Do not expect some hypot tests of
34075         subnormals to fail.  Add more hypot tests.
34076         * math/auto-libm-test-out: Regenerated.
34078 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
34080         [BZ #13304]
34081         * sysdeps/sh/s_fma.c: New file.
34082         * sysdeps/sh/s_fmaf.c: New file.
34083         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
34084         version.
34085         * sysdeps/sh/Implies: Add sh/soft-fp.
34087 2013-12-16  Roland McGrath  <roland@hack.frob.com>
34089         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
34090         level of indirection to members `objname', `errstring', `malloced'.
34091         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
34092         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
34093         it as the __longjmp argument (just pass 1 instead).
34094         (_dl_catch_error): Initialize C with argument pointers and address of
34095         volatile local ERRCODE rather than copying values out of C at return.
34097 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
34099         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
34100         * math/auto-libm-test-out: Regenerated.
34101         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
34102         (hypot_test_data): Likewise.
34103         (pow_test_data): Likewise.
34104         (pow_tonearest_test_data): Likewise.
34105         * math/gen-auto-libm-tests.c (func_calc_method): Add value
34106         mpfr_ff_f.
34107         (func_calc_desc): Add mpfr_ff_f union field.
34108         (FUNC_mpfr_ff_f): New macro.
34109         (test_functions): Add atan2, hypot and pow.
34110         (special_fill_min): New function.
34111         (special_fill_minus_min): Likewise.
34112         (special_fill_min_subnorm): Likewise.
34113         (special_fill_minus_min_subnorm): Likewise.
34114         (special_real_inputs): Add min, -min, min_subnorm and
34115         -min_subnorm.
34116         (calc_generic_results): Handle mpfr_ff_f.
34117         * sysdeps/i386/fpu/libm-test-ulps: Update.
34118         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34120 2013-12-16  Will Newton  <will.newton@linaro.org>
34122         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
34123         (Aligned Memory Blocks): Add documentation for aligned_alloc
34124         and suggest it as an alternative to posix_memalign.
34125         (Hooks for Malloc): Document __memalign_hook is also called
34126         for aligned_alloc.  (Summary of Malloc): Add summary for
34127         aligned alloc.  Document __memalign_hook is also called
34128         for aligned_alloc.
34130 2013-12-16  Will Newton  <will.newton@linaro.org>
34132         * manual/memory.texi (Malloc Examples): Clarify default
34133         alignment documentation.  Suggest posix_memalign rather
34134         than memalign or valloc.
34135         (Aligned Memory Blocks): Remove suggestion to use memalign
34136         or valloc.  Remove obsolete comment about BSD.
34137         Document memalign errno values and mark the function obsolete.
34138         Document posix_memalign returned error codes.  Mark valloc
34139         as obsolete.  (Hooks for Malloc): __memalign_hook is also
34140         called for posix_memalign and valloc.
34141         (Summary of Malloc): Add posix_memalign to function summary.
34142         __memalign_hook is also called for posix_memalign and valloc.
34144 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
34146         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
34147         TAYLOR_SIN.
34148         (__sin): Adjust.
34149         (__cos): Likewise.
34150         (sloww): Use mynumber union.  Expand ternary operator into
34151         if-else statements.
34152         (cslow): use mynumber union.
34154 2013-12-16  Allan McRae  <allan@archlinux.org>
34156         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
34157         * configure: Regenerated.
34159         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
34161         [BZ #14120]
34162         * configure.ac: Added --enable-maintainer-mode. Check for
34163         autoconf when enabled.
34164         * configure: Regenerated.
34166         * nscd/nscd.service: New file.
34167         * nscd/nscd.tmpfiles: New file.
34169 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
34171         [BZ #12100]
34172         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
34173         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
34174         * sysdeps/x86_64/multiarch/strstr.c: ... here.
34175         (strstr): Add __strstr_sse2_unaligned ifunc.
34176         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
34177         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
34178         (strcasestr): Remove __strcasestr_sse42 ifunc.
34179         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
34180         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
34181         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
34183 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
34185         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
34186         * sysdeps/sh/bits/fenv.h: ... here.
34187         * sysdeps/sh/sh4/fpu/bits: Remove directory.
34189 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34191         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
34193         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
34194         hypotf multiarch implementations.
34195         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
34196         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
34197         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
34198         multiarch hypot for PPC64.
34199         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
34200         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
34201         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
34202         multiarch hypotf for PPC64.
34204         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
34205         modff multiarch implementations.
34206         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
34207         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
34208         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
34209         multiarch modf for PPC64.
34210         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
34211         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
34212         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
34213         multiarch modff for PPC64.
34215         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
34216         and logl multiarch implementations.
34217         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
34218         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
34219         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
34220         multiarch logb for PPC64.
34221         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
34222         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
34223         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
34224         multiarch logb for PPC64.
34225         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
34226         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
34227         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
34228         multiarch logb for PPC64.
34230         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
34231         isinff multiarch implementation.
34232         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
34233         file.
34234         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
34235         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
34236         multiarch isinf for PPC64.
34237         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
34238         file.
34239         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
34240         multiarch isinff for PPC64.
34242         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
34243         finitef multiarch implementation.
34244         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
34245         file.
34246         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
34247         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
34248         multiarch finite for PPC64.
34249         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
34250         file.
34251         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
34252         multiarch finitef for PPC64.
34254         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
34255         lrint multiarch implementation.
34256         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
34257         file.
34258         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
34259         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
34260         multiarch llrint for PPC64.
34261         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
34262         multiarch lrint for PPC64.
34264         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
34265         copysignf multiarch implementation.
34266         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
34267         file.
34268         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
34269         file.
34270         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
34271         multiarch copysign for PPC64.
34272         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
34273         multiarch copysignf for PPC64.
34275         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
34276         multiarch implementation.
34277         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
34278         file.
34279         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
34280         file.
34281         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
34282         file.
34283         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
34284         file.
34285         multiarch llround for PPC64.
34286         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
34287         multiarch trunc for PPC64.
34288         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
34289         multiarch truncf for PPC64.
34291         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
34292         multiarch implementation.
34293         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
34294         file.
34295         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
34296         file.
34297         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
34298         file.
34299         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
34300         file.
34301         multiarch llround for PPC64.
34302         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
34303         multiarch round for PPC64.
34304         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
34305         multiarch roundf for PPC64.
34307         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
34308         multiarch implementation.
34309         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
34310         file.
34311         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
34312         file.
34313         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
34314         file.
34315         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
34316         file.
34317         multiarch llround for PPC64.
34318         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
34319         multiarch floor for PPC64.
34320         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
34321         multiarch floorf for PPC64.
34323         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
34324         multiarch implementation.
34325         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
34326         file.
34327         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
34328         file.
34329         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
34330         file.
34331         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
34332         file.
34333         multiarch llround for PPC64.
34334         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
34335         multiarch ceil for PPC64.
34336         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
34337         multiarch ceilf for PPC64.
34339         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
34340         multiarch implementation.
34341         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
34342         file.
34343         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
34344         file.
34345         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
34346         file.
34347         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
34348         multiarch llround for PPC64.
34349         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
34350         multiarch lround for PPC64.
34352         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
34353         multiarch implementation.
34354         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
34355         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
34356         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
34357         file.
34358         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
34359         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
34360         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
34361         multiarch isnan for PPC64.
34362         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
34363         multiarch isnanf for PPC64.
34365         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
34366         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
34367         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
34368         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
34369         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
34370         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
34372         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
34373         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
34374         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
34375         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
34377         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
34378         multiarch implementations.
34379         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
34380         (__libc_ifunc_impl_list): Likewise.
34381         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
34382         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
34383         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
34384         multiarch stpcpy for PPC64.
34386         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
34387         multiarch implementations.
34388         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
34389         (__libc_ifunc_impl_list): Likewise.
34390         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
34391         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
34392         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
34393         multiarch strcpy for PPC64.
34395         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
34396         redefine function name.
34397         (_wordcopy_fwd_dest_aligned): Likewise.
34398         (_wordcopy_bwd_aligned): Likewise.
34399         (_wordcopy_bwd_dest_aligned): Likewise.
34400         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
34401         multiarch implementations.
34402         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
34403         (__libc_ifunc_impl_list): Likewise.
34404         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
34405         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
34406         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
34407         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
34408         multiarch wcscpy for PPC64.
34410         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
34411         multiarch implementations.
34412         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
34413         (__libc_ifunc_impl_list): Likewise.
34414         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
34415         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
34416         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
34417         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
34418         multiarch wcscpy for PPC64.
34420         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
34421         multiarch implementations.
34422         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
34423         (__libc_ifunc_impl_list): Likewise.
34424         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
34425         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
34426         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
34427         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
34428         multiarch wcsrchr for PPC64.
34430         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
34431         multiarch implementations.
34432         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
34433         (__libc_ifunc_impl_list): Likewise.
34434         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
34435         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
34436         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
34437         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
34438         multiarch wcschr for PPC64.
34440         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
34441         multiarch implementations.
34442         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
34443         (__libc_ifunc_impl_list): Likewise.
34444         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
34445         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
34446         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
34447         multiarch strchrnul for PPC64.
34449         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
34450         implementations.
34451         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
34452         (__libc_ifunc_impl_list): Likewise.
34453         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
34454         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
34455         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
34456         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
34457         strchr for PPC64.
34459         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
34460         implementations.
34461         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
34462         (__libc_ifunc_impl_list): Likewise.
34463         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
34464         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
34465         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
34466         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
34467         strncmp for PPC64.
34469         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
34470         multiarch implementations.
34471         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
34472         (__libc_ifunc_impl_list): Likewise.
34473         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
34474         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
34475         strncasecmp for PPC64.
34476         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
34477         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
34478         multiarch strncasecmp_l for PPC64.
34480         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
34481         multiarch implementations.
34482         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
34483         (__libc_ifunc_impl_list): Likewise.
34484         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
34485         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
34486         multiarch strcasecmp for PPC64.
34487         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
34488         file.
34489         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
34490         multiarch strcasecmp_l for PPC64.
34492         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
34493         implementations.
34494         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
34495         (__libc_ifunc_impl_list): Likewise.
34496         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
34497         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
34498         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
34499         strnlen for PPC64.
34501         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
34502         implementations.
34503         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
34504         (__libc_ifunc_impl_list): Likewise.
34505         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
34506         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
34507         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
34508         strlen for PPC64.
34510         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
34511         implementations.
34512         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
34513         (__libc_ifunc_impl_list): Likewise.
34514         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
34515         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
34516         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
34517         rawmemrchr for PPC64.
34519         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
34520         implementation.
34521         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
34522         (__libc_ifunc_impl_list): Likewise.
34523         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
34524         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
34525         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
34526         memrchr for PPC64.
34528         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
34529         implementation.
34530         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
34531         (__libc_ifunc_impl_list): Likewise.
34532         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
34533         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
34534         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
34535         memchr for PPC64.
34537         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
34538         implementation.
34539         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
34540         (__libc_ifunc_impl_list): Likewise.
34541         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
34542         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
34543         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
34544         mempcpy for PPC64.
34546         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
34547         avoid cretion of __bzero symbol.
34548         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
34549         Likewise.
34550         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
34551         Likewise.
34552         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
34553         Likewise.
34554         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
34555         multiarch implementations.
34556         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
34557         (__libc_ifunc_impl_list): Likewise.
34558         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
34559         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
34560         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
34561         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
34562         bzero for PPC32.
34563         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
34564         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
34565         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
34566         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
34567         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
34568         memset for PPC64.
34569         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
34571         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
34572         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
34573         implementations.
34574         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
34575         (__libc_ifunc_impl_list): Likewise.
34576         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
34577         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
34578         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
34579         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
34580         memcmp for PPC64.
34582         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
34583         multiarch for POWER/PPC64.
34584         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
34585         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
34586         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
34587         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
34588         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
34589         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
34590         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
34591         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
34592         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
34593         memcpy for PPC64.
34595         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
34596         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
34597         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
34598         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
34599         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
34600         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
34601         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
34602         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
34603         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
34604         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
34605         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
34606         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
34607         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
34608         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
34609         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
34610         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
34611         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
34612         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
34613         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
34614         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
34615         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
34616         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
34618 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
34620         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
34622 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
34624         * benchtests/Makefile (bench): Add exp2 and log2.
34625         (LDLIBS-bench-exp2): Add -lm.
34626         (LDLIBS-bench-log2): Likewise.
34627         * benchtests/exp2-inputs: New inputs file.
34628         * benchtests/log2-inputs: New inputs file.
34629         * benchtests/log-inputs: Add new inputs.
34630         * benchtests/tan-inputs: Likewise.
34632 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
34634         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
34635         definition...
34636         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
34637         (csloww2): ... from here.
34639         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
34640         instead of structures.
34641         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
34642         (POLYNOMIAL): Likewise.
34643         (TAYLOR_SLOW): Likewise.
34644         (__sin): Likewise.
34645         (__cos): Likewise.
34646         (slow1): Likewise.
34647         (slow2): Likewise.
34648         (sloww): Likewise.
34649         (sloww1); Likewise.
34650         (sloww2): Likewise.
34651         (bsloww1): Likewise.
34652         (bsloww2): Likewise.
34653         (cslow2): Likewise.
34654         (csloww): Likewise.
34655         (csloww1): Likewise.
34656         (csloww2): Likewise.
34658 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
34660         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
34661         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
34662         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
34663         * malloc/hooks.c (realloc_check): Likewise.
34665         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
34666         * malloc/arena.c: Remove PER_THREAD conditional.
34667         [!PER_THREAD]: Remove code.
34668         (ptmalloc_unlock_all2): Likewise.
34669         (ptmalloc_init): Likewise.
34670         (_int_new_arena): Likewise.
34671         (arena_get2): Likewise.
34672         * malloc/hooks.c (__malloc_get_state): Likewise.
34673         (__malloc_set_state): Likewise.
34674         * malloc/malloc.c: Likewise.
34675         (struct malloc_state): Likewise.
34676         (struct malloc_par): Likewise.
34677         (__libc_realloc): Likewise.
34678         (__libc_mallopt): Likewise.
34680 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34682         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
34684 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
34686         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
34687         macro to a function.  Check for zero perturb_byte.
34688         (_int_malloc, _int_free): Remove zero perturb_byte checks.
34690         * malloc/malloc.c: (force_reg): Remove.
34691         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
34692         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
34693         force_reg by atomic_forced_read.
34694         * malloc/arena.c (ptmalloc_init): Likewise.
34695         * malloc/hooks.c (top_check): Likewise.
34697 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34699         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34701 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
34703         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34705 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
34707         * math/auto-libm-test-in: Add tests of lgamma.
34708         * math/auto-libm-test-out: Regenerated.
34709         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
34710         (M_LOG_2_SQRT_PIl): Likewise.
34711         (lgamma_test_data): Use AUTO_TESTS_f_f1.
34712         * math/gen-auto-libm-tests.c (func_calc_method): Add value
34713         mpfr_f_f1.
34714         (func_calc_desc): Add mpfr_f_f1 union field.
34715         (ARGS1): New macro.
34716         (ARGS2): Likewise.
34717         (ARGS3): Likewise.
34718         (ARGS4): Likewise.
34719         (RET1): Likewise.
34720         (RET2): Likewise.
34721         (CALC): Likewise.
34722         (FUNC): Likewise.
34723         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
34724         (test_functions): Add lgamma.
34725         (calc_generic_results): Handle mpfr_f_f1.
34726         * sysdeps/i386/fpu/libm-test-ulps: Update.
34727         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34729 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34731         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
34732         __mpn_add_n for PowerPC64/POWER7.
34733         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
34734         __mpn_sub_n for PowerPC64/POWER7.
34736         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
34737         __mpn_addmul_1 for PowerPC64.
34738         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
34739         __mpn_submul_1 for PowerPC64.
34740         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
34741         for PowerPC64.
34742         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
34743         for PowerPC64.
34745 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
34747         [BZ #15089]
34748         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
34750 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34752         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
34754         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
34755         add multiarch folders.
34756         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
34757         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
34758         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
34759         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
34760         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
34761         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
34762         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
34763         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
34764         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
34765         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
34766         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
34767         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
34768         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
34769         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
34770         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
34771         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
34772         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
34774         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
34775         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
34776         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
34777         New file.
34778         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
34779         New file.
34780         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
34781         multiarch __ieee754_hypot for PowerPC32.
34782         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
34783         New file.
34784         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
34785         New file.
34786         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
34787         multiarch __ieee754_hypotf for PowerPC32.
34789         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
34790         long_double_symbol only if __logbl is defined.
34791         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
34792         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
34793         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
34794         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
34795         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
34796         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
34797         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
34798         path for implementation.
34799         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
34800         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
34801         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
34802         logb, and logbl multiarch implementations for PowerPC32.
34803         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
34804         file.
34805         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
34806         file.
34807         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
34808         multiarch logb for PowerPC32.
34809         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
34810         file.
34811         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
34812         file.
34813         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
34814         multiarch logbf for PowerPC32.
34815         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
34816         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
34817         file.
34818         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
34819         multiarch logbl implementation for PowerPC32.
34821         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
34822         and modff multiarch implementations.
34823         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
34824         New file.
34825         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
34826         New file.
34827         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
34828         multiarch modf for PowerPC32.
34829         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
34830         New file.
34831         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
34832         New file.
34833         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
34834         multiarch modff for PowerPC32.
34836         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
34837         and lrintf multiarch implementations.
34838         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
34839         New file.
34840         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
34841         New file.
34842         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
34843         multiarch lrint for PowerPC32.
34844         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
34845         file: multiarch lrintf for PowerPC32.
34847         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
34848         and lroundf multiarch implementations.
34849         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
34850         New file.
34851         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
34852         New file.
34853         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
34854         New file.
34855         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
34856         multiarch lround for PowerPC32.
34857         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
34858         file: multiarch lroundf for PowerPC32.
34860         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
34861         copysign and copysignf multiarch implementations.
34862         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
34863         New file.
34864         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
34865         New file.
34866         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
34867         file: multiarch copysign for PowerPC32.
34868         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
34869         file: multiarch copysignf for PowerPC32.
34871         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
34872         and truncf multiarch implementations.
34873         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
34874         New file.
34875         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
34876         file.
34877         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
34878         multiarch trunc for PowerPC32.
34879         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
34880         New file.
34881         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
34882         New file.
34883         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
34884         multiarch truncf for PowerPC32.
34886         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
34887         and roundf multiarch implementations.
34888         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
34889         New file.
34890         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
34891         file.
34892         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
34893         multiarch round for PowerPC32.
34894         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
34895         New file.
34896         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
34897         New file.
34898         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
34899         multiarch roundf for PowerPC32.
34901         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
34902         and floorf multiarch implementations.
34903         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
34904         New file.
34905         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
34906         file.
34907         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
34908         multiarch floor for PowerPC32.
34909         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
34910         New file.
34911         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
34912         New file.
34913         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
34914         multiarch floorf for PowerPC32.
34916         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
34917         and ceilf multiarch implementations.
34918         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
34919         New file.
34920         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
34921         file.
34922         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
34923         multiarch ceil for PowerPC32.
34924         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
34925         New file.
34926         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
34927         file.
34928         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
34929         multiarch ceilf for PowerPC32.
34931         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
34932         is defined.
34933         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
34934         FINITEF is defined.
34935         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
34936         and finitef multiarch implementations.
34937         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
34938         New file.
34939         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
34940         file.
34941         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
34942         multiarch finite for PowerPC32.
34943         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
34944         New file.
34945         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
34946         file: multiarch finitef for PowerPC32.
34948         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
34949         and isinff multiarch implementations.
34950         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
34951         file.
34952         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
34953         file.
34954         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
34955         multiarch isinf for PowerPC32.
34956         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
34957         New file.
34958         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
34959         multiarch isinff for PowerPC32.
34961         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
34962         alias when __isnan is defined.
34963         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
34964         and isnanf multiarch implementations.
34965         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
34966         file.
34967         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
34968         file.
34969         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
34970         file.
34971         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
34972         file.
34973         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
34974         multiarch isnan for PowerPC32.
34975         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
34976         New file.
34977         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
34978         New file.
34979         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
34980         multiarch isnanf for PowerPC32.
34982         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
34983         and sqrtf multiarch implementations.
34984         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
34985         file.
34986         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
34987         file.
34988         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
34989         multiarch sqrt for PowerPC32.
34990         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
34991         file.
34992         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
34993         file.
34994         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
34995         multiarch sqrtf for PowerPC32.
34997         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
34998         and llroundf multiarch implementations.
34999         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
35000         New file.
35001         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
35002         New file.
35003         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
35004         New file.
35005         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
35006         file: multiarch llround for PowerPC32.
35007         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
35008         file: multiarch llroundf for PowerPC32.
35010         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
35011         multiarch PowerPC32 fpu implementations.
35012         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
35013         New file.
35014         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
35015         New file.
35016         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
35017         multiarch llrint for PowerPC32.
35018         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
35019         New file.
35020         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
35021         New file.
35022         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
35023         file.
35025         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
35027         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
35028         file.
35029         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
35030         file.
35031         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
35032         file.
35033         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
35034         multiarch wordcopy for PPC32.
35035         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
35036         wordcopy objects.
35037         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
35038         (__libc_ifunc_impl_list): Likewise.
35039         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
35040         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
35041         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
35042         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
35043         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
35044         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
35046         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
35047         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
35048         file.
35049         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
35050         file.
35051         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
35052         file.
35053         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
35054         multiarch wcscpy for PPC32.
35055         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
35056         multiarch objects.
35057         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
35058         (__libc_ifunc_impl_list): Likewise.
35059         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
35060         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
35061         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
35062         sysdeps/powerpc/power6/wcscpy.c.
35064         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
35065         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
35066         file.
35067         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
35068         file.
35069         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
35070         file.
35071         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
35072         multiarch wcsrchr for PPC32.
35073         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
35074         multiarch objects.
35075         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
35076         (__libc_ifunc_impl_list): Likewise.
35077         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
35078         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
35079         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
35080         sysdeps/powerpc/power6/wcsrchr.c.
35082         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
35083         file.
35084         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
35085         file.
35086         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
35087         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
35088         multiarch wcschr for PPc32.
35089         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
35090         multiarch objects.
35091         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
35092         (__libc_ifunc_impl_list): Likewise.
35093         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
35094         * sysdeps/powerpc/power6/wcschr.c: ... to here.
35095         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
35096         sysdeps/powerpc/power6/wcschr.c.
35098         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
35099         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
35100         file.
35101         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
35102         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
35103         file: multiarch strchr for PPC32.
35104         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
35105         multiarch objects.
35106         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
35107         (__libc_ifunc_impl_list): Likewise.
35109         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
35110         name.
35111         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
35112         file.
35113         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
35114         file.
35115         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
35116         multiarch strchrnul for PPC32.
35117         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
35118         multiarch objects.
35119         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
35120         (__libc_ifunc_impl_list): Likewise.
35122         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
35123         file.
35124         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
35125         multiarch strncasecmp for PPC32.
35126         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
35127         file.
35128         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
35129         multiarch strncasecmp_l for PPC32.
35130         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
35131         strncasecmp multiarch objects.
35132         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
35133         (__libc_ifunc_impl_list): Likewise.
35135         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
35136         file.
35137         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
35138         multiarch strncasecmp for PPC32.
35139         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
35140         New file.
35141         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
35142         multiarch strcasecmp_l for PPC32.
35143         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
35144         multiarch objects.
35145         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
35146         (__libc_ifunc_impl_list): Likewise.
35148         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
35149         file.
35150         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
35151         file.
35152         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
35153         multiarch strncmp for PPC32.
35154         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
35155         multiarch objects.
35156         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
35157         (__libc_ifunc_impl_list): Likewise.
35159         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
35160         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
35161         file.
35162         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
35163         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
35164         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
35165         multiarch objects.
35166         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
35167         (__libc_ifunc_impl_list): Likewise.
35169         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
35170         file.
35171         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
35172         file.
35173         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
35174         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
35175         multiarch objects.
35176         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
35177         (__libc_ifunc_impl_list): Likewise.
35179         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
35180         file.
35181         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
35182         file.
35183         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
35184         multiarch rawmemchr for PPC32.
35185         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
35186         multiarch objects.
35187         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
35188         (__libc_ifunc_impl_list): Likewise.
35190         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
35191         file.
35192         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
35193         file.
35194         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
35195         file: memrchr multiarch for PPC32.
35196         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
35197         multiarch objects.
35198         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
35199         (__libc_ifunc_impl_list): Likewise.
35201         * string/memchr.c (__memchr): Using macro to redefine symbol name.
35202         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
35203         file.
35204         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
35205         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
35206         multiarch memchr for PPC32.
35207         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
35208         multiarch objects.
35209         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
35210         (__libc_ifunc_impl_list): Likewise.
35212         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
35213         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
35214         file.
35215         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
35216         file.
35217         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
35218         file: multiarch mempcpy for PPC32.
35219         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
35220         multiarch objects.
35221         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
35222         (__libc_ifunc_impl_list): Likewise.
35224         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
35225         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
35226         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
35227         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
35228         multiarch bzero for PPC32.
35229         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
35230         file.
35231         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
35232         file.
35233         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
35234         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
35235         file: multiarch memset for PPC32.
35236         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
35237         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
35238         memset multiarch objects.
35239         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
35240         (__libc_ifunc_impl_list): Likewise.
35242         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
35243         file.
35244         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
35245         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
35246         memcmp for PPC32.
35247         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
35248         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
35249         multiarch objects.
35250         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
35251         (__libc_ifunc_impl_list): Likewise.
35253         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
35254         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
35255         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
35256         file.
35257         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
35258         file.
35259         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
35260         file.
35261         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
35262         multiarch memcpy for PPC32.
35263         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
35264         multiarch objects.
35265         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
35266         (__libc_ifunc_impl_list): Likewise.
35268         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
35269         support multiarch for POWER/PPC32.
35270         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
35271         Likewise.
35272         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
35273         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
35274         Implies file to make multiarch folder appers before the fpu and
35275         default folder for power4 configuration.
35277 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
35279         * scripts/bench.pl: Append volatile keyword to type.
35281 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
35283         * sysdeps/sh/sotruss-lib.c: New file.
35284         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
35286 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35288         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35290 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
35292         [BZ #6810]
35293         * math/w_tgamma.c: Include <errno.h>.
35294         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
35295         * math/w_tgammaf.c: Include <errno.h>.
35296         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
35297         * math/w_tgammal.c: Include <errno.h>.
35298         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
35299         * math/auto-libm-test-in: Do not allow missing errno on tgamma
35300         underflow.  Add more tgamma tests.
35301         * math/auto-libm-test-out: Regenerated.
35302         * sysdeps/i386/fpu/libm-test-ulps: Update.
35303         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35305         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
35306         sin, sinh, tan, tanh, tgamma, y0 and y1.
35307         * math/auto-libm-test-out: Regenerated.
35308         * math/libm-test.inc (TEST_COND_x86_64): New macro.
35309         (TEST_COND_x86): Likewise.
35310         (M_E2l): Remove macro.
35311         (M_E3l): Likewise.
35312         (M_2_SQRT_PIl): Likewise.
35313         (M_SQRT_PIl): Likewise.
35314         (M_1_DIV_El): Likewise.
35315         (log_test_data): Use AUTO_TESTS_f_f.
35316         (log10_test_data): Likewise.
35317         (log1p_test_data): Likewise.
35318         (log2_test_data): Likewise.
35319         (sin_test_data): Likewise.
35320         (sin_tonearest_test_data): Likewise.
35321         (sin_towardzero_test_data): Likewise.
35322         (sin_downward_test_data): Likewise.
35323         (sin_upward_test_data): Likewise.
35324         (sinh_test_data): Likewise.
35325         (sinh_tonearest_test_data): Likewise.
35326         (sinh_towardzero_test_data): Likewise.
35327         (sinh_downward_test_data): Likewise.
35328         (sinh_upward_test_data): Likewise.
35329         (tan_test_data): Likewise.
35330         (tan_tonearest_test_data): Likewise.
35331         (tan_towardzero_test_data): Likewise.
35332         (tan_downward_test_data): Likewise.
35333         (tan_upward_test_data): Likewise.
35334         (tanh_test_data): Likewise.
35335         (tgamma_test_data): Likewise.
35336         (y0_test_data): Likewise.
35337         (y1_test_data): Likewise.
35338         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
35339         (special_real_inputs): Add pi/4.
35340         * sysdeps/i386/fpu/libm-test-ulps: Update.
35341         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35343 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35345         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
35346         "longjmp_target" static probes.
35347         (__longjmp): Rename to __longjmp_symbol.
35348         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
35349         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
35350         on which longjmp to generate.
35351         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
35352         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
35353         probe.
35354         (__sigsetjmp): Rename to __sigsetjmp_symbol.
35355         (__sigjmp_save): Rename to __sigjmp_save_symbol.
35356         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
35357         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
35358         and __sigjmp_save_symbol based on which sigsetjmp to generated.
35359         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
35360         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
35361         __longjmp_symbol based on which __longjmp to generate.
35362         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
35363         probe.
35364         (setjmp): Rename to setjmp_symbol.
35365         (__sigsetjmp): Rename to __sigsetjmp_symbol.
35366         (_setjmp): Rename to _setjmp_symbol.
35367         (__sigsetjmp): Rename to __sigsetjmp_symbol.
35368         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
35369         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
35370         which setjmp to generate.
35371         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
35372         "longjmp_target" static probes.
35374 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
35376         * benchtests/README: Add note about output arguments.
35377         * benchtests/bench-sincos.c: Remove file.
35378         * benchtests/sincos-inputs: New file.
35379         * scripts/bench.pl: Identify output arguments and define
35380         static variables for them.
35382         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
35384         [BZ #15941]
35385         * Makefile (INSTALL): Add install-plain.texi as the primary
35386         dependency.
35387         * manual/install-plain.texi: New file.
35388         * manual/install.texi: Include node directive only for
35389         non-plaintext output.
35391 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
35393         * stdlib/longlong.h: Update from GCC.
35395         [BZ #6807]
35396         [BZ #15901]
35397         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
35398         * math/w_j0f.c (y0f): Likewise.
35399         * math/w_j0l.c (__y0l): Likewise.
35400         * math/w_j1.c (y1): Likewise.
35401         * math/w_j1f.c (y1f): Likewise.
35402         * math/w_j1l.c (__y1l): Likewise
35403         * math/w_jn.c (yn): Likewise.
35404         * math/w_jnf.c (ynf): Likewise.
35405         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
35406         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
35407         value for Bessel function domain errors outside _SVID_ mode.
35408         Adjust sign of return value for yn (negative integer, 0).
35409         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
35410         by zero in return for negative x and set sign appropriately for
35411         negative n.
35412         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
35413         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
35414         * math/libm-test.inc (y0_test_data): Add more tests and adjust
35415         expectations in error cases.
35416         (y1_test_data): Likewise.
35417         (yn_test_data): Likewise.
35418         * sysdeps/i386/fpu/libm-test-ulps: Update.
35419         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35421 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
35423         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
35424         "64" to "64-v1".  Add "64-v2".
35425         (abi-64-options): Rename to ...
35426         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
35427         (abi-64-condition): Rename to ...
35428         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
35429         (abi-64-ld-soname): Rename to ...
35430         (abi-64-v1-ld-soname): ... this.
35431         (abi-64-v2-options): Define.
35432         (abi-64-v2-condition): Likewise.
35433         (abi-64-v2-ld-soname): Likewise.
35434         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
35435         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
35436         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
35437         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
35438         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
35440 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
35441             Alan Modra  <amodra@gmail.com>
35443         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
35444         New versions for use with the ELFv2 ABI.
35445         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
35446         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
35447         declaration.
35448         (struct La_ppc64v2_retval): Likewise.
35449         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
35450         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
35451         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
35452         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
35453         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
35454         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
35455         Do not save or restore CR.
35456         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
35457         (_dl_profile_resolve): Do no save or restore CR.  Support extended
35458         return values for ELFv2 ABI.  Fix location of FPR return registers.
35459         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
35460         updated values for _CALL_ELF == 2.
35461         (La_regs, La_retval, int_retval): Likewise.
35463 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
35465         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
35466         (FRAME_MIN_SIZE_PARM): Likewise.
35467         (FRAME_BACKCHAIN): Likewise.
35468         (FRAME_CR_SAVE): Likewise.
35469         (FRAME_LR_SAVE): Likewise.
35470         (FRAME_TOC_SAVE): Likewise.
35471         (FRAME_PARM_SAVE): Likewise.
35472         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
35473         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
35474         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
35475         (call_mcount_parm_offset): New macro.
35476         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
35477         (PROF): Use symbolic stack frame offsets.
35478         (TAIL_CALL_SYSCALL_ERROR): Likewise.
35479         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
35480         Redefine in terms of FRAME_MIN_SIZE.
35481         (_dl_runtime_resolve): Use symbolic stack frame offsets.
35482         (_dl_profile_resolve): Likewise.  Update comment.
35483         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
35484         symbols stack frame offsets.
35485         (__sigsetjmp): Likewise.
35486         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
35487         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
35488         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
35489         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
35491         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
35492         (FRAME_BACKCHAIN): Remove.
35493         (FRAME_CR_SAVE): Likewise.
35494         (FRAME_LR_SAVE): Likewise.
35495         (FRAME_COMPILER_DW): Likewise.
35496         (FRAME_LINKER_DW): Likewise.
35497         (FRAME_TOC_SAVE): Likewise.
35498         (FRAME_PARM_SAVE): Likewise.
35499         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
35500         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
35501         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
35502         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
35503         (CHECK_SP): Use symbolic stack frame offsets.
35504         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
35505         zone" instead of caller's parameter save area for temp storage.
35506         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
35507         Likewise.  Also, use symbolic stack frame offsets.
35508         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
35509         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
35510         our own stack frame instead of the caller's.
35511         (__socket): Use symbolic stack frame offsets.
35513 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
35514             Alan Modra  <amodra@gmail.com>
35516         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
35517         Define.
35518         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
35519         (PPC64_LOCAL_ENTRY_OFFSET): Define.
35520         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
35521         New function.
35522         (elf_machine_fixup_plt): Call it.
35523         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
35524         reloc arguments.
35525         (elf_machine_rela): Update call to elf_machine_plt_conflict.
35526         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
35527         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
35528         r2 before calling target.
35530 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
35531             Alan Modra  <amodra@gmail.com>
35533         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
35534         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
35535         versions of macros to support ELFv2 ABI.
35536         (LOCALENTRY): New macro.
35537         (ENTRY, EALIGN): Use it.
35538         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
35539         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
35540         fall through into ENTRY entry point.
35541         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
35542         Only define if _CALL_ELF != 2.
35544         (elf_machine_matches_host): Verify ABI version matches.
35545         (RTLD_START): Use LOCALENTRY.
35546         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
35547         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
35548         (PLT_ENTRY_WORDS): New macro.
35549         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
35550         (elf_machine_runtime_setup): Support ELFv2 ABI.
35551         (elf_machine_fixup_plt): Likewise.
35552         (elf_machine_plt_conflict): Likewise.
35553         (resolve_ifunc): Likewise.
35554         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
35555         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
35556         Likewise.
35557         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
35558         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
35559         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
35560         (makecontext): Support ELFv2 ABI.
35561         * elf/elf.h (EF_PPC64_ABI): Define.
35563 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
35565         * sysdeps/powerpc/powerpc64/sysdep.h
35566         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
35567         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
35568         (ENTRY) [ASSEMBLER]: ... but instead here ...
35569         (EALIGN) [ASSEMBLER]: ... and here.
35570         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
35571         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
35572         (ENTRY_2) [!ASSEMBLER]: Use it.
35573         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
35574         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
35575         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
35576         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
35577         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
35578         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
35579         Use PPC64_LOAD_FUNCPTR.
35581         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
35583 2013-12-04  Alan Modra  <amodra@gmail.com>
35585         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
35586         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
35587         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
35588         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
35590         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
35591         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
35592         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
35593         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
35594         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
35595         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
35597 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
35599         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
35600         (__makecontext): Fix incorrect CFI when backtracing out of
35601         context created via makecontext.
35602         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
35603         (__setcontext): Fix incorrect CFI during switch to new context.
35604         (__novec_setcontext): Likewise.
35606 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
35608         [BZ #4772]
35609         * time/strptime_l.c (__strptime_internal): Allow modifiers
35610         in strptime.
35611         * time/tst-strptime.c (day_tests): Add testcase.
35613 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
35615         * scripts/bench.pl: Skip over blank lines.
35617 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
35619         [BZ #926]
35620         * manual/time.texi (Calendar Time): Clarify what timezone functions
35621         use.
35623 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35625         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35627 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
35629         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
35630         implementation.
35631         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
35632         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
35633         * debug/memset_chk.c (__memset_chk): Likewise.
35634         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
35635         * debug/strncpy_chk.c: Likewise.
35637 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
35639         [BZ #15268]
35640         [BZ #15425]
35641         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
35642         (__ieee754_exp): For possibly underflowing results, check size of
35643         result and force underflow exception if required.
35644         * math/auto-libm-test-in: Add more tests of exp.
35645         * math/auto-libm-test-out: Regenerated.
35646         * sysdeps/i386/fpu/libm-test-ulps: Update.
35647         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35649         [BZ #16283]
35650         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
35651         * math/w_exp2f.c (__exp2f): Likewise.
35652         * math/w_exp2l.c (__exp2l): Likewise.
35653         * math/auto-libm-test-in: Do not allow missing errno on exp2
35654         underflow.
35655         * math/auto-libm-test-out: Regenerated.
35657 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
35659         [BZ #16274]
35660         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
35661         handle filename validation.
35662         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
35663         (do_open): Delete.
35665 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
35667         [BZ #6786]
35668         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
35669         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
35670         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
35671         <float.h>.
35672         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
35673         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
35674         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
35675         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
35676         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
35677         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
35678         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
35679         * math/auto-libm-test-in: Don't allow missing errno from erfc.
35680         Add more erfc tests.
35681         * math/auto-libm-test-out: Regenerated.
35682         * sysdeps/i386/fpu/libm-test-ulps: Update.
35683         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35685         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
35686         exp2, expm1, j0 and j1.
35687         * math/auto-libm-test-out: Regenerated.
35688         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
35689         (erfc_test_data): Likewise.
35690         (exp_test_data): Likewise.
35691         (exp_tonearest_test_data): Likewise.
35692         (exp_towardzero_test_data): Likewise.
35693         (exp_downward_test_data): Likewise.
35694         (exp_upward_test_data): Likewise.
35695         (exp10_test_data): Likewise.
35696         (exp2_test_data): Likewise.
35697         (expm1_test_data): Likewise.
35698         (j0_test_data): Likewise.
35699         (j1_test_data): Likewise.
35700         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
35701         (input_flag_type): Add flag_xfail_rounding.
35702         (input_flags): Add xfail-rounding.
35703         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
35704         (output_for_one_input_case): Handle flag_xfail_rounding.
35705         * sysdeps/i386/fpu/libm-test-ulps: Update.
35706         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35708 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
35710         [BZ #16289]
35711         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
35712         division by 0.
35714 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
35716         [BZ #16195]
35717         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
35718         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
35719         (STAP_PROBE0): New macro.
35720         (STAP_PROBE1): Likewise.
35721         (STAP_PROBE2): Likewise.
35722         (STAP_PROBE3): Likewise.
35723         (STAP_PROBE4): Likewise.
35725 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
35727         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
35729 2013-12-02  Steve Ellcey  <sellcey@mips.com>
35731         * benchtests/Makefile (bench): Add sqrt.
35732         (LDLIBS-bench-sqrt): New.
35733         * benchtests/sqrt-input: New.
35735 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
35737         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
35738         (GAIH_EAI): Likewise.
35739         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
35740         (gaih_inet): Likewise.
35741         (getaddrinfo): Don't use GAIH_EAI.
35743         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
35744         (struct gaih): Remove definition.
35746 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
35748         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
35749         Use HERRNOP directly.
35751 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35753         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35755 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
35757         * math/gen-auto-libm-tests.c (test_functions): Add more
35758         single-argument functions.
35759         (special_fill_pi_2): New function.
35760         (special_fill_minus_pi_2): Likewise.
35761         (special_fill_pi_6): Likewise.
35762         (special_fill_minus_pi_6): Likewise.
35763         (special_fill_pi_3): Likewise.
35764         (special_fill_2pi_3): Likewise.
35765         (special_fill_e): Likewise.
35766         (special_fill_1_e): Likewise.
35767         (special_fill_e_minus_1): Likewise.
35768         (special_real_inputs): Add more special inputs.
35769         (output_for_one_input_case): Do not require ERANGE on underflow to
35770         zero if round-to-nearest result does not underflow to zero, unless
35771         exact results required.
35772         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
35773         atan, atanh, cbrt, cos and cosh.
35774         * math/auto-libm-test-out: Regenerated.
35775         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
35776         (acos_tonearest_test_data): Likewise.
35777         (acos_towardzero_test_data): Likewise.
35778         (acos_downward_test_data): Likewise.
35779         (acos_upward_test_data): Likewise.
35780         (acosh_test_data): Likewise.
35781         (asin_test_data): Likewise.
35782         (asin_tonearest_test_data): Likewise.
35783         (asin_towardzero_test_data): Likewise.
35784         (asin_upward_test_data): Likewise.
35785         (asinh_test_data): Likewise.
35786         (atan_test_data): Likewise.
35787         (atanh_test_data): Likewise.
35788         (cbrt_test_data): Likewise.
35789         (cos_test_data): Likewise.
35790         (cos_tonearest_test_data): Likewise.
35791         (cos_towardzero_test_data): Likewise.
35792         (cos_downward_test_data): Likewise.
35793         (cos_upward_test_data): Likewise.
35794         (cosh_test_data): Likewise.
35795         (cosh_tonearest_test_data): Likewise.
35796         (cosh_towardzero_test_data): Likewise.
35797         (cosh_downward_test_data): Likewise.
35798         (cosh_upward_test_data): Likewise.
35799         * sysdeps/i386/fpu/libm-test-ulps: Update.
35800         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35802 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
35804         [BZ #6787]
35805         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
35806         * math/w_exp10f.c (__exp10f): Likewise.
35807         * math/w_exp10l.c (__exp10l): Likewise.
35808         * math/libm-test.inc (exp10_test_data): Add more tests and expect
35809         errno settings in existing tests.
35811         [BZ #14032]
35812         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
35813         precision control set to double precision.
35814         * sysdeps/i386/fpu/w_sqrt.c: New file.
35815         * math/auto-libm-test-in: Add more tests.
35816         * math/auto-libm-test-out: Update.
35818         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
35819         (sqrt_test_tonearest): New function.
35820         (sqrt_towardzero_test_data): New variable.
35821         (sqrt_test_towardzero): New function.
35822         (sqrt_downward_test_data): New variable.
35823         (sqrt_test_downward): New function.
35824         (sqrt_upward_test_data): New variable.
35825         (sqrt_test_upward): New function.
35826         (main): Call the new functions.
35828         * math/gen-auto-libm-tests.c: New file.
35829         * math/auto-libm-test-in: Likewise.
35830         * math/auto-libm-test-out: New generated file.
35831         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
35832         variables.
35833         (%beautify): Add generated representations of zero.
35834         (top level): Set $auto_input and call parse_auto_input.
35835         (beautify): Remove trailing "f" from hex float constants.
35836         (parse_args): Handle XFAIL_TEST.
35837         (convert_condition): New function.
35838         (or_value): Likewise.
35839         (or_cond_value): Likewise.
35840         (generate_testfile): Handle AUTO_TESTS_* lines.
35841         (parse_auto_input): New function.
35842         * math/libm-test.inc (XFAIL_TEST): New macro.
35843         (ERRNO_UNCHANGED): Update value.
35844         (ERRNO_EDOM): Likewise.
35845         (ERRNO_ERANGE): Likewise.
35846         (IGNORE_RESULT): Likewise.
35847         (TEST_COND_flt_32): New macro.
35848         (TEST_COND_dbl_64): Likewise.
35849         (TEST_COND_ldbl_96_intel): Likewise.
35850         (TEST_COND_ldbl_96_m68k): Likewise.
35851         (TEST_COND_ldbl_128): Likewise.
35852         (TEST_COND_ldbl_128ibm): Likewise.
35853         (TEST_COND_long32): Likewise.
35854         (TEST_COND_long64): Likewise.
35855         (TEST_COND_before_rounding): Likewise.
35856         (TEST_COND_after_rounding): Likewise.
35857         (enable_test): Handle XFAIL_TEST flag.
35858         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
35859         with finite results.
35860         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
35861         auto-libm-test-out.
35863 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
35864             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35866         [BZ #16214]
35867         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
35868         __tls_get_addr_internal instead of __tls_get_offset in order to
35869         avoid GOT pointer dependency.  Make rtld export
35870         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
35871         __tls_get_addr since we are a __tls_get_offset platform.
35872         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
35873         GOT pointer being set up before.
35874         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
35876 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
35878         * manual/math.texi (Errors in Math Functions): Document accuracy
35879         goals.
35881         [BZ #15004]
35882         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
35883         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
35884         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
35885         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
35886         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
35887         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
35888         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
35889         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
35890         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
35891         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
35892         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
35893         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
35894         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
35895         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
35896         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
35897         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
35899         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
35900         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
35901         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
35902         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
35903         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
35904         Likewise.
35905         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
35906         Likewise.
35907         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
35908         Likewise.
35909         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
35910         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
35911         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
35912         atomic-feupdateenv and flt-rounds.
35913         * sysdeps/powerpc/nofpu/Versions (libc): Add
35914         __atomic_feholdexcept, __atomic_feclearexcept,
35915         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
35916         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
35917         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
35918         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
35919         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
35920         here.
35921         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
35922         Update.
35924         * manual/arith.texi (FP Exceptions): Document that exceptions may
35925         not be raised when matherr is used.
35926         (Math Error Reporting): Document overflow in directed rounding
35927         modes.  Document that errno may not be set when finite values are
35928         returned on overflow.  Document intent to set errno on underflow
35929         only for underflow to zero.
35931         [BZ #16271]
35932         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
35933         round-to-nearest then adjust result for other rounding modes.
35934         * include/fenv.h (fegetround): Use libm_hidden_proto.
35935         * math/fegetround.c (fegetround): Use libm_hidden_def.
35936         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
35937         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
35938         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
35939         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
35940         Likewise.
35941         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
35942         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
35943         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
35944         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
35946 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
35948         [BZ #16077]
35949         * nss/Versions (libnss_files): Add
35950         _nss_files_gethostbyname3_r.
35951         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
35952         New function.
35953         (HOST_DB_LOOKUP): Remove macro.
35954         (_nss_files_gethostbyname_r): Implement function without the
35955         HOST_DB_LOOKUP macro.
35956         (_nss_files_gethostbyname2_r): Likewise.
35958 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
35960         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
35962 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
35964         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
35965         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
35966         warning.
35968 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35970         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
35971         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
35972         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
35973         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
35974         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
35975         __fe_nomask_env_priv and attribute_hidden.
35976         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
35977         (libc_feupdateenv_test_ppc): Likewise.
35978         (libc_feresetround_ppc): Likewise.
35979         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
35980         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
35981         compat_symbol macro.
35982         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
35983         (__fe_nomask_env): Likewise.
35984         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
35986 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
35988         * string/Makefile: Remove ifunc tests.
35989         * string/test-string.h: Define TEST_IFUNC.
35990         * string/test-bcopy-ifunc.c: Remove.
35991         * string/test-bzero-ifunc.c: Likewise.
35992         * string/test-memccpy-ifunc.c: Likewise.
35993         * string/test-memchr-ifunc.c: Likewise.
35994         * string/test-memcmp-ifunc.c: Likewise.
35995         * string/test-memcpy-ifunc.c: Likewise.
35996         * string/test-memmem-ifunc.c: Likewise.
35997         * string/test-memmove-ifunc.c: Likewise.
35998         * string/test-mempcpy-ifunc.c: Likewise.
35999         * string/test-memrchr-ifunc.c: Likewise.
36000         * string/test-memset-ifunc.c: Likewise.
36001         * string/test-rawmemchr-ifunc.c: Likewise.
36002         * string/test-stpcpy-ifunc.c: Likewise.
36003         * string/test-stpncpy-ifunc.c: Likewise.
36004         * string/test-strcasecmp-ifunc.c: Likewise.
36005         * string/test-strcasestr-ifunc.c: Likewise.
36006         * string/test-strcat-ifunc.c: Likewise.
36007         * string/test-strchr-ifunc.c: Likewise.
36008         * string/test-strchrnul-ifunc.c: Likewise.
36009         * string/test-strcmp-ifunc.c: Likewise.
36010         * string/test-strcpy-ifunc.c: Likewise.
36011         * string/test-strcspn-ifunc.c: Likewise.
36012         * string/test-strlen-ifunc.c: Likewise.
36013         * string/test-strncasecmp-ifunc.c: Likewise.
36014         * string/test-strncat-ifunc.c: Likewise.
36015         * string/test-strncmp-ifunc.c: Likewise.
36016         * string/test-strncpy-ifunc.c: Likewise.
36017         * string/test-strnlen-ifunc.c: Likewise.
36018         * string/test-strpbrk-ifunc.c: Likewise.
36019         * string/test-strrchr-ifunc.c: Likewise.
36020         * string/test-strspn-ifunc.c: Likewise.
36021         * string/test-strstr-ifunc.c: Likewise.
36023 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
36025         * benchtests/Makefile: Remove ifunc tests.
36026         * benchtests/bench-string.h: Define TEST_IFUNC.
36027         * benchtests/bench-bcopy-ifunc.c: Remove.
36028         * benchtests/bench-bzero-ifunc.c: Likewise.
36029         * benchtests/bench-memccpy-ifunc.c: Likewise.
36030         * benchtests/bench-memchr-ifunc.c: Likewise.
36031         * benchtests/bench-memcmp-ifunc.c: Likewise.
36032         * benchtests/bench-memcpy-ifunc.c: Likewise.
36033         * benchtests/bench-memmem-ifunc.c: Likewise.
36034         * benchtests/bench-memmove-ifunc.c: Likewise.
36035         * benchtests/bench-mempcpy-ifunc.c: Likewise.
36036         * benchtests/bench-memrchr-ifunc.c: Likewise.
36037         * benchtests/bench-memset-ifunc.c: Likewise.
36038         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
36039         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
36040         * benchtests/bench-stpcpy-ifunc.c: Likewise.
36041         * benchtests/bench-stpncpy-ifunc.c: Likewise.
36042         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
36043         * benchtests/bench-strcasestr-ifunc.c: Likewise.
36044         * benchtests/bench-strcat-ifunc.c: Likewise.
36045         * benchtests/bench-strchr-ifunc.c: Likewise.
36046         * benchtests/bench-strchrnul-ifunc.c: Likewise.
36047         * benchtests/bench-strcmp-ifunc.c: Likewise.
36048         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
36049         * benchtests/bench-strcpy-ifunc.c: Likewise.
36050         * benchtests/bench-strcspn-ifunc.c: Likewise.
36051         * benchtests/bench-strlen-ifunc.c: Likewise.
36052         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
36053         * benchtests/bench-strncat-ifunc.c: Likewise.
36054         * benchtests/bench-strncmp-ifunc.c: Likewise.
36055         * benchtests/bench-strncpy-ifunc.c: Likewise.
36056         * benchtests/bench-strnlen-ifunc.c: Likewise.
36057         * benchtests/bench-strpbrk-ifunc.c: Likewise.
36058         * benchtests/bench-strrchr-ifunc.c: Likewise.
36059         * benchtests/bench-strsep-ifunc.c: Likewise.
36060         * benchtests/bench-strspn-ifunc.c: Likewise.
36061         * benchtests/bench-strstr-ifunc.c: Likewise.
36063 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
36065         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
36067 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
36069         * resolv/netdb.h: Use __glibc_reserved instead __unused.
36070         * rt/aio.h: Likewise.
36071         * sysdeps/gnu/bits/utmp.h: Likewise.
36072         * sysdeps/gnu/bits/utmpx.h: Likewise.
36073         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
36074         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
36075         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
36076         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
36077         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
36078         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
36079         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
36080         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
36081         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
36082         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
36083         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
36084         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
36085         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
36086         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
36087         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
36088         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
36089         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
36090         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
36091         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
36092         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
36093         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
36094         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
36095         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
36096         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
36097         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
36098         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
36099         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
36100         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
36101         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
36102         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
36103         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
36104         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
36105         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
36106         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
36107         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
36108         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
36109         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
36110         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
36111         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
36112         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
36113         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
36114         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
36116 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
36118         [BZ #16245]
36119         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
36120         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
36122 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
36124         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
36125         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
36126         Likewise.
36128 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36130         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
36131         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
36132         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
36133         (__fesetround): Remove define.
36134         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
36135         rounding and exceptions handling.
36136         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
36137         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
36138         (__fe_nomask_env): Likewise.
36139         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
36140         __fegetround instead of fegetround.
36141         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
36142         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
36144 2013-11-21  Roland McGrath  <roland@hack.frob.com>
36146         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
36147         it's there.
36149         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
36151 2013-11-21  Meador Inge  <meadori@codesourcery.com>
36153         [BZ #11157]
36154         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
36155         (encrypt_r): Likewise.
36156         * malloc/obstack.h (obstack_free): Likewise.
36157         * posix/unistd.h (encrypt): Likewise.
36159 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
36161         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
36162         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
36163         DL_CALL_DT_FINI() that call the functions directly.
36164         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
36165         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
36166         * elf/dl-fini.c: Likewise.
36168 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
36170         * malloc/hooks.c (memalign_check): Add alignment rounding.
36171         * malloc/malloc.c (_mid_memalign): New function.
36172         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
36173         Implement by calling _mid_memalign.
36174         * manual/probes.texi (Memory Allocation Probes): Remove
36175         memory_valloc_retry and memory_pvalloc_retry.
36177 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
36179         * locale/programs/locarchive.c (open_archive): Add const
36180         qualifier to ARCHIVEFNAME and copy default fname to
36181         DEFAULT_FNAME.
36183         [BZ #15601]
36184         * libio/tst-widetext.input: Rename Oriya to Odia.
36185         * locale/iso-639.def: Likewise.
36187         * manual/probes.texi (Mathematical Function Probes): Add
36188         documentation for sin, cos, asin and acos probes.
36189         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
36190         (__sin32): Add slowasin probe.
36191         (__cos32): Add slowacos probe.
36192         (__mpsin): Add slowsin probe.
36193         (__mpcos): Add slowcos probe.
36195 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
36197         [BZ #15483]
36198         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
36199         thread-local __sim_exceptions_thread and global
36200         __sim_exceptions_global.
36201         (__sim_disabled_exceptions): Change to thread-local
36202         __sim_disabled_exceptions_thread and global
36203         __sim_disabled_exceptions_global.
36204         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
36205         and global __sim_round_mode_global.
36206         (__simulate_exceptions): Use thread-local floating-point state and
36207         set global state from it as needed.
36208         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
36209         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
36210         __sim_round_mode_thread.
36211         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
36212         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
36213         and global __sim_exceptions_global.
36214         (__sim_disabled_exceptions): Change to thread-local
36215         __sim_disabled_exceptions_thread and global
36216         __sim_disabled_exceptions_global.
36217         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
36218         and global __sim_round_mode_global.
36219         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
36220         (SIM_SET_GLOBAL): Likewise.
36221         * sysdeps/powerpc/soft-fp/sfp-machine.h
36222         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
36223         __sim_round_mode_thread.
36224         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
36225         __sim_disabled_exceptions_thread.
36226         (__sim_exceptions): Change to __sim_exceptions_thread.
36227         (__sim_disabled_exceptions): Change to
36228         __sim_disabled_exceptions_thread.
36229         (__sim_round_mode): Change to __sim_round_mode_thread.
36230         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
36231         thread-local floating-point state and set global state from it as
36232         needed.
36233         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
36234         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
36235         (__sim_disabled_exceptions): Remove extern declaration.
36236         (feenableexcept): Use thread-local floating-point state and set
36237         global state from it as needed.
36238         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
36239         extern declaration.
36240         (__sim_disabled_exceptions): Likewise.
36241         (__sim_round_mode): Likewise.
36242         (__fegetenv): Use thread-local floating-point state.
36243         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
36244         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
36245         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
36246         floating-point state and set global state from it as needed.
36247         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
36248         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
36249         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
36250         Likewise.
36251         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
36252         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
36253         Likewise.
36254         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
36255         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
36256         Use __sim_round_mode_thread.
36257         * math/test-fenv-tls.c: New file.
36258         * math/Makefile (tests): Add test-fenv-tls.
36259         ($(objpfx)test-fenv-tls): Depend on
36260         $(common-objpfx)nptl/libpthread.so.
36262 2013-11-19  Andreas Schwab  <schwab@suse.de>
36264         * locale/programs/locale.c (show_info): Decode wordarray elements.
36265         * locale/categories.def (LC_MONETARY): Add element for
36266         _NL_MONETARY_CRNCYSTR.
36267         * locale/C-monetary.c (conversion_rate): New variable.
36268         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
36269         element.
36271 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
36273         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
36274         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
36276 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
36278         * elf/Makefile (tst-auxv): New test.
36279         * elf/tst-auxv.c: New
36280         * elf/rtld.c (dl_main): Adjust AT_EXECFN
36282 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
36284         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
36285         (hidden_proto): Caller changed.
36286         (hidden_tls_proto): New macro.
36287         (libc_hidden_tls_proto): Likewise.
36288         (rtld_hidden_tls_proto): Likewise.
36289         (libm_hidden_tls_proto): Likewise.
36290         (libresolv_hidden_tls_proto): Likewise.
36291         (librt_hidden_tls_proto): Likewise.
36292         (libdl_hidden_tls_proto): Likewise.
36293         (libnss_files_hidden_tls_proto): Likewise.
36294         (libnsl_hidden_tls_proto): Likewise.
36295         (libnss_nisplus_hidden_tls_proto): Likewise.
36296         (libutil_hidden_tls_proto): Likewise.
36298 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
36300         [BZ #10253]
36301         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
36302         (decompose_rpath): Defer expansion to fillin_rpath.
36303         (_dl_init_paths): Pass linkmap to fillin_rpath.
36305 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
36307         * benchtests/Makefile: Add strsep.
36308         * benchtests/bench-strsep.c: New file: strsep benchtest.
36309         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
36311 2013-11-18  Andreas Schwab  <schwab@suse.de>
36313         * locale/programs/locale.c (show_info) [case byte]: Check for
36314         '\377' instead of '\177'.
36315         * locale/C-monetary.c (not_available): Always use "\377".
36316         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
36317         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
36318         detect unavailable sign_posn locale elements.
36319         * locale/localeconv.c (__localeconv): For grouping and
36320         mon_grouping handle "\177" and "\377" like no grouping.
36321         (INT_ELEM): New macro.  Use it to set all numeric members.
36322         * locale/programs/ld-monetary.c (monetary_read)
36323         <tok_mon_grouping>: Normalize single -1 to the empty string.
36324         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
36325         Likewise.
36327 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
36329         [BZ #16055]
36330         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
36331         when we match (nil).
36332         * stdio-common/tst-sscanf.c (struct test): Add testcase.
36334 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
36336         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
36337         (NO_TEST_INLINE): Update value.
36338         (ERRNO_UNCHANGED): Likewise.
36339         (ERRNO_EDOM): Likewise.
36340         (ERRNO_ERANGE): Likewise.
36341         (IGNORE_RESULT): Likewise.
36342         (check_float_internal): Check signs of NaN results if
36343         TEST_NAN_SIGN used.
36344         (check_complex): Pass TEST_NAN_SIGN flag through to second
36345         check_float_internal call.
36346         (copysign_test_data): Add tests with quiet NaNs as second
36347         argument.  Use TEST_NAN_SIGN.
36348         (fabs_test_data): Add test of negative quiet NaN argument.  Use
36349         TEST_NAN_SIGN.
36350         (signbit_test_data): Add tests of quiet NaN argument.
36351         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
36353         * math/gen-libm-test.pl (show_exceptions): Take extra argument
36354         $ignore_result.
36355         (parse_args): Handle function results specified as IGNORE.
36356         * math/libm-test.inc (IGNORE_RESULT): New macro.
36357         (check_float_internal): Do not check numerical result if flag
36358         IGNORE_RESULT set.
36359         (check_complex): Pass through IGNORE_RESULT to second
36360         check_float_internal call.
36361         (check_int): Do not check numerical result if flag IGNORE_RESULT
36362         set.
36363         (check_long): Likewise.
36364         (check_bool): Likewise.
36365         (check_longlong): Likewise.
36366         (lrint_test_data): Add tests of infinite and NaN arguments.
36367         (lrint_tonearest_test_data): Likewise.
36368         (lrint_towardzero_test_data): Likewise.
36369         (lrint_downward_test_data): Likewise.
36370         (lrint_upward_test_data): Likewise.
36371         (llrint_test_data): Likewise.
36372         (llrint_tonearest_test_data): Likewise.
36373         (llrint_towardzero_test_data): Likewise.
36374         (llrint_downward_test_data): Likewise.
36375         (llrint_upward_test_data): Likewise.
36376         (lround_test_data): Likewise.
36377         (llround_test_data): Likewise.
36379         * math/libm-test.inc (NO_TEST_INLINE): New macro.
36380         (ERRNO_UNCHANGED): Update value.
36381         (ERRNO_EDOM): Likewise.
36382         (ERRNO_ERANGE): Likewise.
36383         (NO_TEST_INLINE_FLOAT): New macro.
36384         (NO_TEST_INLINE_DOUBLE): Likewise.
36385         (enable_test): New function.
36386         (RUN_TEST_f_f): Check enable_test before running test.
36387         (RUN_TEST_2_f): Likewise.
36388         (RUN_TEST_fff_f): Likewise.
36389         (RUN_TEST_c_f): Likewise.
36390         (RUN_TEST_f_f1): Likewise.
36391         (RUN_TEST_fF_f1): Likewise.
36392         (RUN_TEST_fI_f1): Likewise.
36393         (RUN_TEST_ffI_f1): Likewise.
36394         (RUN_TEST_c_c): Likewise.
36395         (RUN_TEST_cc_c): Likewise.
36396         (RUN_TEST_f_i): Likewise.
36397         (RUN_TEST_f_i_tg): Likewise.
36398         (RUN_TEST_ff_i_tg): Likewise.
36399         (RUN_TEST_f_b): Likewise.
36400         (RUN_TEST_f_b_tg): Likewise.
36401         (RUN_TEST_f_l): Likewise.
36402         (RUN_TEST_f_L): Likewise.
36403         (RUN_TEST_fFF_11): Likewise.
36404         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
36405         conditionals.
36406         (cosh_test_data): Likewise.
36407         (exp_test_data): Likewise.
36408         (expm1_test_data): Likewise.
36409         (hypot_test_data): Likewise.
36410         (pow_test_data): Likewise.
36411         (sinh_test_data): Likewise.
36412         (tanh_test_data): Likewise.
36413         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
36414         flags argument.
36416         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
36417         tests with quiet NaN input and output.
36418         (acosh_test_data): Likewise.
36419         (asin_test_data): Likewise.
36420         (asinh_test_data): Likewise.
36421         (atan_test_data): Likewise.
36422         (atanh_test_data): Likewise.
36423         (atan2_test_data): Likewise.
36424         (cbrt_test_data): Likewise.
36425         (cos_test_data): Likewise.
36426         (cosh_test_data): Likewise.
36427         (erf_test_data): Likewise.
36428         (erfc_test_data): Likewise.
36429         (exp_test_data): Likewise.
36430         (exp10_test_data): Likewise.
36431         (exp2_test_data): Likewise.
36432         (expm1_test_data): Likewise.
36433         (hypot_test_data): Likewise.
36434         (j0_test_data): Likewise.
36435         (j1_test_data): Likewise.
36436         (jn_test_data): Likewise.
36437         (lgamma_test_data): Likewise.
36438         (log_test_data): Likewise.
36439         (log10_test_data): Likewise.
36440         (log1p_test_data): Likewise.
36441         (log2_test_data): Likewise.
36442         (pow_test_data): Likewise.
36443         (scalb_test_data): Likewise.
36444         (sin_test_data): Likewise.
36445         (sincos_test_data): Likewise.
36446         (sinh_test_data): Likewise.
36447         (tan_test_data): Likewise.
36448         (tanh_test_data): Likewise.
36449         (tgamma_test_data): Likewise.
36450         (y0_test_data): Likewise.
36451         (y1_test_data): Likewise.
36452         (yn_test_data): Likewise.
36454         [BZ #16167]
36455         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
36456         argument being NaN and avoid computations with second argument in
36457         that case.
36458         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
36459         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
36460         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
36462 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
36464         * locale/iso-639.def: Add Chitwani Tharu (the).
36466 2013-11-14  Andreas Schwab  <schwab@suse.de>
36468         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
36469         word instead of empty string.
36471 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36473         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
36474         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
36475         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
36476         (__fe_nomask_env): Likewise.
36478 2013-11-13  Steve Ellcey  <sellcey@mips.com>
36480         * benchtests/bench-timing.h: Include time.h.
36482 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
36484         [BZ #15997]
36485         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
36486         to 3.4.0 for x32.
36487         * sysdeps/unix/sysv/linux/configure: Regenerated.
36489 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
36491         [BZ #16151]
36492         * stdlib/strtod_l.c (round_and_return): Do not consider
36493         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
36494         exponent one less than half the least subnormal exponent.
36495         * stdlib/test-strtod-round-data: Add more tests.
36496         * stdlib/tst-strtod-round.c (tests): Regenerated.
36498 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36500         [BZ #14143]
36501         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
36502         (__fe_mask_env): Likewise.
36503         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
36504         libm_hidden_proto and add function prototype.
36505         (__fe_mask_env): Add function prototype.
36506         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
36507         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
36508         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
36509         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
36510         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
36511         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
36513 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
36515         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
36516         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
36518 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
36520         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
36521         of htab_find_slot().
36523 2013-11-11  David S. Miller  <davem@davemloft.net>
36525         [BZ #16150]
36526         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
36527         symbol in the non-vis3 case in static builds.
36528         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
36529         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
36530         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
36531         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
36533 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
36535         [BZ #387]
36536         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
36537         it is empty.
36539 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36541         * benchtests/Makefile: Add bench-strtod.
36542         * benchtests/bench-strtod.c: New file: strtod benchtest
36544 2013-11-11  Andreas Schwab  <schwab@suse.de>
36546         [BZ #16153]
36547         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
36548         terminating NUL in key length.
36550 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36552         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
36553         Add artificial ODP entry for vDSO symbol for PPC64.
36554         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
36555         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
36557 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
36559         [BZ #15374]
36560         * nss/getent.c (services_keys): Recognize services starting with digit.
36562 2013-11-06  David S. Miller  <davem@davemloft.net>
36564         [BZ #15985]
36565         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
36566         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
36568 2013-11-06  Will Newton  <will.newton@linaro.org>
36570         * manual/memory.texi (Malloc Examples): Remove register
36571         keyword from examples.
36573 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
36575         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
36577 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
36579         [BZ #6981]
36580         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
36581         depending on [__GCC_IEC_559 > 0].
36582         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
36583         depending on [__GCC_IEC_559_COMPLEX > 0].
36585 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
36587         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
36588         to iso-639.def.
36590 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
36592         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
36594 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
36596         [BZ #16112]
36597         * malloc/malloc (malloc_info): Do not handle first bin as
36598         special case.
36600 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
36602         * locale/iso-639.def: Add Central Nahuatl (nhn).
36604 2013-11-01  Bruno Haible  <bruno@clisp.org>
36606         [BZ #7003]
36607         * manual/math.texi (BSD Random): Specify range upper bound as
36608         in POSIX.
36610 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
36612         * locale/iso-639.def: Add Meadow Mari (mhr).
36614 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
36616         [BZ #14752], [BZ #15763]
36617         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
36618         Validate name.
36619         * rt/tst_shm.c: Add test for escaping directory.
36621 2013-10-31  Andreas Schwab  <schwab@suse.de>
36623         [BZ #15917]
36624         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
36625         followed by 'x' as part of digit sequence.
36626         * stdio-common/tst-sscanf.c (double_tests2): New tests.
36628 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
36630         [BZ #16037]
36631         * configure.ac: allow GNU Make 4.0 and greater.
36632         * configure: Regenerated.
36634 2013-10-30  Will Newton  <will.newton@linaro.org>
36636         [BZ #16038]
36637         * malloc/hooks.c (memalign_check): Limit alignment to the
36638         maximum representable power of two.
36639         * malloc/malloc.c (__libc_memalign): Likewise.
36640         * malloc/tst-memalign.c (do_test): Add test for very
36641         large alignment values.
36642         * malloc/tst-posix_memalign.c (do_test): Likewise.
36644 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
36646         [BZ #11087]
36647         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
36648         (munmap_chunk): Likewise.
36649         (mremap_chunk): Likewise.
36651 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
36653         [BZ #15799]
36654         * stdlib/div.c (div): Remove obsolete code.
36655         * stdlib/ldiv.c (ldiv): Likewise.
36656         * stdlib/lldiv.c (lldiv): Likewise.
36658 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
36660         [BZ #16071]
36661         * nss/nss_files/files-XXX.c (get_contents_ret): New
36662         enumerator.
36663         (get_contents): New function.
36664         (internal_getent): Use it.  Expand size of LINEBUFLEN.
36666 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
36668         * configure.in: Moved to ...
36669         * configure.ac: ... here. Change reference to configure.in
36670         to configure.ac.
36671         * sysdeps/arm/preconfigure.ac: ... here.
36672         configure.in to configure.ac.
36673         * sysdeps/gnu/configure.in: Moved to ...
36674         * sysdeps/gnu/configure.ac: ... here.
36675         * sysdeps/i386/configure.in: Moved to ...
36676         * sysdeps/i386/configure.ac: ... here.
36677         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
36678         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
36679         * sysdeps/mach/configure.in: Moved to ...
36680         * sysdeps/mach/configure.ac: ... here.
36681         * sysdeps/mach/hurd/configure.in: Moved to ...
36682         * sysdeps/mach/hurd/configure.ac: ... here.
36683         * sysdeps/powerpc/configure.in: Moved to ...
36684         * sysdeps/powerpc/configure.ac: ... here.
36685         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
36686         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
36687         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
36688         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
36689         * sysdeps/s390/s390-32/configure.in: Moved to ...
36690         * sysdeps/s390/s390-32/configure.ac: ... here.
36691         * sysdeps/s390/s390-64/configure.in: Moved to ...
36692         * sysdeps/s390/s390-64/configure.ac: ... here.
36693         * sysdeps/sh/configure.in: Moved to ...
36694         * sysdeps/sh/configure.ac: ... here.
36695         * sysdeps/sparc/configure.in: Moved to ...
36696         * sysdeps/sparc/configure.ac: ... here.
36697         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
36698         * sysdeps/unix/sysv/linux/configure.ac: ... here.
36699         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
36700         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
36701         * sysdeps/x86_64/configure.in: Moved to ...
36702         * sysdeps/x86_64/configure.ac: ... here.
36703         * sysdeps/x86_64/preconfigure.in: Moved to ...
36704         * sysdeps/x86_64/preconfigure.ac: ... here.
36705         * aclocal.m4: Change reference to configure.in to configure.ac.
36706         * config.h.in: Likewise.
36707         * manual/install.texi: Likewise.
36708         * manual/maint.texi: Likewise.
36709         * Makefile: Likewise.
36710         * malloc/Makefile: Likewise.
36711         * nscd/Makefile: Likewise.
36712         * Makeconfig: Change reference to configure.in and
36713         preconfigure.in to configure.ac and preconfigure.ac
36714         respectively.
36715         * INSTALL: Regenerated.
36716         * configure: Likewise.
36717         * sysdeps/gnu/configure: Likewise.
36718         * sysdeps/i386/configure: Likewise.
36719         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
36720         * sysdeps/mach/configure: Likewise.
36721         * sysdeps/mach/hurd/configure: Likewise.
36722         * sysdeps/powerpc/configure: Likewise.
36723         * sysdeps/powerpc/powerpc32/configure: Likewise.
36724         * sysdeps/powerpc/powerpc64/configure: Likewise.
36725         * sysdeps/s390/s390-32/configure: Likewise.
36726         * sysdeps/s390/s390-64/configure: Likewise.
36727         * sysdeps/sh/configure: Likewise.
36728         * sysdeps/sparc/configure: Likewise.
36729         * sysdeps/unix/sysv/linux/configure: Likewise.
36730         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
36731         * sysdeps/x86_64/configure: Likewise.
36732         * sysdeps/x86_64/preconfigure: Likewise.
36734 2013-10-29  Andreas Schwab  <schwab@suse.de>
36736         * stdio-common/Makefile (tst-swscanf-ENV): Define.
36738 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
36740         * benchtests/pow-inputs: Add new inputs.
36742         * benchtests/exp-inputs: Add new inputs.
36744         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
36745         conditional check for return value.
36746         (__cos32): Likewise.
36748 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36750         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
36751         to provide a boost for large inputs with word alignment.
36752         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
36753         implementation based on optimized PPC64 strcpy.
36754         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
36755         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
36756         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
36757         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
36759 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
36761         [BZ #2801]
36762         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
36764 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
36766         [BZ #14876]
36767         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
36768         * time/tst-strptime.c (day_tests): Add testcase.
36770 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
36772         [BZ #14029]
36773         * manual/pattern.texi: Acknowledge that fnmatch can fail.
36775 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
36777         [BZ #16074]
36778         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
36779         MAP_FAILED on error.
36781 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
36783         [BZ #16072]
36784         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
36785         heap for large requests.
36787 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
36789         [BZ #9954]
36790         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
36791         result if the result has no associated interface.
36792         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
36793         interface for all 127.X.Y.Z addresses.
36795 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
36797         * locale/iso-639.def: Add Ligurian (lij)
36799 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
36801         [BZ #15825]
36802         * sunrpc/rpc_main.c: Document rpcgen -5.
36804 2013-10-19  Michael Stahl  <mstahl@redhat.com>
36806         * elf/rtld.c (do_preload): Print the reason why preloading failed.
36808 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
36810         [BZ #10278]
36811         * posix/glob.c: Match only directories when trailing slash is present.
36812         * posix/tst-gnuglob.c (my_opendir): Do not open files.
36813         (main): Add testcase.
36815 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
36817         [BZ #15670]
36818         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
36820 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
36822         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
36823         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
36824         AUTH_DES and cindex for FIPS 140-2.
36825         (DES Encryption): Add cindex FIPS 46-3.
36827         * locale/locarchive.h (struct locarhandle): Add fname.
36828         * locale/programs/localedef.c (main): Pass ARGV[remaining]
36829         if an optional argument was specified to --list-archive,
36830         otherwise NULL.
36831         * locale/programs/locarchive.c (show_archive_content): Take new
36832         argument fname and pass it via ah.fname to open_archive.
36833         * locale/programs/localedef.h: Update decl.
36834         (open_archive): If AH->fname is non-null, open that file
36835         rather than the default file name, and don't ignore ENOENT.
36836         (create_archive): Set AH.fname to NULL.
36837         (delete_locales_from_archive): Likewise.
36838         (add_locales_to_archive): Likewise.
36839         * locale/programs/locfile.c (write_all_categories): Likewise.
36841 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
36842             Aldy Hernandez  <aldyh@redhat.com>
36844         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
36845         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
36846         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
36847         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
36848         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
36849         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
36850         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
36851         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
36852         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
36853         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
36854         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
36855         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
36856         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
36857         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
36858         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
36859         Likewise.
36860         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
36861         Likewise.
36862         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
36863         Likewise.
36864         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
36865         Likewise.
36866         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
36867         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
36868         Likewise.
36869         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
36870         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
36871         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
36872         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
36873         Likewise.
36874         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
36875         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
36876         * sysdeps/powerpc/preconfigure: Likewise.
36877         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
36878         Likewise.
36879         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
36880         Replace contents of file by #include of <fenv_libc.h>.
36881         * sysdeps/powerpc/soft-fp/sfp-machine.h
36882         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
36883         and <sys/prctl.h>.
36884         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
36885         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
36886         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
36887         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
36888         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
36889         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
36890         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
36891         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
36892         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
36893         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
36894         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
36895         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
36896         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
36897         Allow copysignl PLT reference to be missing.
36899 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
36900             Joseph Myers  <joseph@codesourcery.com
36902         [BZ #15948]
36903         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
36904         single character.
36905         (add_to_tablewc): Assert sequence of wide characters is nonempty.
36907 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
36909         * elf/tst-tls-dlinfo.c: Don't include tls.h.
36910         * elf/tst-tls1.c: Likewise.
36911         * elf/tst-tls10.h: Likewise.
36912         * elf/tst-tls14.c: Likewise.
36913         * elf/tst-tls2.c: Likewise.
36914         * elf/tst-tls3.c: Likewise.
36915         * elf/tst-tls4.c: Likewise.
36916         * elf/tst-tls5.c: Likewise.
36917         * elf/tst-tls6.c: Likewise.
36918         * elf/tst-tls7.c: Likewise.
36919         * elf/tst-tls8.c: Likewise.
36920         * elf/tst-tls9.c: Likewise.
36921         * elf/tst-tlsmod1.c: Likewise.
36922         * elf/tst-tlsmod13.c: Likewise.
36923         * elf/tst-tlsmod13a.c: Likewise.
36924         * elf/tst-tlsmod14a.c: Likewise.
36925         * elf/tst-tlsmod16a.c: Likewise.
36926         * elf/tst-tlsmod16b.c: Likewise.
36927         * elf/tst-tlsmod2.c: Likewise.
36928         * elf/tst-tlsmod3.c: Likewise.
36929         * elf/tst-tlsmod4.c: Likewise.
36930         * elf/tst-tlsmod5.c: Likewise.
36931         * elf/tst-tlsmod6.c: Likewise.
36933 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
36935         [BZ #12486]
36936         * malloc/malloc.c: remove checks for statistics.
36938 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
36940         [BZ #15277]
36941         * inet/inet_net.c (inet_network): Detect additional invalid strings.
36942         * inet/tst-network.c: Add testcase.
36944 2013-10-17  Andreas Schwab  <schwab@suse.de>
36946         [BZ #15218]
36947         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
36948         to determine canonical name.
36950 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
36952         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
36953         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
36954         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
36955         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
36956         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
36957         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
36958         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
36959         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
36960         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
36961         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
36962         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
36963         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
36964         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
36965         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
36966         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
36967         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
36968         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
36969         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
36970         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
36971         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
36972         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
36973         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
36974         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
36975         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
36976         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
36977         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
36978         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
36979         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
36980         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
36981         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
36982         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
36983         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
36984         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
36985         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
36986         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
36987         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
36988         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
36989         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
36990         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
36991         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
36992         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
36993         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
36994         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
36995         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
36996         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
36997         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
36998         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
36999         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
37000         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
37001         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
37002         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
37003         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
37004         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
37005         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
37006         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
37007         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
37008         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37009         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
37011 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
37013         [BZ #16041]
37014         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
37015         make result into a quiet NaN.
37017 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
37019         * soft-fp/adddf3.c: Fix horizontal whitespace.
37020         * soft-fp/addsf3.c: Likewise.
37021         * soft-fp/addtf3.c: Likewise.
37022         * soft-fp/divdf3.c: Likewise.
37023         * soft-fp/divsf3.c: Likewise.
37024         * soft-fp/divtf3.c: Likewise.
37025         * soft-fp/double.h: Likewise.
37026         * soft-fp/eqdf2.c: Likewise.
37027         * soft-fp/eqsf2.c: Likewise.
37028         * soft-fp/eqtf2.c: Likewise.
37029         * soft-fp/extenddftf2.c: Likewise.
37030         * soft-fp/extended.h: Likewise.
37031         * soft-fp/extendsfdf2.c: Likewise.
37032         * soft-fp/extendsftf2.c: Likewise.
37033         * soft-fp/extendxftf2.c: Likewise.
37034         * soft-fp/fixdfdi.c: Likewise.
37035         * soft-fp/fixdfsi.c: Likewise.
37036         * soft-fp/fixdfti.c: Likewise.
37037         * soft-fp/fixsfdi.c: Likewise.
37038         * soft-fp/fixsfsi.c: Likewise.
37039         * soft-fp/fixsfti.c: Likewise.
37040         * soft-fp/fixtfdi.c: Likewise.
37041         * soft-fp/fixtfsi.c: Likewise.
37042         * soft-fp/fixtfti.c: Likewise.
37043         * soft-fp/fixunsdfdi.c: Likewise.
37044         * soft-fp/fixunsdfsi.c: Likewise.
37045         * soft-fp/fixunsdfti.c: Likewise.
37046         * soft-fp/fixunssfdi.c: Likewise.
37047         * soft-fp/fixunssfsi.c: Likewise.
37048         * soft-fp/fixunssfti.c: Likewise.
37049         * soft-fp/fixunstfdi.c: Likewise.
37050         * soft-fp/fixunstfsi.c: Likewise.
37051         * soft-fp/fixunstfti.c: Likewise.
37052         * soft-fp/floatdidf.c: Likewise.
37053         * soft-fp/floatdisf.c: Likewise.
37054         * soft-fp/floatditf.c: Likewise.
37055         * soft-fp/floatsidf.c: Likewise.
37056         * soft-fp/floatsisf.c: Likewise.
37057         * soft-fp/floatsitf.c: Likewise.
37058         * soft-fp/floattidf.c: Likewise.
37059         * soft-fp/floattisf.c: Likewise.
37060         * soft-fp/floattitf.c: Likewise.
37061         * soft-fp/floatundidf.c: Likewise.
37062         * soft-fp/floatundisf.c: Likewise.
37063         * soft-fp/floatunditf.c: Likewise.
37064         * soft-fp/floatunsidf.c: Likewise.
37065         * soft-fp/floatunsisf.c: Likewise.
37066         * soft-fp/floatunsitf.c: Likewise.
37067         * soft-fp/floatuntidf.c: Likewise.
37068         * soft-fp/floatuntisf.c: Likewise.
37069         * soft-fp/floatuntitf.c: Likewise.
37070         * soft-fp/fmadf4.c: Likewise.
37071         * soft-fp/fmasf4.c: Likewise.
37072         * soft-fp/fmatf4.c: Likewise.
37073         * soft-fp/gedf2.c: Likewise.
37074         * soft-fp/gesf2.c: Likewise.
37075         * soft-fp/getf2.c: Likewise.
37076         * soft-fp/ledf2.c: Likewise.
37077         * soft-fp/lesf2.c: Likewise.
37078         * soft-fp/letf2.c: Likewise.
37079         * soft-fp/muldf3.c: Likewise.
37080         * soft-fp/mulsf3.c: Likewise.
37081         * soft-fp/multf3.c: Likewise.
37082         * soft-fp/negdf2.c: Likewise.
37083         * soft-fp/negsf2.c: Likewise.
37084         * soft-fp/negtf2.c: Likewise.
37085         * soft-fp/op-1.h: Likewise.
37086         * soft-fp/op-2.h: Likewise.
37087         * soft-fp/op-4.h: Likewise.
37088         * soft-fp/op-8.h: Likewise.
37089         * soft-fp/op-common.h: Likewise.
37090         * soft-fp/quad.h: Likewise.
37091         * soft-fp/single.h: Likewise.
37092         * soft-fp/soft-fp.h: Likewise.
37093         * soft-fp/sqrtdf2.c: Likewise.
37094         * soft-fp/sqrtsf2.c: Likewise.
37095         * soft-fp/sqrttf2.c: Likewise.
37096         * soft-fp/subdf3.c: Likewise.
37097         * soft-fp/subsf3.c: Likewise.
37098         * soft-fp/subtf3.c: Likewise.
37099         * soft-fp/truncdfsf2.c: Likewise.
37100         * soft-fp/trunctfdf2.c: Likewise.
37101         * soft-fp/trunctfsf2.c: Likewise.
37102         * soft-fp/trunctfxf2.c: Likewise.
37103         * soft-fp/unorddf2.c: Likewise.
37104         * soft-fp/unordsf2.c: Likewise.
37105         * soft-fp/unordtf2.c: Likewise.
37107 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
37109         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
37110         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
37112 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
37114         * elf/dl-libc.c: Clear initfini list after freeing.
37116 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
37118         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
37119         * soft-fp/addsf3.c: Likewise.
37120         * soft-fp/addtf3.c: Likewise.
37121         * soft-fp/divdf3.c: Likewise.
37122         * soft-fp/divsf3.c: Likewise.
37123         * soft-fp/divtf3.c: Likewise.
37124         * soft-fp/double.h: Likewise.
37125         * soft-fp/eqdf2.c: Likewise.
37126         * soft-fp/eqsf2.c: Likewise.
37127         * soft-fp/eqtf2.c: Likewise.
37128         * soft-fp/extenddftf2.c: Likewise.
37129         * soft-fp/extended.h: Likewise.
37130         * soft-fp/extendsfdf2.c: Likewise.
37131         * soft-fp/extendsftf2.c: Likewise.
37132         * soft-fp/extendxftf2.c: Likewise.
37133         * soft-fp/fixdfdi.c: Likewise.
37134         * soft-fp/fixdfsi.c: Likewise.
37135         * soft-fp/fixdfti.c: Likewise.
37136         * soft-fp/fixsfdi.c: Likewise.
37137         * soft-fp/fixsfsi.c: Likewise.
37138         * soft-fp/fixsfti.c: Likewise.
37139         * soft-fp/fixtfdi.c: Likewise.
37140         * soft-fp/fixtfsi.c: Likewise.
37141         * soft-fp/fixtfti.c: Likewise.
37142         * soft-fp/fixunsdfdi.c: Likewise.
37143         * soft-fp/fixunsdfsi.c: Likewise.
37144         * soft-fp/fixunsdfti.c: Likewise.
37145         * soft-fp/fixunssfdi.c: Likewise.
37146         * soft-fp/fixunssfsi.c: Likewise.
37147         * soft-fp/fixunssfti.c: Likewise.
37148         * soft-fp/fixunstfdi.c: Likewise.
37149         * soft-fp/fixunstfsi.c: Likewise.
37150         * soft-fp/fixunstfti.c: Likewise.
37151         * soft-fp/floatdidf.c: Likewise.
37152         * soft-fp/floatdisf.c: Likewise.
37153         * soft-fp/floatditf.c: Likewise.
37154         * soft-fp/floatsidf.c: Likewise.
37155         * soft-fp/floatsisf.c: Likewise.
37156         * soft-fp/floatsitf.c: Likewise.
37157         * soft-fp/floattidf.c: Likewise.
37158         * soft-fp/floattisf.c: Likewise.
37159         * soft-fp/floattitf.c: Likewise.
37160         * soft-fp/floatundidf.c: Likewise.
37161         * soft-fp/floatundisf.c: Likewise.
37162         * soft-fp/floatunsidf.c: Likewise.
37163         * soft-fp/floatunsisf.c: Likewise.
37164         * soft-fp/floatuntidf.c: Likewise.
37165         * soft-fp/floatuntisf.c: Likewise.
37166         * soft-fp/floatuntitf.c: Likewise.
37167         * soft-fp/fmadf4.c: Likewise.
37168         * soft-fp/fmasf4.c: Likewise.
37169         * soft-fp/fmatf4.c: Likewise.
37170         * soft-fp/gedf2.c: Likewise.
37171         * soft-fp/gesf2.c: Likewise.
37172         * soft-fp/getf2.c: Likewise.
37173         * soft-fp/ledf2.c: Likewise.
37174         * soft-fp/lesf2.c: Likewise.
37175         * soft-fp/letf2.c: Likewise.
37176         * soft-fp/muldf3.c: Likewise.
37177         * soft-fp/mulsf3.c: Likewise.
37178         * soft-fp/multf3.c: Likewise.
37179         * soft-fp/negdf2.c: Likewise.
37180         * soft-fp/negsf2.c: Likewise.
37181         * soft-fp/negtf2.c: Likewise.
37182         * soft-fp/op-1.h: Likewise.
37183         * soft-fp/op-2.h: Likewise.
37184         * soft-fp/op-4.h: Likewise.
37185         * soft-fp/op-8.h: Likewise.
37186         * soft-fp/op-common.h: Likewise.
37187         * soft-fp/quad.h: Likewise.
37188         * soft-fp/single.h: Likewise.
37189         * soft-fp/soft-fp.h: Likewise.
37190         * soft-fp/sqrtdf2.c: Likewise.
37191         * soft-fp/sqrtsf2.c: Likewise.
37192         * soft-fp/sqrttf2.c: Likewise.
37193         * soft-fp/subdf3.c: Likewise.
37194         * soft-fp/subsf3.c: Likewise.
37195         * soft-fp/subtf3.c: Likewise.
37196         * soft-fp/truncdfsf2.c: Likewise.
37197         * soft-fp/trunctfdf2.c: Likewise.
37198         * soft-fp/trunctfsf2.c: Likewise.
37199         * soft-fp/trunctfxf2.c: Likewise.
37200         * soft-fp/unorddf2.c: Likewise.
37201         * soft-fp/unordsf2.c: Likewise.
37202         * soft-fp/unordtf2.c: Likewise.
37204 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
37206         [BZ #15672]
37207         * misc/error.c (error_tail): Fix possible buffer overflow.
37209 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
37211         [BZ #13028]
37212         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
37213         address.
37215 2013-10-14  P. J. McDermott  <pj@pehjota.net>
37217         [BZ #832]
37218         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
37219         testing pipefail option.
37221 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
37223         * soft-fp/double.h: Indent preprocessor directives inside #if.
37224         * soft-fp/extended.h: Likewise.
37225         * soft-fp/op-2.h: Likewise.
37226         * soft-fp/op-4.h: Likewise.
37227         * soft-fp/op-common.h: Likewise.
37228         * soft-fp/quad.h: Likewise.
37229         * soft-fp/single.h: Likewise.
37230         * soft-fp/soft-fp.h: Likewise.
37232 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
37234         * iconv/iconv_prog.c: Fix typos.
37235         * stdio-common/psiginfo-data.h: Likewise.
37237 2013-10-12   Reuben Thomas <rrt@sc3d.org>
37239         [BZ #15764]
37240         * locale/setlocale.c: Fix typo.
37242 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
37244         [BZ #16036]
37245         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
37246         signaling NaN arguments.
37247         * soft-fp/unordsf2.c (__unordsf2): Likewise.
37248         * soft-fp/unordtf2.c (__unordtf2): Likewise.
37250         [BZ #14910]
37251         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
37252         unordered operands.
37253         * soft-fp/gesf2.c (__gesf2): Likewise.
37254         * soft-fp/getf2.c (__getf2): Likewise.
37255         * soft-fp/ledf2.c (__ledf2): Likewise.
37256         * soft-fp/lesf2.c (__lesf2): Likewise.
37257         * soft-fp/letf2.c (__letf2): Likewise.
37259         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
37260         * soft-fp/eqsf2.c (__eqsf2): Likewise.
37261         * soft-fp/eqtf2.c (__eqtf2): Likewise.
37262         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
37263         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
37264         * soft-fp/fixdfti.c (__fixdfti): Likewise.
37265         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
37266         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
37267         * soft-fp/fixsfti.c (__fixsfti): Likewise.
37268         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
37269         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
37270         * soft-fp/fixtfti.c (__fixtfti): Likewise.
37271         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
37272         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
37273         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
37274         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
37275         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
37276         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
37277         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
37278         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
37279         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
37280         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
37281         * soft-fp/floatdisf.c (__floatdisf): Likewise.
37282         * soft-fp/floatsisf.c (__floatsisf): Likewise.
37283         * soft-fp/floattidf.c (__floattidf): Likewise.
37284         * soft-fp/floattisf.c (__floattisf): Likewise.
37285         * soft-fp/floattitf.c (__floattitf): Likewise.
37286         * soft-fp/floatundidf.c (__floatundidf): Likewise.
37287         * soft-fp/floatundisf.c (__floatundisf): Likewise.
37288         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
37289         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
37290         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
37291         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
37292         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
37293         * soft-fp/gesf2.c (__gesf2): Likewise.
37294         * soft-fp/getf2.c (__getf2): Likewise.
37295         * soft-fp/ledf2.c (__ledf2): Likewise.
37296         * soft-fp/lesf2.c (__lesf2): Likewise.
37297         * soft-fp/letf2.c (__letf2): Likewise.
37299         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
37300         Undefine and redefine.
37301         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
37302         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
37303         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
37304         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
37305         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
37306         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
37307         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
37308         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
37309         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
37310         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
37311         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
37312         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
37313         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
37314         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
37315         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
37317         [BZ #16032]
37318         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
37319         without decrementing exponent if mantissa >= that for the
37320         denominator, not >.
37321         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
37322         denominator, not >.  Decrement exponent in < case instead of
37323         incrementing in >= case.
37324         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
37325         without decrementing exponent if mantissa >= that for the
37326         denominator, not >.
37328         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
37329         computing saturated result for unsigned overflow.
37331 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
37332             Jeff Law  <law@redhat.com>
37334         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
37335         (atan2Mp): Add systemtap probe marker.
37336         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
37337         (__ieee754_log): Add systemtap probe marker.
37338         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
37339         (atanMp): Add systemtap probe marker.
37340         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
37341         (tanMp): Add systemtap probe marker.
37342         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
37343         (__slowexp): Add systemtap probe marker.
37344         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
37345         (__slowpow): Add systemtap probe marker.
37346         * manual/probes.texi: Document probes.
37348 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
37350         [BZ #15362]
37351         * libio/fileops.c (_IO_new_file_write): Return count of bytes
37352         written.
37353         (_IO_new_file_xsputn): Don't return EOF if nothing has been
37354         written.
37355         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
37356         written to buffer but not flushed.
37357         * libio/iofwrite_u.c:  Likewise.
37358         * libio/iopadn.c:  Return bytes returned even if EOF was
37359         encountered.
37360         * libio/iowpadn.c:  Likewise.
37361         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
37362         if _IO_padn does not write the whole buffer.
37363         [!COMPILE_WPRINTF] (PAD): Likewise.
37365 2013-10-10  David S. Miller  <davem@davemloft.net>
37367         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
37368         directory block.
37370 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
37372         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
37373         instead of FSF address.
37374         * soft-fp/fixdfti.c: Likewise.
37375         * soft-fp/fixsfti.c: Likewise.
37376         * soft-fp/fixtfti.c: Likewise.
37377         * soft-fp/fixunsdfti.c: Likewise.
37378         * soft-fp/fixunssfti.c: Likewise.
37379         * soft-fp/fixunstfti.c: Likewise.
37380         * soft-fp/floattidf.c: Likewise.
37381         * soft-fp/floattisf.c: Likewise.
37382         * soft-fp/floattitf.c: Likewise.
37383         * soft-fp/floatuntidf.c: Likewise.
37384         * soft-fp/floatuntisf.c: Likewise.
37385         * soft-fp/floatuntitf.c: Likewise.
37386         * soft-fp/trunctfxf2.c: Likewise.
37388         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
37389         * soft-fp/fixdfti.c: Likewise.
37390         * soft-fp/fixsfti.c: Likewise.
37391         * soft-fp/fixtfti.c: Likewise.
37392         * soft-fp/fixunsdfti.c: Likewise.
37393         * soft-fp/fixunssfti.c: Likewise.
37394         * soft-fp/fixunstfti.c: Likewise.
37395         * soft-fp/floattidf.c: Likewise.
37396         * soft-fp/floattisf.c: Likewise.
37397         * soft-fp/floattitf.c: Likewise.
37398         * soft-fp/floatuntidf.c: Likewise.
37399         * soft-fp/floatuntisf.c: Likewise.
37400         * soft-fp/floatuntitf.c: Likewise.
37401         * soft-fp/trunctfxf2.c: Likewise.
37403 2013-10-10  David S. Miller  <davem@davemloft.net>
37405         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37407 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
37409         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
37410         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
37411         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
37412         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
37413         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
37414         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
37415         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
37417         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
37418         for NaNs before doing comparisons on argument.
37419         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
37420         Likewise.
37422 2013-10-10  Will Newton  <will.newton@linaro.org>
37424         * malloc/hooks.c (memalign_check): Ensure the value of bytes
37425         passed to _int_memalign does not overflow.
37427 2013-10-10  Torvald Riegel  <triegel@redhat.com>
37429         * scripts/bench.pl: Add include-sources directive.
37430         * benchtests/README: Update documentation.
37432 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
37434         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
37435         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
37436         instead of FP_INIT_ROUNDMODE.
37437         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
37438         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
37440         [BZ #16034]
37441         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
37442         copy class of input value.
37443         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
37444         not handle exceptions.
37445         * soft-fp/negsf2.c (__negsf2): Likewise.
37446         * soft-fp/negtf2.c (__negtf2): Likewise.
37447         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
37449 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
37451         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
37452         semicolon.  From Linux kernel.
37454 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
37456         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
37458 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
37460         [BZ #156]
37461         * manual/socket.texi: Added statement about buffer
37462         for gethostbyname2_r.
37464 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
37466         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
37467         Use .p2align directive instead, throughout.
37468         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
37469         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
37470         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
37471         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
37472         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
37473         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
37474         * sysdeps/x86_64/strchr.S: Likewise.
37475         * sysdeps/x86_64/strrchr.S: Likewise.
37477 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
37479         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
37481         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
37483         * sysdeps/generic/math_private.h (__mpsin1): Remove
37484         declaration.
37485         (__mpcos1): Likewise.
37486         (__mpsin): New argument __range_reduce.
37487         (__mpcos): Likewise.
37488         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
37489         (slow): Use __mpsin and __mpcos.
37490         (slow1): Likewise.
37491         (slow2): Likewise.
37492         (sloww): Likewise.
37493         (sloww1): Likewise.
37494         (sloww2): Likewise.
37495         (bsloww): Likewise.
37496         (bsloww1): Likewise.
37497         (bsloww2): Likewise.
37498         (cslow2): Likewise.
37499         (csloww): Likewise.
37500         (csloww1): Likewise.
37501         (csloww2): Likewise.
37502         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
37503         range_reduce.  Merge in __mpsin1.
37504         (__mpcos): Likewise.
37505         (__mpsin1): Remove.
37506         (__mpcos1): Likewise.
37508 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
37510         * locale/loadlocale.c (_nl_intern_locale_data): Use
37511         LOCFILE_ALIGNED_P.
37512         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
37513         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
37514         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
37515         obstack data is appropriately aligned.
37516         (obstack_int32_grow_fast): Likewise.
37517         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
37518         * locale/programs/locfile.c (add_locale_uint32): Likewise.
37519         (add_locale_uint32_array): Likewise.
37521 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
37523         * benchtests/Makefile: Remove ARGLIST and RET variables.
37524         ($(objpfx)bench-%.c): Pass only function name to the script.
37525         * benchtests/README: Update documentation.
37526         * benchtests/acos-inputs: Add new directives.
37527         * benchtests/acosh-inputs: Likewise.
37528         * benchtests/asin-inputs: Likewise.
37529         * benchtests/asinh-inputs: Likewise.
37530         * benchtests/atan-inputs: Likewise.
37531         * benchtests/atanh-inputs: Likewise.
37532         * benchtests/cos-inputs: Likewise.
37533         * benchtests/cosh-inputs: Likewise.
37534         * benchtests/exp-inputs: Likewise.
37535         * benchtests/log-inputs: Likewise.
37536         * benchtests/pow-inputs: Likewise.
37537         * benchtests/rint-inputs: Likewise.
37538         * benchtests/sin-inputs: Likewise.
37539         * benchtests/sinh-inputs: Likewise.
37540         * benchtests/tan-inputs: Likewise.
37541         * benchtests/tanh-inputs: Likewise.
37542         * scripts/bench.pl: Add support for new directives.
37544 2013-10-07  Alan Modra  <amodra@gmail.com>
37546         * README: Fix careless merge.
37548 2013-10-05  Alan Modra  <amodra@gmail.com>
37550         * NEWS: Mention powerpc64le support and bugs fixed.
37551         * README: Both big-endian and little-endian powerpc64 supported.
37553 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37555         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
37556         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
37557         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
37558         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
37560 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
37562         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
37563         match prototype.
37565 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
37567         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
37568         Move -mhard-float appending from
37569         ports/sysdeps/powerpc/powerpc32/Makefile.
37570         [$(with-fp) = yes] (ASFLAGS): Likewise.
37571         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
37572         * sysdeps/powerpc/nofpu: Move directory from
37573         ports/sysdeps/powerpc/nofpu.
37574         * sysdeps/powerpc/soft-fp: Move directory from
37575         ports/sysdeps/powerpc/soft-fp.
37576         * sysdeps/powerpc/powerpc32/405: Move directory from
37577         ports/sysdeps/powerpc/powerpc32/405.
37578         * sysdeps/powerpc/powerpc32/440: Move directory from
37579         ports/sysdeps/powerpc/powerpc32/440.
37580         * sysdeps/powerpc/powerpc32/464: Move directory from
37581         ports/sysdeps/powerpc/powerpc32/464.
37582         * sysdeps/powerpc/powerpc32/476: Move directory from
37583         ports/sysdeps/powerpc/powerpc32/476.
37584         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
37585         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
37586         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
37587         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
37588         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
37589         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
37590         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
37591         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
37592         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
37593         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
37594         * README: Update for powerpc-*-linux-gnu software floating point
37595         support in libc.
37597         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
37598         case to powerpc/powerpc32*.
37599         * sysdeps/unix/sysv/linux/configure: Regenerated.
37601         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
37602         (_FPU_MASK_OM): Define as 0x04.
37603         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
37604         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
37605         0x00c10080.
37606         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
37607         0x0000003c.
37608         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
37610         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
37611         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
37612         getcontext_e500.
37613         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
37614         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
37615         setcontext_e500.
37616         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
37617         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
37618         and setcontext_e500.
37620 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
37622         * locale/iso-3166.def: Update iso-1366.def and related occurrences
37624 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
37626         * manual/threads.texi (Default Thread Attributes): Fix typo.
37628 2013-10-04  Will Newton  <will.newton@linaro.org>
37630         * malloc/Makefile: Add tst-memalign.
37631         * malloc/tst-memalign.c: New file.
37633         * malloc/tst-posix_memalign.c: Add comments.
37634         (do_test): Add comments and call free on all potentially
37635         allocated pointers. Add space after cast.
37637         * malloc/tst-pvalloc.c: Add comments.
37638         (do_test): Add comments and call free on all potentially
37639         allocated pointers. Remove duplicate check for NULL pointer.
37640         Add space after cast.
37642         * malloc/tst-valloc.c: Add comments.
37643         (do_test): Add comments and call free on all potentially
37644         allocated pointers. Remove duplicate check for NULL pointer.
37645         Add space after cast.
37647 2013-10-04  Alan Modra  <amodra@gmail.com>
37649         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
37650         Use stdint types in rather than __attribute__((mode())).
37651         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
37653 2013-10-04  Alan Modra  <amodra@gmail.com>
37655         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
37656         Correct handling of unaligned relocs for little-endian.
37657         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
37659 2013-10-04  Alan Modra  <amodra@gmail.com>
37661         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
37662         * configure: Regenerate.
37663         * nptl/shlib-versions: Powerpc*le starts at 2.18.
37664         * shlib-versions: Likewise.
37666 2013-10-04  Alan Modra  <amodra@gmail.com>
37668         * string/tester.c (test_memrchr): Increment reported test cycle.
37670 2013-10-04  Alan Modra  <amodra@gmail.com>
37672         * string/test-memcpy.c (do_one_test): When reporting errors, print
37673         string address and don't overrun end of string.
37675 2013-10-04  Alan Modra  <amodra@gmail.com>
37677         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
37678         insrdi.  Make better use of reg selection to speed exit slightly.
37679         Schedule entry path a little better.  Remove useless "are we done"
37680         checks on entry to main loop.  Handle wrapping around zero address.
37681         Correct main loop count.  Handle single left-over word from main
37682         loop inline rather than by using loop_small.  Remove extra word
37683         case in loop_small caused by wrong loop count.  Add little-endian
37684         support.
37685         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
37686         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
37687         cache hint.
37688         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
37689         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
37690         support.  Avoid rlwimi.
37691         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
37693 2013-10-04  Alan Modra  <amodra@gmail.com>
37695         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
37696         insrdi.  Formatting.
37697         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
37698         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
37699         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
37700         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
37701         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
37702         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
37704 2013-10-04  Alan Modra  <amodra@gmail.com>
37706         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
37707         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
37708         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
37709         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
37710         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
37711         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
37712         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
37713         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
37714         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
37715         use of regs.  Use power7 mtocrf.  Tidy function tails.
37717 2013-10-04  Alan Modra  <amodra@gmail.com>
37719         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
37720         Formatting.  Consistently use rXXX register defines or rN defines.
37721         Use early exit labels that avoid restoring unused non-volatile regs.
37722         Make cr field use more consistent with rWORDn compares.  Rename
37723         regs used as shift registers for unaligned loop, using rN defines
37724         for short lifetime/multiple use regs.
37725         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
37726         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
37727         addi 1,1,64 to pop stack frame.  Simplify return value code.
37728         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
37730 2013-10-04  Alan Modra  <amodra@gmail.com>
37732         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
37733         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
37734         rather than rlwimi.
37735         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
37736         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
37737         little-endian support.  Correct typos.
37738         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
37739         rather than rlwimi.
37740         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
37741         in loop and entry code to keep "and." results.
37742         (strchr): Add little-endian support.  Comment.  Move cntlzd
37743         earlier in tail.
37744         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
37746 2013-10-04  Alan Modra  <amodra@gmail.com>
37748         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
37749         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
37750         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
37751         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
37753 2013-10-04  Alan Modra  <amodra@gmail.com>
37755         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
37756         (rTMP): Define as r11.
37757         (strcmp): Add little-endian support.  Optimise tail.
37758         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
37759         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
37760         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
37761         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
37762         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
37763         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
37764         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
37766 2013-10-04  Alan Modra  <amodra@gmail.com>
37768         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
37769         little-endian support.  Remove unnecessary "are we done" tests.
37770         Handle "s" wrapping around zero and extremely large "size".
37771         Correct main loop count.  Handle single left-over word from main
37772         loop inline rather than by using small_loop.  Correct comments.
37773         Delete "zero" tail, use "end_max" instead.
37774         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
37776 2013-10-04  Alan Modra  <amodra@gmail.com>
37778         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
37779         support.  Don't branch over align.
37780         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
37781         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
37782         support.  Rearrange tmp reg use to suit.  Comment.
37783         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
37785 2013-10-04  Alan Modra  <amodra@gmail.com>
37787         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
37789 2013-10-04  Alan Modra  <amodra@gmail.com>
37791         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
37792         conditional form of branch and link when obtaining pc.
37793         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
37795 2013-10-04  Alan Modra  <amodra@gmail.com>
37797         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
37798         HIWORD/LOWORD.
37799         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
37800         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
37802 2013-10-04  Alan Modra  <amodra@gmail.com>
37804         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
37805         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
37806         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
37807         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
37808         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
37809         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
37810         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
37811         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
37812         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
37813         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
37815 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
37816             Alistair Popple <alistair@ozlabs.au.ibm.com>
37817             Alan Modra <amodra@gmail.com>
37819         [BZ #15723]
37820         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
37821         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
37822         _dl_hwcap access for little-endian.
37823         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
37824         destroy vmx regs when saving unaligned.
37825         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
37826         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
37827         destroy vmx regs when saving unaligned.
37829 2013-10-04  Alan Modra  <amodra@gmail.com>
37831         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
37832         Don't use a union to pack hi/low value.
37834 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
37836         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
37837         for little-endian.
37838         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
37839         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
37840         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
37841         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
37842         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
37844 2013-10-04  Alan Modra  <amodra@gmail.com>
37846         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
37847         constants to usual value for .cst8 section, and remove redundant
37848         high address load.
37849         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
37850         constant for 0x1p52.  Load little-endian words of double from
37851         correct stack offsets.
37853 2013-10-04  Alan Modra  <amodra@gmail.com>
37855         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
37856         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
37857         words of double from correct stack offsets.
37858         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
37859         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
37860         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
37861         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
37862         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
37863         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
37864         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
37865         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
37866         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
37867         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
37868         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
37869         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
37870         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
37871         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
37872         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
37873         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
37874         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
37876 2013-10-04  Alan Modra  <amodra@gmail.com>
37878         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
37879         64-bit int/double union.
37880         (_FPU_SETCW): Likewise.
37881         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
37882         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
37884 2013-10-04  Alan Modra  <amodra@gmail.com>
37886         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
37887         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
37889 2013-10-04  Alan Modra  <amodra@gmail.com>
37891         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
37892         use vector int constants.
37893         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
37895 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
37897         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
37898         array with long long.
37899         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
37900         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
37901         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
37902         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
37903         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
37904         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
37905         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
37906         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
37907         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
37908         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
37909         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
37910         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
37911         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
37913 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
37915         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
37916         (__signbit): Likewise.  Correct for little-endian.
37917         (__signbitl): Call __signbit.
37918         (lrint): Correct for little-endian.
37919         (lrintf): Call lrint.
37921 2013-10-04  Alan Modra  <amodra@gmail.com>
37923         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
37924         union 32-bit int array member with 64-bit int array.
37925         (t515, tm256): Double rather than long double.
37926         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
37928 2013-10-04  Alan Modra  <amodra@gmail.com>
37930         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
37931         Delete.
37932         (IEEE854_LONG_DOUBLE_BIAS): Delete.
37933         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
37934         version of math_ldbl.h.
37936 2013-10-04  Alan Modra  <amodra@gmail.com>
37938         [BZ #15734], [BZ #15735]
37939         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
37940         all uses of ieee875 long double macros and unions.  Simplify test
37941         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
37942         ldbl_extract_mantissa value for ix,iy exponents.  Properly
37943         normalize after ldbl_extract_mantissa, and don't add hidden bit
37944         already handled.  Don't treat low word of ieee854 mantissa like
37945         low word of IBM long double and mask off bit when testing for
37946         zero.
37947         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
37948         all uses of ieee875 long double macros and unions.  Simplify tests
37949         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
37950         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
37951         two1022, instead use their values.  Recognise that tests for large
37952         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
37953         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
37954         Rewrite all uses of ieee875 long double macros and unions.  Simplify
37955         test for 0.0L and nan.  Correct negation.
37956         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
37957         ieee875 long double macros and unions.  Correct output for large
37958         magnitude x.  Correct absolute value calculation.
37959         (__erfcl): Likewise.
37960         * math/libm-test.inc: Add tests for errors discovered in IBM long
37961         double versions of fmodl, remainderl, erfl and erfcl.
37963 2013-10-04  Alan Modra  <amodra@gmail.com>
37965         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
37966         all uses of ieee854 long double macros and unions.  Simplify tests
37967         for long doubles that are fully specified by the high double.
37968         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
37969         Likewise.
37970         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
37971         Remove dead code too.
37972         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
37973         (__ieee754_ynl): Likewise.
37974         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
37975         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
37976         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
37977         Remove dead code too.
37978         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
37979         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
37980         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
37981         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
37982         Simplify.
37983         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
37984         Simplify.
37985         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
37986         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
37987         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
37988         Comment on variable precision.
37989         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
37990         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
37991         Likewise.
37992         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
37993         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
37994         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
37995         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
37996         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
37998 2013-10-04  Alan Modra  <amodra@gmail.com>
38000         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
38001         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
38002         all uses of ieee854 long double macros and unions.
38003         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
38004         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
38005         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
38006         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
38007         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
38008         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
38009         Likewise.
38010         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
38011         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
38012         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
38013         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
38014         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
38015         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
38016         Simplify sign and nan test too.
38017         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
38018         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
38019         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
38020         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
38021         Likewise.
38022         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
38023         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
38024         Likewise.
38025         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
38026         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
38027         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
38028         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
38029         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
38030         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
38032 2013-10-04  Alan Modra  <amodra@gmail.com>
38034         * stdio-common/printf_size.c (__printf_size): Don't use
38035         union ieee854_long_double in fpnum union.
38036         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
38037         signbit macro to retrieve sign from long double.
38038         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
38039         retrieve sign from long double.
38040         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
38041         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
38042         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
38043         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
38044         * math/test-misc.c (main): Don't use union ieee854_long_double.
38046 2013-10-04  Alan Modra  <amodra@gmail.com>
38048         [BZ #15680]
38049         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
38050         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
38051         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
38052         calculation.  Remove unnecessary test for denormal exponent.
38053         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
38054         Correct handling of denormals.  Avoid undefined shift behaviour.
38055         Correct normalisation of low mantissa when low double is denormal.
38056         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
38057         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
38058         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
38059         Correct normalisation of low mantissa.  Test for overflow of high
38060         mantissa and normalise.
38061         (ldbl_nearbyint): Use more readable constant for two52.
38062         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
38063         (__mpn_construct_long_double): Fix test for overflow of high
38064         mantissa and correct normalisation.  Avoid undefined shift.
38066 2013-10-04  Alan Modra  <amodra@gmail.com>
38068         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
38069         (union ibm_extended_long_double): Define as an array of ieee754_double.
38070         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
38071         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
38072         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
38073         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
38074         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
38075         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
38076         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
38077         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
38078         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
38079         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
38080         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
38082 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
38084         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
38085         page size instead of calling getpagesize.
38087         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
38088         (LOCFILE_ALIGN_MASK): Likewise.
38089         (LOCFILE_ALIGN_UP): Likewise.
38090         (LOCFILE_ALIGNED_P): Likewise.
38091         * locale/programs/ld-collate.c (collate_output): Use the new
38092         macros instead of __alignof__ (int32_t).
38093         * locale/weight.h (findidx): Likewise.
38095 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
38097         [BZ #431]
38098         * manual/string.texi: Fix strncat and wcsncat.
38100 2013-10-03  Brooks Moses  <bmoses@google.com>
38102         [BZ #15915]
38103         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
38104         * Makerules: ...here, and adjust associated comments.
38106 2013-10-02  Will Newton  <will.newton@linaro.org>
38108         * malloc/Makefile: Add tst-pvalloc.
38109         * malloc/tst-pvalloc.c: New file.
38111 2013-10-02  Will Newton  <will.newton@linaro.org>
38113         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
38114         improve test coverage.
38116 2013-10-02  Will Newton  <will.newton@linaro.org>
38118         * malloc/Makefile: Add tst-posix_memalign.
38119         * malloc/tst-posix_memalign.c: New file.
38121 2013-10-01  Eric Blake  <eblake@redhat.com>
38123         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
38124         Use __THROWNL rather than __THROW on static functions.
38126 2013-09-30  Petr Machata  <pmachata@redhat.com>
38128         * elf/elf.h (R_AARCH64_ABS16): New macro.
38129         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
38130         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
38131         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
38132         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
38133         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
38134         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
38135         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
38136         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
38137         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
38138         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
38139         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
38140         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
38141         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
38142         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
38143         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
38144         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
38145         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
38146         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
38147         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
38148         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
38149         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
38150         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
38151         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
38152         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
38153         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
38154         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
38155         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
38156         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
38157         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
38158         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
38159         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
38160         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
38161         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
38162         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
38163         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
38164         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
38165         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
38166         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
38167         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
38168         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
38169         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
38170         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
38171         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
38172         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
38173         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
38174         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
38175         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
38176         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
38177         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
38178         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
38179         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
38180         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
38181         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
38182         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
38183         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
38184         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
38185         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
38186         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
38187         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
38188         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
38189         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
38190         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
38191         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
38192         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
38193         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
38194         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
38195         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
38196         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
38197         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
38198         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
38199         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
38200         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
38201         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
38202         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
38203         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
38204         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
38205         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
38206         (R_AARCH64_TLSDESC_LDR): Likewise.
38207         (R_AARCH64_TLSDESC_ADD): Likewise.
38208         (R_AARCH64_TLSDESC_CALL): Likewise.
38210 2013-09-30  Andreas Schwab  <schwab@suse.de>
38212         [BZ #15048]
38213         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
38214         the nss database lookup.
38215         * nscd/initgrcache.c (addinitgroupsX): Likewise.
38216         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
38218 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
38220         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
38222 2013-09-28  P. J. McDermott  <pj@pehjota.net>
38224         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
38225         ${Bash-specific parameter/pattern/string} parameter expansion.
38226         * sysdeps/unix/make-syscalls.sh: Likewise.
38228 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
38230         * sysdeps/sh/stackguard-macros.h: New file.
38232 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
38234         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
38235         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
38236         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
38237         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
38238         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
38239         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
38241 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38243         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
38244         Fix thread ID register.
38246 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
38248         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
38249         [POSIX || UNIX98]: Require rather than permitting all symbols from
38250         <time.h>.
38251         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
38252         element of struct sched_param.
38253         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
38254         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
38255         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
38256         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
38257         constant.
38259 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
38261         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
38262         argument calculation.
38264 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
38266         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
38267         Expect macro.
38268         [POSIX] (pthread_attr_t): Do not require type.
38269         [POSIX] (pthread_cond_t): Likewise.
38270         [POSIX] (pthread_condattr_t): Likewise.
38271         [POSIX] (pthread_key_t): Likewise.
38272         [POSIX] (pthread_mutex_t): Likewise.
38273         [POSIX] (pthread_mutexattr_t): Likewise.
38274         [POSIX] (pthread_once_t): Likewise.
38275         [POSIX] (pthread_t): Likewise.
38276         [POSIX-based standards] (pthread_atfork): Expect function.
38278 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
38279             Richard Sandiford  <richard@codesourcery.com>
38281         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
38282         (swap_endianness_p): New extern variable.
38283         (set_big_endian): New inline function.
38284         (maybe_swap_uint32): Likewise.
38285         (maybe_swap_uint32_array): Likewise.
38286         (maybe_swap_uint32_obstack): Likewise.
38287         * locale/programs/locfile.c: Include <stdbool.h>.
38288         (swap_endianness_p): New variable.
38289         (add_locale_uint32): Call maybe_swap_uint32.
38290         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
38291         (write_locale_data): Call maybe_swap_uint32_array.
38292         * locale/programs/ld-collate.c (obstack_int32_grow): Call
38293         maybe_swap_uint32.
38294         (obstack_int32_grow_fast): Likewise.
38295         (output_weightwc): Call maybe_swap_uint32_obstack.
38296         (collate_output): Likewise.
38297         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
38298         (OPT_LITTLE_ENDIAN): Likewise.
38299         (options): Add --little-endian and --big-endian options.
38300         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
38301         * locale/programs/locarchive.c: Include "locfile.h".
38302         (GET): New macro.
38303         (SET): Likewise.
38304         (INC): Likewise.
38305         (create_archive): Use the new macros to access fields of
38306         structures directly mapped from or written to locale archives.
38307         (oldlocrecentcmp): Likewise.
38308         (enlarge_archive): Likewise.
38309         (insert_name): Likewise.
38310         (add_alias): Likewise.
38311         (add_locale): Likewise.
38312         (delete_locales_from_archive): Likewise.
38313         (show_archive_content): Likewise.
38314         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
38315         locale data.
38317 2013-09-24  Roland McGrath  <roland@hack.frob.com>
38319         * manual/freemanuals.texi: Updated from (newly) canonical copy at
38320         http://www.gnu.org/doc/freemanuals.texi.
38321         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
38323 2013-09-24  Will Newton  <will.newton@linaro.org>
38325         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
38326         macro.
38328 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
38330         * locale/hashval.h (compute_hashval): Interpret bytes of key as
38331         unsigned char.
38333 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
38335         * manual/threads.texi (POSIX Threads): Fix a typo.
38337 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
38339         [BZ #14547]
38340         * string/tst-strcoll-overflow.c: New test case.
38341         * string/Makefile (xtests): Add tst-strcoll-overflow.
38342         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
38343         cache if string sizes may cause integer overflow.
38345         [BZ #14547]
38346         * string/strcoll_l.c (coll_seq): New members rule, idx,
38347         save_idx and back_us.
38348         (get_next_seq_nocache): New function.
38349         (do_compare_nocache): New function.
38350         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
38351         when malloc fails.
38353 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
38355         [BZ #15754]
38356         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
38357         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
38358         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
38360         [BZ #15754]
38361         * elf/Makefile (tests): Add tst-ptrguard1.
38362         (tests-static): Add tst-ptrguard1-static.
38363         (tst-ptrguard1-ARGS): Define.
38364         (tst-ptrguard1-static-ARGS): Define.
38365         * elf/tst-ptrguard1.c: New file.
38366         * elf/tst-ptrguard1-static.c: New file.
38367         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
38368         * sysdeps/i386/stackguard-macros.h: Likewise.
38369         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
38370         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
38371         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
38372         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
38373         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
38374         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
38376 2013-09-23  Hector Marco  <hecmargi@upv.es>
38377             Ismael Ripoll  <iripoll@disca.upv.es>
38378             Carlos O'Donell  <carlos@redhat.com>
38380         [BZ #15754]
38381         * sysdeps/generic/stackguard-macros.h: Define
38382         __pointer_chk_guard_local and POINTER_CHK_GUARD.
38383         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
38384         Define __pointer_chk_guard_local.
38385         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
38386         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
38388 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
38390         [BZ #15859]
38391         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
38393 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
38395         * include/string.h (__ffs): Declare as hidden.
38396         * string/ffs.c (__ffs): Define as hidden.
38397         * sysdeps/i386/ffs.c (__ffs): Likewise.
38398         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
38399         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
38400         * sysdeps/s390/ffs.c (__ffs): Likewise.
38401         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
38403 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
38405         * NEWS: Mention malloc probes.
38407         * malloc/arena.c (new_heap): New memory_heap_new probe.
38408         (grow_heap): New memory_heap_more probe.
38409         (shrink_heap): New memory_heap_less probe.
38410         (heap_trim): New memory_heap_free probe.
38411         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
38412         (systrim): New memory_sbrk_less probe.
38413         * manual/probes.texi: Document them.
38415         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
38416         * manual/probes.texi: Document it.
38418         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
38419         (__libc_realloc): Add memory_realloc_retry probe.
38420         (__libc_memalign): Add memory_memalign_retry probe.
38421         (__libc_valloc): Add memory_valloc_retry probe.
38422         (__libc_pvalloc): Add memory_pvalloc_retry probe.
38423         (__libc_calloc): Add memory_calloc_retry probe.
38424         * manual/probes.texi: Document them.
38426         * malloc/arena.c (get_free_list): Add probe
38427         memory_arena_reuse_free_list.
38428         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
38429         and memory_arena_reuse.
38430         (arena_get2) [!PER_THREAD]: Likewise.
38431         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
38432         memory_arena_reuse_realloc.
38433         * manual/probes.texi: Document them.
38435         * malloc/malloc.c (__libc_free): Add
38436         memory_mallopt_free_dyn_thresholds probe.
38437         (__libc_mallopt): Add multiple memory_mallopt probes.
38438         * manual/probes.texi: Document them.
38440         * malloc/malloc.c: Include stap-probe.h.
38441         (__libc_mallopt): Add memory_mallopt probe.
38442         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
38443         * manual/probes.texi: New.
38444         * manual/Makefile (chapters): Add probes.
38445         * manual/threads.texi: Set next node.
38447 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
38449         [BZ #15963, #13985]
38450         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
38451         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
38452         Add `Chinese' to `nan' entry name.
38454 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
38456         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
38457         (POLYNOMIAL): Likewise.
38458         (TAYLOR_SINCOS): Likewise.
38459         (TAYLOR_SLOW): Likewise.
38460         (__sin): Use TAYLOR_SINCOS.
38461         (__cos): Likewise.
38462         (slow): Use TAYLOR_SLOW.
38463         (sloww): Likewise.
38464         (bsloww): Likewise.
38465         (csloww): Likewise.
38467 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
38469         * stdlib/strtod_l.c: Fix buffer overrun.
38471 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
38473         * benchtests/Makefile (bench): Add sincos.
38474         * benchtests/bench-sincos.c: New file.
38476         * math/libm-test.inc (cos_test_data): New test inputs.
38477         (sin_test_data): Likewise.
38479         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
38480         macro.
38481         (__sin): Use it.
38482         (__cos): Likewise.
38483         (slow1): Likewise.
38484         (slow2): Likewise.
38485         (sloww1): Likewise.
38486         (sloww2): Likewise.
38487         (bsloww1): Likewise.
38488         (bsloww2): Likewise.
38489         (cslow2): Likewise.
38490         (csloww1): Likewise.
38491         (csloww2): Likewise.
38493         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
38494         function.
38495         (__sin): Use it.
38496         (__cos): Likewise.
38498         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
38499         gotos.
38500         (__cos): Likewise.
38502 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
38504         * config.h.in (HAVE_MIPS_NAN2008): New macro.
38505         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
38506         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
38507         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
38508         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
38509         * elf/cache.c (print_entry): Handle the new cache flags.
38511 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
38512             Aldy Hernandez  <aldyh@redhat.com>
38514         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
38515         Change condition to [_SOFT_FLOAT].
38516         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
38517         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
38518         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
38519         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
38520         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
38521         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
38522         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
38523         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
38524         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
38525         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
38526         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
38527         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
38528         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
38529         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
38530         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
38531         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
38532         declaration.
38534 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
38536         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
38537         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
38538         (__longjmp): Use LOAD_GP to load saved GPRs.
38539         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
38540         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
38541         (__sigsetjmp): Use SAVE_GP to save GPRs.
38543         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
38544         Do not append -msoft-float.
38545         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
38547 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
38549         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
38551 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
38553         [BZ #15966]
38554         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
38555         (_FPU_GETCW): Use initial "__" on variable and field names but not
38556         on macro parameter name.
38557         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
38558         parentheses around reference to macro parameter.
38560 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
38562         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
38563         prototype.
38564         (ctype_startup): Use uint32_t in cast and sizeof for
38565         ctype->charnames.
38567 2013-09-11  Jia Liu  <proljc@gmail.com>
38569         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
38570         __daddr_t_defined.
38571         [__FreeBSD__]: Likewise.
38573 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
38575         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
38576         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
38577         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
38578         (strchr): Remove __strchr_sse42 ifunc selection.
38579         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
38580         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
38582 2013-09-11  Will Newton  <will.newton@linaro.org>
38584         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
38585         parameter to RES. Remove hardcoded 1000 value.
38586         * benchtests/bench-skeleton.c (main): Pass RES parameter
38587         to TIMING_INIT and multiply result by 1000.
38589 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38591         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38593 2013-09-11  Andreas Schwab  <schwab@suse.de>
38595         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
38596         if not defined.
38597         (O_TMPFILE) [__USE_GNU]: Define.
38598         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
38599         Define.
38601 2013-09-11  Will Newton  <will.newton@linaro.org>
38603         [BZ #15857]
38604         * malloc/malloc.c (__libc_memalign): Check the value of bytes
38605         does not overflow.
38607 2013-09-11  Will Newton  <will.newton@linaro.org>
38609         [BZ #15856]
38610         * malloc/malloc.c (__libc_valloc): Check the value of bytes
38611         does not overflow.
38613 2013-09-11  Will Newton  <will.newton@linaro.org>
38615         [BZ #15855]
38616         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
38617         does not overflow.
38619 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
38621         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
38622         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
38623         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
38624         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
38625         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
38627 2013-09-10  Allan McRae  <allan@archlinux.org>
38629         [BZ #15748]
38630         * manual/arith.texi (Parsing of Floats): Clarify
38631         cross-reference.
38633         [BZ #15849]
38634         * manual/install.texi (Running make install): Mention
38635         --enable-pt-chown.
38636         * INSTALL: Regenerated.
38638 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
38640         * csu/init-first.c (_init): Remove the !SHARED condition around
38641         FPU control word initialization.
38642         * elf/dl-support.c (_dl_fpu_control): New variable.
38643         (_dl_aux_init) <AT_FPUCW>: Initialize it.
38644         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
38645         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
38646         * math/test-fpucw-static.c: New file.
38647         * math/test-fpucw-ieee.c: New file.
38648         * math/test-fpucw-ieee-static.c: New file.
38649         * math/Makefile (tests): Add `test-fpucw-ieee' and
38650         `$(tests-static)'.
38651         (tests-static): New variable.
38652         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
38653         dependency to...
38654         [($(build-shared),yes)]
38655         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
38656         ... this.
38657         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
38658         New dependency.
38660 2013-09-09  Allan McRae  <allan@archlinux.org>
38662         [BZ #15939]
38663         * manual/string.texi (Collation Functions): Fix typo in
38664         strcoll example.
38665         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
38667         [BZ #15893]
38668         * stdlib/isomac.c (get_null_defines): Fix memory leak.
38670         [BZ #15892]
38671         * libio/memstream.c (open_memstream): Fix memory leak.
38672         * libio/wmemstream.c (open_wmemstream): Likewise.
38674         [BZ #15895]
38675         * nscd/netgroupcache.c: Fix nesting of ifdefs.
38677 2013-09-09  Will Newton  <will.newton@linaro.org>
38679         * malloc/Makefile: Add tst-realloc to tests.
38680         * malloc/tst-realloc.c: New file.
38682 2013-09-09  Allan McRae  <allan@archlinux.org>
38684         [BZ #15844]
38685         * COPYING: Update from GNU website to fix FSF address.
38686         * COPYING.LIB: Likewise.
38688 2013-09-06  David S. Miller  <davem@davemloft.net>
38690         * po/zh_TW.po: Update Chinese (traditional) translation from
38691         translation project.
38693 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
38694             Joseph Myers  <joseph@codesourcery.com>
38696         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
38697         "localeinfo.h".
38698         (obstack_chunk_alloc): New macro.
38699         (obstack_chunk_free): Likewise.
38700         (record_offset): New function.
38701         (init_locale_data): Likewise.
38702         (align_locale_data): Likewise.
38703         (add_locale_empty): Likewise.
38704         (add_locale_raw_data): Likewise.
38705         (add_locale_raw_obstack): Likewise.
38706         (add_locale_string): Likewise.
38707         (add_locale_wstring): Likewise.
38708         (add_locale_uint32): Likewise.
38709         (add_locale_uint32_array): Likewise.
38710         (add_locale_char): Likewise.
38711         (start_locale_structure): Likewise.
38712         (end_locale_structure): Likewise.
38713         (start_locale_prelude): Likewise.
38714         (end_locale_prelude): Likewise.
38715         (write_locale_data): Take locale_file structure rather than an
38716         iovec.
38717         * locale/programs/locfile.h: Include "obstack.h".
38718         (struct locale_file): Change to store locale file contents instead
38719         of header.
38720         (init_locale_data): New prototype.
38721         (align_locale_data): Likewise.
38722         (add_locale_empty): Likewise.
38723         (add_locale_raw_data): Likewise.
38724         (add_locale_raw_obstack): Likewise.
38725         (add_locale_string): Likewise.
38726         (add_locale_wstring): Likewise.
38727         (add_locale_uint32): Likewise.
38728         (add_locale_uint32_array): Likewise.
38729         (add_locale_char): Likewise.
38730         (start_locale_structure): Likewise.
38731         (end_locale_structure): Likewise.
38732         (start_locale_prelude): Likewise.
38733         (end_locale_prelude): Likewise.
38734         (write_locale_data): Update prototype.
38735         * locale/programs/3level.h (struct TABLE): Remove result field.
38736         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
38737         Use new locale_file interface.
38738         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
38739         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
38740         * locale/programs/ld-address.c (address_output): Use new
38741         locale_file interface.
38742         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
38743         NO_ADD_LOCALE.
38744         (collate_finish): Don't call collseq_table_finalize.
38745         (collate_output): Use new locale_file interface.
38746         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
38747         in file.
38748         (NO_FINALIZE): Change to NO_ADD_LOCALE.
38749         (TABLE): Move defines earlier in file.
38750         (ELEMENT): Likewise.
38751         (DEFAULT): Likewise.
38752         (wctrans_table_add): Move macro and inline function earlier in
38753         file.
38754         (struct wctype_table): Move type earlier in file.
38755         (add_locale_wctype_table): New static prototype.
38756         (struct locale_ctype_t): Use logical types instead of struct iovec
38757         pointers for members.
38758         (ctype_output): Use new locale_file interface.
38759         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
38760         new locale_file interface.
38761         (allocate_arrays): Update for use of new locale_file interface.
38762         * locale/programs/ld-identification.c (identification_output): Use
38763         new locale_file interface.
38764         * locale/programs/ld-measurement.c (measurement_output): Likewise.
38765         * locale/programs/ld-messages.c (messages_output): Likewise.
38766         * locale/programs/ld-monetary.c (monetary_output): Likewise.
38767         * locale/programs/ld-name.c (name_output): Likewise.
38768         * locale/programs/ld-numeric.c (numeric_output): Likewise.
38769         * locale/programs/ld-paper.c (paper_output): Likewise.
38770         * locale/programs/ld-telephone.c (telephone_output): Likewise.
38771         * locale/programs/ld-time.c (time_output): Likewise.
38773 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38775         * benchtests/Makefile: Add memrchr benchmark.
38776         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
38777         benchmark as memrchr.
38778         * benchtests/bench-memrchr-ifunc.c: New file.
38779         * benchtests/bench-memrchr.c: New file.
38781 2013-09-06   Will Newton  <will.newton@linaro.org>
38783         * benchtests/Makefile (string-bench): Add memcpy.
38785 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
38786             Cong Wang  <amwang@redhat.com>
38788         [BZ #15850]
38789         * sysdeps/unix/sysv/linux/bits/in.h
38790         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
38791         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
38792         before __USE_KERNEL_IPV6_DEFS uses.
38793         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
38794         IPPROTO_BEETPH.
38795         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
38796         sockaddr_in6, or ipv6_mreq.
38798 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38800         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
38801         memory access for final bytes in some large inputs.
38802         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
38804 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38806         * string/test-memrchr.c: New file.
38807         * string/test-memrchr-ifunc.c: New file.
38808         * string/Makefile: Add new memrchr testcase.
38810 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
38812         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
38813         fanotify_init returns EPERM.
38815 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
38817         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
38818         errors.
38819         (top level): Treat second token from macro or constant entries for
38820         allowed headers as allowed.
38821         * include/complex.h: Condition internal declarations on
38822         [!_ISOMAC].
38823         * include/fenv.h: Condition include of <stdbool.h> and internal
38824         declarations on [!_ISOMAC].
38826 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
38828         [BZ #15923]
38829         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
38831 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
38833         * configure.in (--enable-versioning): Remove configure option.
38834         (libc_cv_asm_symver_directive): Remove configure test.
38835         (libc_cv_ld_version_script_option): Likewise.
38836         (VERSIONING): Remove variable and AC_SUBST.
38837         (DO_VERSIONING): Remove AC_DEFINE.
38838         * configure: Regenerated.
38839         * config.h.in (DO_VERSIONING): Remove macro.
38840         * Makerules [$(versioning) = yes]: Change conditionals to
38841         [$(build-shared) = yes].
38842         * config.make.in (versioning): Remove variable.
38843         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
38844         [$(build-shared) = yes].
38845         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
38846         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
38847         * elf/Makefile [$(versioning) = yes]: Change conditionals to
38848         [$(build-shared) = yes].
38849         * extra-lib.mk [$(versioning) = yes]: Likewise.
38850         * hurd/Makefile [$(versioning) = yes]: Likewise.
38851         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
38852         [SHARED].
38853         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
38854         [SHARED].
38855         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
38856         [SHARED && !NO_HIDDEN].
38857         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
38858         [SHARED].
38859         [SHARED && DO_VERSIONING]: Likewise..
38860         * libio/Makefile [$(versioning) = yes]: Change conditionals to
38861         [$(build-shared) = yes].
38862         * manual/install.texi (--disable-versioning): Remove
38863         documentation.
38864         * INSTALL: Regenerated.
38865         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
38866         to [SHARED].
38867         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
38868         [$(build-shared) = yes].
38869         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
38870         * sysdeps/i386/i686/multiarch/strstr-c.c
38871         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
38872         [SHARED && !NO_HIDDEN].
38873         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
38874         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
38875         * sysdeps/powerpc/powerpc32/dl-machine.c
38876         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
38877         * sysdeps/powerpc/powerpc32/sysdep.h
38878         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
38879         to [SHARED && PIC && !NO_HIDDEN].
38880         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
38881         conditional to [SHARED].
38883 2013-09-04   Will Newton  <will.newton@linaro.org>
38885         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
38886         * benchtests/bench-string.h: Include bench-timing.h instead
38887         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
38888         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
38889         call to HP_TIMING_DIFF_INIT.
38890         * benchtests/bench-memccpy.c: Use bench-timing.h macros
38891         instead of hp-timing.h macros.
38892         * benchtests/bench-memchr.c: Likewise.
38893         * benchtests/bench-memcmp.c: Likewise.
38894         * benchtests/bench-memcpy.c: Likewise.
38895         * benchtests/bench-memmem.c: Likewise.
38896         * benchtests/bench-memmove.c: Likewise.
38897         * benchtests/bench-memset.c: Likewise.
38898         * benchtests/bench-rawmemchr.c: Likewise.
38899         * benchtests/bench-strcasecmp.c: Likewise.
38900         * benchtests/bench-strcasestr.c: Likewise.
38901         * benchtests/bench-strcat.c: Likewise.
38902         * benchtests/bench-strchr.c: Likewise.
38903         * benchtests/bench-strcmp.c: Likewise.
38904         * benchtests/bench-strcpy.c: Likewise.
38905         * benchtests/bench-strcpy_chk.c: Likewise.
38906         * benchtests/bench-strlen.c: Likewise.
38907         * benchtests/bench-strncasecmp.c: Likewise.
38908         * benchtests/bench-strncat.c: Likewise.
38909         * benchtests/bench-strncmp.c: Likewise.
38910         * benchtests/bench-strncpy.c: Likewise.
38911         * benchtests/bench-strnlen.c: Likewise.
38912         * benchtests/bench-strpbrk.c: Likewise.
38913         * benchtests/bench-strrchr.c: Likewise.
38914         * benchtests/bench-strspn.c: Likewise.
38915         * benchtests/bench-strstr.c: Likewise.
38917 2013-09-04  Will Newton  <will.newton@linaro.org>
38919         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
38921 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
38923         [BZ #15427]
38924         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
38925         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
38926         * math/libm-test.inc (lgamma_test_data): Add more tests.
38927         * sysdeps/i386/fpu/libm-test-ulps: Update.
38928         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38930 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
38932         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
38933         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
38934         Add ifunc.
38935         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
38936         Add strcmp-sse2-unaligned
38937         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
38939 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
38941         * Versions.def (libc): Add GLIBC_2.19.
38943 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
38945         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
38946         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
38948 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
38950         [BZ #14155]
38951         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
38952         intermediate calculations in recurrence.
38953         (__ieee754_ynf): Likewise.
38954         * math/libm-test.inc (jn_test_data): Do not allow spurious
38955         underflow exception.  Add more tests.
38956         (yn_test_data): Add more tests.
38957         * sysdeps/i386/fpu/libm-test-ulps: Update.
38958         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38960 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
38962         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
38964 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
38966         * csu/init-first.c: Fix then/than typos.
38967         * locale/programs/ld-collate.c: Likewise.
38968         * locale/programs/linereader.h: Likewise.
38969         * manual/charset.texi: Likewise.
38970         * manual/filesys.texi: Likewise.
38971         * manual/stdio.texi: Likewise.
38972         * manual/string.texi: Likewise.
38973         * stdlib/fmtmsg.c: Likewise.
38974         * sysdeps/i386/stpncpy.S: Likewise.
38975         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
38976         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
38977         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
38978         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
38980 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
38982         * elf/dl-open.c: Fix typos.
38983         * iconvdata/gbbig5.c: Likewise.
38984         * iconvdata/iso-2022-jp.c: Likewise.
38985         * iconv/gconv_int.h: Likewise.
38986         * iconv/loop.c: Likewise.
38987         * nis/rpcsvc/nis.h: Likewise.
38988         * resolv/ns_name.c: Likewise.
38989         * stdio-common/vfscanf.c: Likewise.
38990         * streams/stropts.h: Likewise.
38991         * sunrpc/rpc_thread.c: Likewise.
38992         * sysdeps/i386/strpbrk.S: Likewise.
38993         * sysdeps/ieee754/k_standard.c: Likewise.
38994         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
38995         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
38996         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
38997         * sysdeps/mach/hurd/profil.c: Likewise.
38998         * sysdeps/s390/dl-procinfo.h: Likewise.
38999         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
39000         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
39001         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
39002         * sysdeps/x86_64/dl-trampoline.S: Likewise.
39003         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
39005 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
39007         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
39008         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
39010 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
39012         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
39013         aix specific files.
39014         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
39015         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
39016         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
39017         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
39018         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
39019         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
39020         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
39021         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
39023 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
39024             Roland McGrath  <roland@hack.frob.com>
39026         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
39027         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
39029 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
39031         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
39032         __executable_start symbol instead of _start.
39034 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
39036         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
39037         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
39038         Move macros to...
39039         * sysdeps/gnu/ldsodefs.h: ... this new file.
39041         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
39042         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
39043         instead of ELFOSABI_LINUX.
39045         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
39046         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
39047         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
39048         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
39049         Likewise.
39050         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
39051         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
39052         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
39053         Likewise.
39054         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
39055         (ibm_extended_long_double): Add ieee_nan member.
39056         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
39057         (do_test): New function.
39059         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
39060         TEST_TRUNC.
39061         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
39062         functions, renamed from truncdfsf_test, trunctfsf_test,
39063         trunctfdf_test.
39064         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
39065         functions.
39066         (do_test): Run all these.
39068 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
39070         * argp/argp-help.c: Fix typos.
39071         * argp/argp-parse.c: Likewise.
39072         * debug/backtracesyms.c: Likewise.
39073         * elf/elf.h: Likewise.
39074         * malloc/malloc.c: Likewise.
39075         * nis/nis_print.c: Likewise.
39076         * resolv/res_comp.c: Likewise.
39077         * stdlib/stdlib.h: Likewise.
39078         * sunrpc/clnt_tcp.c: Likewise.
39079         * sunrpc/clnt_udp.c: Likewise.
39080         * sunrpc/clnt_unix.c: Likewise.
39081         * sysdeps/unix/bsd/ptsname.c: Likewise.
39082         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
39083         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
39084         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
39085         Likewise.
39086         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
39087         Likewise.
39088         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
39089         Likewise.
39090         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
39092 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
39094         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
39095         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
39097 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
39099         [BZ #15897]
39100         * dlfcn/Makefile (tests): Add bug-dl-leaf.
39101         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
39102         ($(objpfx)bug-dl-leaf): New rule.
39103         ($(objpfx)bug-dl-leaf.so): Likewise.
39104         ($(objpfx)bug-dl-leaf.out): Likewise.
39105         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
39106         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
39107         * dlfcn/bug-dl-leaf.c: New test.
39108         * dlfcn/bug-dl-leaf-lib.c: Likewise.
39109         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
39110         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
39111         (dlclose): Likewise.
39112         (dlmopen): Likewise.
39114 2013-08-27  Roland McGrath  <roland@hack.frob.com>
39116         * include/netdb.h [!_ISOMAC]:
39117         Don't include <tls.h>.
39118         (h_errno, __libc_h_errno): Move declaration and macros out of
39119         [_LIBC_REENTRANT].
39121         * include/resolv.h [_RESOLV_H_]:
39122         Don't include <tls.h>.
39123         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
39124         * resolv/res_libc.c: Don't include <tls.h>.
39125         (_res): Use __attribute__ ((nocommon)) in place of
39126         __attribute__ ((section (".bss"))).
39128         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
39129         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
39131         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
39133         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
39134         only under [SIOCGIFCONF && SIOCGIFNETMASK].
39136         * resolv/res_mkquery.c: Include <sys/time.h>.
39138         * inet/ifreq.c: Moved to ...
39139         * sysdeps/unix/ifreq.c: ... here.
39140         * inet/ifreq.c: New file, true stub version.
39142         * socket/sa_len.c: New file.
39143         * socket/Makefile (aux): Add it.
39144         * sysdeps/unix/sysv/linux/Makefile
39145         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
39146         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
39147         and #include <socket/sa_len.c>.
39148         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
39149         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
39151         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
39152         * bits/socket.h: ... here.
39154         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
39155         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
39156         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
39158 2013-08-27  Andreas Schwab  <schwab@suse.de>
39160         [BZ #15736]
39161         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
39162         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
39163         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
39164         * string/test-strcasecmp.c (test_main): Run tests in several
39165         locales.
39166         * string/test-strncasecmp.c (test_main): Likewise.
39168         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
39169         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
39170         to __strcasecmp_nonascii and __strncasecmp_nonascii.
39171         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
39172         (__strncasecmp_ssse3) [PIC]: Likewise.
39174 2013-08-26  Roland McGrath  <roland@hack.frob.com>
39176         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
39178         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
39179         instead of explicitly declaring xdecrypt.
39180         * nis/nss_nis/nis-publickey.c: Likewise.
39182 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
39184         [BZ #15890]
39185         * nscd/aicache.c: Include res_hconf.h.
39186         (addhstaiX): Initialize res_hconf.
39188 2013-08-26  Andreas Schwab  <schwab@suse.de>
39190         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
39191         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
39193 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
39195         * nscd/aicache.c (addhstaiX): Fix indentation.
39197 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
39199         * configure.ac: Quote $build_pt_chown test.
39200         * configure: Regenerated.
39202 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
39204         [BZ #15532]
39205         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
39206         * math/s_cexpf.c (__cexpf): Likewise.
39207         * math/s_cexpl.c (__cexpl): Likewise.
39208         * math/libm-test.inc (cexp_test_data): Correct expected return
39209         value for NaN + i0.  Add another test.
39211 2013-08-22  David S. Miller  <davem@davemloft.net>
39213         * po/ca.po: Update Catalan translation from translation project.
39214         * po/uk.po: Add Ukrainian translations from translation project.
39216 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
39218         [BZ #15797]
39219         * math/s_fdim.c (__fdim): Check for infinite arguments if result
39220         is infinite, not alongside NaN test.
39221         * math/s_fdimf.c (__fdimf): Likewise.
39222         * math/s_fdiml.c (__fdiml): Likewise.
39223         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
39224         errno is unchanged.
39226 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
39228         * argp/argp-help.c: Fix typos.
39229         * crypt/speeds.c: Likewise.
39230         * csu/check_fds.c: Likewise.
39231         * elf/dl-load.c: Likewise.
39232         * elf/dl-open.c: Likewise.
39233         * elf/reldep3.c: Likewise.
39234         * elf/reldep.c: Likewise.
39235         * elf/sprof.c: Likewise.
39236         * iconv/iconv_charmap.c: Likewise.
39237         * iconv/skeleton.c: Likewise.
39238         * iconv/strtab.c: Likewise.
39239         * io/lockf64.c: Likewise.
39240         * libio/libioP.h: Likewise.
39241         * resolv/gai_notify.c: Likewise.
39242         * resolv/ns_name.c: Likewise.
39243         * resolv/ns_samedomain.c: Likewise.
39244         * resolv/res_send.c: Likewise.
39245         * stdlib/random.c: Likewise.
39246         * sunrpc/rpc/xdr.h: Likewise.
39247         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
39248         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
39249         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
39250         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
39251         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
39252         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
39253         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
39254         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
39255         * sysdeps/mach/hurd/check_fds.c: Likewise.
39256         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
39257         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
39258         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
39259         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
39260         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
39261         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
39262         * sysdeps/pthread/aio_notify.c: Likewise.
39263         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
39264         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
39265         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
39266         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
39267         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
39269 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
39271         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
39272         version if bit_Slow_SSE4_2 is set.
39273         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
39274         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
39276 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39278         [BZ #15867]
39279         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
39280         trampoline stack frame information.
39281         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
39282         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
39283         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
39284         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
39285         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
39286         * sysdeps/unix/sysv/linux/powerpc/init-first.c
39287         (_libc_vdso_platform_setup): Initialize the signal trampolines.
39288         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
39289         sa_flags value.
39290         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
39291         interrupting a syscall and set with option SA_SIGINFO.
39293 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
39295         [BZ #15531]
39296         * math/s_cproj.c (__cproj): Only return an infinity if one part of
39297         argument is infinite.
39298         * math/s_cprojf.c (__cprojf): Likewise.
39299         * math/s_cprojl.c (__cprojl): Likewise.
39300         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
39301         * math/libm-test.inc (cproj_test_data): Add more tests.
39303         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
39305         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
39306         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
39307         size.  Use __ffs to determine corresponding shift.
39309 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
39310             Roland McGrath  <roland@hack.frob.com>
39312         * Makefile (INSTALL): Remove trailing blank lines from output of
39313         makeinfo.
39315 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
39317         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
39318         Align 32 bit compat elf_greg to 8 bytes.
39320 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
39322         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
39324 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
39326         * string/strcoll_l.c (coll_seq): New structure.
39327         (get_next_seq_cached): New function.
39328         (get_next_seq): New function.
39329         (do_compare): New function.
39330         (STRCOLL): Use GNU style definition.  Simplify implementation
39331         by using get_next_seq, get_next_seq_cached and do_compare.
39333 2013-08-16  Florian Weimer  <fweimer@redhat.com>
39335         [BZ #14699]
39336         CVE-2013-4237
39337         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
39338         member.
39339         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
39340         member.
39341         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
39342         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
39343         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
39344         conditional.
39345         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
39346         GETDENTS_64BIT_ALIGNED.
39347         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
39348         * manual/filesys.texi (Reading/Closing Directory): Document
39349         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
39350         strongly.
39351         * manual/conf.texi (Limits for Files): Add portability note to
39352         NAME_MAX, PATH_MAX.
39353         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
39355 2013-08-13  Andreas Schwab  <schwab@suse.de>
39357         [BZ #15749]
39358         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
39359         of fabs.
39360         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
39361         LDBL_MAX_EXP >= 16384]: Add tests for it.
39363 2013-08-12  David S. Miller  <davem@davemloft.net>
39365         * version.h (RELEASE): Set to "development".
39366         (VERSION): Set to "2.18.90".
39367         * NEWS: Add 2.19 section.
39369 2013-08-03  David S. Miller  <davem@davemloft.net>
39371         * po/ko.po: Update Korean translation from translation project.
39373 2013-08-01  David S. Miller  <davem@davemloft.net>
39375         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
39376         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
39377         Bilka.
39379 2013-07-30  David S. Miller  <davem@davemloft.net>
39381         * po/fr.po: Update French translation from translation project.
39383 2013-07-28  David S. Miller  <davem@davemloft.net>
39385         * po/cs.po: Update Czech translation from translation project.
39387         * po/sv.po: Update Swedish translation from translation project.
39389 2013-07-27  David S. Miller  <davem@davemloft.net>
39391         * po/eo.po: Update Esperanto translation from translation project.
39393         * po/vi.po: Update Vietnamese translation from translation project.
39395         * po/de.po: Update German translation from translation project.
39397 2013-07-26  David S. Miller  <davem@davemloft.net>
39399         * po/bg.po: Update Bulgarian translation from translation project.
39401         * po/nl.po: Update Dutch translation from translation project.
39402         * po/pl.po: Update Polish translation from translation project.
39403         * po/ru.po: Update Russian translation from translation project.
39405 2013-07-24  David S. Miller  <davem@davemloft.net>
39407         * po/libc.pot: Update.
39409 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39411         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
39412         variable page size.
39413         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
39414         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
39415         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
39417 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
39419         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
39421 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
39422             Andreas Schwab  <schwab@suse.de>
39423             Roland McGrath  <roland@hack.frob.com>
39424             Joseph Myers  <joseph@codesourcery.com>
39425             Carlos O'Donell  <carlos@redhat.com>
39427         [BZ #15755]
39428         * config.h.in: Define HAVE_PT_CHOWN.
39429         * config.make.in (build-pt-chown): New variable.
39430         * configure.in (--enable-pt_chown): New configure option.
39431         * configure: Regenerate.
39432         * login/Makefile: Include Makeconfig.  Build pt_chown only if
39433         build-pt-chown is enabled.
39434         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
39435         pt_chown to fix pty ownership.
39436         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
39437         CLOSE_ALL_FDS.
39438         * manual/install.texi (Configuring and compiling): Mention
39439         --enable-pt_chown. Add @findex for grantpt.
39440         * INSTALL: Regenerate.
39442 2013-07-20  David S. Miller  <davem@davemloft.net>
39444         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
39445         difference between 32-bit and 64-bit.
39447 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
39449         [BZ #15711]
39450         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
39451         Avoid system header dependency with -ffreestanding.
39452         ($(objpfx)bits/syscall%d): Likewise.
39454 2013-07-13  David S. Miller  <davem@davemloft.net>
39456         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
39457         underflows from atanl/atan2l due to bug 15319.
39458         (casinh_test_data): Likewise.
39460 2013-07-07  David S. Miller  <davem@davemloft.net>
39462         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
39464 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
39466         * sysdeps/i386/fpu/libm-test-ulps: Update.
39467         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39469 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
39471         * configure.in (--enable-lock-elision): Fix message text.
39472         * INSTALL: Regenerate.
39473         * configure: Regenerate.
39475 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39477         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39479 2013-07-03  Andreas Jaeger  <aj@suse.de>
39481         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
39482         define.
39483         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
39484         (ptrace_peeksiginfo_args): Add.
39485         (__ptrace_peeksiginfo_flags): Add.
39486         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
39487         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
39488         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
39490 2013-07-03  Allan McRae  <allan@archlinux.org>
39492         * sysdeps/i386/fpu/libm-test-ulps: Update.
39494 2013-07-02  David S. Miller  <davem@davemloft.net>
39496         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39498 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
39500         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39502 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
39504         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
39505         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39507 2013-07-02  Andi Kleen <ak@linux.intel.com>
39509         * config.h.in (ENABLE_LOCK_ELISION): Add.
39510         * configure.in (--enable-lock-elision): Add option.
39511         * manual/install.texi: Document --enable lock elision.
39512         * configure: Regenerate
39513         * INSTALL: Regenerate.
39515 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
39517         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
39518         SSE4.2 strcasecmp for libc.a.
39519         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
39521 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
39523         [BZ #13304]
39524         * soft-fp/op-common.h (_FP_FMA): New macro.
39525         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
39526         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
39527         (_FP_MUL_MEAT_1_imm): ... here.
39528         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
39529         (_FP_MUL_MEAT_1_wide): ... here.
39530         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
39531         (_FP_MUL_MEAT_1_hard): ... here.
39532         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
39533         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
39534         (_FP_MUL_MEAT_2_wide): ... here.
39535         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
39536         (_FP_MUL_MEAT_2_wide_3mul): ... here.
39537         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
39538         (_FP_MUL_MEAT_2_gmp): ... here.
39539         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
39540         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
39541         (_FP_MUL_MEAT_4_wide): ... here.
39542         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
39543         (_FP_MUL_MEAT_4_gmp): ... here.
39544         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
39545         (_FP_WFRACBITS_DW_S): Likewise.
39546         (_FP_WFRACXBITS_DW_S): Likewise.
39547         (_FP_HIGHBIT_DW_S): Likewise.
39548         (FP_FMA_S): Likewise.
39549         (_FP_FRAC_HIGH_DW_S): Likewise.
39550         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
39551         (_FP_WFRACBITS_DW_D): Likewise.
39552         (_FP_WFRACXBITS_DW_D): Likewise.
39553         (_FP_HIGHBIT_DW_D): Likewise.
39554         (FP_FMA_D): Likewise.
39555         (_FP_FRAC_HIGH_DW_D): Likewise.
39556         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
39557         (_FP_WFRACBITS_DW_E): Likewise.
39558         (_FP_WFRACXBITS_DW_E): Likewise.
39559         (_FP_HIGHBIT_DW_E): Likewise.
39560         (FP_FMA_E): Likewise.
39561         (_FP_FRAC_HIGH_DW_E): Likewise.
39562         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
39563         (_FP_WFRACBITS_DW_Q): Likewise.
39564         (_FP_WFRACXBITS_DW_Q): Likewise.
39565         (_FP_HIGHBIT_DW_Q): Likewise.
39566         (FP_FMA_Q): Likewise.
39567         (_FP_FRAC_HIGH_DW_Q): Likewise.
39568         * soft-fp/fmasf4.c: New file.
39569         * soft-fp/fmadf4.c: Likewise.
39570         * soft-fp/fmatf4.c: Likewise.
39572 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
39574         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
39575         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
39576         Silvermont.
39577         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
39578         macro.
39579         (index_Slow_SSE4_2): Likewise.
39580         (index_Prefer_PMINUB_for_stringop): Likewise.
39581         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
39582         bit_Slow_SSE4_2 is set.
39583         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
39584         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
39586 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
39588         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
39589         rtld_global._dl_hwcap2.
39590         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
39591         POWER8.
39592         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
39593         POWER8 feature descriptions defined in _dl_hwcap2.
39594         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
39595         string handling for POWER8 feature bits.
39596         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
39597         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
39598         _dl_powerpc_cap_flags.
39599         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
39600         * sysdeps/powerpc/rtld-global-offsets.sym
39601         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
39602         _dl_hwcap2 in the rtld_global_ro structure.
39604 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
39606         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
39607         hardware capabilities in support of AT_HWCAP2.
39608         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
39609         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
39610         GLRO(dl_hwcap2).
39611         (_dl_show_auxv): Add support for calling _dl_procinfo to display
39612         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
39613         explicitly the unknown a_type display mechanism is used.
39614         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
39615         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
39616         struct member.
39617         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
39618         to macro prototype for AT_HWCAP2 support.
39619         * sysdeps/i386/dl-procinfo.h: Likewise.
39620         * sysdeps/s390/dl-procinfo.h: Likewise.
39621         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
39622         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
39623         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
39624         return -1 for unknown a_type display fallback.
39625         * sysdeps/sparc/dl-procinfo.h: Likewise.
39626         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
39627         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
39629 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
39631         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
39632         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
39634 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
39636         [BZ #12492]
39637         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
39638         mprotect making __stack_prot writable.
39640 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
39641             Joseph Myers  <joseph@codesourcery.com>
39643         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
39644         as being properly aligned.
39646 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
39648         * dlfcn/modstatic5.c: New file.
39649         * dlfcn/tststatic5.c: New file.
39650         * dlfcn/Makefile (tests): Add tststatic5.
39651         (tests-static): Likewise.
39652         (modules-names): Add modstatic5.
39653         (tststatic5-ENV): New variable.
39654         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
39656         [BZ #15022]
39657         * elf/dl-support.c (_dl_main_map): New variable.
39658         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
39659         (_dl_nns, _dl_load_adds): Set to 1.
39660         (_dl_initial_searchlist): Refer to _dl_main_map.
39661         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
39662         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
39663         call to _dl_get_origin.
39664         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
39665         around call_map.
39666         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
39667         * dlfcn/modstatic3.c: New file.
39668         * dlfcn/tststatic3.c: New file.
39669         * dlfcn/tststatic4.c: New file.
39670         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
39671         (tests-static): Likewise.
39672         (modules-names): Add modstatic3.
39673         (tststatic3-ENV, tststatic4-ENV): New variables.
39674         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
39675         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
39677 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
39679         * configure.in (CC): Require GCC version 4.4 or later.
39680         * configure: Regenerated.
39681         * manual/install.texi (Tools for Compilation): Update GCC version
39682         requirement.
39683         * INSTALL: Regenerated.
39685 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
39687         [BZ #15674]
39688         * string/test-memcmp.c (check2): New.
39689         (main): Call check2.
39691         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
39693 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
39695         [BZ #15022]
39696         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
39697         over to...
39698         (dl_open_worker) [!SHARED]: ... here.
39700 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
39702         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
39704 2013-06-25  Richard Henderson  <rth@redhat.com>
39706         * locale/programs/locarchive.c: Include <libc-internal.h>
39708 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
39710         * manual/texinfo.tex: Update to version 2013-06-21.17, with
39711         trailing whitespace removed.
39713 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
39715         [BZ #10283]
39716         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
39717         * locale/programs/locarchive.c: Include libc-mmap.h.
39718         (prepare_address_space): Take two new outputs (the mmap base and len).
39719         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
39720         values.
39721         (create_archive): Declare new mmap base and len values for
39722         prepare_address_space, and store the result in ah.
39723         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
39724         (enlarge_archive): If ah->mmap_base is not NULL, use that and
39725         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
39726         Declare new mmap base and len values for
39727         prepare_address_space, and store the result in new_ah.
39728         (open_archive): Declare new mmap base and len values for
39729         prepare_address_space, and store the result in ah.
39730         (close_archive): If ah->mmap_base is not NULL, use that and
39731         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
39732         * sysdeps/generic/libc-mmap.h: New file.
39734 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
39736         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
39737         (ALIGN_UP): Likewise.
39738         (PTR_ALIGN_DOWN): Likewise.
39739         (PTR_ALIGN_UP): Likewise.
39741 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
39743         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
39744         entry mapped to PPC_PLATFORM_POWER8.
39745         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
39746         POWER8.
39747         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
39748         (_dl_string_platform): Add case for exporting platform position for
39749         POWER8.
39750         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
39751         search path to sysdeps/powerpc/powerpc32/power8 directory.
39752         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
39753         search path to sysdeps/powerpc/powerpc64/power8 directory.
39754         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
39755         power7 directories.
39756         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
39757         power7 directories.
39759 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
39761         * INSTALL: Regenerate.
39763         * nscd/connections.c (nscd_init): Fix comment.
39765 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
39767         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
39769         [BZ #15667]
39770         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
39771         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
39773 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
39775         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
39776         DL_DST_REQ_STATIC.
39777         (DL_DST_REQ_STATIC): Remove macro.
39779 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
39781         [BZ #7006]
39782         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
39783         with a shift of 0 bits.
39785 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
39787         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
39788         $(tststatic-ENV).
39790 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
39792         [BZ #15655]
39793         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
39795 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39797         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
39798         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
39799         accepts -fno-tree-loop-distribute-patterns.
39800         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
39801         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
39802         recursive call.
39803         * string/memset.c (memset): Likewise.
39804         * string/test-memmove.c (simple_memmove): Disable loop transformation
39805         to library calls.
39806         * string/test-memset.c (simple_memset): Likewise.
39807         * benchtests/bench-memmove.c (simple_memmove): Likewise.
39808         * benchtests/bench-memset.c (simple_memset): Likewise.
39809         * configure: Regenerated.
39811 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
39813         * math/test-misc.c (main): Ignore fesetround failure when failures
39814         of subsequent rounding tests would be ignored.
39816         [BZ #15654]
39817         * math/fedisblxcpt.c (fedisableexcept): Return 0.
39818         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
39819         * math/fegetenv.c (__fegetenv): Return 0.
39820         * math/fegetexcept.c (fegetexcept): Return 0.
39821         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
39822         FE_TONEAREST.
39823         * math/feholdexcpt.c (feholdexcept): Return 0.
39824         * math/fesetenv.c (__fesetenv): Return 0.
39825         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
39826         argument FE_TONEAREST.
39827         * math/feupdateenv.c (__feupdateenv): Return 0.
39828         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
39830 2013-06-18  Roland McGrath  <roland@hack.frob.com>
39832         * elf/rtld-Rules (rtld-compile-command.S): New variable.
39833         (rtld-compile-command.s, rtld-compile-command.c): New variables.
39834         ($(objpfx)rtld-%.os rules): Use them.
39836 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39838         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
39839         fields.
39841 2013-06-17  Roland McGrath  <roland@hack.frob.com>
39843         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
39844         length of target pattern, then descending length of dependency pattern.
39845         * configure.in (AWK): Require gawk 3.1.2 or newer.
39846         * manual/install.texi (Tools for Compilation): Say that we do.
39847         * configure: Regenerated.
39849         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
39850         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
39851         * scripts/sysd-rules.awk: ... this new script.
39852         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
39853         than a glob-style pattern.
39855 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
39857         * math/test-misc.c (main): Do not treat incorrectly rounded
39858         conversions as failure unless ROUNDING_TESTS passes.
39860 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
39862         [BZ #15631]
39863         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
39864         restore exception state around main square root computation, then
39865         check for inexactness explicitly.
39867         * math/libm-test.inc (fma_test_data): Add another test.
39869 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
39871         * manual/threads.texi (Non-POSIX Extensions): New document
39872         node.  Document pthread_getattr_default_np and
39873         pthread_setattr_default_np.
39875         * Versions.def (libpthread): Add GLIBC_2.18.
39876         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
39877         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
39878         Likewise.
39879         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
39880         Likewise.
39881         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
39882         Likewise.
39883         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
39884         Likewise.
39885         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
39886         Likewise.
39887         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
39888         Likewise.
39889         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
39890         Likewise.
39891         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
39892         Likewise.
39893         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
39894         Likewise.
39896 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
39898         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
39899         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
39901 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
39902             H.J. Lu  <hjl.tools@gmail.com>
39904         [BZ #15627]
39905         * sysdeps/x86_64/rtld-memset.c: Remove file.
39906         * sysdeps/x86_64/rtld-memset.S: New file.
39908 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
39910         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
39911         (test_in_one_mode): Take arguments for whether the rounding mode
39912         is supported for each floating-point type.
39913         (do_test): Pass new arguments to test_in_one_mode using
39914         ROUNDING_TESTS.
39916 2013-06-13  Roland McGrath  <roland@hack.frob.com>
39918         * posix/tst-waitid.c (do_test): Distinguish different instances of
39919         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
39920         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
39921         before entering the kernel for waitpid.
39923 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
39925         * NEWS: Fix note on clock function precision.  Text by Roland
39926         McGrath.
39928 2013-06-13  Roland McGrath  <roland@hack.frob.com>
39930         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
39931         it into place only when and if the sanity check passes.
39933 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
39935         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
39936         output for whether conversion result is exact.  Take argument
39937         indicating whether type is IBM long double.
39938         (round_for_all): Change need_exact field to ibm_ld.
39939         * stdlib/tst-strtod-round.c (struct exactness): New type.
39940         (struct test): Change bool ld_ok field to struct exactness exact.
39941         (TEST): Update all definitions for change to field.
39942         (tests): Regenerate array contents.
39943         (test_in_one_mode): Take pointer to new field instead of old ld_ok
39944         field value.  Check for IBM long double here.
39945         (do_test): Update calls to test_in_one_mode.
39947 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
39949         [BZ #12515]
39950         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
39951         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
39953 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39955         [BZ #15605]
39956         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
39957         generated by the compiler on loop optimizations.
39958         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
39959         general definitions.
39961 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
39963         * math/bug-nextafter.c: Include <math-tests.h>.
39964         (main): Only test for exceptions if EXCEPTION_TESTS is true for
39965         the relevant type.
39966         * math/bug-nexttoward.c: Include <math-tests.h>.
39967         (main): Only test for exceptions if EXCEPTION_TESTS is true for
39968         the relevant type.
39969         * math/test-misc.c: Include <math-tests.h>.
39970         (main): Only test for exceptions if EXCEPTION_TESTS is true for
39971         the relevant type.
39973 2013-06-12  Andreas Jaeger  <aj@suse.de>
39975         * po/ia.po: Update Interlingua translation from translation
39976         project.
39978 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
39980         * include/fenv.h: Include stdbool.h.
39981         (struct rm_ctx): New structure.
39982         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
39983         Define macro.
39984         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
39985         (SET_RESTORE_ROUNDF): Likewise.
39986         (SET_RESTORE_ROUNDL): Likewise.
39987         (SET_RESTORE_ROUND_NOEX): Likewise.
39988         (SET_RESTORE_ROUND_NOEXF): Likewise.
39989         (SET_RESTORE_ROUND_NOEXL): Likewise.
39990         (SET_RESTORE_ROUND_53BIT): Likewise.
39991         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
39992         (libc_feresetround_noexf_ctx): Likewise.
39993         (libc_feresetround_noexl_ctx): Likewise.
39994         (libc_feholdsetround_53bit_ctx): Likewise.
39995         (libc_feresetround_53bit_ctx): Likewise.
39996         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
39997         (libc_feholdexcept_setround_sse_ctx): New function.
39998         (libc_fesetenv_sse_ctx): Likewise.
39999         (libc_feupdateenv_sse_ctx): Likewise.
40000         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
40001         (libc_feholdexcept_setround_387_ctx): Likewise.
40002         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
40003         (libc_feholdsetround_387_prec_ctx): Likewise.
40004         (libc_feholdsetround_387_ctx): Likewise.
40005         (libc_feholdsetround_387_53bit_ctx): Likewise.
40006         (libc_feholdsetround_sse_ctx): Likewise.
40007         (libc_feresetround_sse_ctx): Likewise.
40008         (libc_feresetround_387_ctx): Likewise.
40009         (libc_feupdateenv_387_ctx): Likewise.
40010         (libc_feholdexcept_setroundf_ctx): Define macro.
40011         (libc_fesetenvf_ctx): Likewise.
40012         (libc_feupdateenvf_ctx): Likewise.
40013         (libc_feholdsetroundf_ctx): Likewise.
40014         (libc_feresetroundf_ctx): Likewise.
40015         (libc_feholdexcept_setround_ctx): Likewise.
40016         (libc_fesetenv_ctx): Likewise.
40017         (libc_feupdateenv_ctx): Likewise.
40018         (libc_feholdsetround_ctx): Likewise.
40019         (libc_feresetround_ctx): Likewise.
40020         (libc_feholdexcept_setroundl_ctx): Likewise.
40021         (libc_feupdateenvl_ctx): Likewise.
40022         (libc_feholdsetroundl_ctx): Likewise.
40023         (libc_feresetroundl_ctx): Likewise.
40024         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
40025         (libc_feresetround_53bit_ctx): Likewise.
40027 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
40029         * locale/iso-639.def: Convert to UTF-8.
40031 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
40033         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
40034         (EXCEPTION_TESTS_double): Likewise.
40035         (EXCEPTION_TESTS_long_double): Likewise.
40036         (EXCEPTION_TESTS): Likewise.
40037         * math/libm-test.inc (test_exceptions): Only test exceptions if
40038         EXCEPTION_TESTS (FLOAT).
40040 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
40042         * benchtests/Makefile (string-bench): Add strcpy_chk and
40043         stpcpy_chk.
40044         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
40045         * benchtests/bench-stpcpy_chk.c: New file.
40046         * benchtests/bench-strcpy_chk-ifunc.c: New file.
40047         * benchtests/bench-strcpy_chk.c: New file.
40048         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
40049         code.
40050         (do_test): Likewise.
40052 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
40054         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
40055         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
40056         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
40057         with tabs where appropriate.
40058         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
40059         dl-procinfo.h.
40060         [PPC_PLATFORM_PPC440]: Likewise.
40061         [PPC_PLATFORM_PPC464]: Likewise.
40062         [PPC_PLATFORM_PPC476]: Likewise.
40063         (_dl_string_platform): Add support for detecting ppc405, ppc440,
40064         ppc464, and ppc476 platform strings merging from ports/
40065         dl-procinfo.h.
40067 2013-06-11  Andreas Schwab  <schwab@suse.de>
40069         [BZ #14991]
40070         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
40071         (from_ucs4_idx): Regenerate.
40072         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
40073         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
40074         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
40075         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
40076         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
40077         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
40078         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
40079         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
40080         from FROM_LOOP and TO_LOOP specific macros.
40081         (BODY): Handle combining characters.
40082         * iconvdata/BIG5HKSCS.irreversible: Update.
40083         * iconvdata/BIG5HKSCS.precomposed: New file.
40084         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
40085         characters.
40086         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
40088 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
40090         * include/sys/time.h: Fix indentation and add copyright header.
40092         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
40093         (do_test): Likewise.
40094         * string/test-memchr.c (do_one_test): Likewise.
40095         (do_test): Likewise.
40096         * string/test-memcmp.c (do_one_test): Likewise.
40097         (do_test): Likewise.
40098         * string/test-memcpy.c (do_one_test): Likewise.
40099         (do_test): Likewise.
40100         * string/test-memmem.c (do_one_test): Likewise.
40101         (do_test): Likewise.
40102         (do_random_tests): Likewise.
40103         * string/test-memmove.c (do_one_test): Likewise.
40104         (do_test): Likewise.
40105         * string/test-memset.c (do_one_test): Likewise.
40106         (do_test): Likewise.
40107         * string/test-rawmemchr.c (do_one_test): Likewise.
40108         (do_test): Likewise.
40109         * string/test-strcasecmp.c (do_one_test): Likewise.
40110         (do_test): Likewise.
40111         * string/test-strcasestr.c (do_one_test): Likewise.
40112         (do_test): Likewise.
40113         * string/test-strcat.c (do_one_test): Likewise.
40114         (do_test): Likewise.
40115         * string/test-strchr.c (do_one_test): Likewise.
40116         (do_test): Likewise.
40117         * string/test-strcmp.c (do_one_test): Likewise.
40118         (do_test): Likewise.
40119         * string/test-strcpy.c (do_one_test): Likewise.
40120         (do_test): Likewise.
40121         * string/test-string.h: Likewise.
40122         (test_init): Likewise.
40123         * string/test-strlen.c (do_one_test): Likewise.
40124         (do_test): Likewise.
40125         * string/test-strncasecmp.c (do_one_test): Likewise.
40126         (do_test): Likewise.
40127         * string/test-strncat.c (do_one_test): Likewise.
40128         (do_test): Likewise.
40129         * string/test-strncmp.c (do_one_test): Likewise.
40130         (do_test_limit): Likewise.
40131         (do_test): Likewise.
40132         * string/test-strncpy.c (do_one_test): Likewise.
40133         (do_test): Likewise.
40134         * string/test-strnlen.c (do_one_test): Likewise.
40135         (do_test): Likewise.
40136         * string/test-strpbrk.c (do_one_test): Likewise.
40137         (do_test): Likewise.
40138         * string/test-strrchr.c (do_one_test): Likewise.
40139         (do_test): Likewise.
40140         * string/test-strspn.c (do_one_test): Likewise.
40141         (do_test): Likewise.
40142         * string/test-strstr.c (do_one_test): Likewise.
40143         (do_test): Likewise.
40145         * benchtests/Makefile (string-bench): Add string benchmarks.
40146         * benchtests/bench-bcopy-ifunc.c: New file.
40147         * benchtests/bench-bcopy.c: New file.
40148         * benchtests/bench-bzero-ifunc.c: New file.
40149         * benchtests/bench-bzero.c: New file.
40150         * benchtests/bench-memccpy-ifunc.c: New file.
40151         * benchtests/bench-memccpy.c: New file.
40152         * benchtests/bench-memchr-ifunc.c: New file.
40153         * benchtests/bench-memchr.c: New file.
40154         * benchtests/bench-memcmp-ifunc.c: New file.
40155         * benchtests/bench-memcmp.c: New file.
40156         * benchtests/bench-memmem-ifunc.c: New file.
40157         * benchtests/bench-memmem.c: New file.
40158         * benchtests/bench-memmove-ifunc.c: New file.
40159         * benchtests/bench-memmove.c: New file.
40160         * benchtests/bench-mempcpy-ifunc.c: New file.
40161         * benchtests/bench-mempcpy.c: New file.
40162         * benchtests/bench-memset-ifunc.c: New file.
40163         * benchtests/bench-memset.c: New file.
40164         * benchtests/bench-rawmemchr-ifunc.c: New file.
40165         * benchtests/bench-rawmemchr.c: New file.
40166         * benchtests/bench-stpcpy-ifunc.c: New file.
40167         * benchtests/bench-stpcpy.c: New file.
40168         * benchtests/bench-stpncpy-ifunc.c: New file.
40169         * benchtests/bench-stpncpy.c: New file.
40170         * benchtests/bench-strcasecmp-ifunc.c: New file.
40171         * benchtests/bench-strcasecmp.c: New file.
40172         * benchtests/bench-strcasestr-ifunc.c: New file.
40173         * benchtests/bench-strcasestr.c: New file.
40174         * benchtests/bench-strcat-ifunc.c: New file.
40175         * benchtests/bench-strcat.c: New file.
40176         * benchtests/bench-strchr-ifunc.c: New file.
40177         * benchtests/bench-strchr.c: New file.
40178         * benchtests/bench-strchrnul-ifunc.c: New file.
40179         * benchtests/bench-strchrnul.c: New file.
40180         * benchtests/bench-strcmp-ifunc.c: New file.
40181         * benchtests/bench-strcmp.c: New file.
40182         * benchtests/bench-strcpy-ifunc.c: New file.
40183         * benchtests/bench-strcpy.c: New file.
40184         * benchtests/bench-strcspn-ifunc.c: New file.
40185         * benchtests/bench-strcspn.c: New file.
40186         * benchtests/bench-strlen-ifunc.c: New file.
40187         * benchtests/bench-strlen.c: New file.
40188         * benchtests/bench-strncasecmp-ifunc.c: New file.
40189         * benchtests/bench-strncasecmp.c: New file.
40190         * benchtests/bench-strncat-ifunc.c: New file.
40191         * benchtests/bench-strncat.c: New file.
40192         * benchtests/bench-strncmp-ifunc.c: New file.
40193         * benchtests/bench-strncmp.c: New file.
40194         * benchtests/bench-strncpy-ifunc.c: New file.
40195         * benchtests/bench-strncpy.c: New file.
40196         * benchtests/bench-strnlen-ifunc.c: New file.
40197         * benchtests/bench-strnlen.c: New file.
40198         * benchtests/bench-strpbrk-ifunc.c: New file.
40199         * benchtests/bench-strpbrk.c: New file.
40200         * benchtests/bench-strrchr-ifunc.c: New file.
40201         * benchtests/bench-strrchr.c: New file.
40202         * benchtests/bench-strspn-ifunc.c: New file.
40203         * benchtests/bench-strspn.c: New file.
40204         * benchtests/bench-strstr-ifunc.c: New file.
40205         * benchtests/bench-strstr.c: New file.
40207         * benchtests/Makefile: Disable parallel execution of targets.
40208         (string-bench): Add memcpy.
40209         (benchset): New variable to store a list of benchmark sets.
40210         (bench-func): Renamed from bench.
40211         (bench-set): New target.
40212         (bench): Depend on bench-func and bench-set.
40213         * benchtests/README: Add section on benchmark sets.
40214         * benchtests/bench-memcpy-ifunc.c: New file.
40215         * benchtests/bench-memcpy.c: New file.
40216         * benchtests/bench-string.h: New file.
40218 2013-06-11  Andreas Schwab  <schwab@suse.de>
40220         [BZ #15577]
40221         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
40222         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
40223         values in the triple.
40224         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
40225         terminator in the group key.
40227 2013-06-11  Andreas Jaeger  <aj@suse.de>
40229         * po/zh_TW.po: Update Chinese (traditional) translation from
40230         translation project.
40232 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
40234         * include/time.h (__clock_gettime): Add libc_hidden_proto.
40235         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
40236         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
40237         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
40238         (clock_getcpuclockid): Likewise.
40239         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
40240         Add weak_alias and libc_hidden_def.
40241         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
40242         * rt/clock_gettime.c (clock_gettime): Rename to
40243         __clock_gettime.  Add weak_alias and libc_hidden_def.
40244         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
40245         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
40246         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
40247         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
40248         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
40249         Likewise.
40250         * rt/clock_settime.c (clock_settime): Rename to
40251         __clock_settime.  Add weak_alias and libc_hidden_def.
40252         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
40254 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
40256         * mach/err_boot.sub: Remove trailing whitespace.
40257         * mach/err_ipc.sub: Likewise.
40258         * mach/err_mach.sub: Likewise.
40260         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
40261         (ROUNDING_TESTS_double): Likewise.
40262         (ROUNDING_TESTS_long_double): Likewise.
40263         (ROUNDING_TESTS): Likewise.
40264         * math/libm-test.inc: Include <math-tests.h>.
40265         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
40266         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
40267         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
40268         (IF_ROUND_INIT_FE_UPWARD): Likewise.
40270 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
40272         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
40273         of assigning.
40275 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
40277         * sysdeps/gnu/errlist.awk: Do not generate space at end of
40278         otherwise empty TRANS lines.
40279         * sysdeps/gnu/errlist.c: Regenerated.
40281         * catgets/gencat.c (error_print): Use (void) in function
40282         definition.
40283         * crypt/crypt_util.c (__init_des): Likewise.
40284         * crypt/speeds.c (Stop): Likewise.
40285         (main): Likewise.
40286         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
40287         * inet/ruserpass.c (token): Likewise.
40288         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
40289         * intl/localealias.c (extend_alias_table): Likewise.
40290         * intl/plural-exp.c (init_germanic_plural): Likewise.
40291         * libio/fcloseall.c (__fcloseall): Likewise.
40292         * libio/genops.c (_IO_flush_all): Likewise.
40293         (_IO_flush_all_linebuffered): Likewise.
40294         (_IO_cleanup): Likewise.
40295         (_IO_iter_begin): Likewise.
40296         (_IO_iter_end): Likewise.
40297         (_IO_list_lock): Likewise.
40298         (_IO_list_unlock): Likewise.
40299         (_IO_list_resetlock): Likewise.
40300         * libio/getchar.c (getchar): Likewise.
40301         * libio/getchar_u.c (getchar_unlocked): Likewise.
40302         * libio/getwchar.c (getwchar): Likewise.
40303         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
40304         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
40305         * login/getpt.c (__getpt): Likewise.
40306         * login/tst-utmp.c (main): Likewise.
40307         * malloc/hooks.c (__malloc_check_init): Likewise.
40308         * malloc/malloc.c (__malloc_stats): Likewise.
40309         * malloc/mtrace.c (tr_break): Likewise.
40310         (mtrace): Likewise.
40311         (muntrace): Likewise.
40312         * misc/fstab.c (endfsent): Likewise.
40313         * misc/getclktck.c (__getclktck): Likewise.
40314         * misc/getdtsz.c (__getdtablesize): Likewise.
40315         * misc/gethostid.c (gethostid): Likewise.
40316         * misc/getpagesize.c (__getpagesize): Likewise.
40317         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
40318         (__get_nprocs): Likewise.
40319         (__get_phys_pages): Likewise.
40320         (__get_avphys_pages): Likewise.
40321         * misc/getttyent.c (getttyent): Likewise.
40322         (setttyent): Likewise.
40323         (endttyent): Likewise.
40324         * misc/getusershell.c (getusershell): Likewise.
40325         (endusershell): Likewise.
40326         (setusershell): Likewise.
40327         (initshells): Likewise.
40328         * misc/hsearch.c (__hdestroy): Likewise.
40329         * misc/sync.c (sync): Likewise.
40330         * misc/syslog.c (closelog_internal): Likewise.
40331         (closelog): Likewise.
40332         * misc/ttyslot.c (ttyslot): Likewise.
40333         * misc/vhangup.c (vhangup): Likewise.
40334         * posix/fork.c (__fork): Likewise.
40335         * posix/getegid.c (__getegid): Likewise.
40336         * posix/geteuid.c (__geteuid): Likewise.
40337         * posix/getgid.c (__getgid): Likewise.
40338         * posix/getpid.c (__getpid): Likewise.
40339         * posix/getppid.c (__getppid): Likewise.
40340         * posix/getuid.c (__getuid): Likewise.
40341         * posix/pause.c (pause): Likewise.
40342         * posix/setpgrp.c (setpgrp): Likewise.
40343         * posix/setsid.c (__setsid): Likewise.
40344         * posix/test-vfork.c (noop): Likewise.
40345         * resolv/gethnamaddr.c (_endhtent): Likewise.
40346         (_gethtent): Likewise.
40347         (ht_endhostent): Likewise.
40348         (gethostent): Likewise.
40349         (dns_service): Likewise.
40350         * stdlib/drand48.c (drand48): Likewise.
40351         * stdlib/lrand48.c (lrand48): Likewise.
40352         * stdlib/mrand48.c (mrand48): Likewise.
40353         * stdlib/rand.c (rand): Likewise.
40354         * stdlib/random.c (__random): Likewise.
40355         * stdlib/setenv.c (clearenv): Likewise.
40356         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
40357         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
40358         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
40359         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
40360         (__get_nprocs): Likewise.
40361         (__get_phys_pages): Likewise.
40362         (__get_avphys_pages): Likewise.
40363         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
40364         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
40365         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
40366         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
40367         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
40368         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
40369         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
40370         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
40371         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
40372         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
40373         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
40374         * sysdeps/mach/hurd/sync.c (sync): Likewise.
40375         * sysdeps/posix/clock.c (clock): Likewise.
40376         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
40377         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
40378         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
40379         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
40380         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
40381         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
40382         (__get_nprocs_conf): Likewise.
40383         (__get_phys_pages): Likewise.
40384         (__get_avphys_pages): Likewise.
40385         * time/clock.c (clock): Likewise.
40386         * time/tzset.c (__tzname_max): Likewise.
40388 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
40390         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
40391         (__bswap_32): Do not use "register".
40392         * crypt/crypt.c (_ufc_doit_r): Likewise.
40393         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
40394         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
40395         * gmon/gmon.c (__monstartup): Likewise.
40396         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
40397         * hurd/hurdmalloc.c (more_memory): Likewise.
40398         (malloc): Likewise.
40399         (free): Likewise.
40400         (realloc): Likewise.
40401         (malloc_fork_prepare): Likewise.
40402         (malloc_fork_parent): Likewise.
40403         (malloc_fork_child): Likewise.
40404         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
40405         (_svcauth_des): Likewise.
40406         * inet/inet_lnaof.c (inet_lnaof): Likewise.
40407         * inet/inet_net.c (inet_network): Likewise.
40408         * inet/inet_netof.c (inet_netof): Likewise.
40409         * inet/rcmd.c (__validuser2_sa): Likewise.
40410         * io/fts.c (fts_open): Likewise.
40411         (fts_load): Likewise.
40412         (fts_close): Likewise.
40413         (fts_read): Likewise.
40414         (fts_children): Likewise.
40415         (fts_build): Likewise.
40416         (fts_stat): Likewise.
40417         (fts_sort): Likewise.
40418         (fts_alloc): Likewise.
40419         (fts_lfree): Likewise.
40420         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
40421         (_IO_file_xsgetn): Likewise.
40422         (_IO_file_xsgetn_mmap): Likewise.
40423         * libio/iofopncook.c (_IO_cookie_read): Likewise.
40424         (_IO_cookie_write): Likewise.
40425         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
40426         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
40427         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
40428         * malloc/obstack.c (_obstack_begin): Likewise.
40429         (_obstack_begin_1): Likewise.
40430         (_obstack_newchunk): Likewise.
40431         (_obstack_allocated_p): Likewise.
40432         (obstack_free): Likewise.
40433         (_obstack_memory_used): Likewise.
40434         * misc/getttyent.c (getttynam): Likewise.
40435         (getttyent): Likewise.
40436         (skip): Likewise.
40437         (value): Likewise.
40438         * misc/getusershell.c (initshells): Likewise.
40439         * misc/syslog.c (__vsyslog_chk): Likewise.
40440         * misc/ttyslot.c (ttyslot): Likewise.
40441         * nis/nis_hash.c (__nis_hash): Likewise.
40442         * posix/fnmatch_loop.c (FCT): Likewise.
40443         * posix/getconf.c (print_all): Likewise.
40444         (main): Likewise.
40445         * posix/getopt.c (exchange): Likewise.
40446         * posix/glob.c (globfree): Likewise.
40447         (prefix_array): Likewise.
40448         (__glob_pattern_type): Likewise.
40449         * resolv/arpa/nameser.h (NS_GET16): Likewise.
40450         (NS_GET32): Likewise.
40451         (NS_PUT16): Likewise.
40452         (NS_PUT32): Likewise.
40453         * resolv/gethnamaddr.c (getanswer): Likewise.
40454         (gethostbyname2): Likewise.
40455         (gethostbyaddr): Likewise.
40456         (_gethtent): Likewise.
40457         (_gethtbyname2): Likewise.
40458         (_gethtbyaddr): Likewise.
40459         * resolv/ns_print.c (dst_s_get_int16): Likewise.
40460         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
40461         * resolv/res_init.c (__res_vinit): Likewise.
40462         (net_mask): Likewise.
40463         * resolv/res_mkquery.c (outchar): Likewise.
40464         (PRINT): Likewise.
40465         * stdio-common/printf_fp.c (outchar): Likewise.
40466         (PRINT): Likewise.
40467         * stdio-common/printf_fphex.c (outchar): Likewise.
40468         (PRINT): Likewise.
40469         * stdio-common/printf_size.c (outchar): Likewise.
40470         (PRINT): Likewise.
40471         * stdio-common/test_rdwr.c (main): Likewise.
40472         * stdio-common/tfformat.c (matches): Likewise.
40473         * stdio-common/vfprintf.c (outchar): Likewise.
40474         (printf_unknown): Likewise.
40475         (buffered_vfprintf): Likewise.
40476         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
40477         * stdio-common/xbug.c (AppendToBuffer): Likewise.
40478         (ReadFile): Likewise.
40479         * stdlib/qsort.c (SWAP): Likewise.
40480         (_quicksort): Likewise.
40481         * stdlib/setenv.c (__add_to_environ): Likewise.
40482         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
40483         * stdlib/strtol_l.c (__strtol_l): Likewise.
40484         * stdlib/tst-strtod.c (main): Likewise.
40485         * stdlib/tst-strtol.c (main): Likewise.
40486         * stdlib/tst-strtoll.c (main): Likewise.
40487         * string/bits/string2.h (__strcmp_cc): Likewise.
40488         (__strcmp_cg): Likewise.
40489         (__strcspn_c1): Likewise.
40490         (__strcspn_c2): Likewise.
40491         (__strcspn_c3): Likewise.
40492         (__strspn_c1): Likewise.
40493         (__strspn_c2): Likewise.
40494         (__strspn_c3): Likewise.
40495         (__strsep_1c): Likewise.
40496         (__strsep_2c): Likewise.
40497         (__strsep_3c): Likewise.
40498         * string/memccpy.c (__memccpy): Likewise.
40499         * string/stpcpy.c (__stpcpy): Likewise.
40500         * string/strcmp.c (strcmp): Likewise.
40501         * string/strrchr.c (strrchr): Likewise.
40502         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
40503         Likewise.
40504         * sysdeps/mach/hurd/getcwd.c
40505         (_hurd_canonicalize_directory_name_internal): Likewise.
40506         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
40507         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
40508         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
40509         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
40510         Likewise, in both definitions.
40511         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
40512         definitions.
40513         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
40514         64] (__bswap_64): Likewise.
40515         * time/test_time.c (main): Likewise.
40516         * time/tzfile.c (__tzfile_read): Likewise.
40517         (__tzfile_compute): Likewise.
40518         * time/tzset.c (__tzset_parse_tz): Likewise.
40519         (tzset_internal): Likewise.
40520         (compute_change): Likewise.
40521         * wcsmbs/wcscat.c (__wcscat): Likewise.
40522         * wcsmbs/wcschr.c (wcschr): Likewise.
40523         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
40524         * wcsmbs/wcscspn.c (wcscspn): Likewise.
40525         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
40526         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
40527         * wcsmbs/wcsspn.c (wcsspn): Likewise.
40528         * wcsmbs/wcsstr.c (wcsstr): Likewise.
40529         * wcsmbs/wmemchr.c (wmemchr): Likewise.
40530         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
40531         * wcsmbs/wmemset.c (wmemset): Likewise.
40533 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
40535         * scripts/config.guess: Update to version 2013-05-16.
40536         * scripts/config.sub: Update to version 2013-04-24.
40537         * scripts/install-sh: Update to version 2011-11-20.07.
40538         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
40539         * scripts/move-if-change: Update to version 2012-01-06 07:23.
40541 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
40543         * debug/fgetws_u_chk.c: Fix leading whitespaces.
40544         * elf/sln.c: Likewise.
40545         * hurd/hurd/ioctl.h: Likewise.
40546         * hurd/hurdmalloc.c: Likewise.
40547         * hurd/xattr.c: Likewise.
40548         * include/shlib-compat.h: Likewise.
40549         * inet/ruserpass.c: Likewise.
40550         * libio/iofgets_u.c: Likewise.
40551         * libio/iofgetws_u.c: Likewise.
40552         * locale/programs/ld-identification.c: Likewise.
40553         * locale/programs/ld-time.c: Likewise.
40554         * mach/msg-destroy.c: Likewise.
40555         * nss/nss_files/files-netgrp.c: Likewise.
40556         * resolv/res_data.c: Likewise.
40557         * soft-fp/op-1.h: Likewise.
40558         * soft-fp/op-2.h: Likewise.
40559         * soft-fp/op-4.h: Likewise.
40560         * soft-fp/op-common.h: Likewise.
40561         * stdio-common/printf_fphex.c: Likewise.
40562         * stdlib/strtod_l.c: Likewise.
40563         * sunrpc/rpc/clnt.h: Likewise.
40564         * sysdeps/generic/framestate.c: Likewise.
40565         * sysdeps/i386/bsd-_setjmp.S: Likewise.
40566         * sysdeps/i386/bsd-setjmp.S: Likewise.
40567         * sysdeps/i386/__longjmp.S: Likewise.
40568         * sysdeps/i386/setjmp.S: Likewise.
40569         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
40570         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
40571         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
40572         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
40573         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
40574         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
40575         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
40576         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
40577         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
40578         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
40579         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
40580         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
40581         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
40582         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
40583         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
40584         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
40585         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
40586         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
40587         * sysdeps/ieee754/support.c: Likewise.
40588         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
40589         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
40590         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
40591         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
40592         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
40593         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
40594         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
40595         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
40596         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
40597         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
40598         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
40599         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
40600         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
40601         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
40602         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
40603         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
40604         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
40605         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
40607 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
40609         * posix/transbug.c: Remove executable mode.
40611 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
40613         * crypt/speeds.c: Remove trailing whitespace.
40614         * dlfcn/default.c: Likewise.
40615         * elf/ifuncdep2.c: Likewise.
40616         * elf/ifuncmain1.c: Likewise.
40617         * elf/ifuncmain1vis.c: Likewise.
40618         * elf/testobj.h: Likewise.
40619         * elf/tst-stackguard1.c: Likewise.
40620         * gmon/sys/gmon.h: Likewise.
40621         * hurd/hurdmsg.c: Likewise.
40622         * hurd/new-fd.c: Likewise.
40623         * hurd/ports-get.c: Likewise.
40624         * iconvdata/ibm1008_420.c: Likewise.
40625         * inet/tst-getni1.c: Likewise.
40626         * inet/tst-getni2.c: Likewise.
40627         * libio/ioungetc.c: Likewise.
40628         * libio/wfiledoalloc.c: Likewise.
40629         * manual/libm-err-tab.pl: Likewise.
40630         * math/w_dremf.c: Likewise.
40631         * misc/ftruncate.c: Likewise.
40632         * posix/bug-glob2.c: Likewise.
40633         * posix/tst-pcre.c: Likewise.
40634         * posix/wait4.c: Likewise.
40635         * resolv/README: Likewise.
40636         * resolv/res_debug.h: Likewise.
40637         * resolv/tst-inet_ntop.c: Likewise.
40638         * setjmp/bug269-setjmp.c: Likewise.
40639         * soft-fp/extended.h: Likewise.
40640         * soft-fp/op-1.h: Likewise.
40641         * soft-fp/op-2.h: Likewise.
40642         * soft-fp/op-4.h: Likewise.
40643         * soft-fp/op-8.h: Likewise.
40644         * soft-fp/testit.c: Likewise.
40645         * stdio-common/bug16.c: Likewise.
40646         * stdlib/random.c: Likewise.
40647         * sunrpc/rpcsvc/rquota.x: Likewise.
40648         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
40649         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
40650         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
40651         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
40652         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
40653         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
40654         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
40655         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
40656         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
40657         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
40658         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
40659         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
40660         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
40661         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
40662         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
40663         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
40664         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
40665         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
40666         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
40667         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
40668         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
40669         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
40670         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
40671         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
40672         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
40673         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
40674         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
40675         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
40676         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
40677         * sysdeps/ieee754/s_lib_version.c: Likewise.
40678         * sysdeps/mach/hurd/check_fds.c: Likewise.
40679         * sysdeps/mach/hurd/getsockname.c: Likewise.
40680         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
40681         * sysdeps/mach/hurd/recvfrom.c: Likewise.
40682         * sysdeps/powerpc/bits/link.h: Likewise.
40683         * sysdeps/powerpc/dl-procinfo.c: Likewise.
40684         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
40685         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
40686         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
40687         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
40688         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
40689         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
40690         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
40691         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
40692         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
40693         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
40694         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
40695         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
40696         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
40697         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
40698         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
40699         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
40700         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
40701         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
40702         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
40703         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
40704         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
40705         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
40706         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
40707         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
40708         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
40709         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
40710         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
40711         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
40712         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
40713         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
40714         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
40715         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
40716         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
40717         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
40718         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
40719         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
40720         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
40721         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
40722         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
40723         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
40724         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
40725         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
40726         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
40727         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
40728         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
40729         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
40730         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
40731         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
40732         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
40733         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
40734         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
40735         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
40736         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
40737         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
40738         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
40739         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
40740         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
40741         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
40742         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
40743         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
40744         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
40745         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
40746         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
40747         * sysdeps/powerpc/sysdep.h: Likewise.
40748         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
40749         * sysdeps/s390/s390-64/sub_n.S: Likewise.
40750         * sysdeps/sh/dl-trampoline.S: Likewise.
40751         * sysdeps/sh/memset.S: Likewise.
40752         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
40753         * sysdeps/sh/strlen.S: Likewise.
40754         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
40755         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
40756         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
40757         * sysdeps/sparc/sparc32/rem.S: Likewise.
40758         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
40759         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
40760         * sysdeps/sparc/sparc32/strchr.S: Likewise.
40761         * sysdeps/sparc/sparc32/udiv.S: Likewise.
40762         * sysdeps/sparc/sparc32/urem.S: Likewise.
40763         * sysdeps/sparc/sparc64/add_n.S: Likewise.
40764         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
40765         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
40766         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
40767         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
40768         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
40769         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
40770         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
40771         * sysdeps/unix/bsd/times.c: Likewise.
40772         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
40773         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
40774         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
40775         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
40776         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
40777         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
40778         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
40779         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
40780         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
40781         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
40782         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
40783         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
40784         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
40785         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
40786         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
40787         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
40788         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
40789         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
40790         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
40791         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
40792         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
40793         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
40794         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
40795         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
40796         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
40797         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
40798         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
40799         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
40800         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
40801         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
40802         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
40803         * sysdeps/x86_64/strcspn.S: Likewise.
40805 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
40807         * locale/C-translit.h: Revert #include <stdint.h> because this is a
40808         generated file.  Regenerate properly from gen-translit.pl.
40809         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
40810         locale/C-translit.h.
40812 2013-06-05  Andreas Schwab  <schwab@suse.de>
40814         [BZ #15100]
40815         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
40816         week as 6 instead of -1.
40817         * time/tst-strptime.c (day_tests): Add test case.
40819 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
40821         * sysdeps/generic/math_private.h
40822         (libc_feholdexcept_setround_53bit): Replace with
40823         libc_feholdsetround_53bit.
40824         (libc_feupdateenv_53bit): Replace with
40825         libc_feresetround_53bit.
40826         (SET_RESTORE_ROUND_53BIT): Adjust.
40828 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
40830         * string/test-strchrnul.c: Add copyright header.
40832         * posix/tst-getaddrinfo4.c: Increase test timeout.
40834 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
40836         [BZ #15536]
40837         * math/libm-test.inc (MAX_EXP): Remove
40838         (MIN_EXP): Define.
40839         (ulp): Use MIN_EXP - MANT_DIG.
40840         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
40842 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
40844         * po/be.po: Revert last change.
40845         * po/zh_CN.po: Likewise.
40846         * po/header.pot: Likewise.
40848 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
40850         * Makefile ($(common-objpfx)linkobj/libc.so): Define
40851         link-libc-deps to empty as target-specific variable.
40852         * Makerules (link-libc-args): New variable.
40853         (libc-for-link): Likewise.
40854         (link-libc-deps): Likewise.
40855         (lib%.so): Depend on $(link-libc-deps).  Link with
40856         $(link-libc-args).
40857         (build-module): Link with $(link-libc-args).
40858         (build-module-asneeded): Likewise.
40859         (build-module-helper-objlist): Filter out $(link-libc-deps) from
40860         list of objects.
40861         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
40862         target-specific variable.
40863         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
40864         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
40865         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
40866         libc.
40867         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
40868         libc and ld.so.
40869         ($(objpfx)libpcprofile.so): Likewise.
40870         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
40871         libc_nonshared.a.
40872         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
40873         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
40874         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
40875         $(link-libc-deps).
40876         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
40877         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
40878         * login/Makefile ($(objpfx)libutil.so): Likewise.
40879         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
40880         * math/Makefile ($(objpfx)libm.so): Likewise.
40881         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
40882         $(objpfx)libnsl.so): Define libc-for-link as target-specific
40883         variable instead of depending directly on libc.
40884         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
40885         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
40886         $(link-libc-deps).
40887         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
40888         libc.
40889         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
40890         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
40891         ($(objpfx)libanl.so): Likewise.
40892         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
40893         ld.so.
40894         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
40895         $(link-libc-deps).
40896         * sysdeps/i386/fpu/Makefile: Remove file.
40897         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
40898         ($(objpfx)libm.so): Remove dependency on ld.so.
40900 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
40902         [BZ # 15553]
40903         * nis/yp_xdr.c (XDRMAXNAME): Define.
40904         (XDRMAXRECORD): Define.
40905         (xdr_domainname): Use XDRMAXNAME.
40906         (xdr_mapname): Likewise.
40907         (xdr_peername): Likewise.
40908         (xdr_keydat): Use XDRMAXRECORD.
40909         (xdr_valdat): Likewise.
40911 2013-05-30  Jeff Law  <law@redhat.com>
40913         [BZ #14256]
40914         * manual/errno.texi (ESTALE): Update to account for more than
40915         just NFS file systems.
40916         * sysdeps/gnu/errlist.c: Regenerated.
40918 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
40920         [BZ #15465]
40921         * elf/Makefile (tests): Add tst-null-argv.
40922         (modules-names):  Add tst-null-argv-lib.
40923         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
40924         (tst-null-argv-ENV): Set environment for tst-null-argv.
40925         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
40926         (RTLD_PROGNAME): New macro.
40927         * elf/tst-null-argv.c: New test case.
40928         * elf/tst-null-argv-lib.c: Library for test case.
40929         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
40930         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
40931         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
40932         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
40933         * elf/dl-init.c (call_init): Likewise.
40934         (_dl_init): Likewise.
40935         * elf/dl-load.c (print_search_path): Likewise.
40936         (_dl_map_object): Likewise.
40937         * elf/dl-lookup.c (do_lookup_x): Likewise.
40938         (add_dependency): Likewise.
40939         (_dl_lookup_symbol_x): Likewise.
40940         (_dl_debug_bindings): Likewise.
40941         * elf/dl-open.c (_dl_show_scope): Likewise.
40942         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
40943         * elf/dl-version.c (match_symbol): Likewise.
40944         (_dl_check_map_versions): Likewise.
40945         * elf/rtld.c (dl_main): Likewise.
40946         (print_unresolved): Use RTLD_PROGNAME.
40947         (print_missing_version): Likewise.
40948         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
40949         (elf_machine_rela): Likewise.
40950         * sysdeps/powerpc/powerpc32/dl-machine.c
40951         (__process_machine_rela): Likewise.
40952         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
40953         Likewise.
40954         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
40955         Likewise.
40956         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
40957         Likewise.
40958         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
40959         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
40960         Likewise.
40961         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
40962         Likewise.
40963         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
40965 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
40967         * po/be.po: Add descriptive title.
40968         * po/zh_CN.po: Likewise.
40969         * po/header.pot: Likewise.
40971 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
40973         * locale/programs/locarchive.c (create_archive): Inlucde fname in
40974         error message.
40975         (enlarge_archive): Likewise.
40977 2013-05-28  Ben North  <ben@redfrontdoor.org>
40979         * manual/arith.texi (frexp): It is the magnitude of the return
40980         value which lies in [0.5, 1), not the return value itself.
40982 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40984         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40986 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
40988         * stdio-common/bug26.c (main): Correct fscanf template.
40990         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
40991         declare _dl_skip_args.
40993         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
40994         Don't declare.
40996         * manual/platform.texi: Add missing @end deftypefun.
40998 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
41000         [BZ #15529]
41001         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
41002         bit of mantissa of 2^16382.
41003         * math/libm-test.inc (hypot_test_data): Add more tests.
41005         * math/libm-test.inc: Add drem and pow10 to list of tested
41006         functions.
41007         (pow10_test): New function.
41008         (drem_test): Likewise.
41009         (drem_test_tonearest): Likewise.
41010         (drem_test_towardzero): Likewise.
41011         (drem_test_downward): Likewise.
41012         (drem_test_upward): Likewise.
41013         (main): Call the new functions.
41015         * math/libm-test.inc (finite_test_data): Remove.
41016         (finite_test): Run tests from isfinite_test_data.
41017         (gamma_test_data): Remove.
41018         (gamma_test): Run tests from lgamma_test_data.
41019         * sysdeps/i386/fpu/libm-test-ulps: Update.
41020         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41022 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41024         * manual/platform.texi: Add PowerPC PPR function set documentation.
41025         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
41026         implementation.
41028 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
41030         * math/libm-test.inc (MAX_EXP): Define.
41031         (ULPDIFF): Define.
41032         (ulp): New function.
41033         (check_float_internal): Use ULPDIFF.
41034         (cpow_test): Disable failing test.
41035         (check_ulp): Test ulp() implemetnation.
41036         (main): Call check_ulp before starting tests.
41038 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
41040         * math/gen-libm-test.pl (generate_testfile): Do not handle
41041         START_DATA and END_DATA.
41042         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
41043         END_DATA.
41044         (acos_tonearest_test_data): Likewise.
41045         (acos_towardzero_test_data): Likewise.
41046         (acos_downward_test_data): Likewise.
41047         (acos_upward_test_data): Likewise.
41048         (acosh_test_data): Likewise.
41049         (asin_test_data): Likewise.
41050         (asin_tonearest_test_data): Likewise.
41051         (asin_towardzero_test_data): Likewise.
41052         (asin_downward_test_data): Likewise.
41053         (asin_upward_test_data): Likewise.
41054         (asinh_test_data): Likewise.
41055         (atan_test_data): Likewise.
41056         (atanh_test_data): Likewise.
41057         (atan2_test_data): Likewise.
41058         (cabs_test_data): Likewise.
41059         (cacos_test_data): Likewise.
41060         (cacosh_test_data): Likewise.
41061         (carg_test_data): Likewise.
41062         (casin_test_data): Likewise.
41063         (casinh_test_data): Likewise.
41064         (catan_test_data): Likewise.
41065         (catanh_test_data): Likewise.
41066         (cbrt_test_data): Likewise.
41067         (ccos_test_data): Likewise.
41068         (ccosh_test_data): Likewise.
41069         (ceil_test_data): Likewise.
41070         (cexp_test_data): Likewise.
41071         (cimag_test_data): Likewise.
41072         (clog_test_data): Likewise.
41073         (clog10_test_data): Likewise.
41074         (conj_test_data): Likewise.
41075         (copysign_test_data): Likewise.
41076         (cos_test_data): Likewise.
41077         (cos_tonearest_test_data): Likewise.
41078         (cos_towardzero_test_data): Likewise.
41079         (cos_downward_test_data): Likewise.
41080         (cos_upward_test_data): Likewise.
41081         (cosh_test_data): Likewise.
41082         (cosh_tonearest_test_data): Likewise.
41083         (cosh_towardzero_test_data): Likewise.
41084         (cosh_downward_test_data): Likewise.
41085         (cosh_upward_test_data): Likewise.
41086         (cpow_test_data): Likewise.
41087         (cproj_test_data): Likewise.
41088         (creal_test_data): Likewise.
41089         (csin_test_data): Likewise.
41090         (csinh_test_data): Likewise.
41091         (csqrt_test_data): Likewise.
41092         (ctan_test_data): Likewise.
41093         (ctan_tonearest_test_data): Likewise.
41094         (ctan_towardzero_test_data): Likewise.
41095         (ctan_downward_test_data): Likewise.
41096         (ctan_upward_test_data): Likewise.
41097         (ctanh_test_data): Likewise.
41098         (ctanh_tonearest_test_data): Likewise.
41099         (ctanh_towardzero_test_data): Likewise.
41100         (ctanh_downward_test_data): Likewise.
41101         (ctanh_upward_test_data): Likewise.
41102         (erf_test_data): Likewise.
41103         (erfc_test_data): Likewise.
41104         (exp_test_data): Likewise.
41105         (exp_tonearest_test_data): Likewise.
41106         (exp_towardzero_test_data): Likewise.
41107         (exp_downward_test_data): Likewise.
41108         (exp_upward_test_data): Likewise.
41109         (exp10_test_data): Likewise.
41110         (exp2_test_data): Likewise.
41111         (expm1_test_data): Likewise.
41112         (fabs_test_data): Likewise.
41113         (fdim_test_data): Likewise.
41114         (finite_test_data): Likewise.
41115         (floor_test_data): Likewise.
41116         (fma_test_data): Likewise.
41117         (fma_towardzero_test_data): Likewise.
41118         (fma_downward_test_data): Likewise.
41119         (fma_upward_test_data): Likewise.
41120         (fmax_test_data): Likewise.
41121         (fmin_test_data): Likewise.
41122         (fmod_test_data): Likewise.
41123         (fpclassify_test_data): Likewise.
41124         (frexp_test_data): Likewise.
41125         (gamma_test_data): Likewise.
41126         (hypot_test_data): Likewise.
41127         (ilogb_test_data): Likewise.
41128         (isfinite_test_data): Likewise.
41129         (isgreater_test_data): Likewise.
41130         (isgreaterequal_test_data): Likewise.
41131         (isinf_test_data): Likewise.
41132         (isless_test_data): Likewise.
41133         (islessequal_test_data): Likewise.
41134         (islessgreater_test_data): Likewise.
41135         (isnan_test_data): Likewise.
41136         (isnormal_test_data): Likewise.
41137         (issignaling_test_data): Likewise.
41138         (isunordered_test_data): Likewise.
41139         (j0_test_data): Likewise.
41140         (j1_test_data): Likewise.
41141         (jn_test_data): Likewise.
41142         (ldexp_test_data): Likewise.
41143         (lgamma_test_data): Likewise.
41144         (lrint_test_data): Likewise.
41145         (lrint_tonearest_test_data): Likewise.
41146         (lrint_towardzero_test_data): Likewise.
41147         (lrint_downward_test_data): Likewise.
41148         (lrint_upward_test_data): Likewise.
41149         (llrint_test_data): Likewise.
41150         (llrint_tonearest_test_data): Likewise.
41151         (llrint_towardzero_test_data): Likewise.
41152         (llrint_downward_test_data): Likewise.
41153         (llrint_upward_test_data): Likewise.
41154         (log_test_data): Likewise.
41155         (log10_test_data): Likewise.
41156         (log1p_test_data): Likewise.
41157         (log2_test_data): Likewise.
41158         (logb_test_data): Likewise.
41159         (logb_downward_test_data): Likewise.
41160         (lround_test_data): Likewise.
41161         (llround_test_data): Likewise.
41162         (modf_test_data): Likewise.
41163         (nearbyint_test_data): Likewise.
41164         (nextafter_test_data): Likewise.
41165         (nexttoward_test_data): Likewise.
41166         (pow_test_data): Likewise.
41167         (pow_tonearest_test_data): Likewise.
41168         (pow_towardzero_test_data): Likewise.
41169         (pow_downward_test_data): Likewise.
41170         (pow_upward_test_data): Likewise.
41171         (remainder_test_data): Likewise.
41172         (remainder_tonearest_test_data): Likewise.
41173         (remainder_towardzero_test_data): Likewise.
41174         (remainder_downward_test_data): Likewise.
41175         (remainder_upward_test_data): Likewise.
41176         (remquo_test_data): Likewise.
41177         (rint_test_data): Likewise.
41178         (rint_tonearest_test_data): Likewise.
41179         (rint_towardzero_test_data): Likewise.
41180         (rint_downward_test_data): Likewise.
41181         (rint_upward_test_data): Likewise.
41182         (round_test_data): Likewise.
41183         (scalb_test_data): Likewise.
41184         (scalbn_test_data): Likewise.
41185         (scalbln_test_data): Likewise.
41186         (signbit_test_data): Likewise.
41187         (sin_test_data): Likewise.
41188         (sin_tonearest_test_data): Likewise.
41189         (sin_towardzero_test_data): Likewise.
41190         (sin_downward_test_data): Likewise.
41191         (sin_upward_test_data): Likewise.
41192         (sincos_test_data): Likewise.
41193         (sinh_test_data): Likewise.
41194         (sinh_tonearest_test_data): Likewise.
41195         (sinh_towardzero_test_data): Likewise.
41196         (sinh_downward_test_data): Likewise.
41197         (sinh_upward_test_data): Likewise.
41198         (sqrt_test_data): Likewise.
41199         (tan_test_data): Likewise.
41200         (tan_tonearest_test_data): Likewise.
41201         (tan_towardzero_test_data): Likewise.
41202         (tan_downward_test_data): Likewise.
41203         (tan_upward_test_data): Likewise.
41204         (tanh_test_data): Likewise.
41205         (tgamma_test_data): Likewise.
41206         (trunc_test_data): Likewise.
41207         (y0_test_data): Likewise.
41208         (y1_test_data): Likewise.
41209         (yn_test_data): Likewise.
41210         (significand_test_data): Likewise.
41212         * math/gen-libm-test.pl (@functions): Remove variable.
41213         (generate_testfile): Don't handle START and END lines.
41214         * math/libm-test.inc (START): New macro.
41215         (END): Likewise.
41216         (END_COMPLEX): Likewise.
41217         (acos_test): Use END macro without arguments.
41218         (acos_test_tonearest): Likewise.
41219         (acos_test_towardzero): Likewise.
41220         (acos_test_downward): Likewise.
41221         (acos_test_upward): Likewise.
41222         (acosh_test): Likewise.
41223         (asin_test): Likewise.
41224         (asin_test_tonearest): Likewise.
41225         (asin_test_towardzero): Likewise.
41226         (asin_test_downward): Likewise.
41227         (asin_test_upward): Likewise.
41228         (asinh_test): Likewise.
41229         (atan_test): Likewise.
41230         (atanh_test): Likewise.
41231         (atan2_test): Likewise.
41232         (cabs_test): Likewise.
41233         (cacos_test): Use END_COMPLEX macro without arguments.
41234         (cacosh_test): Likewise.
41235         (carg_test): Use END macro without arguments.
41236         (casin_test): Use END_COMPLEX macro without arguments.
41237         (casinh_test): Likewise.
41238         (catan_test): Likewise.
41239         (catanh_test): Likewise.
41240         (cbrt_test): Use END macro without arguments.
41241         (ccos_test): Use END_COMPLEX macro without arguments.
41242         (ccosh_test): Likewise.
41243         (ceil_test): Use END macro without arguments.
41244         (cexp_test): Use END_COMPLEX macro without arguments.
41245         (cimag_test): Use END macro without arguments.
41246         (clog_test): Use END_COMPLEX macro without arguments.
41247         (clog10_test): Likewise.
41248         (conj_test): Likewise.
41249         (copysign_test): Use END macro without arguments.
41250         (cos_test): Likewise.
41251         (cos_test_tonearest): Likewise.
41252         (cos_test_towardzero): Likewise.
41253         (cos_test_downward): Likewise.
41254         (cos_test_upward): Likewise.
41255         (cosh_test): Likewise.
41256         (cosh_test_tonearest): Likewise.
41257         (cosh_test_towardzero): Likewise.
41258         (cosh_test_downward): Likewise.
41259         (cosh_test_upward): Likewise.
41260         (cpow_test): Use END_COMPLEX macro without arguments.
41261         (cproj_test): Likewise.
41262         (creal_test): Use END macro without arguments.
41263         (csin_test): Use END_COMPLEX macro without arguments.
41264         (csinh_test): Likewise.
41265         (csqrt_test): Likewise.
41266         (ctan_test): Likewise.
41267         (ctan_test_tonearest): Likewise.
41268         (ctan_test_towardzero): Likewise.
41269         (ctan_test_downward): Likewise.
41270         (ctan_test_upward): Likewise.
41271         (ctanh_test): Likewise.
41272         (ctanh_test_tonearest): Likewise.
41273         (ctanh_test_towardzero): Likewise.
41274         (ctanh_test_downward): Likewise.
41275         (ctanh_test_upward): Likewise.
41276         (erf_test): Use END macro without arguments.
41277         (erfc_test): Likewise.
41278         (exp_test): Likewise.
41279         (exp_test_tonearest): Likewise.
41280         (exp_test_towardzero): Likewise.
41281         (exp_test_downward): Likewise.
41282         (exp_test_upward): Likewise.
41283         (exp10_test): Likewise.
41284         (exp2_test): Likewise.
41285         (expm1_test): Likewise.
41286         (fabs_test): Likewise.
41287         (fdim_test): Likewise.
41288         (finite_test): Likewise.
41289         (floor_test): Likewise.
41290         (fma_test): Likewise.
41291         (fma_test_towardzero): Likewise.
41292         (fma_test_downward): Likewise.
41293         (fma_test_upward): Likewise.
41294         (fmax_test): Likewise.
41295         (fmin_test): Likewise.
41296         (fmod_test): Likewise.
41297         (fpclassify_test): Likewise.
41298         (frexp_test): Likewise.
41299         (gamma_test): Likewise.
41300         (hypot_test): Likewise.
41301         (ilogb_test): Likewise.
41302         (isfinite_test): Likewise.
41303         (isgreater_test): Likewise.
41304         (isgreaterequal_test): Likewise.
41305         (isinf_test): Likewise.
41306         (isless_test): Likewise.
41307         (islessequal_test): Likewise.
41308         (islessgreater_test): Likewise.
41309         (isnan_test): Likewise.
41310         (isnormal_test): Likewise.
41311         (issignaling_test): Likewise.
41312         (isunordered_test): Likewise.
41313         (j0_test): Likewise.
41314         (j1_test): Likewise.
41315         (jn_test): Likewise.
41316         (ldexp_test): Likewise.
41317         (lgamma_test): Likewise.
41318         (lrint_test): Likewise.
41319         (lrint_test_tonearest): Likewise.
41320         (lrint_test_towardzero): Likewise.
41321         (lrint_test_downward): Likewise.
41322         (lrint_test_upward): Likewise.
41323         (llrint_test): Likewise.
41324         (llrint_test_tonearest): Likewise.
41325         (llrint_test_towardzero): Likewise.
41326         (llrint_test_downward): Likewise.
41327         (llrint_test_upward): Likewise.
41328         (log_test): Likewise.
41329         (log10_test): Likewise.
41330         (log1p_test): Likewise.
41331         (log2_test): Likewise.
41332         (logb_test): Likewise.
41333         (logb_test_downward): Likewise.
41334         (lround_test): Likewise.
41335         (llround_test): Likewise.
41336         (modf_test): Likewise.
41337         (nearbyint_test): Likewise.
41338         (nextafter_test): Likewise.
41339         (nexttoward_test): Likewise.
41340         (pow_test): Likewise.
41341         (pow_test_tonearest): Likewise.
41342         (pow_test_towardzero): Likewise.
41343         (pow_test_downward): Likewise.
41344         (pow_test_upward): Likewise.
41345         (remainder_test): Likewise.
41346         (remainder_test_tonearest): Likewise.
41347         (remainder_test_towardzero): Likewise.
41348         (remainder_test_downward): Likewise.
41349         (remainder_test_upward): Likewise.
41350         (remquo_test): Likewise.
41351         (rint_test): Likewise.
41352         (rint_test_tonearest): Likewise.
41353         (rint_test_towardzero): Likewise.
41354         (rint_test_downward): Likewise.
41355         (rint_test_upward): Likewise.
41356         (round_test): Likewise.
41357         (scalb_test): Likewise.
41358         (scalbn_test): Likewise.
41359         (scalbln_test): Likewise.
41360         (signbit_test): Likewise.
41361         (sin_test): Likewise.
41362         (sin_test_tonearest): Likewise.
41363         (sin_test_towardzero): Likewise.
41364         (sin_test_downward): Likewise.
41365         (sin_test_upward): Likewise.
41366         (sincos_test): Likewise.
41367         (sinh_test): Likewise.
41368         (sinh_test_tonearest): Likewise.
41369         (sinh_test_towardzero): Likewise.
41370         (sinh_test_downward): Likewise.
41371         (sinh_test_upward): Likewise.
41372         (sqrt_test): Likewise.
41373         (tan_test): Likewise.
41374         (tan_test_tonearest): Likewise.
41375         (tan_test_towardzero): Likewise.
41376         (tan_test_downward): Likewise.
41377         (tan_test_upward): Likewise.
41378         (tanh_test): Likewise.
41379         (tgamma_test): Likewise.
41380         (trunc_test): Likewise.
41381         (y0_test): Likewise.
41382         (y1_test): Likewise.
41383         (yn_test): Likewise.
41384         (significand_test): Likewise.
41386 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
41388         [BZ #15381]
41389         * libio/genops.c (_IO_no_init): Initialize wide struct info.
41391 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
41393         [BZ #14894]
41394         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
41395         __ppc_mdoio and __ppc_mdoom.
41396         * manual/platform.texi: Document new functions __ppc_yield,
41397         __ppc_mdoio and __ppc_mdoom.
41399 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
41401         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
41402         (main): Mention "tls" pseudo-hwcap is legacy.
41403         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
41405 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
41407         * math/gen-libm-test.pl (parse_args): Output only string of
41408         arguments as text for test name, not full call or descriptions of
41409         tests for extra outputs.
41410         (generate_testfile): Do not pass function name to parse_args.
41411         Generate this_func variable from START.
41412         * math/libm-test.inc (struct test_f_f_data): Rename test_name
41413         field to arg_str.
41414         (struct test_ff_f_data): Likewise.
41415         (test_ff_f_data_nexttoward): Likewise.
41416         (struct test_fi_f_data): Likewise.
41417         (struct test_fl_f_data): Likewise.
41418         (struct test_if_f_data): Likewise.
41419         (struct test_fff_f_data): Likewise.
41420         (struct test_c_f_data): Likewise.
41421         (struct test_f_f1_data): Likewise.  Remove field extra_name.
41422         (struct test_fF_f1_data): Likewise.
41423         (struct test_ffI_f1_data): Likewise.
41424         (struct test_c_c_data): Rename test_name field to arg_str.
41425         (struct test_cc_c_data): Likewise.
41426         (struct test_f_i_data): Likewise.
41427         (struct test_ff_i_data): Likewise.
41428         (struct test_f_l_data): Likewise.
41429         (struct test_f_L_data): Likewise.
41430         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
41431         and extra2_name.
41432         (COMMON_TEST_SETUP): New macro.
41433         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
41434         (COMMON_TEST_CLEANUP): Likewise.
41435         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
41436         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
41437         macros.
41438         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
41439         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
41440         macros.
41441         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
41442         (RUN_TEST_fff_f): Take argument string.  Call new setup and
41443         cleanup macros.
41444         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
41445         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
41446         macros.
41447         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
41448         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
41449         macros.
41450         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
41451         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
41452         cleanup macros.
41453         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
41454         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
41455         cleanup macros.
41456         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
41457         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
41458         cleanup macros.
41459         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
41460         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
41461         macros.
41462         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
41463         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
41464         macros.
41465         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
41466         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
41467         macros.
41468         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
41469         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
41470         cleanup macros.
41471         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
41472         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
41473         cleanup macros.
41474         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
41475         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
41476         macros.
41477         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
41478         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
41479         cleanup macros.
41480         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
41481         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
41482         macros.
41483         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
41484         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
41485         macros.
41486         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
41487         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
41488         cleanup macros.
41489         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
41491 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
41493         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
41494         to _sifields.sigfault.
41495         (si_addr_lsb): Define new macro.
41496         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
41497         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
41498         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
41500 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
41502         [BZ #15441]
41503         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
41504         returns -1.
41505         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
41506         null return -1.
41507         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
41508         loading the domain.
41510 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
41512         * math/gen-libm-test.pl (parse_args): Do not include expected
41513         result in test name.
41514         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
41515         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
41516         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
41517         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
41518         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
41519         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41521 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
41523         * benchtests/Makefile: Sort function entries.
41525         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
41526         tanh, asinh, acosh, atanh.
41527         * benchtests/acos-inputs: New file.
41528         * benchtests/acosh-inputs: New file.
41529         * benchtests/asin-inputs: New file.
41530         * benchtests/asinh-inputs: New file.
41531         * benchtests/atanh-inputs: New file.
41532         * benchtests/cosh-inputs: New file.
41533         * benchtests/log-inputs: New file.
41534         * benchtests/sinh-inputs: New file.
41535         * benchtests/tanh-inputs: New file.
41537 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
41539         [BZ #15339]
41540         * posix/tst-getaddrinfo4.c: New test.
41541         * posix/Makefile (tests): Add it.
41543 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
41545         [BZ #15339]
41546         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
41547         when no services were used.
41548         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
41549         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
41551 2013-05-21  Andreas Schwab  <schwab@suse.de>
41553         [BZ #15014]
41554         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
41555         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
41556         successful.
41557         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
41558         redundant variable declarations and reallocation of buffer when
41559         parsing as IPv6 address.  Always set NSS status when called from
41560         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
41561         buffer too small.  Correct computation of needed size.
41562         * nss/Makefile (tests): Add test-digits-dots.
41563         * nss/test-digits-dots.c: New test.
41565 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
41567         * benchtests/Makefile: Remove instructions for adding
41568         benchmark tests.
41569         * benchtests/README: New file to explain how to execute and
41570         enhance the benchmark tests.
41572 2013-05-21  Andreas Schwab  <schwab@suse.de>
41574         [BZ #15493]
41575         * setjmp/Makefile (tests): Add tst-sigsetjmp.
41576         * setjmp/tst-sigsetjmp.c: New test.
41578 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
41580         * sysdeps/x86_64/memset.S (memset): New implementation.
41581         (__bzero): Likewise.
41582         (__memset_tail): New function.
41584 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
41586         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
41587         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
41588         __memcpy_sse2_unaligned ifunc selection.
41589         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
41590         Add memcpy-sse2-unaligned.S.
41591         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
41592         Add: __memcpy_sse2_unaligned.
41594 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
41596         [BZ #15490]
41597         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
41598         math_force_eval before restoring floating-point envrionment.
41599         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
41600         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
41601         Likewise.
41602         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
41603         <math_private.h>.
41604         (__nearbyintl): Use math_force_eval before restoring
41605         floating-point environment.
41606         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
41608         * math/gen-libm-test.pl (special_functions): Remove.
41609         (parse_args): Don't handle TEST_extra.  Handle functions with no
41610         return value.
41611         * math/libm-test.inc (struct test_sincos_data): Replace with
41612         struct test_fFF_11_data.
41613         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
41614         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
41615         (sincos_test_data): Change element type to struct
41616         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
41617         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
41618         RUN_TEST_LOOP_sincos.
41619         * math/README.libm-test: Don't mention special handling of
41620         individual functions.
41621         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
41622         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
41623         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
41624         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
41625         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
41626         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41628         * math/gen-libm-test.pl (get_variable): Remove function.
41629         (parse_args): Don't show pointer parameters to call in test
41630         names.  Use "extra output N" in test names for extra outputs
41631         rather than naming variables.
41633 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
41635         [BZ #15488]
41636         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
41637         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
41638         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
41639         double tests.
41640         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
41641         disable.
41642         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
41643         check_long_double.
41645         * math/gen-libm-test.pl (@tests): Remove variable.
41646         ($count): Likewise.
41647         (new_test): Remove function.
41648         (show_exceptions): New function.
41649         (special_functions): Use show_exceptions instead of new_test.
41650         (parse_args): Likewise.
41651         (generate_testfile): Pass only function name in generated call to
41652         print_max_error or print_complex_max_error.
41653         (get_ulps): Do not handle complex tests specially.
41654         (output_test): Rename to ...
41655         (get_all_ulps_for_test): ... this.  Return a string rather than
41656         printing to a file.  Require ulps to be present.
41657         (output_ulps): Generate arrays rather than #defines.
41658         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
41659         (struct ulp_data): New type.
41660         (BUILD_COMPLEX_ULP): Remove macro.
41661         (compare_ulp_data): New function.
41662         (find_ulps): Likewise.
41663         (find_test_ulps): Likewise.
41664         (find_function_ulps): Likewise.
41665         (find_complex_function_ulps): Likewise.
41666         (print_max_error): Determine allowed ulps using
41667         find_function_ulps.
41668         (print_complex_max_error): Determine allowed ulps using
41669         find_complex_function_ulps.
41670         (check_float_internal): Determine max ulps using find_test_ulps.
41671         (check_float): Do not take max_ulp parameter.  Update call to
41672         check_float_internal.
41673         (check_complex): Likewise.
41674         (check_int): Do not take max_ulp parameter.
41675         (check_long): Likewise.
41676         (check_bool): Likewise.
41677         (check_longlong): Likewise.
41678         (struct test_f_f_data): Remove max_ulp field.
41679         (struct test_ff_f_data): Likewise.
41680         (struct test_ff_f_data_nexttoward): Likewise.
41681         (struct test_fi_f_data): Likewise.
41682         (struct test_fl_f_data): Likewise.
41683         (struct test_if_f_data): Likewise.
41684         (struct test_fff_f_data): Likewise.
41685         (struct test_c_f_data): Likewise.
41686         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
41687         (struct test_fF_f1_data): Likewise.
41688         (struct test_ffI_f1_data): Likewise.
41689         (struct test_c_c_data): Remove max_ulp field.
41690         (struct test_cc_c_data): Likewise.
41691         (struct test_f_i_data): Likewise.
41692         (struct test_ff_i_data): Likewise.
41693         (struct test_f_l_data): Likewise.
41694         (struct test_f_L_data): Likewise.
41695         (struct test_sincos_data): Likewise.
41696         (RUN_TEST_f_f): Do not handle ulps.
41697         (RUN_TEST_LOOP_f_f): Likewise.
41698         (RUN_TEST_2_f): Likewise.
41699         (RUN_TEST_LOOP_2_f): Likewise.
41700         (RUN_TEST_fff_f): Likewise.
41701         (RUN_TEST_LOOP_fff_f): Likewise.
41702         (RUN_TEST_c_f): Likewise.
41703         (RUN_TEST_LOOP_c_f): Likewise.
41704         (RUN_TEST_f_f1): Likewise.
41705         (RUN_TEST_LOOP_f_f1): Likewise.
41706         (RUN_TEST_fF_f1): Likewise.
41707         (RUN_TEST_LOOP_fF_f1): Likewise.
41708         (RUN_TEST_fI_f1): Likewise.
41709         (RUN_TEST_LOOP_fI_f1): Likewise.
41710         (RUN_TEST_ffI_f1): Likewise.
41711         (RUN_TEST_LOOP_ffI_f1): Likewise.
41712         (RUN_TEST_c_c): Likewise.
41713         (RUN_TEST_LOOP_c_c): Likewise.
41714         (RUN_TEST_cc_c): Likewise.
41715         (RUN_TEST_LOOP_cc_c): Likewise.
41716         (RUN_TEST_f_i): Likewise.
41717         (RUN_TEST_LOOP_f_i): Likewise.
41718         (RUN_TEST_f_i_tg): Likewise.
41719         (RUN_TEST_LOOP_f_i_tg): Likewise.
41720         (RUN_TEST_ff_i_tg): Likewise.
41721         (RUN_TEST_LOOP_ff_i_tg): Likewise.
41722         (RUN_TEST_f_b): Likewise.
41723         (RUN_TEST_LOOP_f_b): Likewise.
41724         (RUN_TEST_f_b_tg): Likewise.
41725         (RUN_TEST_LOOP_f_b_tg): Likewise.
41726         (RUN_TEST_f_l): Likewise.
41727         (RUN_TEST_LOOP_f_l): Likewise.
41728         (RUN_TEST_f_L): Likewise.
41729         (RUN_TEST_LOOP_f_L): Likewise.
41730         (RUN_TEST_sincos): Likewise.
41731         (RUN_TEST_LOOP_sincos): Likewise.
41733 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
41735         [BZ #15480]
41736         [BZ #15485]
41737         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
41738         main case of finite arguments, set rounding mode to FE_TONEAREST
41739         and discard exceptions.
41740         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
41741         exceptions.
41742         (remainder_tonearest_test_data): New variable.
41743         (remainder_test_tonearest): New function.
41744         (remainder_towardzero_test_data): New variable.
41745         (remainder_test_towardzero): New function.
41746         (remainder_downward_test_data): New variable.
41747         (remainder_test_downward): New function.
41748         (remainder_upward_test_data): New variable.
41749         (remainder_test_upward): New function.
41750         (main): Call the new test functions.
41752         * math/libm-test.inc (struct test_f_f1_data): Remove field
41753         extra_init.
41754         (struct test_fF_f1_data): Likewise.
41755         (struct test_ffI_f1_data): Likewise.
41756         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
41757         based on value of EXTRA_EXPECTED.
41758         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
41759         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
41760         EXTRA_VAR based on value of EXTRA_EXPECTED.
41761         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
41762         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
41763         EXTRA_VAR based on value of EXTRA_EXPECTED.
41764         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
41765         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
41766         EXTRA_VAR based on value of EXTRA_EXPECTED.
41767         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
41768         * math/gen-libm-test.pl (parse_args): Don't output initializers
41769         for extra output values.
41771         * math/libm-test.inc (check_int): Expect result to be exactly
41772         equal to expected value and do not handle ulps.
41773         (check_long): Likewise.
41774         (check_longlong): Likewise.
41776         * math/libm-test.inc (ceil_test_data): Test for "inexact"
41777         exceptions.
41778         (cimag_test_data): Likewise.
41779         (conj_test_data): Likewise.
41780         (copysign_test_data): Likewise.
41781         (cproj_test_data): Likewise.
41782         (creal_test_data): Likewise.
41783         (fabs_test_data): Likewise.
41784         (fdim_test_data): Likewise.
41785         (finite_test_data): Likewise.
41786         (floor_test_data): Likewise.
41787         (fmax_test_data): Likewise.
41788         (fmin_test_data): Likewise.
41789         (fmod_test_data): Likewise.
41790         (fpclassify_test_data): Likewise.
41791         (frexp_test_data): Likewise.
41792         (ilogb_test_data): Likewise.
41793         (isfinite_test_data): Likewise.
41794         (isgreater_test_data): Likewise.
41795         (isgreaterequal_test_data): Likewise.
41796         (isinf_test_data): Likewise.
41797         (isless_test_data): Likewise.
41798         (islessequal_test_data): Likewise.
41799         (islessgreater_test_data): Likewise.
41800         (isnan_test_data): Likewise.
41801         (isnormal_test_data): Likewise.
41802         (issignaling_test_data): Likewise.
41803         (isunordered_test_data): Likewise.
41804         (ldexp_test_data): Likewise.
41805         (lrint_test_data): Likewise.
41806         (lrint_test_data) [TEST_FLOAT]: Disable one test.
41807         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
41808         (lrint_tonearest_test_data): Test for "inexact" exceptions.
41809         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
41810         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
41811         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
41812         test input.
41813         (lrint_towardzero_test_data): Test for "inexact" exceptions.
41814         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
41815         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
41816         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
41817         that test input.
41818         (lrint_downward_test_data): Test for "inexact" exceptions.
41819         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
41820         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
41821         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
41822         test input.
41823         (lrint_upward_test_data): Test for "inexact" exceptions.
41824         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
41825         test input.
41826         (llrint_test_data): Test for "inexact" exceptions.
41827         (llrint_test_data) [TEST_FLOAT]: Disable one test.
41828         (llrint_tonearest_test_data): Test for "inexact" exceptions.
41829         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
41830         (llrint_towardzero_test_data): Test for "inexact" exceptions.
41831         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
41832         (llrint_downward_test_data): Test for "inexact" exceptions.
41833         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
41834         (llrint_upward_test_data): Test for "inexact" exceptions.
41835         (logb_test_data): Likewise.
41836         (logb_downward_test_data): Likewise.
41837         (nextafter_test_data): Likewise.
41838         (nexttoward_test_data): Likewise.
41839         (remainder_test_data): Likewise.
41840         (remquo_test_data): Likewise.
41841         (scalbn_test_data): Likewise.
41842         (scalbln_test_data): Likewise.
41843         (signbit_test_data): Likewise.
41844         (sqrt_test_data): Likewise.
41845         (significand_test_data): Likewise.
41847 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
41849         [BZ #15424]
41850         * benchtests/bench-modf.c (struct args): Mark arg0 as
41851         volatile.
41852         * scripts/bench.pl: Mark members of struct args as volatile.
41854 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41856         [BZ # 15497]
41857         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
41858         negative infinity on POWER6 or lower.
41859         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
41861 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
41863         [BZ #15442]
41864         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
41865         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
41866         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
41867         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
41868         (_FP_SETQNAN): New macro.
41869         (_FP_SETQNAN_SEMIRAW): Likewise.
41870         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
41871         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
41872         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
41873         (FP_EXTEND): Use _FP_FRAC_SNANP.
41874         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
41875         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
41876         into account.
41877         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
41878         New macro.
41879         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
41880         Likewise.
41882 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
41884         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
41885         with DIVIDE_BY_ZERO_EXCEPTION.
41886         (gamma_test_data): Likewise.
41887         (lgamma_test_data): Likewise.
41888         (log_test_data): Likewise.
41889         (log10_test_data): Likewise.
41890         (log2_test_data): Likewise.
41891         (tgamma_test_data): Likewise.
41893         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
41894         (acos_test_tonearest): Likewise.
41895         (acos_test_towardzero): Likewise.
41896         (acos_test_downward): Likewise.
41897         (acos_test_upward): Likewise.
41898         (acosh_test): Likewise.
41899         (asin_test): Likewise.
41900         (asin_test_tonearest): Likewise.
41901         (asin_test_towardzero): Likewise.
41902         (asin_test_downward): Likewise.
41903         (asin_test_upward): Likewise.
41904         (asinh_test): Likewise.
41905         (atan_test): Likewise.
41906         (atanh_test): Likewise.
41907         (atan2_test): Likewise.
41908         (cabs_test): Likewise.
41909         (cacos_test): Likewise.
41910         (cacosh_test): Likewise.
41911         (casin_test): Likewise.
41912         (casinh_test): Likewise.
41913         (catan_test): Likewise.
41914         (catanh_test): Likewise.
41915         (cbrt_test): Likewise.
41916         (ccos_test): Likewise.
41917         (ccosh_test): Likewise.
41918         (cexp_test): Likewise.
41919         (clog_test): Likewise.
41920         (clog10_test): Likewise.
41921         (cos_test): Likewise.
41922         (cos_test_tonearest): Likewise.
41923         (cos_test_towardzero): Likewise.
41924         (cos_test_downward): Likewise.
41925         (cos_test_upward): Likewise.
41926         (cosh_test): Likewise.
41927         (cosh_test_tonearest): Likewise.
41928         (cosh_test_towardzero): Likewise.
41929         (cosh_test_downward): Likewise.
41930         (cosh_test_upward): Likewise.
41931         (cpow_test): Likewise.
41932         (csin_test): Likewise.
41933         (csinh_test): Likewise.
41934         (csqrt_test): Likewise.
41935         (ctan_test): Likewise.
41936         (ctan_test_tonearest): Likewise.
41937         (ctan_test_towardzero): Likewise.
41938         (ctan_test_downward): Likewise.
41939         (ctan_test_upward): Likewise.
41940         (ctanh_test): Likewise.
41941         (ctanh_test_tonearest): Likewise.
41942         (ctanh_test_towardzero): Likewise.
41943         (ctanh_test_downward): Likewise.
41944         (ctanh_test_upward): Likewise.
41945         (erf_test): Likewise.
41946         (erfc_test): Likewise.
41947         (exp_test): Likewise.
41948         (exp_test_tonearest): Likewise.
41949         (exp_test_towardzero): Likewise.
41950         (exp_test_downward): Likewise.
41951         (exp_test_upward): Likewise.
41952         (exp10_test): Likewise.
41953         (exp2_test): Likewise.
41954         (expm1_test): Likewise.
41955         (fmod_test): Likewise.
41956         (gamma_test): Likewise.
41957         (hypot_test): Likewise.
41958         (j0_test): Likewise.
41959         (j1_test): Likewise.
41960         (jn_test): Likewise.
41961         (lgamma_test): Likewise.
41962         (log_test): Likewise.
41963         (log10_test): Likewise.
41964         (log1p_test): Likewise.
41965         (log2_test): Likewise.
41966         (logb_test_downward): Likewise.
41967         (pow_test): Likewise.
41968         (pow_test_tonearest): Likewise.
41969         (pow_test_towardzero): Likewise.
41970         (pow_test_downward): Likewise.
41971         (pow_test_upward): Likewise.
41972         (remainder_test): Likewise.
41973         (remquo_test): Likewise.
41974         (sin_test): Likewise.
41975         (sin_test_tonearest): Likewise.
41976         (sin_test_towardzero): Likewise.
41977         (sin_test_downward): Likewise.
41978         (sin_test_upward): Likewise.
41979         (sincos_test): Likewise.
41980         (sinh_test): Likewise.
41981         (sinh_test_tonearest): Likewise.
41982         (sinh_test_towardzero): Likewise.
41983         (sinh_test_downward): Likewise.
41984         (sinh_test_upward): Likewise.
41985         (sqrt_test): Likewise.
41986         (tan_test): Likewise.
41987         (tan_test_tonearest): Likewise.
41988         (tan_test_towardzero): Likewise.
41989         (tan_test_downward): Likewise.
41990         (tan_test_upward): Likewise.
41991         (tanh_test): Likewise.
41992         (tgamma_test): Likewise.
41993         (y0_test): Likewise.
41994         (y1_test): Likewise.
41995         (yn_test): Likewise.
41997         * math/gen-libm-test.pl (adjust_arg): Remove function.
41998         (special_function): Remove argument $in_func.  Only handle
41999         generating output for tables of tests, not inside functions.
42000         (parse_args): Likewise.
42001         (generate_testfile): Remove variable $in_func.  Update call to
42002         parse_args.
42003         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
42004         (MINUS_ZERO_INIT): Rename macro to minus_zero.
42005         (PLUS_INFTY_INIT): Rename macro to plus_infty.
42006         (MINUS_INFTY_INIT): Rename macro to minus_infty.
42007         (QNAN_VALUE_INIT): Rename macro to qnan_value.
42008         (MAX_VALUE_INIT): Rename macro to max_value.
42009         (MIN_VALUE_INIT): Rename macro to min_value.
42010         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
42011         (plus_zero): Remove variable.
42012         (minus_zero): Likewise.
42013         (plus_infty): Likewise.
42014         (minus_infty): Likewise.
42015         (qnan_value): Likewise.
42016         (max_value): Likewise.
42017         (min_value): Likewise.
42018         (min_subnorm_value): Likewise.
42020 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
42022         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
42023         uint64_t or uint32_t usage.
42024         * crypt/sha256-block.c: Likewise.
42025         * crypt/sha256-crypt.c: Likewise.
42026         * crypt/sha256.c: Likewise.
42027         * crypt/sha512-block.c: Likewise.
42028         * crypt/sha512-crypt.c: Likewise.
42029         * crypt/sha512.c: Likewise.
42030         * debug/backtrace-tst.c: Likewise.
42031         * debug/pcprofiledump.c: Likewise.
42032         * elf/cache.c: Likewise.
42033         * elf/dl-cache.c: Likewise.
42034         * elf/dl-misc.c: Likewise.
42035         * elf/dl-profile.c: Likewise.
42036         * elf/dl-support.c: Likewise.
42037         * elf/ldconfig.c: Likewise.
42038         * elf/sprof.c: Likewise.
42039         * iconv/dummy-repertoire.c: Likewise.
42040         * iconv/iconv_charmap.c: Likewise.
42041         * iconv/skeleton.c: Likewise.
42042         * iconvdata/8bit-generic.c: Likewise.
42043         * iconvdata/cp737.h: Likewise.
42044         * iconvdata/cp775.h: Likewise.
42045         * iconvdata/ibm1008.h: Likewise.
42046         * iconvdata/ibm1025.h: Likewise.
42047         * iconvdata/ibm1046.h: Likewise.
42048         * iconvdata/ibm1097.h: Likewise.
42049         * iconvdata/ibm1112.h: Likewise.
42050         * iconvdata/ibm1122.h: Likewise.
42051         * iconvdata/ibm1123.h: Likewise.
42052         * iconvdata/ibm1124.h: Likewise.
42053         * iconvdata/ibm1129.h: Likewise.
42054         * iconvdata/ibm1130.h: Likewise.
42055         * iconvdata/ibm1132.h: Likewise.
42056         * iconvdata/ibm1133.h: Likewise.
42057         * iconvdata/ibm1137.h: Likewise.
42058         * iconvdata/ibm1140.h: Likewise.
42059         * iconvdata/ibm1141.h: Likewise.
42060         * iconvdata/ibm1142.h: Likewise.
42061         * iconvdata/ibm1143.h: Likewise.
42062         * iconvdata/ibm1144.h: Likewise.
42063         * iconvdata/ibm1145.h: Likewise.
42064         * iconvdata/ibm1146.h: Likewise.
42065         * iconvdata/ibm1147.h: Likewise.
42066         * iconvdata/ibm1148.h: Likewise.
42067         * iconvdata/ibm1149.h: Likewise.
42068         * iconvdata/ibm1153.h: Likewise.
42069         * iconvdata/ibm1154.h: Likewise.
42070         * iconvdata/ibm1155.h: Likewise.
42071         * iconvdata/ibm1156.h: Likewise.
42072         * iconvdata/ibm1157.h: Likewise.
42073         * iconvdata/ibm1158.h: Likewise.
42074         * iconvdata/ibm1160.h: Likewise.
42075         * iconvdata/ibm1161.h: Likewise.
42076         * iconvdata/ibm1162.h: Likewise.
42077         * iconvdata/ibm1163.h: Likewise.
42078         * iconvdata/ibm1164.h: Likewise.
42079         * iconvdata/ibm1166.h: Likewise.
42080         * iconvdata/ibm1167.h: Likewise.
42081         * iconvdata/ibm12712.h: Likewise.
42082         * iconvdata/ibm1390.h: Likewise.
42083         * iconvdata/ibm1399.h: Likewise.
42084         * iconvdata/ibm16804.h: Likewise.
42085         * iconvdata/ibm4517.h: Likewise.
42086         * iconvdata/ibm4899.h: Likewise.
42087         * iconvdata/ibm4909.h: Likewise.
42088         * iconvdata/ibm4971.h: Likewise.
42089         * iconvdata/ibm5347.h: Likewise.
42090         * iconvdata/ibm803.h: Likewise.
42091         * iconvdata/ibm856.h: Likewise.
42092         * iconvdata/ibm901.h: Likewise.
42093         * iconvdata/ibm902.h: Likewise.
42094         * iconvdata/ibm9030.h: Likewise.
42095         * iconvdata/ibm9066.h: Likewise.
42096         * iconvdata/ibm921.h: Likewise.
42097         * iconvdata/ibm922.h: Likewise.
42098         * iconvdata/ibm9448.h: Likewise.
42099         * iconvdata/isiri-3342.h: Likewise.
42100         * iconvdata/jis0201.h: Likewise.
42101         * include/link.h: Likewise.
42102         * include/netdb.h: Likewise.
42103         * inet/check_native.c: Likewise.
42104         * inet/check_pf.c: Likewise.
42105         * inet/getipv4sourcefilter.c: Likewise.
42106         * inet/getnameinfo.c: Likewise.
42107         * inet/getsourcefilter.c: Likewise.
42108         * inet/htonl.c: Likewise.
42109         * inet/setipv4sourcefilter.c: Likewise.
42110         * inet/setsourcefilter.c: Likewise.
42111         * inet/test-inet6_opt.c: Likewise.
42112         * inet/tst-network.c: Likewise.
42113         * locale/C-collate.c: Likewise.
42114         * locale/C-ctype.c: Likewise.
42115         * locale/C-time.c: Likewise.
42116         * locale/C-translit.h: Likewise.
42117         * locale/loadarchive.c: Likewise.
42118         * locale/programs/3level.h: Likewise.
42119         * locale/programs/charmap.c: Likewise.
42120         * locale/programs/charmap.h: Likewise.
42121         * locale/programs/ld-address.c: Likewise.
42122         * locale/programs/ld-collate.c: Likewise.
42123         * locale/programs/ld-ctype.c: Likewise.
42124         * locale/programs/ld-identification.c: Likewise.
42125         * locale/programs/ld-measurement.c: Likewise.
42126         * locale/programs/ld-messages.c: Likewise.
42127         * locale/programs/ld-monetary.c: Likewise.
42128         * locale/programs/ld-name.c: Likewise.
42129         * locale/programs/ld-numeric.c: Likewise.
42130         * locale/programs/ld-paper.c: Likewise.
42131         * locale/programs/ld-telephone.c: Likewise.
42132         * locale/programs/ld-time.c: Likewise.
42133         * locale/programs/linereader.c: Likewise.
42134         * locale/programs/locale.c: Likewise.
42135         * locale/programs/locarchive.c: Likewise.
42136         * locale/programs/locfile.h: Likewise.
42137         * locale/programs/repertoire.c: Likewise.
42138         * locale/programs/simple-hash.c: Likewise.
42139         * locale/programs/simple-hash.h: Likewise.
42140         * malloc/memusage.c: Likewise.
42141         * malloc/memusagestat.c: Likewise.
42142         * nis/nis_defaults.c: Likewise.
42143         * nis/nis_hash.c: Likewise.
42144         * nis/nis_print.c: Likewise.
42145         * nis/nis_xdr.c: Likewise.
42146         * nscd/connections.c: Likewise.
42147         * nscd/hstcache.c: Likewise.
42148         * nscd/nscd_gethst_r.c: Likewise.
42149         * nscd/nscd_getserv_r.c: Likewise.
42150         * nscd/nscd_helper.c: Likewise.
42151         * nscd/servicescache.c: Likewise.
42152         * nss/makedb.c: Likewise.
42153         * nss/nss_db/db-XXX.c: Likewise.
42154         * nss/nss_db/db-initgroups.c: Likewise.
42155         * nss/nss_db/db-netgrp.c: Likewise.
42156         * nss/nss_files/files-network.c: Likewise.
42157         * nss/nss_files/files-parse.c: Likewise.
42158         * posix/bug-regex5.c: Likewise.
42159         * posix/fnmatch_loop.c: Likewise.
42160         * posix/regcomp.c: Likewise.
42161         * posix/regexec.c: Likewise.
42162         * posix/tst-rfc3484-2.c: Likewise.
42163         * posix/tst-rfc3484-3.c: Likewise.
42164         * posix/tst-rfc3484.c: Likewise.
42165         * resolv/nss_dns/dns-canon.c: Likewise.
42166         * resolv/nss_dns/dns-network.c: Likewise.
42167         * resolv/res_init.c: Likewise.
42168         * resolv/res_mkquery.c: Likewise.
42169         * resolv/tst-aton.c: Likewise.
42170         * stdlib/cxa_atexit.c: Likewise.
42171         * stdlib/cxa_finalize.c: Likewise.
42172         * stdlib/gen-fpioconst.c: Likewise.
42173         * stdlib/strtol_l.c: Likewise.
42174         * string/tst-endian.c: Likewise.
42175         * sunrpc/auth_des.c: Likewise.
42176         * sunrpc/clnt_udp.c: Likewise.
42177         * sunrpc/rtime.c: Likewise.
42178         * sunrpc/svcauth_des.c: Likewise.
42179         * sunrpc/xdr.c: Likewise.
42180         * sunrpc/xdr_intXX_t.c: Likewise.
42181         * sunrpc/xdr_rec.c: Likewise.
42182         * sysdeps/generic/ldconfig.h: Likewise.
42183         * sysdeps/generic/ldsodefs.h: Likewise.
42184         * sysdeps/generic/memusage.h: Likewise.
42185         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
42186         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
42187         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
42188         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
42189         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
42190         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
42191         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
42192         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
42193         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
42194         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
42195         * sysdeps/posix/getaddrinfo.c: Likewise.
42196         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
42197         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
42198         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
42199         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
42200         * sysdeps/powerpc/test-gettimebase.c: Likewise.
42201         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
42202         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
42203         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
42204         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
42205         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
42206         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
42207         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
42208         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
42209         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
42210         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
42211         * sysdeps/x86_64/dl-tls.h: Likewise.
42212         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
42213         * time/alt_digit.c: Likewise.
42214         * time/era.c: Likewise.
42215         * wcsmbs/tst-c16c32-1.c: Likewise.
42217 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
42219         * math/libm-test.inc (struct test_sincos_data): New type.
42220         (RUN_TEST_LOOP_sincos): New macro.
42221         (sincos_test_data): New variable.
42222         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
42224 2013-05-16  Richard Henderson  <rth@redhat.com>
42226         * math/atest-exp2.c (LIMB64): New macro.
42227         (CONSTSZ): New macro.
42228         (mp_exp1, mp_exp_m1, mp_log2): New variables.
42229         (hexdig): Move ...
42230         (print_mpn_fp): ... to function scope.
42231         (read_mpn_hex): Remove.
42232         (get_log2): Remove.
42233         (exp2_mpn): Use mp_log2.
42234         (main): Use mp_exp1.
42236 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
42238         * math/libm-test.inc: Remove comment about not testing "inexact"
42239         exceptions.
42240         (INEXACT_EXCEPTION): New macro.
42241         (NO_INEXACT_EXCEPTION): Likewise.
42242         (INVALID_EXCEPTION_OK): Update value.
42243         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
42244         (OVERFLOW_EXCEPTION_OK): Likewise.
42245         (UNDERFLOW_EXCEPTION_OK): Likewise.
42246         (IGNORE_ZERO_INF_SIGN): Likewise.
42247         (ERRNO_UNCHANGED): Likewise.
42248         (ERRNO_EDOM): Likewise.
42249         (ERRNO_ERANGE): Likewise.
42250         (test_exceptions): Handle testing "inexact" exceptions.
42251         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
42252         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
42253         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
42254         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
42255         INEXACT_EXCEPTION.
42256         (rint_towardzero_test_data): Likewise.
42257         (rint_downward_test_data): Likewise.
42258         (rint_upward_test_data): Likewise.
42260         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
42261         with OVERFLOW_EXCEPTION.
42262         (exp10_test_data): Likewise.
42263         (exp2_test_data): Likewise.
42264         (expm1_test_data): Likewise.
42265         (lgamma_test_data): Likewise.
42266         (pow_test_data): Likewise.
42267         (tgamma_test_data): Likewise.
42268         (yn_test_data): Remove duplicate test of overflow.
42270         * math/libm-test.inc (struct test_cc_c_data): New type.
42271         (RUN_TEST_LOOP_cc_c): New macro.
42272         (cpow_test_data): New variable.
42273         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
42275         * math/libm-test.inc (struct test_f_L_data): New type.
42276         (RUN_TEST_LOOP_f_L): New macro.
42277         (llrint_test_data): New variable.
42278         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
42279         (llrint_tonearest_test_data): New variable.
42280         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
42281         (llrint_towardzero_test_data): New variable.
42282         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
42283         (llrint_downward_test_data): New variable.
42284         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
42285         (llrint_upward_test_data): New variable.
42286         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
42287         (llround_test_data): New variable.
42288         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
42290 2013-05-13  Peter Collingbourne  <pcc@google.com>
42292         * math/atest-exp2.c (get_log2): Remove const attribute.
42294 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
42296         * math/libm-test.inc (struct test_f_l_data): New type.
42297         (RUN_TEST_LOOP_f_l): New macro.
42298         (lrint_test_data): New variable.
42299         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
42300         (lrint_tonearest_test_data): New variable.
42301         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
42302         (lrint_towardzero_test_data): New variable.
42303         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
42304         (lrint_downward_test_data): New variable.
42305         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
42306         (lrint_upward_test_data): New variable.
42307         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
42308         (lround_test_data): New variable.
42309         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
42311 2013-05-15  Peter Collingbourne  <pcc@google.com>
42313         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
42314         (EXTRACT_WORDS64) Use where appropriate.
42315         (INSERT_WORDS64) Likewise.
42317         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
42318         constraints with x constraints.
42319         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
42321         * malloc/obstack.c (_obstack_compat): Add initializer.
42323 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
42325         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
42326         si_trapno and add si_addr_lsb to _sifields.sigfault.
42327         (si_trapno): Remove macro.
42328         (si_addr_lsb): Define new macro.
42329         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
42331 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
42333         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
42334         instead of TEST_f_l.
42335         (llrint_test_tonearest): Likewise.
42336         (llrint_test_towardzero): Likewise.
42337         (llrint_test_downward): Likewise.
42338         (llrint_test_upward): Likewise.
42339         (llround_test): Likewise.
42341         * math/libm-test.inc (struct test_f_i_data): Add comment.
42342         (RUN_TEST_LOOP_f_b): New macro.
42343         (RUN_TEST_LOOP_f_b_tg): Likewise.
42344         (finite_test_data): New variable.
42345         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
42346         (isfinite_test_data): New variable.
42347         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
42348         (isinf_test_data): New variable.
42349         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
42350         (isnan_test_data): New variable.
42351         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
42352         (isnormal_test_data): New variable.
42353         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
42354         (issignaling_test_data): New variable.
42355         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
42356         (signbit_test_data): New variable.
42357         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
42359         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
42360         with INVALID_EXCEPTION.
42361         (acosh_test_data): Likewise.
42362         (asin_test_data): Likewise.
42363         (atanh_test_data): Likewise.
42364         (fmod_test_data): Likewise.
42365         (log_test_data): Likewise.
42366         (log10_test_data): Likewise.
42367         (log2_test_data): Likewise.
42368         (pow_test_data): Likewise.
42369         (sqrt_test_data): Likewise.
42370         (y0_test_data): Likewise.
42371         (y1_test_data): Likewise.
42372         (yn_test_data): Likewise.
42374         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
42375         function contents.
42377         * math/libm-test.inc (struct test_ff_i_data): New type.
42378         (RUN_TEST_LOOP_ff_i_tg): New macro.
42379         (isgreater_test_data): New variable.
42380         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
42381         (isgreaterequal_test_data): New variable.
42382         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
42383         (isless_test_data): New variable.
42384         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
42385         (islessequal_test_data): New variable.
42386         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
42387         (islessgreater_test_data): New variable.
42388         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
42389         (isunordered_test_data): New variable.
42390         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
42392 2013-05-14  David S. Miller  <davem@davemloft.net>
42394         * sysdeps/sparc/fpu/libm-test-ulps: Update.
42396 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
42398         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
42400         * math/libm-test.inc (struct test_fF_f1_data): Change type of
42401         extra_test to int.
42402         (struct test_f_i_data): Change type of max_ulp to int.
42404         * math/libm-test.inc (test_ffI_f1_data): New type.
42405         (RUN_TEST_LOOP_ffI_f1): New macro.
42406         (remquo_test_data): New variable.
42407         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
42409         * setjmp/tst-setjmp-fp.c: New file.
42410         * setjmp/Makefile (tests): Add tst-setjmp-fp.
42411         (link-libm): New variable.
42412         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
42414         * math/libm-test.inc (struct test_f_i_data): New type.
42415         (RUN_TEST_LOOP_f_i): New macro.
42416         (RUN_TEST_LOOP_f_i_tg): Likewise.
42417         (fpclassify_test_data): New variable.
42418         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
42419         (ilogb_test_data): New variable.
42420         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
42422         * math/libm-test.inc (scalbln_test): Correct function name in END
42423         call.
42425         * math/libm-test.inc (struct test_f_f1_data): Add comment.
42426         (RUN_TEST_LOOP_fI_f1): New macro.
42427         (frexp_test_data): New variable.
42428         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
42430         * math/libm-test.inc (struct test_fF_f1_data): New type.
42431         (RUN_TEST_LOOP_fF_f1): New macro.
42432         (modf_test_data): New variable.
42433         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
42435         * math/libm-test.inc (struct test_f_f1_data): New type.
42436         (RUN_TEST_LOOP_f_f1): New macro.
42437         (gamma_test_data): New variable.
42438         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
42439         (lgamma_test_data): New variable.
42440         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
42442 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
42444         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
42445         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
42446         (main): Comment "tls" pseudo-hwcap.
42448 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
42450         * math/libm-test.inc (struct test_fl_f_data): New type.
42451         (RUN_TEST_LOOP_fl_f): New variable.
42452         (scalbln_test_data): New variable.
42453         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
42455         * math/libm-test.inc (struct test_fi_f_data): New type.
42456         (RUN_TEST_LOOP_fi_f): New macro.
42457         (ldexp_test_data): New variable.
42458         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
42459         (scalbn_test_data): New variable.
42460         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
42462         * math/libm-test.inc (struct test_c_f_data): New type.
42463         (RUN_TEST_LOOP_c_f): New macro.
42464         (cabs_test_data): New variable.
42465         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
42466         (carg_test_data): New variable.
42467         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
42468         (cimag_test_data): New variable.
42469         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
42470         (creal_test_data): New variable.
42471         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
42473         * math/libm-test.inc (struct test_if_f_data): New type.
42474         (RUN_TEST_LOOP_if_f): New macro.
42475         (jn_test_data): New variable.
42476         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
42477         (yn_test_data): New variable.
42478         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
42480         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
42482 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42484         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
42485         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
42487 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
42489         * benchtests/Makefile (CPPFLAGS-nonlib): Add
42490         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
42491         (bench-deps): Add bench-timing.h.
42492         * benchtests-bench-skeleton.c: Include bench-timing.h.
42493         (main): Use TIMING_* macros instead of clock_gettime.
42494         * benchtests/bench-timing.h: New file.
42496         [BZ #14582]
42497         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
42498         Renamed from _LIB_VERSION.
42499         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
42501 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
42503         * math/libm-test.inc (struct test_fff_f_data): New type.
42504         (RUN_TEST_LOOP_fff_f): New macro.
42505         (fma_test_data): New variable.
42506         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
42507         (fma_towardzero_test_data): New variable.
42508         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
42509         (fma_downward_test_data): New variable.
42510         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
42511         (fma_upward_test_data): New variable.
42512         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
42514         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
42515         (struct test_c_c_data): New type.
42516         (RUN_TEST_LOOP_c_c): New macro.
42517         (cacos_test_data): New variable.
42518         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
42519         (cacosh_test_data): New variable.
42520         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
42521         (casin_test_data): New variable.
42522         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
42523         (casinh_test_data): New variable.
42524         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
42525         (catan_test_data): New variable.
42526         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
42527         (catanh_test_data): New variable.
42528         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
42529         (ccos_test_data): New variable.
42530         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
42531         (ccosh_test_data): New variable.
42532         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
42533         (cexp_test_data): New variable.
42534         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
42535         (clog_test_data): New variable.
42536         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
42537         (clog10_test_data): New variable.
42538         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
42539         (conj_test_data): New variable.
42540         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
42541         (cproj_test_data): New variable.
42542         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
42543         (csin_test_data): New variable.
42544         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
42545         (csinh_test_data): New variable.
42546         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
42547         (csqrt_test_data): New variable.
42548         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
42549         (ctan_test_data): New variable.
42550         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
42551         (ctan_tonearest_test_data): New variable.
42552         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
42553         (ctan_towardzero_test_data): New variable.
42554         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
42555         (ctan_downward_test_data): New variable.
42556         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
42557         (ctan_upward_test_data): New variable.
42558         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
42559         (ctanh_test_data): New variable.
42560         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
42561         (ctanh_tonearest_test_data): New variable.
42562         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
42563         (ctanh_towardzero_test_data): New variable.
42564         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
42565         (ctanh_downward_test_data): New variable.
42566         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
42567         (ctanh_upward_test_data): New variable.
42568         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
42569         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
42570         of BUILD_COMPLEX.
42572         * math/libm-test.inc (struct test_ff_f_data): New type.
42573         (struct test_ff_f_data_nexttoward): Likewise.
42574         (RUN_TEST_LOOP_2_f): New macro.
42575         (RUN_TEST_LOOP_ff_f): Likewise.
42576         (atan2_test_data): New variable.
42577         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
42578         (copysign_test_data): New variable.
42579         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
42580         (fdim_test_data): New variable.
42581         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
42582         (fmax_test_data): New variable.
42583         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
42584         (fmin_test_data): New variable.
42585         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
42586         (fmod_test_data): New variable.
42587         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
42588         (hypot_test_data): New variable.
42589         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
42590         (nextafter_test_data): New variable.
42591         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
42592         (nexttoward_test_data): New variable.
42593         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
42594         (pow_test_data): New variable.
42595         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
42596         (pow_tonearest_test_data): New variable.
42597         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
42598         (pow_towardzero_test_data): New variable.
42599         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
42600         (pow_downward_test_data): New variable.
42601         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
42602         (pow_upward_test_data): New variable.
42603         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
42604         (remainder_test_data): New variable.
42605         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
42606         (scalb_test_data): New variable.
42607         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
42608         * sysdeps/i386/fpu/libm-test-ulps: Update.
42610 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
42612         * math/libm-test.inc (fma_test): Use max_value instead of local
42613         variable fltmax.
42614         (nextafter_test): Likewise.
42616         * math/libm-test.inc (acos_towardzero_test_data): New variable.
42617         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
42618         (acos_downward_test_data): New variable.
42619         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
42620         (acos_upward_test_data): New variable.
42621         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
42622         (acosh_test_data): New variable.
42623         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
42624         (asin_test_data): New variable.
42625         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
42626         (asin_tonearest_test_data): New variable.
42627         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
42628         (asin_towardzero_test_data): New variable.
42629         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
42630         (asin_downward_test_data): New variable.
42631         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
42632         (asin_upward_test_data): New variable.
42633         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
42634         (asinh_test_data): New variable.
42635         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
42636         (atan_test_data): New variable.
42637         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
42638         (atanh_test_data): New variable.
42639         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
42640         (cbrt_test_data): New variable.
42641         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
42642         (ceil_test_data): New variable.
42643         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
42644         (cos_test_data): New variable.
42645         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
42646         (cos_tonearest_test_data): New variable.
42647         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
42648         (cos_towardzero_test_data): New variable.
42649         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
42650         (cos_downward_test_data): New variable.
42651         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
42652         (cos_upward_test_data): New variable.
42653         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
42654         (cosh_test_data): New variable.
42655         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
42656         (cosh_tonearest_test_data): New variable.
42657         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
42658         (cosh_towardzero_test_data): New variable.
42659         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
42660         (cosh_downward_test_data): New variable.
42661         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
42662         (cosh_upward_test_data): New variable.
42663         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
42664         (erf_test_data): New variable.
42665         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
42666         (erfc_test_data): New variable.
42667         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
42668         (exp_test_data): New variable.
42669         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
42670         (exp_tonearest_test_data): New variable.
42671         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
42672         (exp_towardzero_test_data): New variable.
42673         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
42674         (exp_downward_test_data): New variable.
42675         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
42676         (exp_upward_test_data): New variable.
42677         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
42678         (exp10_test_data): New variable.
42679         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
42680         (exp2_test_data): New variable.
42681         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
42682         (expm1_test_data): New variable.
42683         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
42684         (fabs_test_data): New variable.
42685         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
42686         (floor_test_data): New variable.
42687         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
42688         (j0_test_data): New variable.
42689         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
42690         (j1_test_data): New variable.
42691         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
42692         (log_test_data): New variable.
42693         (log_test): Run tests with RUN_TEST_LOOP_f_f.
42694         (log10_test_data): New variable.
42695         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
42696         (log1p_test_data): New variable.
42697         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
42698         (log2_test_data): New variable.
42699         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
42700         (logb_test_data): New variable.
42701         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
42702         (logb_downward_test_data): New variable.
42703         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
42704         (nearbyint_test_data): New variable.
42705         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
42706         (rint_test_data): New variable.
42707         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
42708         (rint_tonearest_test_data): New variable.
42709         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
42710         (rint_towardzero_test_data): New variable.
42711         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
42712         (rint_downward_test_data): New variable.
42713         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
42714         (rint_upward_test_data): New variable.
42715         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
42716         (round_test_data): New variable.
42717         (round_test): Run tests with RUN_TEST_LOOP_f_f.
42718         (sin_test_data): New variable.
42719         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
42720         (sin_tonearest_test_data): New variable.
42721         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
42722         (sin_towardzero_test_data): New variable.
42723         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
42724         (sin_downward_test_data): New variable.
42725         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
42726         (sin_upward_test_data): New variable.
42727         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
42728         (sinh_test_data): New variable.
42729         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
42730         (sinh_tonearest_test_data): New variable.
42731         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
42732         (sinh_towardzero_test_data): New variable.
42733         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
42734         (sinh_downward_test_data): New variable.
42735         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
42736         (sinh_upward_test_data): New variable.
42737         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
42738         (sqrt_test_data): New variable.
42739         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
42740         (tan_test_data): New variable.
42741         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
42742         (tan_tonearest_test_data): New variable.
42743         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
42744         (tan_towardzero_test_data): New variable.
42745         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
42746         (tan_downward_test_data): New variable.
42747         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
42748         (tan_upward_test_data): New variable.
42749         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
42750         (tanh_test_data): New variable.
42751         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
42752         (tgamma_test_data): New variable.
42753         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
42754         (trunc_test_data): New variable.
42755         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
42756         (y0_test_data): New variable.
42757         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
42758         (y1_test_data): New variable.
42759         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
42760         (significand_test_data): New variable.
42761         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
42763 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
42765         [BZ #12387]
42766         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
42768 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
42770         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
42772 2013-05-10  Andreas Jaeger  <aj@suse.de>
42774         [BZ #15448]
42775         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
42776         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
42778 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
42780         * math/gen-libm-test.pl (adjust_arg): New function.
42781         (special_functions): Handle generating output in both functions
42782         and arrays.
42783         (parse_args): Likewise.
42784         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
42785         $in_func argument to parse_args.
42786         * math/libm-test.inc (struct test_f_f_data): New type.
42787         (IF_ROUND_INIT_): New macro.
42788         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
42789         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
42790         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
42791         (IF_ROUND_INIT_FE_UPWARD): Likewise.
42792         (ROUND_RESTORE_): Likewise.
42793         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
42794         (ROUND_RESTORE_FE_TONEAREST): Likewise.
42795         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
42796         (ROUND_RESTORE_FE_UPWARD): Likewise.
42797         (RUN_TEST_LOOP_f_f): New macro.
42798         (acos_test_data): New variable.
42799         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
42800         (acos_tonearest_test_data): New variable.
42801         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
42803 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
42805         * benchtests/bench-skeleton.c (startup): Fix coding style.
42807 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
42809         [BZ #6809]
42810         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
42811         negative infinity argument.
42812         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
42813         negative infinity argument.
42814         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
42815         negative infinity argument.
42816         * math/libm-test.inc (tgamma_test): Expect errno to be set for
42817         domain errors.
42819 2013-05-10  Florian Weimer  <fweimer@redhat.com>
42821         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
42822         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
42823         * iconv/iconv_prog.c (main): Likewise.
42824         * locale/programs/charmap-dir.c (charmap_readdir)
42825         (fopen_uncompressed): Likewise.
42826         * locale/programs/locfile.c (siblings_uncached)
42827         (write_locale_data): Use lstat64 instead of lstat.
42828         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
42829         stat.
42831 2013-05-10  Andreas Jaeger  <aj@suse.de>
42833         [BZ #15395]
42834         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
42835         localization.
42836         Include <locale.h>.
42838 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
42840         * elf/dl-close.c (_dl_close_worker): Add comments.
42842 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
42844         [BZ #15359]
42845         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
42846         high part of pi/2.
42847         (__ieee754_rem_pio2l): Update comments.
42849         [BZ #15429]
42850         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
42851         high part of pi/2.
42852         (__ieee754_rem_pio2l): Update comments.
42854         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
42855         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
42857         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
42858         M_PI_4l.
42860         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
42861         (M_PI_34_LOG10El): Likewise.
42862         (M_PI2_LOG10El): Likewise.
42863         (M_PI4_LOG10El): Likewise.
42864         (M_PI_LOG10El): Likewise.
42866 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42868         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42870 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
42872         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
42873         (MINUS_ZERO_INIT): Likewise.
42874         (PLUS_INFTY_INIT): Likewise.
42875         (MINUS_INFTY_INIT): Likewise.
42876         (QNAN_VALUE_INIT): Likewise.
42877         (MAX_VALUE_INIT): Likewise.
42878         (MIN_VALUE_INIT): Likewise.
42879         (MIN_SUBNORM_VALUE_INIT): Likewise.
42880         (plus_zero): Initialize with PLUS_ZERO_INIT.
42881         (minus_zero): Initialize with MINUS_ZERO_INIT.
42882         (plus_infty): Initialize with PLUS_INFTY_INIT.
42883         (minus_infty): Initialize with MINUS_INFTY_INIT.
42884         (qnan_value): Initialize with QNAN_VALUE_INIT.
42885         (max_value): Initialize with MAX_VALUE_INIT.
42886         (min_value): Initialize with MIN_VALUE_INIT.
42887         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
42889         * math/libm-test.inc (RUN_TEST_if_f): New macro.
42890         (jn_test): Use TEST_if_f instead of TEST_ff_f.
42891         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
42892         (yn_test): Use TEST_if_f instead of TEST_ff_f.
42894         * math/libm-test.inc (RUN_TEST_f_f): New macro.
42895         (RUN_TEST_2_f): Likewise.
42896         (RUN_TEST_ff_f): Likewise.
42897         (RUN_TEST_fi_f): Likewise.
42898         (RUN_TEST_fl_f): Likewise.
42899         (RUN_TEST_fff_f): Likewise.
42900         (RUN_TEST_c_f): Likewise.
42901         (RUN_TEST_f_f1): Likewise.
42902         (RUN_TEST_fF_f1): Likewise.
42903         (RUN_TEST_fI_f1): Likewise.
42904         (RUN_TEST_ffI_f1): Likewise.
42905         (RUN_TEST_c_c): Likewise.
42906         (RUN_TEST_cc_c): Likewise.
42907         (RUN_TEST_f_i): Likewise.
42908         (RUN_TEST_f_i_tg): Likewise.
42909         (RUN_TEST_ff_i_tg): Likewise.
42910         (RUN_TEST_f_b): Likewise.
42911         (RUN_TEST_f_b_tg): Likewise.
42912         (RUN_TEST_f_l): Likewise.
42913         (RUN_TEST_f_L): Likewise.
42914         (RUN_TEST_sincos): Likewise.
42915         * math/gen-libm-test.pl (new_test): Take new argument to indicate
42916         whether to show exceptions.  Do not include ");\n" in return
42917         value.
42918         (special_functions): Output call to RUN_TEST_sincos instead of
42919         check_float calls.  Update calls to new_test.
42920         (parse_args): Output call to single RUN_TEST_* macro instead of
42921         check_* calls and other assignments.  Update calls to new_test.
42923         [BZ #2546]
42924         [BZ #2560]
42925         [BZ #5159]
42926         [BZ #15426]
42927         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
42928         input to result for tgamma overflow.
42929         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
42930         (gamma_coeff): New variable.
42931         (NCOEFF): New macro.
42932         (gamma_positive): New function.
42933         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
42934         underflow here.  Use gamma_positive instead of exp (lgamma) for
42935         other arguments.
42936         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
42937         (gamma_coeff): New variable.
42938         (NCOEFF): New macro.
42939         (gammaf_positive): New function.
42940         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
42941         underflow here.  Use gamma_positive instead of exp (lgamma) for
42942         other arguments.
42943         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
42944         (gamma_coeff): New variable.
42945         (NCOEFF): New macro.
42946         (gammal_positive): New function.
42947         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
42948         underflow here.  Use gamma_positive instead of exp (lgamma) for
42949         other arguments.
42950         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
42951         (gamma_coeff): New variable.
42952         (NCOEFF): New macro.
42953         (gammal_positive): New function.
42954         (__ieee754_gammal_r): Handle positive infinity, overflow and
42955         underflow here.  Handle NaN the same as positive infinity.  Remove
42956         check x < 0xffffffff for negative integers.  Use gamma_positive
42957         instead of exp (lgamma) for other arguments.
42958         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
42959         (gamma_coeff): New variable.
42960         (NCOEFF): New macro.
42961         (gammal_positive): New function.
42962         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
42963         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
42964         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
42965         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
42966         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
42967         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
42968         * sysdeps/generic/math_private.h (__gamma_productf): New
42969         prototype.
42970         (__gamma_product): Likewise.
42971         (__gamma_productl): Likewise.
42972         * math/Makefile (libm-calls): Add gamma_product.
42973         * math/libm-test.inc (tgamma_test): Add more tests.
42974         * sysdeps/i386/fpu/libm-test-ulps: Update.
42975         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42977 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
42979         * benchtests/bench-skeleton.c (main): Preheat CPU.
42981 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
42983         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
42985 2013-05-07  Roland McGrath  <roland@hack.frob.com>
42987         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
42988         and _dl_skip_args_internal.
42990 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
42992         * manual/message.texi (Message Translation): Talk about users.
42993         Message to key mapping impacts design.
42995 2013-05-06  Roland McGrath  <roland@hack.frob.com>
42997         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
42999         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
43001         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
43002         * sysdeps/wordsize-64/glob64.c: ... here.
43004         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
43005         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
43006         New macros.
43008         * debug/getlogin_r_chk.c: Moved to ...
43009         * login/getlogin_r_chk.c: ... here.
43010         * debug/Makefile (routines): Move getlogin_r_chk to ...
43011         * login/Makefile (routines): ... here.
43012         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
43013         * login/Versions (libc: GLIBC_2.4): ... here.
43015         * io/poll.c (__poll): Renamed from poll.
43016         Add libc_hidden_def.
43017         (poll): Define as weak alias.
43019         * debug/ptsname_r_chk.c: Moved to ...
43020         * login/ptsname_r_chk.c: ... here.
43021         * debug/Makefile (routines): Move ptsname_r_chk to ...
43022         * login/Makefile (routines): ... here.
43023         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
43024         * login/Versions (libc: GLIBC_2.4): ... here.
43026         * posix/getlogin.c: Moved to ...
43027         * login/getlogin.c: ... here.
43028         * posix/getlogin_r.c: Moved to ...
43029         * login/getlogin_r.c: ... here.
43030         * posix/getlogin_r.c: Moved to ...
43031         * login/getlogin_r.c: ... here.
43032         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
43033         * login/Makefile (routines): ... here.
43034         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
43035         * login/Versions (libc: GLIBC_2.0): ... here.
43037         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
43038         (setrlimit): Define as weak alias.
43040         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
43041         Call __ names for open, ftruncate, and close.
43042         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
43043         (truncate): Define as weak alias.
43045 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
43047         * math/gen-libm-test.pl (parse_args): Initialize x before each
43048         test of frexp, modf and remquo.
43050         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
43051         test signgam value.
43053 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43055         [BZ #15418]
43056         [BZ #15419]
43057         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
43058         internal tests.
43059         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
43061 2013-05-06  Roland McGrath  <roland@hack.frob.com>
43063         * elf/dl-writev.h: New file.
43064         * elf/dl-misc.c: Include it.
43065         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
43066         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
43068 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
43070         * math/libm-test.inc (noXFails): Remove variable.
43071         (noXPasses): Likewise.
43072         (BUILD_COMPLEX_INT): Remove macro.
43073         (print_screen): Remove xfail argument.
43074         (print_screen_max_error): Likewise.
43075         (update_stats): Likewise.
43076         (print_max_error): Likewise.  Update calls to other affected
43077         functions.
43078         (print_complex_max_error): Likewise.
43079         (test_single_exception): Update calls to print_screen.
43080         (test_single_errno): Likewise.
43081         (check_float_internal): Remove xfail argument.  Update calls to
43082         other affected functions.
43083         (check_float): Likewise.
43084         (check_complex): Likewise.
43085         (check_int): Likewise.
43086         (check_long): Likewise.
43087         (check_bool): Likewise.
43088         (check_longlong): Likewise.
43089         (main): Don't print noXFails and noXPasses.
43090         * math/gen-libm-test.pl (top level): Don't mention expected
43091         failure handling in comment.
43092         (new_test): Don't handle expected failures.
43093         (parse_args): Don't mention expected failure handling in comment.
43094         (generate_testfile): Don't handle expected failures.
43095         (parse_ulps): Likewise.
43096         (print_ulps_file): Likewise.
43097         (get_failure): Remove function.
43098         (output_test): Don't handle expected failures.
43099         * make/README.libm-test: Don't mention expected failure handling.
43101         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
43102         (minus_zero): Likewise.
43103         (plus_infty): Likewise.
43104         (minus_infty): Likewise.
43105         (qnan_value): Likewise.
43106         (max_value): Likewise.
43107         (min_value): Likewise.
43108         (min_subnorm_value): Likewise.
43109         (initialize): Do not initialize those variables dynamically.
43111 2013-05-03  Roland McGrath  <roland@hack.frob.com>
43113         * io/open.c (__open_2): Moved to ...
43114         * io/open_2.c: ... this new file.
43115         * io/open64.c (__open64_2): Moved to ...
43116         * io/open64_2.c: ... this new file.
43117         * io/openat.c (__openat_2): Moved to ...
43118         * io/openat_2.c: ... this new file.
43119         * io/openat64.c (__openat64_2): Moved to ...
43120         * io/openat64_2.c: ... this new file.
43121         * io/Makefile (routines): Add them.
43122         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
43123         * sysdeps/unix/sysv/linux/open_2.c: File removed.
43124         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
43125         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
43126         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
43127         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
43128         (__openat64): Add hidden_ver.
43129         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
43130         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
43132         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
43133         Separately conditionalize setting of GLRO(dl_sysinfo) so
43134         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
43135         as well, but the actual setting is only under [NEED_DL_SYSINFO].
43137 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43139         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
43140         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
43141         definition.
43142         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
43143         * sysdeps/unix/sysv/linux/powerpc/init-first.c
43144         (_libc_vdso_platform_setup): Add __vdso_time initialization.
43145         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
43146         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
43148 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
43150         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
43151         test signgam value.
43153         * math/libm-test.inc (hypot_test): Do not use
43154         IGNORE_ZERO_INF_SIGN.
43156 2013-05-03  Andreas Jaeger  <aj@suse.de>
43158         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
43159         Linux 3.9.
43160         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
43161         (PF_MAX): Adjust for VSOCK change.
43163 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43165         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43167 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
43169         [BZ #15264]
43170         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
43171         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
43172         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
43174 2013-05-02  David S. Miller  <davem@davemloft.net>
43176         * sysdeps/sparc/fpu/libm-test-ulps: Update.
43178 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
43180         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
43182 2013-05-01  Roland McGrath  <roland@hack.frob.com>
43184         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
43186 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
43188         [BZ #14952]
43189         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
43190         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
43191         Use __attribute__ ((__gnu_inline__)).
43192         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
43193         Don't use __attribute__ ((__gnu_inline__)).
43195 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
43197         [BZ #15423]
43198         * math/s_catan.c (__catan): Handle small real or imaginary part of
43199         input specially to avoid spurious underflow.
43200         * math/s_catanf.c (__catanf): Likewise.
43201         * math/s_catanh.c (__catanh): Likewise.
43202         * math/s_catanhf.c (__catanhf): Likewise.
43203         * math/s_catanhl.c (__catanhl): Likewise.
43204         * math/s_catanl.c (__catanl): Likewise.
43205         * math/libm-test.inc (catan_test): Add more tests.
43206         (catanh_test): Likewise.
43207         * sysdeps/i386/fpu/libm-test-ulps: Update.
43208         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43210 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43212         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43214 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
43216         [BZ #15416]
43217         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
43218         accurately for denominator in atan2.
43219         * math/s_catanf.c (__catanf): Likewise.
43220         * math/s_catanh.c (__catanh): Likewise.
43221         * math/s_catanhf.c (__catanhf): Likewise.
43222         * math/s_catanhl.c (__catanhl): Likewise.
43223         * math/s_catanl.c (__catanl): Likewise.
43224         * math/libm-test.inc (catan_test): Add more tests.
43225         (catanh_test): Likewise.
43226         * sysdeps/i386/fpu/libm-test-ulps: Update.
43227         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43229 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
43231         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
43233         * benchtests/Makefile (bench): Remove slow benchmarks.
43234         * benchtests/atan-inputs: Add slow benchmark inputs.
43235         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
43236         (BENCH_FUNC): Accept variant offset.
43237         (VARIANT): Define.
43238         * benchtests/bench-skeleton.c (main): Run benchmark for each
43239         variant.
43240         * benchtests/cos-inputs: Add slow benchmark inputs.
43241         * benchtests/exp-inputs: Likewise.
43242         * benchtests/pow-inputs: Likewise.
43243         * benchtests/sin-inputs: Likewise.
43244         * benchtests/slowatan-inputs: Remove.
43245         * benchtests/slowatan.c: Remove.
43246         * benchtests/slowcos-inputs: Remove.
43247         * benchtests/slowcos.c: Remove.
43248         * benchtests/slowexp-inputs: Remove.
43249         * benchtests/slowexp.c: Remove.
43250         * benchtests/slowpow-inputs: Remove.
43251         * benchtests/slowpow.c: Remove.
43252         * benchtests/slowsin-inputs: Remove.
43253         * benchtests/slowsin.c: Remove.
43254         * benchtests/slowtan-inputs: Remove.
43255         * benchtests/slowtan.c: Remove.
43256         * benchtests/tan-inputs: Add slow benchmark inputs.
43257         * scripts/bench.pl: Parse comments and directives.
43259         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
43260         in CPPFLAGS.
43261         ($(objpfx)bench-%.c): Remove *-ITER.
43262         * benchtests/bench-modf.c: Remove definition of ITER.
43263         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
43264         (main): Loop for DURATION seconds instead of fixed number of
43265         iterations.
43266         * scripts/bench.pl: Don't expect iterations in parameters.
43268 2013-04-29  Roland McGrath  <roland@hack.frob.com>
43270         * io/fchdir.c (__fchdir): Renamed from fchdir.
43271         (fchdir): Define as weak alias.
43273 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
43275         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
43276         (ERRNO_EDOM): Likewise.
43277         (ERRNO_ERANGE): Likewise.
43278         (noErrnoTests): New variable.
43279         (init_max_error): Set errno to 0.
43280         (test_single_errno): New function.
43281         (test_errno): Likewise.
43282         (check_float_internal): Call test_errno.  Set errno to 0.
43283         (check_complex): Refer to errno tests in comment.
43284         (check_int): Call test_errno.  Set errno to 0.
43285         (check_long): Likewise.
43286         (check_bool): Likewise.
43287         (check_longlong): Likewise.
43288         (cos_test): Use ERRNO_* flags for errno tests instead of
43289         check_int.
43290         (expm1_test): Likewise.
43291         (fmod_test): Likewise.
43292         (ilogb_test): Likewise.
43293         (lgamma_test): Likewise.
43294         (pow_test): Likewise.
43295         (remainder_test): Likewise.
43296         (sin_test): Likewise.
43297         (tan_test): Likewise.
43298         (yn_test): Likewise.
43299         (initialize): Set errno to 0.
43300         (main): Print number of errno tests.
43301         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
43303 2013-04-29  Andreas Jaeger  <aj@suse.de>
43305         [BZ #15084]
43306         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
43307         and RES_USEVC.
43309         [BZ #15085]
43310         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
43311         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
43312         unimplemented.
43314         [BZ #15380]
43315         * stdlib/random.c (__initstate): Return NULL if
43316         __initstate fails.
43318         [BZ #15086]
43319         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
43320         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
43321         RES_SNGLKUPREOP.
43323 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43325         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43327 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
43329         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
43330         of individual tests.
43331         (casin_test): Likewise.
43332         (casinh_test): Likewise.
43334 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
43336         [BZ #15409]
43337         * math/s_catan.c (__catan): Handle arguments with large real or
43338         imaginary part separately without squaring.
43339         * math/s_catanf.c (__catanf): Likewise.
43340         * math/s_catanh.c (__catanh): Likewise.
43341         * math/s_catanhf.c (__catanhf): Likewise.
43342         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
43343         and redefine.
43344         (__catanhl): Handle arguments with large real or imaginary part
43345         separately without squaring.
43346         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
43347         and redefine.
43348         (__catanl): Handle arguments with large real or imaginary part
43349         separately without squaring.
43350         * math/libm-test.inc (catan_test): Add more tests.
43351         (catanh_test): Likewise.
43352         * sysdeps/i386/fpu/libm-test-ulps: Update.
43353         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43355 2013-04-27  Andreas Jaeger  <aj@suse.de>
43357         [BZ #15007]
43358         * stdlib/stdlib.h: Update guards for qecvt.
43359         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
43360         <stdlib.h>.
43362 2013-04-27  Allan McRae  <allan@archlinux.org>
43364         * sysdeps/i386/fpu/libm-test-ulps: Update.
43366 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
43368         [BZ #15406]
43369         * math/s_catan.c: Include <float.h>.
43370         (__catan): Ensure underflow exception occurs for underflowed
43371         result.
43372         * math/s_catanf.c: Include <float.h>.
43373         (__catanf): Ensure underflow exception occurs for underflowed
43374         result.
43375         * math/s_catanh.c: Include <float.h>.
43376         (__catanh): Ensure underflow exception occurs for underflowed
43377         result.
43378         * math/s_catanhf.c: Include <float.h>.
43379         (__catanhf): Ensure underflow exception occurs for underflowed
43380         result.
43381         * math/s_catanhl.c: Include <float.h>.
43382         (__catanhl): Ensure underflow exception occurs for underflowed
43383         result.
43384         * math/s_catanl.c: Include <float.h>.
43385         (__catanl): Ensure underflow exception occurs for underflowed
43386         result.
43387         * math/libm-test.inc (catan_test): Add more tests.
43388         (catanh_test): Likewise.
43390         [BZ #15405]
43391         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
43392         underflowed result.
43393         * math/s_ccoshf.c (__ccoshf): Likewise.
43394         * math/s_ccoshl.c (__ccoshl): Likewise.
43395         * math/s_csin.c (__csin): Likewise.
43396         * math/s_csinf.c (__csinf): Likewise.
43397         * math/s_csinh.c (__csinh): Likewise.
43398         * math/s_csinhf.c (__csinhf): Likewise.
43399         * math/s_csinhl.c (__csinhl): Likewise.
43400         * math/s_csinl.c (__csinl): Likewise.
43401         * math/libm-test.inc (ccos_test): Add more tests.
43402         (ccosh_test): Likewise.
43403         (csin_test): Likewise.
43404         (csinh_test): Likewise.
43406 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43408         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
43409         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
43410         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
43411         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
43412         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
43413         powerpc/power5+/fpu folders.
43414         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
43417 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
43419         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43421 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
43423         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
43424         additions to variable.
43425         [$(config-machine) = x86_64] (modules-names): Likewise.
43426         ($(objpfx)tst-audit3): Remove dependency.
43427         ($(objpfx)tst-audit3.out): Likewise.
43428         ($(objpfx)tst-audit4): Likewise.
43429         ($(objpfx)tst-audit4.out): Likewise.
43430         ($(objpfx)tst-audit5): Likewise.
43431         ($(objpfx)tst-audit5.out): Likewise.
43432         ($(objpfx)tst-audit6): Likewise.
43433         ($(objpfx)tst-audit6.out): Likewise.
43434         ($(objpfx)tst-audit7): Likewise.
43435         ($(objpfx)tst-audit7.out): Likewise.
43436         (tst-audit3-ENV): Remove variable.
43437         (tst-audit4-ENV): Likewise.
43438         (tst-audit5-ENV): Likewise.
43439         (tst-audit6-ENV): Likewise.
43440         (tst-audit7-ENV): Likewise.
43441         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
43442         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
43443         addition to variable.
43444         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
43445         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
43446         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
43447         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
43448         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
43449         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
43450         tst-audit3, tst-audit4 and tst-audit5.
43451         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
43452         tst-audit6 and tst-audit7.
43453         [$(subdir) = elf] (modules-names): Add audit modules for those
43454         tests.
43455         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
43456         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
43457         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
43458         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
43459         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
43460         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
43461         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
43462         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
43463         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
43464         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
43465         [$(subdir) = elf] (tst-audit3-ENV): New variable.
43466         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
43467         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
43468         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
43469         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
43470         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
43471         Likewise.
43472         [$(subdir) = elf && $(config-cflags-avx) = yes]
43473         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
43474         [$(subdir) = elf && $(config-cflags-avx) = yes]
43475         (CFLAGS-tst-auditmod4a.c): Likewise.
43476         [$(subdir) = elf && $(config-cflags-avx) = yes]
43477         (CFLAGS-tst-auditmod4b.c): Likewise.
43478         [$(subdir) = elf && $(config-cflags-avx) = yes]
43479         (CFLAGS-tst-auditmod6b.c): Likewise.
43480         [$(subdir) = elf && $(config-cflags-avx) = yes]
43481         (CFLAGS-tst-auditmod6c.c): Likewise.
43482         [$(subdir) = elf && $(config-cflags-avx) = yes]
43483         (CFLAGS-tst-auditmod7b.c): Likewise.
43484         * elf/tst-audit3.c: Move to ...
43485         * sysdeps/x86_64/tst-audit3.c: ... here.
43486         * elf/tst-audit4.c: Move to ...
43487         * sysdeps/x86_64/tst-audit4.c: ... here.
43488         * elf/tst-audit5.c: Move to ...
43489         * sysdeps/x86_64/tst-audit5.c: ... here.
43490         * elf/tst-audit6.c: Move to ...
43491         * sysdeps/x86_64/tst-audit6.c: ... here.
43492         * elf/tst-audit7.c: Move to ...
43493         * sysdeps/x86_64/tst-audit7.c: ... here.
43494         * elf/tst-auditmod3a.c: Move to ...
43495         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
43496         * elf/tst-auditmod3b.c: Move to ...
43497         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
43498         * elf/tst-auditmod4a.c: Move to ...
43499         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
43500         * elf/tst-auditmod4b.c: Move to ...
43501         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
43502         * elf/tst-auditmod5a.c: Move to ...
43503         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
43504         * elf/tst-auditmod5b.c: Move to ...
43505         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
43506         * elf/tst-auditmod6a.c: Move to ...
43507         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
43508         * elf/tst-auditmod6b.c: Move to ...
43509         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
43510         * elf/tst-auditmod6c.c: Move to ...
43511         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
43512         * elf/tst-auditmod7a.c: Move to ...
43513         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
43514         * elf/tst-auditmod7b.c: Move to ...
43515         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
43517 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
43519         [BZ #15366]
43520         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
43521         define unconditionally.
43522         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
43523         define unconditionally.
43524         (INT8_C, INT16_C, etc.): Likewise.
43526 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
43528         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
43529         __ehdr_start with hidden visibility.
43531         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
43533 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
43535         * math/libm-test.inc (cos_test): Use accurate hex constants.
43536         (sincost_test): Likewise.
43538 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
43540         * math/libm-test.inc (catan_test): Add more tests.
43541         (catanh_test): Likewise.
43543         * math/s_catanf.c (__catanf): Use suffixed floating-point
43544         constants.
43545         * math/s_catanhf.c (__catanhf): Likewise.
43546         * math/s_catanhl.c (__catanhl): Likewise.
43547         * math/s_catanl.c (__catanl): Likewise.
43549         [BZ #15394]
43550         * math/s_catan.c (__catan): Calculate imaginary part of result
43551         with log1p not log unless computing log of number close to 0.
43552         * math/s_catanf.c (__catanf): Likewise.
43553         * math/s_catanl.c (__catanl): Likewise.
43554         * math/s_catanh.c (__catanh): Calculate real part of result with
43555         log1p not log unless computing log of number close to 0.
43556         * math/s_catanhf.c (__catanhf): Likewise.
43557         * math/s_catanhl.c (__catanhl): Likewise.
43558         * math/libm-test.inc (catan_test): Add more tests.
43559         (catanh_test): Likewise.
43560         * sysdeps/i386/fpu/libm-test-ulps: Update.
43561         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43563 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
43565         * benchtests/Makefile: Mention files in which fast and slow
43566         paths of math functions are implemented.
43568 2013-04-23  Roland McGrath  <roland@hack.frob.com>
43570         * sysdeps/posix/timespec_get.c: New file.
43572 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43574         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
43575         POWER.
43576         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
43577         for POWER.
43578         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
43579         powerpc/power5/fpu folders.
43580         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
43581         * benchtests/Makefile: Add modf testcase.
43582         * benchtests/bench-modf.c: New file: Benchmark test for mo
43584 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
43586         [BZ #14888]
43587         * time/Makefile (tests): Add tst-strptime-whitespace.
43588         * time/strptime_l.c (get_number): Use ISSPACE.
43589         (__strptime_internal): Likewise.
43590         * time/tst-strptime-whitespace.c: New test case.
43592 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
43594         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
43595         member.
43596         (_nss_files_init): Set it here.
43598 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
43600         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
43601         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
43602         unsigned.
43604 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
43606         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
43608 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
43610         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
43611         size just once.
43613 2013-04-21  David S. Miller  <davem@davemloft.net>
43615         * po/ru.po: Update Russion translation from translation project.
43617 2013-04-17  Adam Conrad  <adconrad@0c3.net>
43619         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
43620         and setfsgid.
43622 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
43624         * configure.in: Remove i386 configure warning. Remove i386 case.
43625         * configure: Regenerate.
43626         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
43627         Add example to error message.
43628         * sysdeps/i386/configure: Regenerate.
43630 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
43632         * benchtests/Makefile (bench): Add cos, tan, slowcos and
43633         slowtan.
43634         * benchtests/cos-inputs: New file.
43635         * benchtests/slowcos-inputs: New file.
43636         * benchtests/slowcos.c: New file.
43637         * benchtests/slowtan-inputs: New file.
43638         * benchtests/slowtan.c: New file.
43639         * benchtests/tan-inputs: New file.
43641 2013-04-16  Roland McGrath  <roland@hack.frob.com>
43643         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
43644         considered kosher.
43646 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
43648         * benchtests/Makefile: Include cppflags-iterator.mk to add
43649         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
43651         * Makefile.in (bench-clean): New target.
43652         * benchtests/Makefile (bench-clean): Likewise.
43654 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
43656         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
43658 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
43660         * stdio-common/tstdiomisc.c: Fix coding-style violation.
43662 2013-04-15  Andreas Schwab  <schwab@suse.de>
43664         * nscd/grpcache.c (cache_addgr): Properly check for short write.
43665         * nscd/initgrcache.c (addinitgroupsX): Likewise.
43666         * nscd/pwdcache.c (cache_addpw): Likewise.
43667         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
43668         more than recsize.
43670 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
43672         * benchtests/Makefile (bench): Write all output to
43673         bench-out.tmp together.
43675 2013-04-15  Andreas Schwab  <schwab@suse.de>
43677         * nscd/nscd.c (main): Don't fork again after closing files.
43679 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
43681         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
43683         * benchtests/Rules (bench-deps): Collect dependencies into a
43684         single variable.  Add Makefile to dependencies.
43685         ($(objpfx)bench-%.c): Depend on bench-deps.
43687 2013-04-12  Roland McGrath  <roland@hack.frob.com>
43688             Xavier Roche  <roche+kml2@exalead.com>
43690         [BZ #15361]
43691         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
43692         just that it's a file descriptor.
43693         * manual/llio.texi (Synchronizing AIO Operations): Update description
43694         for EBADF error from aio_fsync.
43696 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
43698         * Rules (bench): Move target definition...
43699         * benchtests/Makefile: ... here.
43701 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
43703         * math/libm-test.inc (cos_test): Fix PI/2 test.
43704         (sincos_test): Likewise.
43705         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
43706         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
43708 2013-04-11  Andreas Schwab  <schwab@suse.de>
43710         [BZ #13988]
43711         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
43712         accept exponent character only when digits were seen.
43713         * stdio-common/Makefile (tests): Add bug26.
43714         * stdio-common/bug26.c: New file.
43716         [BZ #14293]
43717         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
43718         non-freeable.
43720 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
43722         * Makeconfig (rtld-prefix): Define built linker prefix.
43723         * Rules (run-bench): Use it.
43724         * math/Makefile (run-regen-ulps): Likewise.
43726         * Rules (bench): Remove eval.
43728 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
43729             Roland McGrath  <roland@hack.frob.com>
43730             Ondrej Bilka  <neleai@seznam.cz>
43732         [BZ #15346]
43733         * time/getdate.c: Include ctype.h and alloca.h.
43734         (__getdate_r): Trim leading and trailing spaces of input.
43735         * time/tst-getdate.c (tests): Add tests with leading and
43736         trailing spaces.
43738 2013-04-08  Roland McGrath  <roland@hack.frob.com>
43740         [BZ #14280]
43741         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
43742         when computing value.
43744 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
43746         * math/README.libm-test (How can I generate "libm-test-ulps"?):
43747         Use testrun.sh to run libm tests.
43749         [BZ #15309]
43750         * elf/dl-open.c (dl_open_worker): memset all of seen array.
43752 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
43754         [BZ #15264]
43755         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
43757 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
43759         * Makefile.in (regen-ulps): New target.
43760         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
43761         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
43762         [ifneq (no,$(PERL)] (regen-ulps): New target.
43763         [ifeq (no,$(PERL)] (regen-ulps): New target.
43764         * math/libm-test.inc (ulps_file_name): Define.
43765         (output_dir): New variable.
43766         (options): Add "output-dir" option.
43767         (parse_opt): Handle 'o' case.
43768         (main): If output_dir is non-NULL use it as a prefix
43769         otherwise use "".
43770         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
43772 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
43774         [BZ #10060, #10062]
43775         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
43776         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
43777         fail configure if __sync_val_compare_and_swap is not inlined.
43778         * sysdeps/i386/configure: Regenerate.
43779         * configure.in: Build for i686 when configured for i386.
43780         * configure: Regenerate.
43781         * README: Remove i386 reference.
43783 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
43785         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
43786         * sysdeps/s390/s390-64/sysdep.h: Likewise.
43788 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
43790         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
43791         (lmsnanval): New variables.
43792         (F): Add conversion tests.
43793         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
43794         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
43796         * stdio-common/tstdiomisc.c (F): Properly collect individual
43797         tests' results.
43799         [BZ #14686, #15336]
43800         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
43801         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
43802         Instead, use input NaN values or generate a qNaN by arithmetic
43803         operation.  Also fix bugs to comply with the standard.
43804         * math/libm-test.inc (remainder_test): Add more tests.
43806         [BZ #15335, #15342]
43807         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
43808         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
43809         input NaN values or generate a qNaN by arithmetic operation.
43811         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
43812         unreachable code.
43814         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
43815         definitions.
43817 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
43819         [BZ #14478]
43820         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
43821         underflowed result.
43822         * math/s_cexpf.c (__cexpf): Likewise.
43823         * math/s_cexpl.c (__cexpl): Likewise.
43824         * math/libm-test.inc (cexp_test): Add more tests.
43826 2013-04-03  Andreas Schwab  <schwab@suse.de>
43828         [BZ #15330]
43829         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
43830         order arrays from heap if bigger than alloca cutoff.
43832 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
43834         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
43835         (SNAN_TESTS_double): Refer to GCC PR56831.
43836         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
43837         GCC PR56828.
43839 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
43841         * Rules (bench): Move bench.out after the run is complete.
43843         * Rules (bench): Echo currently running benchmark.
43845         * benchtests/Makefile (bench): Add atan and slowatan.
43846         * benchtests/atan-inputs: New file.
43847         * benchtests/slowatan-inputs: New file.
43848         * benchtests/slowatan.c: New file.
43850         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
43851         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
43852         its value.
43854         [BZ #15305]
43855         * sysdeps/unix/sysv/linux/kernel-features.h
43856         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
43857         __ASSUME_XFS_RESTRICTED_CHOWN.
43858         * sysdeps/unix/sysv/linux/pathconf.c
43859         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
43860         Save and restore errno.
43862 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
43864         [BZ #15327]
43865         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
43866         arguments using __kernel_casinh.
43867         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
43868         arguments using __kernel_casinhf.
43869         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
43870         arguments using __kernel_casinhl.
43871         * math/libm-test.inc (cacosh_test): Add more tests.
43872         * sysdeps/i386/fpu/libm-test-ulps: Update.
43873         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43875 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
43877         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
43878         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
43880         * bench/Makefile (bench): Add sin and slowsin.
43881         * benchtests/sin-inputs: New file.
43882         * benchtests/slowsin-inputs: New file.
43883         * benchtests/slowsin.c: New file.
43885         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
43886         (bench): Add slowexp and slowpow.
43887         (exp-ITER): Increase iterations.
43888         (pow-ITER): Likewise.
43889         * benchtests/exp-inputs: Change input.
43890         * benchtests/pow-inputs: Likewise.
43891         * benchtests/slowexp-inputs: New file.
43892         * benchtests/slowexp.c: New file.
43893         * benchtests/slowpow-inputs: New file.
43894         * benchtests/slowpow.c: New file.
43896 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43898         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
43899         instructions.
43900         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
43901         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
43902         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
43903         * benchtests/Makefile: Add rint benchtest.
43904         * benchtests/rint-inputs: Input for rint benchtest.
43906 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
43908         * Versions.def (libm): Add GLIBC_2.18.
43909         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
43910         hidden libm prototypes.
43911         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
43912         * math/Makefile (libm-calls): Add s_issignaling.
43913         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
43914         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
43915         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
43916         declaration.
43917         * math/math.h [__USE_GNU] (issignaling): New macro.
43918         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
43919         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
43920         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
43921         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
43922         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
43923         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
43924         * manual/arith.texi (issignaling): New section.
43925         * manual/libm-err-tab.pl (@all_functions): Update comment.
43926         * math/gen-libm-test.pl (parse_args): Apply special handling for
43927         issignaling.
43928         * math/libm-test.inc (print_float, issignaling_test): New
43929         functions.
43930         (check_float_internal): Add issignaling checks.
43931         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
43932         default definition.
43933         * sysdeps/powerpc/math-tests.h: New file.
43934         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
43935         tests.
43936         * math/test-snan.c (TEST_FUNC): Likewise.
43938 2013-03-30  David S. Miller  <davem@davemloft.net>
43940         * po/de.po: Update from translation team.
43942 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
43944         [BZ #10357]
43945         * math/k_casinh.c (__kernel_casinh): Handle arguments with
43946         imaginary part less than 1.0 and real part less than 0.5
43947         specially.
43948         * math/k_casinhf.c (__kernel_casinhf): Likewise.
43949         * math/k_casinhl.c (__kernel_casinhl): Likewise.
43950         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
43951         (cacos_test): Add more tests.
43952         (casin_test): Likewise.
43953         (casinh_test): Likewise.
43954         * sysdeps/i386/fpu/libm-test-ulps: Update.
43955         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43957 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
43959         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
43960         ONE with its value.
43962         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
43963         (__pow_mp): Replace ONE and MONE with their values.
43964         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
43965         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
43966         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
43967         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
43968         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
43969         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
43971         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
43973         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
43974         (__pow_mp): Replace ZERO and MZERO with their values.
43975         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
43976         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
43977         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
43978         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
43979         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
43980         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
43981         (__sqr): Likewise.
43983         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
43985         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
43987 2013-03-28  Roland McGrath  <roland@hack.frob.com>
43989         * include/stdlib.h [!SHARED] (__call_tls_dtors):
43990         Declare with __attribute__ ((weak)).
43991         * stdlib/exit.c (__libc_atexit) [!SHARED]:
43992         Call __call_tls_dtors only if it's not NULL.
43994 2013-03-28  Roland McGrath  <roland@hack.frob.com>
43996         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
43997         didn't do it already, then set _dl_phdr and _dl_phnum based on the
43998         magic __ehdr_start linker symbol if it's defined.
43999         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
44000         them up here if it was already done.
44002         * elf/dl-support.c (_dl_phdr): Make pointer to const.
44003         (_dl_aux_init): Use const in cast when setting it.
44004         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
44005         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
44006         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
44008         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
44009         Declare them here.
44010         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
44011         * csu/libc-tls.c: Nor here.
44012         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
44014         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
44015         (__libc_message): Never call vsyslog.
44017 2013-03-28  Alan Modra  <amodra@gmail.com>
44019         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
44020         Define as empty.
44021         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
44022         Likewise.
44024 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44026         [BZ #15214]
44027         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
44028         underflow.
44029         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44031 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
44033         [BZ #15304]
44034         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
44035         Don't add gid passed as argument.
44037         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
44039 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
44041         [BZ #15307]
44042         * math/k_casinh.c (__kernel_casinh): Handle arguments with
44043         imaginary part between 1.0 and 1.5 and real part less than 0.5
44044         specially.
44045         * math/k_casinhf.c (__kernel_casinhf): Likewise.
44046         * math/k_casinhl.c (__kernel_casinhl): Likewise.
44047         * math/libm-test.inc (cacos_test): Add more tests.
44048         (casin_test): Likewise.
44049         (casinh_test): Likewise.
44050         * sysdeps/i386/fpu/libm-test-ulps: Update.
44051         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44053 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
44055         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
44056         constants.
44057         (norm): Likewise.
44058         (denorm): Likewise.
44059         (__dbl_mp): Likewise.
44060         (add_magnitudes): Likewise.
44061         (sub_magnitudes): Likewise.
44062         (__add): Likewise.
44063         (__sub): Likewise.
44064         (__mul): Likewise.
44065         (__sqr): Likewise.
44066         (__inv): Likewise.
44067         (__dvd): Likewise.
44069         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
44070         commented code.
44071         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
44072         (__dubcos): Likewise.
44073         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
44074         (__ieee754_acos): Likewise.
44075         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
44076         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
44077         (__exp1): Likewise.
44078         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
44079         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
44080         (log1): Likewise.
44081         (my_log2): Likewise.
44082         (checkint): Likewise.
44083         * sysdeps/ieee754/dbl-64/e_remainder.c
44084         (__ieee754_remainder): Likewise.
44085         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
44086         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
44087         (bsloww): Likewise.
44088         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
44090         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
44091         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
44092         MANTISSA_STORE_T to store computations on mantissa.  Use
44093         macros for rounding and division.
44094         (denorm): Likewise.
44095         (__dbl_mp): Likewise.
44096         (add_magnitudes): Likewise.
44097         (sub_magnitudes): Likewise.
44098         (__mul): Likewise.
44099         (__sqr): Likewise.
44100         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
44101         powers of two in terms of TWOPOW macro.
44102         (mp_no): Make type of mantissa as MANTISSA_T.
44103         [!RADIXI]: Define RADIXI.
44104         [!TWO52]: Define TWO52.
44105         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
44107 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44109         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
44110         llroundl symbol when building for PPC32.
44112 2013-03-24  Mark H Weaver  <mhw@netris.org>
44114         * manual/arith.texi (Normalization Functions): Fix prototypes for
44115         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
44117 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44119         [BZ #13889]
44120         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
44121         high value to check if expl overflow.
44122         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
44123         to check for underflow and overflow.
44124         * math/libm-test.inc: Add exp test.
44126 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
44128         [BZ #11120]
44129         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
44130         with NOT_IN_libc.
44132 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44134         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
44135         symbol.
44137 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
44139         * math/gen-libm-test.pl (parse_args, special_functions): Properly
44140         wrap blocks consisting of several statements.
44142         * sysdeps/generic/math-tests.h: New file.
44143         * sysdeps/i386/fpu/math-tests.h: Likewise.
44144         * math/test-snan.c: Include it.
44145         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
44147 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
44149         [BZ #15285]
44150         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
44151         (__ieee754_j0l): Do not improve calculations using cos of twice
44152         input for inputs above LDBL_MAX / 2.0L.
44153         (__ieee754_y0l): Likewise.
44154         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
44155         (__ieee754_j1l): Do not improve calculations using cos of twice
44156         input for inputs above LDBL_MAX / 2.0L.
44157         (__ieee754_y1l): Likewise.
44158         * math/libm-test.inc (j0_test): Add another test.
44159         (j1_test): Likewise.
44160         (y0_test): Likewise.
44161         (y1_test): Likewise.
44162         * sysdeps/i386/fpu/libm-test-ulps: Update.
44164 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
44166         * Rules ($(objpfx)bench-%.c): Include code from a C source
44167         file.
44169 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
44171         [BZ #15287]
44172         * math/k_casinh.c (__kernel_casinh): Handle arguments with
44173         imaginary part 1.0 and real part less than 0.5 specially.
44174         * math/k_casinhf.c (__kernel_casinhf): Likewise.
44175         * math/k_casinhl.c (__kernel_casinhl): Likewise.
44176         * math/libm-test.inc (cacos_test): Add more tests.
44177         (casin_test): Likewise.
44178         (casinh_test): Likewise.
44179         * sysdeps/i386/fpu/libm-test-ulps: Update.
44180         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44182 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
44184         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
44185         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
44187 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
44189         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
44190         * config.make.in (config-cflags-sse4): Remove variable.
44191         (config-cflags-avx): Likewise.
44192         (config-cflags-sse2avx): Likewise.
44193         (config-cflags-novzeroupper): Likewise.
44194         (config-asflags-i686): Likewise.
44195         (have-mfma4): Likewise.
44196         (have-as-vis3): Likewise.
44197         (MIG): Likewise.
44198         * configure.in (MIG): Do not AC_SUBST.
44199         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
44200         (libc_cv_cc_sse4): Do not AC_SUBST.
44201         (libc_cv_cc_avx): Likewise.
44202         (libc_cv_cc_sse2avx): Likewise.
44203         (libc_cv_cc_novzeroupper): Likewise.
44204         (libc_cv_cc_fma4): Likewise.
44205         (libc_cv_as_i686): Likewise.
44206         (libc_cv_sparc_as_vis3): Likewise.
44207         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
44208         LIBC_CONFIG_VAR.
44209         (config-asflags-i686): Likewise.
44210         (config-cflags-avx): Likewise.
44211         (config-cflags-sse2avx): Likewise.
44212         (have-mfma4): Likewise.
44213         (config-cflags-novzeroupper): Likewise.
44214         * sysdeps/mach/configure.in (MIG): Likewise.
44215         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
44216         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
44217         LIBC_CONFIG_VAR.
44218         (config-cflags-avx): Likewise.
44219         (config-cflags-sse2avx): Likewise.
44220         (have-mfma4): Likewise.
44221         (config-cflags-novzeroupper): Likewise.
44222         * configure: Regenerated.
44223         * sysdeps/i386/configure: Likewise.
44224         * sysdeps/mach/configure: Likewise.
44225         * sysdeps/sparc/configure: Likewise.
44226         * sysdeps/x86_64/configure: Likewise.
44228 2013-03-20  Roland McGrath  <roland@hack.frob.com>
44230         [BZ #14812]
44231         * locale/programs/localedef.c (options): Put N_ translation marker
44232         on argument names, not just descriptions.
44234 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
44236         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
44238 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
44240         [BZ #14176]
44241         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
44243 2013-03-19  Roland McGrath  <roland@hack.frob.com>
44245         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
44246         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
44247         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
44248         [!BEFORE_ABORT] (before_abort): New function.
44249         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
44250         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
44251         (writev_for_fatal): New function.
44252         (WRITEV_FOR_FATAL): New macro; call that.
44253         (backtrace_and_maps): New function.
44254         (BEFORE_ABORT): New macro; call that.
44255         (struct str_list): Type removed.
44256         (__libc_message, __libc_fatal): Functions removed.
44257         Include <sysdeps/posix/libc_fatal.c> instead.
44259 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
44261         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
44262         constants.
44263         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
44264         double constants.
44266 2013-03-19  Andreas Schwab  <schwab@suse.de>
44268         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
44269         * sysdeps/gnu/configure: Regenerate.
44271         * configure.in: Substitute libc_cv_rtlddir.
44272         * configure: Regenerate.
44273         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
44274         * Makeconfig (rtlddir, inst_rtlddir): New variables.
44275         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
44276         * elf/Makefile (install-others, CFLAGS-interp.c)
44277         (ldso_install, common-ldd-rewrite): Likewise.
44278         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
44279         $(inst_slibdir)/$(rtld-installed-name).
44280         * scripts/rellns-sh: Add -p option.
44281         * Makerules (make-shlib-link): Use rellns-sh to get relative name
44282         for source.
44284 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
44286         * manual/nptl.texi: Renamed to ...
44287         * manual/threads.texi: ... this.
44288         * manual/Makefile (chapters): Update.
44290 2013-03-18  Roland McGrath  <roland@hack.frob.com>
44292         [BZ #14812]
44293         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
44294         on argument names, not just descriptions.
44295         * malloc/memusagestat.c (options): Likewise.
44296         * nss/getent.c (options): Likewise.
44298 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
44300         [BZ #14812]
44301         * iconv/iconv_prog.c (options): Put N_ translation marker
44302         on argument names, not just descriptions.
44303         * iconv/iconvconfig.c (options): Likewise.
44305 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
44307         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
44308         implementation which is faster on all x86_64 architectures.
44309         Tested on AMD, Intel Nehalem, SNB, IVB.
44310         * sysdeps/x86_64/strnlen.S: Likewise.
44312         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
44313         Remove all multiarch strlen and strnlen versions.
44314         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
44315         Remove strlen and strnlen related parts.
44317         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
44318         Inline strlen part.
44319         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
44321         * sysdeps/x86_64/multiarch/strlen.S: Remove.
44322         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
44323         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
44324         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
44325         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
44326         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
44328 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
44330         * manual/memory.texi (Malloc Tunable Parameters):
44331         Sort parameters alphabetically. Add comments for missing entries.
44333 2013-03-17  David S. Miller  <davem@davemloft.net>
44335         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44337 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
44339         [BZ #15283]
44340         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
44341         for arguments at most half maximum finite value.
44342         * math/libm-test.inc (j0_test): Add more tests.
44343         (j1_test): Likewise.
44344         (y0_test): Likewise.
44345         (y1_test): Likewise.
44346         * sysdeps/i386/fpu/libm-test-ulps: Update.
44347         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44349         [BZ #14155]
44350         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
44351         1 / x and functions P and Q for arguments above 0x1p256L.
44352         (__ieee754_y0l): Likewise.
44353         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
44354         (__ieee754_y1l): Likewise.
44355         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
44356         (j1_test): Likewise.
44357         (y0_test): Likewise.
44358         (y1_test): Likewise.
44360 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
44362         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
44363         variable.
44365 2013-03-15  Roland McGrath  <roland@hack.frob.com>
44367         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
44368         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
44369         zero since it's initialized to EXEC_PAGESIZE.
44371         * sysdeps/unix/sysv/linux/ldsodefs.h
44372         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
44373         * sysdeps/generic/ldsodefs.h: ... here.
44375 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
44377         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
44379         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
44380         math/test-snan.c.
44381         * math/test-snan.c: Renamed from
44382         sysdeps/powerpc/fpu/test-powerpc-snan.c.
44383         * math/Makefile (tests): Add test-snan.
44384         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
44385         test-powerpc-snan.
44387         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
44388         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
44389         functions.
44390         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
44391         __builtin_nan family of functions.
44392         * math/libm-test.inc (initialize): Initialize qnan_value with
44393         __builtin_nan family of functions.
44394         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
44395         Remove variables.
44396         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
44397         Remove functions.
44398         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
44399         storage class.  Initialize qNaN_var and sNaN_var with
44400         __builtin_nan and __builtin_nans families of functions,
44401         respectively.
44403         * math/libm-test.inc (acosh_test): Also test with qNaN input.
44404         (sqrt_test): Remove duplicate test with qNaN input.
44405         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
44406         (round_test, signbit_test, significand_test): Note missing +/-Inf
44407         as well as qNaN tests.
44409         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
44410         qNaN_var.  Fix a few strings, too.
44411         * math/libm-test.inc (nan_value): Rename to qnan_value.
44412         * math/gen-libm-test.pl (%beautify): Adjust to that.
44413         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
44414         * math/test-misc.c (main): Likewise.
44415         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
44416         to __qnan_bytes, and __qnan_union, respectively.
44417         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
44418         Likewise.
44419         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
44420         and lqnanval, respectively.
44421         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
44422         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
44423         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
44424         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
44426         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
44427         * math/test-misc.c (main) [__x86_64__]: Enable test for long
44428         doubles.
44430         * math/test-misc.c (main): Fix copy'n'pastos.
44431         * misc/tst-efgcvt.c (special): Likewise.
44433         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
44434         Remove declarations.
44436 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
44438         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
44439         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
44440         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
44441         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
44443 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44445         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
44446         macro to return vdso values correctly in IFUNC implementations.
44447         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
44448         Optimization by using IFUNC.
44450 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
44451             Richard Henderson  <rth@redhat.com>
44452             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
44454         * Makefile.in (bench): New target.
44455         * NEWS: Mention the benchmark framework.
44456         * Rules (bench): Likewise.
44457         (binaries-bench): Generate binaries for functions to
44458         benchmark.
44459         * benchtests/Makefile: New makefile for benchmark tests.
44460         * benchtests/bench-skeleton.c: New skeleton file for benchmark
44461         programs.
44462         * benchtests/exp-inputs: New input file for EXP function.
44463         * benchtests/pow-inputs: New input file for POW function.
44464         * scripts/bench.pl: New script to generate source files for
44465         benchmark programs.
44467 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
44469         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
44470         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
44471         computations on mantissa.  Use macros for rounding and
44472         division.
44473         (denorm): Likewise.
44474         (__dbl_mp): Likewise.
44475         (add_magnitudes): Likewise.
44476         (sub_magnitudes): Likewise.
44477         (__mul): Likewise.
44478         (__sqr): Likewise.
44479         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
44480         powers of two in terms of TWOPOW macro.
44481         (mp_no): Make type of mantissa as MANTISSA_T.
44482         [!RADIXI]: Define RADIXI.
44483         [!TWO52]: Define TWO52.
44484         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
44486         * manual/nptl.texi (cindex): Modify threads to pthreads.
44488 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
44490         * sysdeps/x86_64/preconfigure: Regenerated.
44492 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
44494         [BZ #14155]
44495         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
44496         0x1p28 and above.
44497         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
44498         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
44499         0x1p28 and above.
44500         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
44501         * math/libm-test.inc (j0_test): Do not allow one spurious
44502         underflow exception.
44503         (y1_test): Likewise.
44505 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
44507         * manual/Makefile (chapters): Add nptl.
44508         * manual/debug.texi (Debugging Support): Add link to Threads
44509         chapter.
44510         * manual/nptl.texi: New file.
44512         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
44514 2013-03-14  Petr Baudis  <pasky@ucw.cz>
44516         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
44517         for non-NULL pointer before the memory validity test. Pointed
44518         out by Holger Brunck <holger.brunck@keymile.com>.
44520 2013-03-13  Andreas Schwab  <schwab@suse.de>
44522         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
44523         instead of .os.
44525 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
44527         * timezone/zic.c: Update from tzcode 2013b.
44529 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
44531         * manual/install.texi (Configuring and compiling):
44532         Mention i686 and i586.
44533         * INSTALL: Regenerate.
44535 2013-03-12  Roland McGrath  <roland@hack.frob.com>
44537         * sysdeps/init_array/elf-init.c: New file.
44538         * csu/elf-init.c
44539         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
44540         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
44542         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
44543         __gmon_start__ as global, but as static with a .preinit_array pointer.
44544         * sysdeps/init_array/gmon-start.c: New file.  Use that.
44545         * sysdeps/init_array/crti.S: New file, empty except for comments.
44546         * sysdeps/init_array/crtn.S: Likewise.
44548 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
44550         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
44551         definining bcopy.
44552         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44553         Remove Prefer_SSE_for_memop.
44554         * sysdeps/x86_64/multiarch/init-arch.h: Remove
44555         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
44556         HAS_PREFER_SSE_FOR_MEMOP.
44557         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
44558         memset-x86-64.
44559         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
44560         Remove bzero, memset ifunc support.
44561         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
44562         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
44563         * sysdeps/x86_64/multiarch/memset.S: Likewise.
44564         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
44566 2013-03-11  Andreas Schwab  <schwab@suse.de>
44568         [BZ #15234]
44569         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
44570         by SHLIB_COMPAT.
44571         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
44572         (GLIBC_2.16): Remove pthread_atfork.
44574 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
44576         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
44577         (ptestcases.h): Likewise.
44579 2013-03-08  Roland McGrath  <roland@hack.frob.com>
44581         * Makeconfig ($(common-objpfx)config.status): Depend on
44582         sysdeps/*/preconfigure{,.in} too.
44584 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
44586         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
44587         (__free_hook): Use void * instead of __malloc_ptr_t.
44588         (__malloc_hook): Likewise.
44589         (__realloc_hook): Likewise.
44590         (__memalign_hook): Likewise.
44591         (__after_morecore_hook): Likewise.
44592         * malloc/arena.c (save_malloc_hook): Likewise.
44593         (save_free_hook): Likewise.
44594         * malloc/hooks.c (malloc_hook_ini): Likewise.
44595         (realloc_hook_ini): Likewise.
44596         (memalign_hook_ini): Likewise.
44597         * malloc/malloc.c (malloc_hook_ini): Likewise.
44598         (realloc_hook_ini): Likewise.
44599         (memalign_hook_ini): Likewise.
44600         (__free_hook): Likewise.
44601         (__malloc_hook): Likewise.
44602         (__realloc_hook): Likewise.
44603         (__memalign_hook): Likewise.
44604         (__libc_malloc): Likewise.
44605         (__libc_free): Likewise.
44606         (__libc_realloc): Likewise.
44607         (__libc_memalign): Likewise.
44608         (__libc_valloc): Likewise.
44609         (__libc_pvalloc): Likewise.
44610         (__libc_calloc): Likewise.
44611         (__posix_memalign): Likewise.
44612         * malloc/morecore.c (__sbrk): Likewise.
44613         (__default_morecore): Likewise.
44615         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
44617         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
44618         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
44619         __malloc_ptrdiff_t.
44621         * malloc/malloc.h (__malloc_size_t): Remove macro.
44622         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
44623         __malloc_size_t.
44624         (old_memalign_hook): Likewise.
44625         (old_realloc_hook): Likewise.
44626         (struct hdr): Likewise.
44627         (flood): Likewise.
44628         (mallochook): Likewise.
44629         (memalignhook): Likewise.
44630         (reallochook): Likewise.
44631         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
44632         (tr_old_realloc_hook): Likewise.
44633         (tr_old_memalign_hook): Likewise.
44634         (tr_mallochook): Likewise.
44635         (tr_reallochook): Likewise.
44636         (tr_memalignhook): Likewise.
44638 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44640         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
44641         default_ldbl_pack and using as default implementation.
44642         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
44643         implementation.
44644         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
44645         redundant definition.
44646         (ldbl_insert_mantissa): Likewise.
44647         (ldbl_canonicalize): Likewise.
44648         (ldbl_nearbyint): Likewise.
44649         (ldbl_pack): Rename to ldbl_pack_ppc.
44650         (ldbl_unpack): Rename to ldbl_unpack_ppc.
44651         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
44652         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
44654 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
44656         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
44657         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
44658         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
44659         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
44660         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
44661         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
44662         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
44663         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
44665 2013-03-07  Andreas Jaeger  <aj@suse.de>
44667         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
44668         bits/mman-linux.h.
44670 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
44672         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
44673         Include mpa.h and declare __MPEXP.
44674         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
44675         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
44676         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
44677         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
44678         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
44679         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
44680         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
44682         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
44683         (__slowpow): Use long double EXPL and LOGL functions to
44684         compute POW.
44685         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
44686         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
44687         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
44688         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
44689         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
44690         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
44692         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
44693         intermediate variable to calculate exponent.
44694         (__sqr): Likewise.
44695         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
44696         Likewise.
44697         (__sqr): Likewise.
44699         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
44700         [!NO__SQR]: Define __sqr.
44701         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
44702         and NO__SQR.  Remove all code except __mul and __sqr.  Include
44703         sysdeps/ieee754/dbl-64/mpa.c.
44704         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
44706         [BZ #12723]
44707         * posix/Makefile (tests): Add tst-pathconf.
44708         * posix/tst-pathconf.c: New test case.
44709         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
44710         _PC_PIPE_BUF.
44711         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
44713 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
44715         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
44717 2013-03-06  Andreas Jaeger  <aj@suse.de>
44719         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
44720         definition via __MAP_ANONYMOUS.
44722         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
44723         it's not part of Linux headers.
44725         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
44726         (MAP_HUGE_MASK): Define.
44728         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
44729         Define.
44730         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
44731         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
44732         Define.
44733         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
44734         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
44735         Define.
44736         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
44737         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
44738         Define.
44739         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
44741         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
44742         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
44743         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
44744         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
44745         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
44746         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
44748         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
44749         Handle f2fs.
44751         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
44752         Handle f2fs and efivarfs.
44754         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
44755         f2fs.
44757         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
44758         (EFIVARFS_MAGIC): Add.
44759         (F2FS_LINK_MAX): Add.
44761 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
44763         * stdio-common/vfprintf.c: Replace __builtin_expect with
44764         __glibc_unlikely.
44766 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
44768         [BZ #13550]
44769         * sysdeps/generic/bp-sym.h: Remove file.
44770         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
44771         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
44772         <bp-sym.h> and <bp-asm.h>.
44773         (__longjmp): Don't use BP_SYM.
44774         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
44775         and <bp-asm.h>.
44776         (memcpy): Don't use BP_SYM.
44777         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
44778         <bp-sym.h> and <bp-asm.h>.
44779         (memcpy): Don't use BP_SYM.
44780         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
44781         <bp-asm.h>.
44782         (memcpy): Don't use BP_SYM.
44783         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
44784         <bp-asm.h>.
44785         (memset): Don't use BP_SYM.
44786         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
44787         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
44788         (__bzero): Don't use BP_SYM.
44789         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
44790         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
44791         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
44792         <bp-sym.h> and <bp-asm.h>.
44793         (memcmp): Don't use BP_SYM.  Remove comment about bounded
44794         pointers.
44795         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
44796         <bp-sym.h> and <bp-asm.h>.
44797         (memcpy): Don't use BP_SYM.
44798         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
44799         <bp-sym.h> and <bp-asm.h>.
44800         (memset): Don't use BP_SYM.
44801         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
44802         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
44803         (__bzero): Don't use BP_SYM.
44804         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
44805         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
44806         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
44807         <bp-sym.h> and <bp-asm.h>.
44808         (strncmp): Don't use BP_SYM.  Remove comment about bounded
44809         pointers.
44810         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
44811         <bp-sym.h> and <bp-asm.h>.
44812         (memcpy): Don't use BP_SYM.
44813         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
44814         <bp-sym.h> and <bp-asm.h>.
44815         (memset): Don't use BP_SYM.
44816         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
44817         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
44818         (__bzero): Don't use BP_SYM.
44819         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
44820         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
44821         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
44822         <bp-sym.h> and <bp-asm.h>.
44823         (__memchr): Don't use BP_SYM.
44824         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
44825         <bp-sym.h> and <bp-asm.h>.
44826         (memcmp): Don't use BP_SYM.  Remove comment about bounded
44827         pointers.
44828         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
44829         <bp-sym.h> and <bp-asm.h>.
44830         (memcpy): Don't use BP_SYM.
44831         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
44832         <bp-sym.h> and <bp-asm.h>.
44833         (__mempcpy): Don't use BP_SYM.
44834         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
44835         <bp-sym.h> and <bp-asm.h>.
44836         (__memrchr): Don't use BP_SYM.
44837         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
44838         <bp-sym.h> and <bp-asm.h>.
44839         (memset): Don't use BP_SYM.
44840         (__bzero): Likewise.
44841         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
44842         <bp-sym.h> and <bp-asm.h>.
44843         (__rawmemchr): Don't use BP_SYM.
44844         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
44845         <bp-sym.h> and <bp-asm.h>.
44846         (__STRCMP): Don't use BP_SYM.
44847         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
44848         <bp-sym.h> and <bp-asm.h>.
44849         (strchr): Don't use BP_SYM.
44850         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
44851         <bp-sym.h> and <bp-asm.h>.
44852         (__strchrnul): Don't use BP_SYM.
44853         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
44854         <bp-sym.h> and <bp-asm.h>.
44855         (strlen): Don't use BP_SYM.
44856         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
44857         <bp-sym.h> and <bp-asm.h>.
44858         (strncmp): Don't use BP_SYM.  Remove comment about bounded
44859         pointers.
44860         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
44861         <bp-sym.h> and <bp-asm.h>.
44862         (__strnlen): Don't use BP_SYM.
44863         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
44864         <bp-sym.h> and <bp-asm.h>.
44865         (__GI__setjmp): Don't use BP_SYM.
44866         (_setjmp): Likewise.
44867         (__sigsetjmp): Likewise.
44868         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
44869         (L(start_addresses)): Don't use BP_SYM.
44870         (_start): Likewise.
44871         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
44872         <bp-asm.h>.
44873         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
44874         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
44875         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
44876         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
44877         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
44878         <bp-asm.h>.
44879         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
44880         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
44881         about bounded pointers.
44882         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
44883         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
44884         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
44885         <bp-asm.h>.
44886         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
44887         about bounded pointers.  Remove GKM FIXME comments.
44888         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
44889         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
44890         <bp-asm.h>.
44891         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
44892         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
44893         Remove GKM FIXME comments.
44894         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
44895         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
44896         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
44897         <bp-asm.h>.
44898         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
44899         about bounded pointers.  Remove GKM FIXME comment.
44900         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
44901         and <bp-asm.h>.
44902         (strncmp): Don't use BP_SYM.  Remove comment about bounded
44903         pointers.
44904         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
44905         <bp-sym.h> and <bp-asm.h>.
44906         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
44907         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
44908         <bp-sym.h> and <bp-asm.h>.
44909         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
44910         comment.
44912 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
44914         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
44915         call free(NULL).
44917 2013-03-05  David S. Miller  <davem@davemloft.net>
44919         * po/es.po: Update from translation team.
44921 2013-03-05  Andreas Jaeger  <aj@suse.de>
44923         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
44924         <bits/mman-linux.h>.
44925         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
44926         is fine.
44927         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
44928         <bits/mman-linux.h> to end of file.
44929         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
44930         is fine.
44931         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
44932         <bits/mman-linux.h> to end of file.
44933         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
44934         is fine.
44935         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
44936         <bits/mman-linux.h> to end of file.
44938         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
44939         (MCL_CURRENT, MCL_FUTURE): Define here.
44941 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44943         [BZ #15232]
44944         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
44945         attribute_hidden.
44946         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
44948 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44950         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
44951         fourth parameter needed for rt_sigprocmask syscall.
44952         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
44953         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
44954         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
44955         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
44956         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
44957         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
44959 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
44961         [BZ #13550]
44962         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
44963         comment about bounded pointers.
44964         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
44965         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
44967 2013-03-04  Andreas Jaeger  <aj@suse.de>
44969         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
44970         common definitions.
44972         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
44973         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
44974         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
44975         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
44976         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
44977         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
44979 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44981         [BZ #15055]
44982         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
44983         __ieee754_sqrl instead of __sqrl.
44985 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
44987         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
44988         * sysdeps/powerpc/fpu_control.h: ... here.
44989         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
44990         * sysdeps/powerpc/bits/fenvinline.h: ... here.
44991         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
44992         * sysdeps/powerpc/bits/mathinline.h: ... here.
44994 2013-03-01  Roland McGrath  <roland@hack.frob.com>
44996         * elf/dl-hwcaps.c (_dl_important_hwcaps):
44997         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
44998         to just [NEED_DL_SYSINFO_DSO].
44999         * elf/dl-support.c: Likewise.
45000         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
45001         * elf/rtld.c (dl_main): Likewise.
45002         * elf/setup-vdso.h (setup_vdso): Likewise.
45003         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
45004         * sysdeps/unix/sysv/linux/dl-sysdep.c
45005         (_dl_discover_osversion): Likewise.
45007 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
45009         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
45010         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
45012 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
45014         * NEWS: Mention libm performance improvements and non-x86 PI
45015         futex support.
45017         * csu/libc-start.c (__pthread_initialize_minimal): Change
45018         function arguments.
45019         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
45021 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
45023         [BZ #13550]
45024         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
45025         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
45026         <bp-sym.h> and <bp-asm.h>.
45027         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
45028         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
45029         and <bp-asm.h>.
45030         (memcpy): Don't use BP_SYM.
45031         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
45032         <bp-asm.h>.
45033         (__mpn_add_n): Don't use BP_SYM.
45034         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
45035         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
45036         and <bp-asm.h>.
45037         (__mpn_addmul_1): Don't use BP_SYM.
45038         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
45039         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
45040         <bp-sym.h>.
45041         (_setjmp): Don't use BP_SYM.
45042         (__novmx_setjmp): Likewise.
45043         (__GI__setjmp): Likewise.
45044         (__vmx_setjmp): Likewise.
45045         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
45046         <bp-sym.h>.
45047         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
45048         (__bzero): Don't use BP_SYM.
45049         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
45050         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
45051         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
45052         <bp-sym.h> and <bp-asm.h>.
45053         (memcpy): Don't use BP_SYM.
45054         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
45055         <bp-sym.h> and <bp-asm.h>.
45056         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
45057         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
45058         <bp-sym.h> and <bp-asm.h>.
45059         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
45060         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
45061         <bp-asm.h>.
45062         (__mpn_lshift): Don't use BP_SYM.
45063         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
45064         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
45065         <bp-asm.h>.
45066         (memset): Don't use BP_SYM.
45067         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
45068         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
45069         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
45070         <bp-asm.h>.
45071         (__mpn_mul_1): Don't use BP_SYM.
45072         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
45073         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
45074         <bp-sym.h> and <bp-asm.h>.
45075         (memcmp): Don't use BP_SYM.
45076         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
45077         <bp-sym.h> and <bp-asm.h>.
45078         (memcpy): Don't use BP_SYM.
45079         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
45080         <bp-sym.h> and <bp-asm.h>.
45081         (memset): Don't use BP_SYM.
45082         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
45083         <bp-sym.h> and <bp-asm.h>.
45084         (strncmp): Don't use BP_SYM.
45085         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
45086         <bp-sym.h> and <bp-asm.h>.
45087         (memcpy): Don't use BP_SYM.
45088         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
45089         <bp-sym.h> and <bp-asm.h>.
45090         (memset): Don't use BP_SYM.
45091         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
45092         <bp-sym.h> and <bp-asm.h>.
45093         (__memchr): Don't use BP_SYM.
45094         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
45095         <bp-sym.h> and <bp-asm.h>.
45096         (memcmp): Don't use BP_SYM.
45097         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
45098         <bp-sym.h> and <bp-asm.h>.
45099         (memcpy): Don't use BP_SYM.
45100         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
45101         <bp-sym.h> and <bp-asm.h>.
45102         (__mempcpy): Don't use BP_SYM.
45103         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
45104         <bp-sym.h> and <bp-asm.h>.
45105         (__memrchr): Don't use BP_SYM.
45106         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
45107         <bp-sym.h> and <bp-asm.h>.
45108         (memset): Don't use BP_SYM.
45109         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
45110         <bp-sym.h> and <bp-asm.h>.
45111         (__rawmemchr): Don't use BP_SYM.
45112         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
45113         <bp-sym.h> and <bp-asm.h>.
45114         (__STRCMP): Don't use BP_SYM.
45115         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
45116         <bp-sym.h> and <bp-asm.h>.
45117         (strchr): Don't use BP_SYM.
45118         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
45119         <bp-sym.h> and <bp-asm.h>.
45120         (__strchrnul): Don't use BP_SYM.
45121         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
45122         <bp-sym.h> and <bp-asm.h>.
45123         (strlen): Don't use BP_SYM.
45124         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
45125         <bp-sym.h> and <bp-asm.h>.
45126         (strncmp): Don't use BP_SYM.
45127         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
45128         <bp-sym.h> and <bp-asm.h>.
45129         (__strnlen): Don't use BP_SYM.
45130         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
45131         <bp-asm.h>.
45132         (__mpn_rshift): Don't use BP_SYM.
45133         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
45134         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
45135         <bp-sym.h> and <bp-asm.h>.
45136         (__sigsetjmp): Don't use BP_SYM.
45137         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
45138         (L(start_addresses)): Don't use BP_SYM.
45139         (_start): Likewise.
45140         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
45141         <bp-asm.h>.
45142         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
45143         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
45144         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
45145         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
45146         <bp-asm.h>.
45147         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
45148         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
45149         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
45150         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
45151         <bp-asm.h>.
45152         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
45153         comments.
45154         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
45155         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
45156         <bp-asm.h>.
45157         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
45158         FIXME comments.
45159         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
45160         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
45161         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
45162         <bp-asm.h>.
45163         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
45164         comment.
45165         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
45166         and <bp-asm.h>.
45167         (strncmp): Don't use BP_SYM,
45168         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
45169         <bp-asm.h>.
45170         (__mpn_sub_n): Don't use BP_SYM.
45171         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
45172         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
45173         and <bp-asm.h>.
45174         (__mpn_submul_1): Don't use BP_SYM.
45175         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
45176         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
45177         <bp-sym.h> and <bp-asm.h>.
45178         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
45179         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
45180         <bp-sym.h> and <bp-asm.h>.
45181         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
45182         comment.
45184 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
45186         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
45187         Use ZK to minimize writes to Z.
45188         (sub_magnitudes): Simplify code a bit.
45189         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
45190         Use ZK to minimize writes to Z.
45191         (sub_magnitudes): Simplify code a bit.
45193 2013-02-27  Roland McGrath  <roland@hack.frob.com>
45195         * csu/gmon-start.c: Add special exception to license text.
45197 2013-02-27  Richard Henderson  <rth@redhat.com>
45199         * scripts/config.guess: Update from config.git.
45200         * scripts/config.sub: Likewise.
45202 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
45204         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
45206         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
45208         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
45210         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
45212         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
45214 2013-02-26  Roland McGrath  <roland@hack.frob.com>
45216         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
45217         [$(build-shared = yes].
45219 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
45221         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
45222         (__mul): Reduce iterations for calculating mantissa.
45224         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
45225         MPTWO.
45226         (__mpranred): Likewise.
45228         [BZ #15160]
45229         * malloc/memusagestat.c (main): Draw graphs for heap and stack
45230         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
45232 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
45234         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
45235         Define __attribute__.
45237 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
45239         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
45240         unused.
45241         * posix/regex_internal.h (__attribute): Remove.
45242         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
45243         (re_string_context_at): Likewise.
45244         (bitset_not): Use __attribute__ and mark function as possibly
45245         unused.
45246         (bitset_merge): Likewise.
45247         (bitset_mask): Likewise.
45248         (re_string_char_size_at): Likewise.
45249         (re_string_wchar_at): Likewise.
45250         (re_string_elem_size_at): Likewise.
45252 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
45254         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
45255         code.
45256         (cc32): Likewise.
45258         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
45259         (__acr): Likewise.
45260         (__cpy): Likewise.
45261         (norm): Likewise.
45262         (denorm): Likewise.
45263         (__dbl_mp): Likewise.
45264         (add_magnitudes): Likewise.
45265         (sub_magnitudes): Likewise.
45266         (__mul): Likewise.
45267         (__inv): Likewise.
45269         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
45270         style.
45272         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
45273         style.
45275         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
45276         code.
45278         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
45279         up changes with default code.
45280         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
45281         Likewise.
45283 2013-02-24  Allan McRae  <allan@archlinux.org>
45285         * manual/socket.texi (The Internet Namespace): Order menu items
45286         to match that in the file.
45288         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
45289         node listing of the info page menu.
45291 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
45293         [BZ #13550]
45294         * sysdeps/i386/bp-asm.h: Remove file.
45295         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
45296         (PARMS): Do not use macros from bp-asm.h.
45297         (S1): Likewise.
45298         (S2): Likewise.
45299         (SIZE): Likewise.
45300         (__mpn_add_n): Do not use BP_SYM
45301         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
45302         "bp-asm.h".
45303         (PARMS): Do not use macros from bp-asm.h.
45304         (S1): Likewise.
45305         (SIZE): Likewise.
45306         (__mpn_addmul_1): Do not use BP_SYM
45307         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
45308         "bp-asm.h".
45309         (PARMS): Do not use macros from bp-asm.h.
45310         (SIGMSK): Likewise.
45311         (_setjmp): Likewise.  Do not use BP_SYM.
45312         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
45313         "bp-asm.h".
45314         (PARMS): Do not use macros from bp-asm.h.
45315         (SIGMSK): Likewise.
45316         (setjmp): Likewise.  Do not use BP_SYM.
45317         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
45318         "bp-asm.h".
45319         (PARMS): Do not use macros from bp-asm.h.
45320         (__frexp): Do not use BP_SYM.
45321         (frexp): Likewise.
45322         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
45323         "bp-asm.h".
45324         (PARMS): Do not use macros from bp-asm.h.
45325         (__frexpf): Do not use BP_SYM.
45326         (frexpf): Likewise.
45327         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
45328         "bp-asm.h".
45329         (PARMS): Do not use macros from bp-asm.h.
45330         (__frexpl): Do not use BP_SYM.
45331         (frexpl): Likewise.
45332         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
45333         "bp-asm.h".
45334         (PARMS): Do not use macros from bp-asm.h.
45335         (__remquo): Do not use BP_SYM.
45336         (remquo): Likewise.
45337         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
45338         "bp-asm.h".
45339         (PARMS): Do not use macros from bp-asm.h.
45340         (__remquof): Do not use BP_SYM.
45341         (remquof): Likewise.
45342         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
45343         "bp-asm.h".
45344         (PARMS): Do not use macros from bp-asm.h.
45345         (__remquol): Do not use BP_SYM.
45346         (remquol): Likewise.
45347         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
45348         "bp-asm.h".
45349         (PARMS): Do not use macros from bp-asm.h.
45350         (DEST): Likewise.
45351         (SRC): Likewise.
45352         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
45353         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
45354         "bp-asm.h".
45355         (PARMS): Do not use macros from bp-asm.h.
45356         (strlen): Do not use BP_SYM.
45357         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
45358         "bp-asm.h".
45359         (PARMS): Do not use macros from bp-asm.h.
45360         (S1): Likewise.
45361         (S2): Likewise.
45362         (SIZE): Likewise.
45363         (__mpn_add_n): Do not use BP_SYM.
45364         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
45365         "bp-asm.h".
45366         (PARMS): Do not use macros from bp-asm.h.
45367         (S1): Likewise.
45368         (SIZE): Likewise.
45369         (__mpn_addmul_1): Do not use BP_SYM.
45370         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
45371         weak_alias.
45372         (bzero): Likewise.
45373         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
45374         "bp-asm.h".
45375         (PARMS): Do not use macros from bp-asm.h.
45376         (S): Likewise.
45377         (SIZE): Likewise.
45378         (__mpn_lshift): Do not use BP_SYM.
45379         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
45380         "bp-asm.h".
45381         (PARMS): Do not use macros from bp-asm.h.
45382         (DEST): Likewise.
45383         (SRC): Likewise.
45384         (LEN): Likewise.
45385         (memcpy): Likewise.  Do not use BP_SYM.
45386         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
45387         libc_hidden_def and weak_alias.
45388         (mempcpy): Do not use BP_SYM in weak_alias.
45389         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
45390         "bp-asm.h".
45391         (PARMS): Do not use macros from bp-asm.h.
45392         (DEST): Likewise.
45393         (LEN): Likewise.
45394         [!BZERO_P] (CHR): Likewise.
45395         (memset): Likewise.  Do not use BP_SYM.
45396         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
45397         "bp-asm.h".
45398         (PARMS): Do not use macros from bp-asm.h.
45399         (S1): Likewise.
45400         (SIZE): Likewise.
45401         (__mpn_mul_1): Do not use BP_SYM.
45402         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
45403         "bp-asm.h".
45404         (PARMS): Do not use macros from bp-asm.h.
45405         (S): Likewise.
45406         (SIZE): Likewise.
45407         (__mpn_rshift): Do not use BP_SYM.
45408         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
45409         "bp-asm.h".
45410         (PARMS): Do not use macros from bp-asm.h.
45411         (STR): Likewise.
45412         (CHR): Likewise.
45413         (strchr): Likewise.  Do not use BP_SYM.
45414         (index): Do not use BP_SYM in weak_alias.
45415         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
45416         "bp-asm.h".
45417         (PARMS): Do not use macros from bp-asm.h.
45418         (DEST): Likewise.
45419         (SRC): Likewise.
45420         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
45421         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
45422         "bp-asm.h".
45423         (PARMS): Do not use macros from bp-asm.h.
45424         (strlen): Do not use BP_SYM.
45425         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
45426         "bp-asm.h".
45427         (PARMS): Do not use macros from bp-asm.h.
45428         (S1): Likewise.
45429         (S2): Likewise.
45430         (SIZE): Likewise.
45431         (__mpn_sub_n): Do not use BP_SYM.
45432         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
45433         "bp-asm.h".
45434         (PARMS): Do not use macros from bp-asm.h.
45435         (S1): Likewise.
45436         (SIZE): Likewise.
45437         (__mpn_submul_1): Do not use BP_SYM.
45438         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
45439         "bp-asm.h".
45440         (PARMS): Do not use macros from bp-asm.h.
45441         (S1): Likewise.
45442         (S2): Likewise.
45443         (SIZE): Likewise.
45444         (__mpn_add_n): Do not use BP_SYM.
45445         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
45446         weak_alias.
45447         (bzero): Likewise.
45448         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
45449         "bp-asm.h".
45450         (PARMS): Do not use macros from bp-asm.h.
45451         (BLK2): Likewise.
45452         (LEN): Likewise.
45453         (memcmp): Do not use BP_SYM.
45454         (bcmp): Do not use BP_SYM in weak_alias.
45455         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
45456         "bp-asm.h".
45457         (PARMS): Do not use macros from bp-asm.h.
45458         (DEST): Likewise.
45459         (SRC): Likewise.
45460         (LEN): Likewise.
45461         (memcpy): Likewise.  Do not use BP_SYM.
45462         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
45463         "bp-asm.h".
45464         (PARMS): Do not use macros from bp-asm.h.
45465         (DEST): Likewise.
45466         (SRC): Likewise.
45467         (LEN): Likewise.
45468         (memmove): Likewise.  Do not use BP_SYM.
45469         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
45470         "bp-asm.h".
45471         (PARMS): Do not use macros from bp-asm.h.
45472         (DEST): Likewise.
45473         (SRC): Likewise.
45474         (LEN): Likewise.
45475         (__mempcpy): Likewise.  Do not use BP_SYM.
45476         (mempcpy): Do not use BP_SYM in weak_alias.
45477         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
45478         "bp-asm.h".
45479         (PARMS): Do not use macros from bp-asm.h.
45480         (DEST): Likewise.
45481         (LEN): Likewise.
45482         [!BZERO_P] (CHR): Likewise.
45483         (memset): Likewise.  Do not use BP_SYM.
45484         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
45485         "bp-asm.h".
45486         (PARMS): Do not use macros from bp-asm.h.
45487         (STR2): Likewise.
45488         (strcmp): Do not use BP_SYM.
45489         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
45490         "bp-asm.h".
45491         (PARMS): Do not use macros from bp-asm.h.
45492         (STR): Likewise.
45493         (DELIM): Likewise.
45494         [USE_AS_STRTOK_R] (SAVE): Likewise.
45495         (FUNCTION): Likewise.  Do not use BP_SYM.
45496         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
45497         aliases.
45498         (strtok_r): Likewise.
45499         (__GI___strtok_r): Likewise.
45500         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
45501         (PARMS): Do not use macros from bp-asm.h.
45502         (S): Likewise.
45503         (SIZE): Likewise.
45504         (__mpn_lshift): Do not use BP_SYM.
45505         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
45506         (PARMS): Do not use macros from bp-asm.h.
45507         (STR): Likewise.
45508         (CHR): Likewise.
45509         (__memchr): Do not use BP_SYM.
45510         (memchr): Do not use BP_SYM in weak_alias.
45511         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
45512         (PARMS): Do not use macros from bp-asm.h.
45513         (BLK2): Likewise.
45514         (LEN): Likewise.
45515         (memcmp): Do not use BP_SYM.
45516         (bcmp): Do not use BP_SYM in weak_alias.
45517         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
45518         (PARMS): Do not use macros from bp-asm.h.
45519         (S1): Likewise.
45520         (SIZE): Likewise.
45521         (__mpn_mul_1): Do not use BP_SYM.
45522         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
45523         "bp-asm.h".
45524         (PARMS): Do not use macros from bp-asm.h.
45525         (STR): Likewise.
45526         (CHR): Likewise.
45527         (__rawmemchr): Do not use BP_SYM.
45528         (rawmemchr): Do not use BP_SYM in weak_alias.
45529         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
45530         (PARMS): Do not use macros from bp-asm.h.
45531         (S): Likewise.
45532         (SIZE): Likewise.
45533         (__mpn_rshift): Do not use BP_SYM.
45534         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
45535         (PARMS): Do not use macros from bp-asm.h.
45536         (SIGMSK): Likewise.
45537         (__sigsetjmp): Likewise.  Do not use BP_SYM.
45538         * sysdeps/i386/start.S: Do not include "bp-sym.h".
45539         (_start): Do not use BP_SYM.
45540         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
45541         (PARMS): Do not use macros from bp-asm.h.
45542         (DEST): Likewise.
45543         (SRC): Likewise.
45544         (__stpcpy): Likewise.  Do not use BP_SYM.
45545         (stpcpy): Do not use BP_SYM in weak_alias.
45546         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
45547         "bp-asm.h".
45548         (PARMS): Do not use macros from bp-asm.h.
45549         (DEST): Likewise.
45550         (SRC): Likewise.
45551         (LEN): Likewise.
45552         (__stpncpy): Likewise.  Do not use BP_SYM.
45553         (stpncpy): Do not use BP_SYM in weak_alias.
45554         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
45555         (PARMS): Do not use macros from bp-asm.h.
45556         (STR): Likewise.
45557         (CHR): Likewise.
45558         (strchr): Likewise.  Do not use BP_SYM.
45559         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
45560         "bp-asm.h".
45561         (PARMS): Do not use macros from bp-asm.h.
45562         (STR): Likewise.
45563         (CHR): Likewise.
45564         (__strchrnul): Likewise.  Do not use BP_SYM.
45565         (strchrnul): Do not use BP_SYM in weak_alias.
45566         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
45567         "bp-asm.h".
45568         (PARMS): Do not use macros from bp-asm.h.
45569         (STOP): Likewise.
45570         (strcspn): Do not use BP_SYM.
45571         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
45572         "bp-asm.h".
45573         (PARMS): Do not use macros from bp-asm.h.
45574         (STR): Likewise.
45575         (STOP): Likewise.
45576         (strpbrk): Likewise.  Do not use BP_SYM.
45577         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
45578         "bp-asm.h".
45579         (PARMS): Do not use macros from bp-asm.h.
45580         (STR): Likewise.
45581         (CHR): Likewise.
45582         (strrchr): Likewise.  Do not use BP_SYM.
45583         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
45584         (PARMS): Do not use macros from bp-asm.h.
45585         (SKIP): Likewise.
45586         (strspn): Do not use BP_SYM.
45587         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
45588         (PARMS): Do not use macros from bp-asm.h.
45589         (STR): Likewise.
45590         (DELIM): Likewise.
45591         (SAVE): Likewise.
45592         (FUNCTION): Likewise.  Do not use BP_SYM.
45593         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
45594         aliases.
45595         (strtok_r): Likewise.
45596         (__GI___strtok_r): Likewise.
45597         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
45598         (PARMS): Do not use macros from bp-asm.h.
45599         (S1): Likewise.
45600         (S2): Likewise.
45601         (SIZE): Likewise.
45602         (__mpn_sub_n): Do not use BP_SYM.
45603         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
45604         "bp-asm.h".
45605         (PARMS): Do not use macros from bp-asm.h.
45606         (S1): Likewise.
45607         (SIZE): Likewise.
45608         (__mpn_submul_1): Do not use BP_SYM.
45609         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
45610         <bp-sym.h>.
45611         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
45612         and <bp-asm.h>.
45613         (PARMS): Do not use macros from bp-asm.h.
45614         (FLAGS): Likewise.
45615         (PTID): Likewise.
45616         (TLS): Likewise.
45617         (CTID): Likewise.
45618         (__clone): Do not use BP_SYM.
45619         (clone): Do not use BP_SYM in weak_alias.
45620         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
45621         and <bp-asm.h>.
45622         (PARMS): Do not use macros from bp-asm.h.
45623         (LEN): Likewise.
45624         (__mmap64): Do not use BP_SYM.
45625         (mmap64): Do not use BP_SYM in weak_alias.
45626         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
45627         <bp-sym.h> and <bp-asm.h>.
45628         (PARMS): Do not use macros from bp-asm.h.
45629         (__posix_fadvise64_l64): Do not use BP_SYM.
45630         * sysdeps/unix/sysv/linux/i386/semtimedop.S
45631         (PARMS): Do not use macros from bp-asm.h.
45632         (NSOPS): Likewise.
45633         (semtimedop): Do not use BP_SYM.
45634         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
45635         and <bp-asm.h>.
45637 2013-02-21  Allan McRae  <allan@archlinux.org>
45639         * manual/message.texi (Charset conversion in gettext):
45640         Move @end statement to beginning of line.
45642 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
45644         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
45645         static.
45646         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
45647         Likewise.
45649         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
45650         (denorm): Likewise.
45651         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
45652         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
45654 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45656         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
45657         tail-call to the resolved function if pltexit isn't needed.
45659 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
45661         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
45662         or Y being zero as being unlikely.
45663         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
45664         Likewise.
45666 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
45668         * manual/nss.texi (System Databases and Name Service Switch):
45669         Remove frobnicate @pxref.
45671 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
45673         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
45674         __attribute__ ((unused)) to __attribute__ ((__unused__)).
45676 2013-02-20  Petr Machata  <pmachata@redhat.com>
45678         * elf/elf.h (R_ARM_TARGET1): New macro.
45679         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
45680         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
45681         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
45682         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
45683         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
45684         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
45685         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
45686         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
45687         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
45688         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
45689         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
45690         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
45691         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
45692         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
45693         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
45694         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
45695         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
45696         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
45697         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
45698         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
45699         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
45700         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
45701         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
45702         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
45703         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
45704         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
45705         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
45706         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
45707         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
45708         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
45709         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
45710         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
45711         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
45712         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
45713         (R_ARM_THM_GOT_BREL12): Likewise.
45714         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
45715         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
45716         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
45717         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
45718         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
45719         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
45720         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
45721         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
45722         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
45724 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
45726         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
45727         __attribute_used__ to __attribute__ ((unused)).
45729 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
45731         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
45732         powerpc mpa.c.
45733         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
45734         comment formatting.
45735         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
45737 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
45739         [BZ #13550]
45740         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
45741         Remove macro.
45742         (ENTER): Remove both macro definitions.
45743         (LEAVE): Likewise.
45744         (CHECK_BOUNDS_LOW): Likewise.
45745         (CHECK_BOUNDS_HIGH): Likewise.
45746         (CHECK_BOUNDS_BOTH): Likewise.
45747         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
45748         (RETURN_BOUNDED_POINTER): Likewise.
45749         (RETURN_NULL_BOUNDED_POINTER): Likewise.
45750         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
45751         (POP_ERRNO_LOCATION_RETURN): Likewise.
45752         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
45753         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
45754         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
45755         macros.
45756         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
45757         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
45758         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
45759         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
45760         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
45761         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
45762         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
45763         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
45764         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
45765         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
45766         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
45767         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
45768         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
45769         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
45770         removed macros.
45771         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
45772         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
45773         macros.
45774         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
45775         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
45776         * sysdeps/i386/i586/memset.S (memset): Likewise.
45777         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
45778         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
45779         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
45780         macros.
45781         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
45782         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
45783         Change uses of L(2) to L(out).
45784         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
45785         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
45786         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
45787         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
45788         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
45789         removed macros.
45790         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
45791         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
45792         macros.
45793         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
45794         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
45795         (RETURN): Do not use macro LEAVE.
45796         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
45797         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
45798         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
45799         * sysdeps/i386/i686/memset.S (memset): Likewise.
45800         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
45801         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
45802         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
45803         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
45804         Likewise.
45805         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
45806         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
45807         L(1_2) and L(1_3) into L(1).
45808         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
45809         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
45810         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
45811         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
45812         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
45813         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
45814         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
45815         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
45816         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
45817         macros.
45818         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
45819         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
45820         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
45821         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
45822         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
45823         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
45824         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
45825         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
45826         * sysdeps/i386/strcspn.S (strcspn): Likewise.
45827         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
45828         * sysdeps/i386/strrchr.S (strrchr): Likewise.
45829         * sysdeps/i386/strspn.S (strspn): Likewise.
45830         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
45831         conditional code.
45832         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
45833         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
45834         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
45835         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
45836         L(1_3) into L(1_1).
45837         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
45838         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
45839         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
45840         macros.
45841         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
45843 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
45845         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
45846         macro.
45848 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
45850         * math/atest-exp.c (exp_mpn): Remove ROUND.
45851         * math/atest-exp2.c (exp_mpn): Likewise.
45852         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
45854         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
45855         * stdlib/tst-tls-atexit-lib.c: Likewise.
45856         * stdlib/tst-tls-atexit.c: Likewise.
45858 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
45860         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
45861         and __attribute_alloc_size__.
45863 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
45865         * include/programs/xmalloc.h: Change __attribute_alloc_size to
45866         __attribute_alloc_size__.
45867         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
45868         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
45870 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
45872         * include/programs/xmalloc.h: New file.
45873         * catgets/gencat.c: Include it.
45874         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
45875         * elf/pldd.c: Likewise.
45876         * iconv/iconv_charmap.c: Likewise.
45877         * iconv/iconvconfig.c: Likewise.
45878         * iconv/strtab.c: Likewise.
45879         * locale/programs/locale.c: Likewise.
45880         * locale/programs/localedef.h: Likewise.
45881         * locale/programs/simple-hash.c: Likewise.
45882         * nscd/nscd.h: Likewise.
45883         * nss/makedb.c: Likewise.
45884         * sysdeps/generic/ldconfig.h: Likewise.
45886 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
45888         * Versions.def: Add GLIBC_2.18.
45889         * include/link.h (struct link_map): New member l_tls_dtor_count.
45890         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
45891         (__call_tls_dtors): Likewise.
45892         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
45893         __cxa_thread_atexit_impl.
45894         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
45895         Likewise.
45896         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
45897         Likewise.
45898         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
45899         Likewise.
45900         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
45901         Likewise.
45902         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
45903         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
45904         Likewise.
45905         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
45906         Likewise.
45907         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
45908         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
45909         Likewise.
45910         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
45911         (tests): Add test case tst-tls-atexit.
45912         (modules-names): Add shared library for tst-tls-atexit.
45913         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
45914         (GLIBC_PRIVATE): Add __call_tls_dtors.
45915         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
45916         for libstdc++.
45917         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
45918         * stdlib/tst-tls-atexit.c: New test case.
45919         * stdlib/tst-tls-atexit-lib.c: New test case.
45921         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
45923         * elf/Versions (ld): Add _dl_find_dso_for_object.
45924         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
45925         * elf/dl-open.c (_dl_find_dso_for_object): New function.
45926         (dl_open_worker): Use _dl_find_dso_for_object.
45927         * elf/dl-sym.c (do_sym): Likewise.
45928         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
45930 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45932         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
45933         Syntactic changes only.
45934         (_dl_runtime_profile): Do a tail-call to the resolved function.
45936 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
45938         [BZ #13550]
45939         * sysdeps/x86_64/bp-asm.h: Remove file.
45940         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
45941         <bp-sym.h> and <bp-asm.h>.
45942         (__clone): Do not use BP_SYM.
45943         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
45944         <bp-sym.h> and <bp-asm.h>.
45945         * sysdeps/unix/x86_64/sysdep.S: Likewise.
45946         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
45947         "bp-asm.h".
45948         (_setjmp): Do not use BP_SYM.
45949         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
45950         "bp-asm.h".
45951         (setjmp): Do not use BP_SYM.
45952         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
45953         libc_hidden_def.
45954         (mempcpy): Do not use BP_SYM in weak_alias.
45955         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
45956         "bp-asm.h".
45957         (strchr): Do not use BP_SYM.
45958         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
45959         "bp-asm.h".
45960         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
45961         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
45962         (_start): Do not use BP_SYM.
45963         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
45964         "bp-asm.h".
45965         (strcat): Do not use BP_SYM.
45966         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
45967         "bp-asm.h".
45968         (STRCMP): Do not use BP_SYM.
45969         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
45970         "bp-asm.h".
45971         (STRCPY): Do not use BP_SYM.
45972         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
45973         "bp-asm.h".
45974         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
45975         "bp-asm.h".
45976         (FUNCTION): Do not use BP_SYM.
45977         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
45978         weak_alias.
45979         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
45981 2013-02-17  Andreas Jaeger  <aj@suse.de>
45983         * time/Versions: Sort entries.
45984         * string/Versions: Likewise.
45985         * resolv/Versions: Likewise.
45986         * posix/Versions: Likewise.
45987         * iconv/Versions: Likewise.
45988         * elf/Versions: Likewise.
45989         * wcsmbs/Versions: Likewise.
45991 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
45993         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
45994         loop termination condition.
45996         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
45997         variable to calculate EZ.
45998         (__sqr): Likewise.
46000         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
46001         the lower precision input.
46003 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
46005         [BZ #13550]
46006         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
46007         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
46008         (run-via-rtld-prefix): Do not handle %-bp tests.
46009         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
46010         (all-object-suffixes): Remove .ob.
46011         (bppfx): Remove variable.
46012         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
46013         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
46014         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
46015         [$(build-bounded) = yes] (libtype.ob): Likewise.
46016         * Makerules (elide-routines.ob): Remove variable.
46017         (do-tests-clean): Do not handle *-bp.out.
46018         (common-mostlyclean): Do not handle *-bp and *-bp.out.
46019         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
46020         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
46021         (tests): Do not include $(tests-bp.out).
46022         (xtests): Do not include $(xtests-bp.out).
46023         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
46024         [$(build-bounded) = yes] ($(addprefix
46025         $(objpfx),$(binaries-bounded))): Remove rule.
46026         ($(objpfx)%-bp.out): Remove rule.
46027         * config.make.in (build-bounded): Remove variable.
46028         * crypt/Makefile [$(build-bounded) = yes]
46029         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
46030         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
46031         append to variable.
46032         [$(build-bounded) = yes] (install-lib): Likewise.
46033         [$(build-bounded) = yes] (generated): Likewise.
46034         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
46035         Remove rule.
46036         * intl/Makefile [$(build-bounded) = yes]
46037         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
46038         * math/Makefile [$(build-bounded) = yes]
46039         ($(tests:%=$(objpfx)%-bp): Likewise.
46040         * misc/Makefile [$(build-bounded) = yes]
46041         ($(objpfx)tst-tsearch-bp): Likewise.
46042         * nptl/Makeconfig (bounded-thread-library): Remove variable.
46043         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
46044         Remove dependency.
46045         * string/Makefile (o-objects.ob): Remove variable.
46046         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
46047         (CFLAGS-.ob): Remove variable.
46048         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
46049         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
46050         both definitions of variable.
46051         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
46052         (ASFLAGS-.ob): Remove variable.
46054 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
46056         [BZ #13550]
46057         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
46058         Remove __BOUNDED_POINTERS__ from condition.
46059         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
46060         * string/bits/string2.h [!__NO_STRING_INLINES &&
46061         !__BOUNDED_POINTERS__]: Likewise.
46062         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
46063         Likewise.
46064         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
46065         Remove conditional code.
46066         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
46067         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
46068         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
46069         condition.
46071         [BZ #13550]
46072         * csu/libc-start.c: Do not include <bp-sym.h>.
46073         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
46074         * elf/dl-open.c: Do not include <bp-sym.h>.
46075         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
46076         * math/fegetenv.c: Do not include <bp-sym.h>.
46077         (fegetenv): Do not use BP_SYM in versioned symbols.
46078         * nptl/sysdeps/pthread/bits/libc-lockP.h
46079         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
46080         <bp-sym.h>.
46081         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
46082         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
46083         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
46084         (__pthread_mutex_destroy): Likewise.
46085         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
46086         (__pthread_mutex_lock): Likewise.
46087         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
46088         (__pthread_mutex_trylock): Likewise.
46089         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
46090         (__pthread_mutex_unlock): Likewise.
46091         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
46092         (__pthread_mutexattr_init): Likewise.
46093         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
46094         (__pthread_mutexattr_destroy): Likewise.
46095         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
46096         (__pthread_mutexattr_settype): Likewise.
46097         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
46098         (__pthread_rwlock_init): Likewise.
46099         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
46100         (__pthread_rwlock_destroy): Likewise.
46101         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
46102         (__pthread_rwlock_rdlock): Likewise.
46103         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
46104         (__pthread_rwlock_tryrdlock): Likewise.
46105         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
46106         (__pthread_rwlock_wrlock): Likewise.
46107         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
46108         (__pthread_rwlock_trywrlock): Likewise.
46109         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
46110         (__pthread_rwlock_unlock): Likewise.
46111         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
46112         (__pthread_key_create): Likewise.
46113         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
46114         (__pthread_setspecific): Likewise.
46115         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
46116         (__pthread_getspecific): Likewise.
46117         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
46118         Likewise.
46119         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
46120         (_pthread_cleanup_push_defer): Likewise.
46121         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
46122         (_pthread_cleanup_pop_restore): Likewise.
46123         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
46124         (pthread_setcancelstate): Likewise.
46125         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
46126         <bp-sym.h>.
46127         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
46128         (memchr): Do not use BP_SYM in weak_alias.
46129         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
46130         (fegetenv): Do not use BP_SYM in versioned symbols.
46131         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
46132         (fesetenv): Do not use BP_SYM in versioned symbols.
46133         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
46134         (feupdateenv): Do not use BP_SYM in versioned symbols.
46135         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
46136         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
46137         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
46138         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
46139         (open64): Do not use BP_SYM in weak_alias.
46140         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
46141         (fegetenv): Do not use BP_SYM in versioned symbols.
46142         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
46143         (fesetenv): Do not use BP_SYM in versioned symbols.
46144         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
46145         (feupdateenv): Do not use BP_SYM in versioned symbols.
46146         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
46147         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
46148         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
46149         (feraiseexcept): Do not use BP_SYM in versioned symbols.
46150         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
46151         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
46152         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
46153         <bp-sym.h>.
46154         (__libc_start_main): Do not use BP_SYM.
46156 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
46158         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
46159         redundant return line.
46160         (norm): Likewise.
46161         (denorm): Likewise.
46162         (dbl_mp): Likewise.
46163         (sub_magnitudes): Likewise.
46164         (__add): Likewise.
46165         (__sub): Likewise.
46166         (__mul): Likewise.
46167         (__inv): Likewise.
46168         (__dvd): Likewise.
46169         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
46170         (norm): Likewise.
46171         (denorm): Likewise.
46172         (dbl_mp): Likewise.
46173         (sub_magnitudes): Likewise.
46174         (__add): Likewise.
46175         (__sub): Likewise.
46176         (__mul): Likewise.
46177         (__inv): Likewise.
46178         (__dvd): Likewise.
46180         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
46181         instead of __mul.
46182         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
46183         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
46184         (cc32): Likewise.
46186         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
46187         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
46188         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
46189         of __mul for squares.
46190         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
46191         function
46192         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
46193         Likewise.
46194         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
46195         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
46197 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
46199         [BZ #13550]
46200         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
46201         code.
46202         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
46203         prototype or function definition.  Rename ubp_* variables and
46204         parameters.  Remove argv definitions conditional on
46205         [__BOUNDED_POINTERS__].
46206         * debug/backtrace.c (__backtrace): Do not use __unbounded.
46207         * elf/dl-runtime.c (_dl_fixup): Likewise.
46208         * include/set-hooks.h (RUN_HOOK): Likewise.
46209         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
46210         definition.
46211         * string/strcpy.c (strcpy): Do not use __unbounded.
46212         * sysdeps/generic/frame.h (struct layout): Likewise.
46213         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
46214         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
46215         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
46216         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
46217         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
46218         (__backtrace): Likewise.
46219         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
46220         use __ptrvalue.
46221         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
46222         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
46223         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
46224         Likewise.
46225         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
46226         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
46227         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
46228         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
46229         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
46230         Do not use __unbounded.
46231         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
46232         Rename __unboundedrlimits parameter to rlimits in prototype.
46233         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
46234         Do not use __unbounded.
46235         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
46236         not use __ptrvalue.
46237         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
46238         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
46239         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
46240         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
46241         __ptrvalue or __unbounded.
46242         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
46243         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
46244         use __unbounded.
46245         (__new_msgctl): Do not use __ptrvalue.
46246         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
46247         __unbounded.
46248         (__libc_msgrcv): Do not use __ptrvalue.
46249         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
46250         startup_info): Do not use __unbounded.
46251         (__libc_start_main): Likewise.  Rename ubp_* variables and
46252         parameters.  Remove argv definitions conditional on
46253         [__BOUNDED_POINTERS__].
46254         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
46255         __ptrvalue.
46256         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
46257         use __unbounded.
46258         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
46259         or __ptrvalue.
46260         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
46261         use __unbounded.
46262         (__new_shmctl): Do not use __ptrvalue.
46263         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
46264         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
46265         Likewise.
46266         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
46267         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
46268         (__libc_sigaction): Likewise.
46269         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
46270         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
46271         Likewise.
46272         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
46274 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
46276         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
46278         * string/mempcpy.c: Implement by calling memcpy.
46280 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
46282         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
46284         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
46285         evaluation.
46287         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
46288         values in the mantissa.
46290         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
46291         minimize writes to Z.
46292         (sub_magnitudes): Simplify code a bit.
46294 2013-02-12  Roland McGrath  <roland@hack.frob.com>
46296         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
46297         from the message.  The linker prefixes all warnings with that already.
46299 2013-02-12  Andreas Schwab  <schwab@suse.de>
46301         [BZ #15078]
46302         * posix/regexec.c (extend_buffers): Add parameter min_len.
46303         (check_matching): Pass minimum needed length.
46304         (clean_state_log_if_needed): Likewise.
46305         (get_subexp): Likewise.
46306         * posix/Makefile (tests): Add bug-regex34.
46307         (bug-regex34-ENV): Define.
46308         * posix/bug-regex34.c: New file.
46310         [BZ #11561]
46311         * posix/regcomp.c (parse_bracket_exp): When looking up collating
46312         elements compare against the byte sequence of it, not its name.
46313         * posix/Makefile (tests): Add bug-regex35.
46314         (bug-regex35-ENV): Define.
46315         * posix/bug-regex35.c: New file.
46317 2013-02-11  Tom de Vries  <tom@codesourcery.com>
46319         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
46320         comment.
46321         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
46322         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
46323         (CHECK_EOL): Add undef.
46325 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
46327         * bits/stdlib-bsearch.h: New file.
46328         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
46329         * stdlib/stdlib.h: Likewise.
46331 2013-02-11  Roland McGrath  <roland@hack.frob.com>
46333         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
46334         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
46335         declaration.
46336         * manual/search.texi (Array Search Function): Add missing const in
46337         lfind prototype.
46338         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
46339         declaration to use rlim_t.
46340         (Basic Scheduling Functions): Remove erroneous const from
46341         sched_getparam prototype.  Remove erroneous * from
46342         sched_get_priority_max and sched_get_priority_min prototypes.
46343         (Resource Usage): Fix summary @comment on vtimes to refer to
46344         sys/vtimes.h rather than vtimes.h.
46345         Add missing *s in vtimes prototype.
46346         (Limits on Resources): Fix ulimit prototype to return long int.
46347         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
46348         prototypes to use long int rather than double.
46349         (BSD Random): Fix initstate and setstate to use char *, not void *.
46350         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
46351         prototype to make second argument 'struct aiocb64 *const[]'.
46352         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
46353         (Status of AIO Operations): Remove erroneous const in aio_return and
46354         aio_return64 prototypes.
46355         (Synchronizing I/O): Fix sync prototype to return void.
46356         * manual/startup.texi (Suboptions): Remove an erroneous const in
46357         getsubopt prototype.
46358         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
46359         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
46360         use size_t rather than int.
46361         (Scanning All Users): Likewise for getpwent_r.
46362         (Setting Groups): Add missing const to setgroups prototype.
46363         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
46364         * manual/socket.texi (Host Names): Fix gethostbyaddr and
46365         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
46366         'const void *' rather than 'const char *'.
46367         (Host Address Functions): Likewise for inet_ntop.
46368         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
46369         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
46370         ssize_t for return value.
46371         (Sending Data): Likewise for send, sendto, sendmsg.
46372         (Socket Option Functions): Add a missing const in setsockopt prototype.
46373         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
46374         use wchar_t for the argument.
46375         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
46376         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
46377         take no arguments.
46378         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
46379         double/float/long double for second argument.
46380         Fix return types of significand, significandf, significandl.
46381         * manual/filesys.texi (Setting Permissions): Use mode_t for second
46382         argument in fchmod prototype.
46383         (File Owner): Use uid_t and gid_t in fchown prototype.
46384         (File Times): Add const to utimes, futimes, and lutimes prototypes.
46385         (Making Special Files): Use mode_t and dev_t in mknod prototype.
46386         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
46387         use 'const struct dirent **' as argument types to CMP function pointer
46388         argument.
46389         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
46390         (File Times): Fix summary magic @comment for struct utimbuf and utime
46391         to refer to utime.h, not time.h.
46392         * manual/string.texi (Argz Functions): Add missing const in
46393         argz_extract and argz_next prototypes.
46394         (Finding Tokens in a String): Likewise for basename.
46395         (String/Array Comparison): Fix typo in wcscasecmp prototype.
46396         (Copying and Concatenation): Fix typo in wmemmove prototype.
46397         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
46398         (Signal Stack): Remove erroneous const in sigstack prototype.
46399         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
46400         prototype.
46401         (Simple Calendar Time): Likewise for stime.
46402         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
46403         prototype.
46404         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
46405         say sys/sysctl.h instead.
46406         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
46407         and vsyslog prototypes.
46409 2013-02-11  Tom de Vries  <tom@codesourcery.com>
46411         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
46412         Remove.
46414 2013-02-11  Roland McGrath  <roland@hack.frob.com>
46416         * misc/sys/mman.h: Fix typo in mremap comment.
46418 2013-02-08  Roland McGrath  <roland@hack.frob.com>
46420         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
46421         the '\0' terminator.
46423 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
46425         [BZ #13550]
46426         * debug/segfault.c: Don't include <bp-checks.h>.
46427         * sysdeps/generic/bp-checks.h: Remove file.
46428         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
46429         (__GETDENTS): Don't use CHECK_N.
46430         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
46431         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
46432         (__getgroups): Don't use CHECK_N.
46433         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
46434         (setgroups): Don't use CHECK_N.
46435         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
46436         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
46437         (__libc_msgrcv): Don't use CHECK_N.
46438         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
46439         (__libc_msgsnd): Don't use CHECK_N.
46440         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
46441         <bp-checks.h>.
46442         (__libc_pread): Don't use CHECK_N.
46443         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
46444         include <bp-checks.h>.
46445         (__libc_pread64): Don't use CHECK_N.
46446         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
46447         include <bp-checks.h>.
46448         (__libc_pwrite): Don't use CHECK_N.
46449         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
46450         include <bp-checks.h>.
46451         (__libc_pwrite64): Don't use CHECK_N.
46452         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
46453         <bp-checks.h>.
46454         (__libc_pread): Don't use CHECK_N.
46455         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
46456         include <bp-checks.h>.
46457         (__libc_pread64): Don't use CHECK_N.
46458         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
46459         include <bp-checks.h>.
46460         (__libc_pwrite): Don't use CHECK_N.
46461         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
46462         include <bp-checks.h>.
46463         (__libc_pwrite64): Don't use CHECK_N.
46464         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
46465         (do_pread): Don't use CHECK_N.
46466         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
46467         (do_pread64): Don't use CHECK_N.
46468         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
46469         (do_pwrite): Don't use CHECK_N.
46470         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
46471         (do_pwrite64): Don't use CHECK_N.
46472         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
46473         (__libc_readv): Don't use CHECK_N.
46474         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
46475         (semop): Don't use CHECK_N.
46476         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
46477         <bp-checks.h>.
46478         (semtimedop): Don't use CHECK_N.
46479         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
46480         (__libc_pread): Don't use CHECK_N.
46481         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
46482         <bp-checks.h>.
46483         (__libc_pread64): Don't use CHECK_N.
46484         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
46485         <bp-checks.h>.
46486         (__libc_pwrite): Don't use CHECK_N.
46487         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
46488         <bp-checks.h>.
46489         (__libc_pwrite64): Don't use CHECK_N.
46490         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
46491         <bp-checks.h>.
46492         (__libc_msgrcv): Don't use CHECK_N.
46493         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
46494         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
46495         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
46496         (__libc_writev): Don't use CHECK_N.
46498 2013-02-08  Roland McGrath  <roland@hack.frob.com>
46500         * string/strcpy.c: Removed unused variable.
46502         * Makeconfig (+sysdep-includes): Define with := rather than =.
46503         Use an existing include/ subdir of each sysdeps dir before it.
46505 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
46507         * nscd/connection.c (register_traced_file): Comment function.
46508         [HAVE_INOTIFY] (union __inev): Define.
46509         [HAVE_INOTIFY] (inotify_check_files): New function.
46510         [HAVE_INOTIFY] (clear_db_cache): Likewise.
46511         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
46512         clear_db_cache.
46513         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
46515 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
46517         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
46518         loaded if not already and that a failure is permanent.
46520 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
46522         [BZ #15006]
46523         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
46524         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
46526 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
46528         [BZ #13550]
46529         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
46530         (CHECK_1_NULL_OK): Likewise.
46531         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
46532         (__fxstat): Do not use CHECK_1.
46533         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
46534         <bp-checks.h>.
46535         (___fxstat64): Do not use CHECK_1.
46536         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
46537         <bp-checks.h>.
46538         (__fxstatat): Do not use CHECK_1.
46539         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
46540         <bp-checks.h>.
46541         (__fxstatat64): Do not use CHECK_1.
46542         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
46543         <bp-checks.h>.
46544         (__fxstat): Do not use CHECK_1.
46545         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
46546         <bp-checks.h>.
46547         (__fxstatat): Do not use CHECK_1.
46548         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
46549         <bp-checks.h>.
46550         (__getresgid): Do not use CHECK_1.
46551         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
46552         <bp-checks.h>.
46553         (__getresuid): Do not use CHECK_1.
46554         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
46555         <bp-checks.h>.
46556         (__lxstat): Do not use CHECK_1.
46557         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
46558         <bp-checks.h>.
46559         (__old_msgctl): Do not use CHECK_1.
46560         (__new_msgctl): Likewise.
46561         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
46562         <bp-checks.h>.
46563         (__new_setrlimit): Do not use CHECK_1.
46564         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
46565         <bp-checks.h>.
46566         (__old_shmctl): Do not use CHECK_1.
46567         (__new_shmctl): Likewise.
46568         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
46569         <bp-checks.h>.
46570         (__xstat): Do not use CHECK_1.
46571         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
46572         (__lxstat): Do not use CHECK_1.
46573         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
46574         <bp-checks.h>.
46575         (___lxstat64): Do not use CHECK_1.
46576         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
46577         (__old_msgctl): Do not use CHECK_1.
46578         (__new_msgctl): Likewise.
46579         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
46580         <bp-checks.h>.
46581         (__gettimeofday): Do not use CHECK_1.
46582         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
46583         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
46584         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
46585         <bp-checks.h>.
46586         (__gettimeofday): Do not use CHECK_1.
46587         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
46588         (__old_shmctl): Do not use CHECK_1_NULL_OK.
46589         (__new_shmctl): Do not use CHECK_1.
46590         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
46591         <bp-checks.h>.
46592         (do_sigtimedwait): Do not use CHECK_1.
46593         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
46594         <bp-checks.h>.
46595         (do_sigwaitinfo): Do not use CHECK_1.
46596         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
46597         <bp-checks.h>.
46598         (msgctl): Do not use CHECK_1.
46599         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
46600         <bp-checks.h>.
46601         (shmctl): Do not use CHECK_1.
46602         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
46603         (ustat): Do not use CHECK_1.
46604         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
46605         <bp-checks.h>.
46606         (__fxstat): Do not use CHECK_1.
46607         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
46608         <bp-checks.h>.
46609         (__fxstatat): Do not use CHECK_1.
46610         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
46611         <bp-checks.h>.
46612         (__lxstat): Do not use CHECK_1.
46613         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
46614         <bp-checks.h>.
46615         (__xstat): Do not use CHECK_1.
46616         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
46617         (__xstat): Do not use CHECK_1.
46618         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
46619         (___xstat64): Do not use CHECK_1.
46621         [BZ #13550]
46622         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
46623         definitions.
46624         (CHECK_BOUNDS_HIGH): Likewise.
46625         * string/strcpy.c: Do not include <bp-checks.h>.
46626         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
46628 2013-02-07  Roland McGrath  <roland@hack.frob.com>
46630         * nscd/nscd-client.h (__nscd_drop_map_ref):
46631         Add __attribute__ ((unused)).
46632         * nis/nss-nisplus.h (niserr2nss): Likewise.
46634         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
46635         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
46637         * csu/libc-tls.c (init_static_tls, init_slotinfo):
46638         Remove inline keyword.
46639         * include/rounding-mode.h (round_away): Likewise.
46640         * libio/wfileops.c (adjust_wide_data): Likewise.
46641         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
46642         (__m128i_strloadu_tolower): Likewise.
46643         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
46644         (__m128i_strloadu_tolower): Likewise.
46645         * time/mktime.c (ydhms_diff): Likewise.
46646         * locale/elem-hash.h (elem_hash): Likewise.
46647         * locale/setlocale.c (setdata): Likewise.
46648         * posix/regex_internal.h (re_string_char_size_at): Likewise.
46649         (re_string_wchar_at): Likewise.
46650         (bitset_not, bitset_merge, bitset_mask): Likewise.
46651         [!(__GNUC__ > 3)] (inline): Remove macro.
46652         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
46653         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
46654         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
46655         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
46656         * string/memcmp.c (memcmp_bytes): Likewise.
46657         * locale/programs/locarchive.c (compute_hashval): Likewise.
46658         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
46659         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
46660         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
46661         * nss/getent.c (print_rpc, print_protocols): Likewise.
46662         (print_passwd, print_group, print_aliases): Likewise.
46663         * nis/nss-nisplus.h (niserr2nss): Likewise.
46664         * nscd/connections.c (restart_p): Likewise.
46665         Change return type to bool.
46667 2013-02-05  Roland McGrath  <roland@hack.frob.com>
46669         * Makeconfig (all-Depend-files): Add existing
46670         $(sorted-subdirs:=/Depend) files.
46671         (all-subdirs): Remove nss.
46672         * sysdeps/unix/inet/Subdirs: Add it here instead.
46673         * hesiod/Depend: New file.
46675         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
46676         instead of calling alloca.
46678         * io/lseek.c (__lseek): Rename to __libc_lseek.
46679         Define __lseek as an alias.
46681         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
46683 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
46685         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
46686         else clause and remove check for non-standard endianness.
46688 2013-02-04  David S. Miller  <davem@davemloft.net>
46690         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46692 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
46694         [BZ #13550]
46695         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
46696         (__ubp_memchr): Remove prototype.
46697         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
46698         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
46699         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
46700         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
46701         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
46702         Remove alias.
46703         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
46704         (__ubp_memchr): Likewise.
46705         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
46706         (__ubp_memchr): Likewise.
46707         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
46708         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
46709         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
46710         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
46711         CHECK_STRING.
46712         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
46713         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
46714         (__getcwd): Do not use CHECK_STRING.
46715         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
46716         <bp-checks.h>.
46717         (__real_chown): Do not use CHECK_STRING.
46718         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
46719         <bp-checks.h>.
46720         (fchownat): Do not use CHECK_STRING.
46721         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
46722         CHECK_STRING.
46723         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
46724         <bp-checks.h>.
46725         (__lchown): Do not use CHECK_STRING.
46726         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
46727         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
46728         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
46729         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
46730         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
46731         include <bp-checks.h>.
46732         (truncate64): Do not use CHECK_STRING.
46733         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
46734         <bp-checks.h>.
46735         (__real_chown): Do not use CHECK_STRING.
46736         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
46737         <bp-checks.h>.
46738         (__lchown): Do not use CHECK_STRING.
46739         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
46740         <bp-checks.h>.
46741         (__chown): Do not use CHECK_STRING.
46742         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
46743         <bp-checks.h>.
46744         (truncate64): Do not use CHECK_STRING.
46745         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
46746         Likewise.
46747         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
46748         (__xmknod): Do not use CHECK_STRING.
46749         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
46750         <bp-checks.h>.
46751         (__xmknodat): Do not use CHECK_STRING.
46752         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
46753         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
46755 2013-02-04  Andreas Schwab  <schwab@suse.de>
46757         [BZ #14142]
46758         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
46759         * include/netdb.h: Likewise for h_errno.
46760         * elf/tst-stackguard1.c: Include <tls.h>.
46762 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
46764         * elf/link.h (struct link_map): Extend the l_addr comment.
46765         * include/link.h (struct link_map): Likewise.
46767 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
46769         [BZ #13550]
46770         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
46771         (BOUNDED_1): Remove macro.
46772         * debug/backtrace.c: Don't include <bp-checks.h>.
46773         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
46774         (__backtrace): Likewise.
46775         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
46776         <bp-checks.h>.
46777         (__backtrace): Don't use BOUNDED_1.
46778         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
46779         <bp-checks.h>.
46780         (__backtrace): Don't use BOUNDED_1.
46781         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
46782         (__backtrace): Don't use BOUNDED_1.
46783         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
46784         (shmat): Don't use BOUNDED_N.
46786 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
46788         [BZ #13550]
46789         * sysdeps/generic/bp-start.h: Remove file.
46790         * csu/libc-start.c: Don't include <bp-start.h>.
46791         (LIBC_START_MAIN): Set up __environ directly instead of using
46792         INIT_ARGV_and_ENVIRON.
46793         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
46794         <bp-start.h>.
46796         [BZ #13550]
46797         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
46798         definitions.
46799         (CHECK_FCNTL): Likewise.
46800         (CHECK_N_PAGES): Likewise.
46802         [BZ #13550]
46803         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
46804         definitions.
46805         (CHECK_SIGSET_NULL_OK): Likewise.
46806         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
46807         <bp-checks.h>.
46808         (sigpending): Don't use CHECK_SIGSET.
46809         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
46810         <bp-checks.h>.
46811         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
46812         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
46813         <bp-checks.h>.
46814         (do_sigsuspend): Don't use CHECK_SIGSET.
46815         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
46816         use CHECK_SIGSET.
46817         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
46818         (do_sigwait): Don't use CHECK_SIGSET.
46819         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
46820         use CHECK_SIGSET.
46821         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
46822         include <bp-checks.h>.
46823         (sigpending): Don't use CHECK_SIGSET.
46824         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
46825         include <bp-checks.h>.
46826         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
46827         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
46828         <bp-checks.h>.
46829         (sigpending): Don't use CHECK_SIGSET.
46830         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
46831         <bp-checks.h>.
46832         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
46834         [BZ #13550]
46835         * sysdeps/generic/bp-semctl.h: Remove file.
46836         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
46837         <bp-checks.h> and <bp-semctl.h>.
46838         (__old_semctl): Don't use CHECK_SEMCTL.
46839         (__new_semctl): Likewise.
46840         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
46841         and <bp-semctl.h>.
46842         (__old_semctl): Don't use CHECK_SEMCTL.
46843         (__new_semctl): Likewise.
46844         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
46845         <bp-checks.h> and <bp-semctl.h>.
46846         (__old_semctl): Don't use CHECK_SEMCTL.
46847         (__new_semctl): Likewise.
46848         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
46849         <bp-checks.h> and <bp-semctl.h>.
46850         (semctl): Don't use CHECK_SEMCTL.
46852         [BZ #13550]
46853         * Makerules (elide-bp-thunks): Remove variable.
46854         (elide-routines.oS): Don't use $(elide-bp-thunks).
46855         (elide-routines.os): Likewise.
46856         (elide-routines.o): Likewise.
46857         (elide-routines.op): Likewise.
46858         (elide-routines.og): Likewise.
46859         (objects): Don't use $(bp-thunks).
46860         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
46861         include.
46862         (common-generated): Do not add s-proto-bp.d.
46863         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
46864         (int): Likewise.
46865         (typ): Likewise.
46866         Do not generate makefile rules for bounded-pointer thunks.
46867         * sysdeps/generic/bp-thunks.h: Remove file.
46868         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
46869         * sysdeps/unix/s-proto-bp.S: Likewise.
46871         [BZ #15062]
46872         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
46873         parts of result separately when argument is not close to line from
46874         -i to i and one part of argument is small.
46875         * math/k_casinhf.c (__kernel_casinhf): Likewise.
46876         * math/k_casinhl.c (__kernel_casinhl): Likewise.
46877         * math/libm-test.inc (cacos_test): Add more tests.
46878         (casin_test): Likewise.
46879         (casinh_test): Likewise.
46880         * sysdeps/i386/fpu/libm-test-ulps: Update.
46881         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46883 2013-01-31  David S. Miller  <davem@davemloft.net>
46885         * po/de.po: Update from translation team.
46887 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
46889         * time/tzfile.c: Include stdint.h for SIZE_MAX.
46891 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
46893         * configure.in (_AC_PROG_CC_C89): New definition.
46894         * configure: Regenerate.
46896         * configure.in (AC_PROG_CPP): New definition.
46897         * configure: Regenerate.
46899 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
46901         * debug/tst-backtrace.h: New file.
46902         * debug/tst-backtrace2.c: Include tst-backtrace.h.
46903         (ret): Remove variable.
46904         (x): Likewise.
46905         (FAIL): Remove macro.
46906         (NO_INLINE): Likewise.
46907         (fn1): Use match function instead of strstr.
46908         * debug/tst-backtrace3.c: Include tst-backtrace.h.
46909         (ret): Remove variable.
46910         (x): Likewise.
46911         (FAIL): Remove macro.
46912         (NO_INLINE): Likewise.
46913         (fn): Use match function instead of strstr.
46914         * debug/tst-backtrace4.c: Include tst-backtrace.h.
46915         (ret): Remove variable.
46916         (x): Likewise.
46917         (FAIL): Remove macro.
46918         (NO_INLINE): Likewise.
46919         (handle_signal): Use match function instead of strstr.
46920         * debug/tst-backtrace5.c: Include tst-backtrace.h.
46921         (ret): Remove variable.
46922         (x): Likewise.
46923         (FAIL): Remove macro.
46924         (NO_INLINE): Likewise.
46925         (handle_signal): Use match function instead of strstr.
46927 2013-01-23  Roland McGrath  <roland@hack.frob.com>
46929         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
46931 2013-01-23  David S. Miller  <davem@davemloft.net>
46933         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
46934         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
46935         argument of CAS if possible.
46936         * sysdeps/sparc/sparc64/bits/atomic.h
46937         (__arch_compare_and_exchange_val_32_acq): Likewise.
46938         (__arch_compare_and_exchange_val_64_acq): Likewise.
46940 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
46942         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
46943         * sysdeps/posix/ulimit.c: ... this.
46944         Include <limits.h>.
46945         * sysdeps/unix/bsd/ulimit.c: Remove file.
46947 2013-01-23  Adam Conrad  <adconrad@0c3.net>
46949         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
46950         (LDFLAGS-tst-array5): Likewise.
46952 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
46954         [BZ #15036]
46955         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
46956         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
46957         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
46958         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
46960 2013-01-21  David S. Miller  <davem@davemloft.net>
46962         * sysdeps/sparc/backtrace.c: New file.
46963         * sysdeps/sparc/sparc32/backtrace.h: New file.
46964         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
46965         * sysdeps/sparc/sparc64/backtrace.h: New file.
46966         * sysdeps/sparc/sparc64/backtrace.c: Delete.
46967         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
46968         -funwind-tables.
46970 2013-01-21  Andreas Schwab  <schwab@suse.de>
46972         [BZ #15020]
46973         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
46974         closed its stdout.
46976 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
46978         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
46979         "mpa2.h".
46980         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
46982 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
46983             Mark Mitchell  <mark@codesourcery.com>
46984             Tom de Vries  <tom@codesourcery.com>
46985             Paul Pluzhnikov  <ppluzhnikov@google.com>
46987         * debug/tst-backtrace2.c: New file.
46988         * debug/tst-backtrace3.c: Likewise.
46989         * debug/tst-backtrace4.c: Likewise.
46990         * debug/tst-backtrace5.c: Likewise.
46991         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
46992         (CFLAGS-tst-backtrace3.c): Likewise.
46993         (CFLAGS-tst-backtrace4.c): Likewise.
46994         (CFLAGS-tst-backtrace5.c): Likewise.
46995         (LDFLAGS-tst-backtrace2): Likewise.
46996         (LDFLAGS-tst-backtrace3): Likewise.
46997         (LDFLAGS-tst-backtrace4): Likewise.
46998         (LDFLAGS-tst-backtrace5): Likewise.
46999         (tests): Add new tests tst-backtrace2, tst-backtrace3,
47000         tst-backtrace4 and tst-backtrace5.
47002 2013-01-18  Anton Blanchard  <anton@samba.org>
47003             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
47005         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
47006         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
47007         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
47008         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
47009         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
47010         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
47011         "+r" and remove output regs list as redundant.  Add explicit inline
47012         asm to specify register of return val to work around compiler codegen
47013         bug.  Remove (int) cast on return value.  Add return type parameter to
47014         use in macro so that this macro does not truncate return value for
47015         64-bit values.
47016         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
47017         pass to INTERNAL_VSYSCALL_NCS.
47018         (INLINE_VSYSCALL): Add 'long int' as return type to
47019         INTERNAL_VSYSCALL_NCS macro invocation.
47020         (INTERNAL_VSYSCALL): Add 'long int' as return type to
47021         INTERNAL_VSYSCALL_NCS macro invocation.
47022         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
47024 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
47026         [BZ #14496]
47027         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
47028         Fix application of SIMD FP exception mask.
47030         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
47031         mp_no from a power of two.
47032         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
47033         __mpexp_twomm1.  Use __pow_mp.
47035         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
47036         multiplication.
47038 2013-01-17  David S. Miller  <davem@davemloft.net>
47040         * sysdeps/sparc/fpu/libm-test-ulps: Update.
47042 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
47044         [BZ #15023]
47045         * include/complex.h: Condition contents on [!_COMPLEX_H].
47046         (__kernel_casinhf): New prototype.
47047         (__kernel_casinh): Likewise.
47048         (__kernel_casinhl): Likewise.
47049         * math/Makefile (libm_calls): Add k_casinh.
47050         * math/k_casinh.c: New file.
47051         * math/k_casinhf.c: Likewise.
47052         * math/k_casinhl.c: Likewise.
47053         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
47054         finite nonzero arguments.
47055         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
47056         finite nonzero arguments.
47057         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
47058         finite nonzero arguments.
47059         * math/s_casinh.c: Do not include <float.h>.
47060         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
47061         * math/s_casinhf.c: Do not include <float.h>.
47062         (__casinhf): Move code for finite nonzero arguments to
47063         k_casinhf.c.
47064         * math/s_casinhl.c: Do not include <float.h>.
47065         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
47066         redefine.
47067         (__casinhl): Move code for finite nonzero arguments to
47068         k_casinhl.c.
47069         * math/libm-test.inc (cacos_test): Add more tests.
47070         * sysdeps/i386/fpu/libm-test-ulps: Update.
47071         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47073 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
47075         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
47076         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
47077         [!HAVE_MREMAP]: Remove [defined linux] case.
47078         * malloc/arena.c: Do not include <malloc-sysdep.h>.
47080 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
47082         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
47084 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
47086         * elf/elf.h (R_386_SIZE32): New relocation.
47087         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
47088         R_386_SIZE32.
47089         (elf_machine_rela): Likewise.
47090         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
47091         R_X86_64_SIZE64 and R_X86_64_SIZE32.
47093 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
47095         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
47096         (FP_FAST_FMA): Do not define.
47097         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
47098         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
47099         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
47100         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
47101         !_SOFT_FLOAT]: Likewise.
47102         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
47103         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
47104         value.
47105         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
47106         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
47107         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
47108         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
47109         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
47110         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
47111         file.
47113 2013-01-16  Andreas Schwab  <schwab@suse.de>
47115         [BZ #14327]
47116         * include/stdlib.h (__mktemp): Add declaration.
47117         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
47118         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
47120 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
47122         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
47123         definitions.
47124         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
47125         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
47126         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
47127         definitions here.
47128         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
47129         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
47130         definitions.
47131         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
47132         and ONE.
47133         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
47134         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
47135         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
47136         definitions.
47137         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
47138         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
47139         definitions.
47140         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
47142         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
47144 2013-01-15  David S. Miller  <davem@davemloft.net>
47146         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
47147         trunc{,f} to libm-sysdep_routes.
47148         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
47149         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
47150         file.
47151         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
47152         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
47153         file.
47154         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
47155         file.
47156         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
47157         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
47158         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
47159         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
47160         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
47161         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
47162         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
47163         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
47165         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
47166         nearbyint{,f} to libm-sysdep_routes.
47167         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
47168         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
47169         New file.
47170         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
47171         file.
47172         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
47173         New file.
47174         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
47175         file.
47176         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
47177         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
47178         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
47179         file.
47180         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
47181         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
47182         file.
47183         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
47184         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
47185         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
47187         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
47188         libc_feholdexcept and libc_fesetenv.
47190 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
47192         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
47194 2013-01-14  David S. Miller  <davem@davemloft.net>
47196         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
47197         (SPARC_ASM_VIS2_IFUNC): Likewise.
47198         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
47199         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
47200         use of 'siam' instruction.
47201         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
47202         Likewise.
47203         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
47204         Likewise.
47205         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
47206         Likewise.
47207         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
47208         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
47209         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
47210         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
47211         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
47212         file.
47213         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
47214         file.
47215         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
47216         file.
47217         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
47218         file.
47219         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
47220         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
47221         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
47222         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
47223         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
47224         new VIS2 routines.
47225         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
47226         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
47227         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
47228         Likewise.
47229         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
47230         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
47231         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
47232         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
47233         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
47234         routines to libm-sysdep_routines.
47235         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
47237         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
47238         fdim/fdimf to libm-sysdep_routines.
47239         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
47240         file.
47241         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
47242         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
47243         file.
47244         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
47245         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
47246         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
47247         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
47248         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
47249         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
47250         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
47252 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
47254         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
47255         to optimize copies.
47257         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
47258         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
47259         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
47261         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
47262         local variable MPTWO.
47263         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
47264         Likewise.
47266 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
47268         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
47269         GLOB_NOESCAPE.
47271 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
47273         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
47275 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
47277         * manual/pattern.texi (glob_t): Document gl_flags.
47278         (glob64_t): Likewise.
47280 2013-01-11  David S. Miller  <davem@davemloft.net>
47282         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
47283         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
47284         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
47285         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
47286         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
47287         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
47288         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
47289         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
47290         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
47291         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
47292         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
47293         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
47294         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
47296         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
47297         sparc V9 rather than using V8 code.
47298         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
47299         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
47301         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
47302         Move to...
47303         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
47304         Here.
47306 2013-01-11  Roland McGrath  <roland@hack.frob.com>
47308         [BZ #14941]
47309         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
47310         not in the main loop.
47311         * configure: Regenerated.
47313 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
47315         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
47316         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
47317         to just #else.
47318         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
47319         [!__GLIBC_HAVE_LONG_LONG] case.
47320         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
47321         condition to just #else.
47322         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
47323         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
47324         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
47325         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
47326         unconditional.
47327         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
47328         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
47329         #elif condition to just #else.
47330         * sysdeps/unix/sysv/linux/sys/sysmacros.h
47331         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
47332         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
47333         #elif condition to just #else.
47335 2013-01-11  Steve Ellcey  <sellcey@mips.com>
47337         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
47338         (EF_MIPS_ARCH_64): Fix value.
47339         (EF_MIPS_ARCH_32R2): New.
47340         (EF_MIPS_ARCH_64R2): New.
47342 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
47344         * Makeconfig (+link-pie-before-libc): New.
47345         (+link-pie-after-libc): Likewise.
47346         (+link-pie-tests): Likewise.
47347         (+link-pie): Rewritten.
47348         (link-before-libc): Remove $(config-LDFLAGS).
47349         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
47350         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
47351         (config-LDFLAGS): Renamed to ...
47352         (rtld-LDFLAGS): This.
47353         (rtld-tests-LDFLAGS): New macro.
47354         (link-libc-rpath-link): Likewise.
47355         (link-libc-tests-rpath-link): Likewise.
47356         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
47357         (link-libc): Prepand $(link-libc-rpath-link).
47358         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
47359         (test-program-prefix): New macro.
47360         (test-via-rtld-prefix): Likewise.
47361         (test-program-cmd): Likewise.
47362         (host-test-program-cmd): Likewise.
47363         * Makefile ($(common-objpfx)testrun.sh): Replace
47364         $(run-program-prefix) with $(test-program-prefix).
47365         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
47366         $(rtld-LDFLAGS).
47367         ($(common-objpfx)shlib.lds): Likewise.
47368         (build-module-helper): Likewise.
47369         ($(common-objpfx)format.lds): Likewise.
47370         * Rules (binaries-pie-tests): New.
47371         (binaries-pie-notests): Likewise.
47372         (binaries-pie): Rewritten.
47373         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
47374         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
47375         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
47376         (make-test-out): Replace $(host-built-program-cmd) with
47377         $(host-test-program-cmd).
47378         * config.make.in (build-hardcoded-path-in-tests): New variable.
47379         * configure.in (--enable-hardcoded-path-in-tests): New configure
47380         option.
47381         (hardcoded_path_in_tests): New AC_SUBST.
47382         * configure: Regenerated.
47383         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
47384         $(built-program-cmd) with $(test-program-cmd).
47385         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
47386         (test_program_cmd): This.
47387         * elf/Makefile ($(objpfx)order.out): Run test with
47388         $(test-program-prefix).
47389         ($(objpfx)order2.out): Likewise.
47390         ($(objpfx)tst-initorder.out): Likewise.
47391         ($(objpfx)tst-initorder2.out): Likewise.
47392         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
47393         $(test-program-cmd).
47394         ($(objpfx)tst-array1-static.out): Likewise.
47395         ($(objpfx)tst-array2.out): Likewise.
47396         ($(objpfx)tst-array3.out): Likewise.
47397         ($(objpfx)tst-array4.out): Likewise.
47398         ($(objpfx)tst-array5.out): Likewise.
47399         ($(objpfx)tst-array5-static.out): Likewise.
47400         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
47401         $(test-program-cmd).
47402         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
47403         $(run-program-prefix) with $(test-program-prefix).
47404         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
47405         (test_program_prefix): This.
47406         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
47407         $(run-program-prefix) with $(test-program-prefix).
47408         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
47409         (test_program_prefix): This.
47410         * iconvdata/tst-tables.sh: Likewise.
47411         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
47412         $(run-program-prefix) with $(test-program-prefix).
47413         ($(objpfx)tst-translit.out): Likewise.
47414         ($(objpfx)tst-gettext2.out): Likewise.
47415         ($(objpfx)tst-gettext4.out): Likewise.
47416         ($(objpfx)tst-gettext6.out): Likewise.
47417         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
47418         (test_program_prefix): This.
47419         * intl/tst-gettext2.sh: Likewise.
47420         * intl/tst-gettext4.sh  Likewise.
47421         * intl/tst-gettext6.sh: Likewise.
47422         * intl/tst-translit.sh: Likewise.
47423         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
47424         with $(test-program-cmd).
47425         * libio/Makefile ($(objpfx)test-freopen.out): Replace
47426         $(run-program-prefix) with $(test-program-prefix).
47427         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
47428         (test_program_prefix): This.
47429         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
47430         $(run-program-prefix) with $(test-program-prefix).
47431         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
47432         (test_program_prefix): This.
47433         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
47434         * posix/Makefile ($(objpfx)globtest.out): Replace
47435         $(run-via-rtld-prefix) and $(test-wrapper) with
47436         $(test-program-prefix) and $(test-via-rtld-prefix).
47437         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
47438         $(test-program-prefix).
47439         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
47440         $(host-test-program-cmd).
47441         (tst-spawn-ARGS): Likewise.
47442         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
47443         $(test-program-prefix).
47444         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
47445         (test_via_rtld_prefix): This.
47446         (test_wrapper): Renamed to ...
47447         (test_program_prefix): This.
47448         (run_program_prefix): Replaced by test_program_prefix.
47449         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
47450         (test_program_prefix): This.
47451         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
47452         with $(host-test-program-cmd).
47453         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
47454         $(run-program-prefix) with $(test-program-prefix).
47455         ($(objpfx)tst-printf.out): Likewise.
47456         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
47457         $(test-program-cmd).
47458         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
47459         (test_program_prefix): This.
47460         * stdio-common/tst-unbputc.sh: Likewise.
47461         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
47462         $(run-program-prefix) with $(test-program-prefix).
47463         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
47464         (test_program_prefix): This.
47465         * string/Makefile ($(objpfx)tst-svc.out):  Replace
47466         $(built-program-cmd) with $(test-program-cmd).
47468 2013-01-11  Andreas Jaeger  <aj@suse.de>
47470         [BZ #15003]
47471         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
47472         value. Sync with Linux 3.7.
47474 2013-01-10  David S. Miller  <davem@davemloft.net>
47476         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
47477         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
47478         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
47480 2013-01-10  Roland McGrath  <roland@hack.frob.com>
47482         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
47483         never set.
47484         * configure: Regenerated.
47486 2013-01-10  David S. Miller  <davem@davemloft.net>
47488         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
47489         sparc V9 rather than using V8 code.
47490         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
47491         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
47493 2013-01-10  Roland McGrath  <roland@hack.frob.com>
47495         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
47496         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
47497         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
47498         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
47499         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
47500         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
47501         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
47502         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
47503         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
47504         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
47505         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
47506         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
47507         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
47508         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
47509         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
47510         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
47511         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
47512         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
47513         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
47514         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
47515         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
47516         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
47517         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
47518         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
47519         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
47520         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
47521         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
47523 2013-01-10  David S. Miller  <davem@davemloft.net>
47525         * sysdeps/sparc/fpu/libm-test-ulps: Update.
47527 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
47529         * posix/Makefile (tests-static): New variable.
47530         (tests): Add $(tests-static).
47531         (tst-exec-static-ARGS): New variable.
47532         (tst-spawn-static-ARGS): Likewise.
47533         * posix/tst-exec-static.c: New file.
47534         * posix/tst-spawn-static.c: Likewise.
47535         * posix/tst-exec.c: Support run directly.
47536         * posix/tst-spawn.c: Likewise.
47538 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
47540         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
47541         long.
47542         * math/bits/mathcalls.h (llrint): Likewise.
47543         (llround): Likewise.
47544         * stdlib/stdlib.h (struct drand48_data): Likewise.
47545         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
47546         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
47547         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
47548         Likewise.
47549         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
47550         Likewise.
47551         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
47552         (elf_greg_t): Likewise.
47553         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
47554         (__jmp_buf): Likewise.
47555         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
47556         definitions.
47557         (llrint): Likewise, for all definitions.
47558         (llrintl): Likewise.
47560         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
47561         Remove [__GNUC__] condition.
47562         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
47563         condition to just [__USE_ISOC99].
47564         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
47566 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
47568         [BZ #14200]
47569         * sysdeps/unix/sysv/linux/x86/bits/environments.h
47570         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
47571         defined.
47572         (_POSIX_V6_ILP32_OFF32): Likewise.
47573         (_XBS5_ILP32_OFF32): Likewise.
47574         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
47575         (__ILP32_OFFBIG_LDFLAGS): Likewise.
47577 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
47579         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
47581         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
47582         doubles __mpexp_twomm1.  Adjust usage.
47583         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
47584         Remove.
47586 2013-01-10  Andreas Schwab  <schwab@suse.de>
47588         [BZ #14964]
47589         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
47590         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
47592 2013-01-09  David S. Miller  <davem@davemloft.net>
47594         [BZ #15003]
47595         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
47596         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
47597         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
47598         (TCP_FASTOPEN): Define.
47599         (tcp_repair_opt): New structure.
47600         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
47601         enum values.
47602         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
47603         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
47604         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
47605         (tcp_cookie_transactions): New structure.
47607 2013-01-09  Anton Blanchard  <anton@samba.org>
47609         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
47610         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
47611         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
47612         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
47614 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
47616         * include/features.h (__USE_ANSI): Remove.
47618 2013-01-09  Roland McGrath  <roland@hack.frob.com>
47620         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
47622         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
47624 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
47626         * sysdeps/s390/fpu/libm-test-ulps: Update.
47628         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47630         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
47631         (__acr): Likewise.
47632         (__cpy): Likewise.
47633         (norm): Likewise.
47634         (denorm): Likewise.
47635         (__mp_dbl): Likewise.
47636         (__dbl_mp): Likewise.
47637         (add_magnitudes): Likewise.
47638         (sub_magnitudes): Likewise.
47639         (__add): Likewise.
47640         (__sub): Likewise.
47641         (__mul): Likewise.
47642         (__inv): Likewise.
47643         (__dvd): Likewise.
47644         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
47645         (__acr): Likewise.
47646         (__cpy): Likewise.
47647         (norm): Likewise.
47648         (denorm): Likewise.
47649         (__mp_dbl): Likewise.
47650         (__dbl_mp): Likewise.
47651         (add_magnitudes): Likewise.
47652         (sub_magnitudes): Likewise.
47653         (__add): Likewise.
47654         (__sub): Likewise.
47655         (__mul): Likewise.
47656         (__inv): Likewise.
47657         (__dvd): Likewise.
47658         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
47659         (__acr): Likewise.
47660         (__cpy): Likewise.
47661         (norm): Likewise.
47662         (denorm): Likewise.
47663         (__mp_dbl): Likewise.
47664         (__dbl_mp): Likewise.
47665         (add_magnitudes): Likewise.
47666         (sub_magnitudes): Likewise.
47667         (__add): Likewise.
47668         (__sub): Likewise.
47669         (__mul): Likewise.
47670         (__inv): Likewise.
47671         (__dvd): Likewise.
47673 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
47675         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
47676         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
47677         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
47678         2 && __USE_EXTERN_INLINES]: Likewise.
47680 2013-01-08  Andreas Jaeger  <aj@suse.de>
47682         [BZ# 14985]
47683         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
47684         Remove.
47685         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
47686         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
47688 2013-01-07  Anton Blanchard  <anton@samba.org>
47690         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
47691         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
47692         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
47693         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
47694         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
47695         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
47696         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
47697         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
47698         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
47699         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
47700         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
47701         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
47702         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
47703         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
47704         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
47705         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
47706         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
47707         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
47708         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
47709         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
47710         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
47711         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
47712         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
47713         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
47714         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
47715         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
47716         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
47717         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
47718         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
47719         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
47720         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
47721         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
47722         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
47723         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
47724         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
47725         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
47726         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
47727         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
47728         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
47729         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
47730         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
47731         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
47732         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
47734 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
47736         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
47737         (__MALLOC_PMT): Likewise.
47738         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
47739         [__GNUC__], only on [_LIBC].
47740         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
47741         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
47742         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
47743         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
47744         forward declaration.
47745         (realloc_hook_ini): Likewise.
47746         (memalign_hook_ini): Likewise.
47747         (__libc_memalign): Do not use __MALLOC_PMT in variable
47748         declaration.
47749         (__libc_valloc): Likewise.
47750         (__libc_pvalloc): Likewise.
47751         (__libc_calloc): Likewise.
47752         (__posix_memalign): Likewise.
47754         [BZ #14996]
47755         * math/s_casinh.c: Include <float.h>.
47756         (__casinh): Do not do computation with squaring and square root
47757         for large arguments.
47758         * math/s_casinhf.c: Include <float.h>.
47759         (__casinhf): Do not do computation with squaring and square root
47760         for large arguments.
47761         * math/s_casinhl.c: Include <float.h>.
47762         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
47763         (__casinhl): Do not do computation with squaring and square root
47764         for large arguments.
47765         * math/libm-test.inc (casin_test): Add more tests.
47766         (casinh_test): Likewise.
47767         * sysdeps/i386/fpu/libm-test-ulps: Update.
47768         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47770 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
47772         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
47773         (__x86_64_raw_data_cache_size): Likewise.
47774         (__x86_64_data_cache_size_half): Likewise.
47775         (__x86_64_raw_data_cache_size_half): Likewise.
47776         (__x86_64_shared_cache_size): Likewise.
47777         (__x86_64_raw_shared_cache_size): Likewise.
47778         (__x86_64_shared_cache_size_half): Likewise.
47779         (__x86_64_raw_shared_cache_size_half): Likewise.
47780         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
47781         to ...
47782         (__x86_data_cache_size): This.
47783         (__x86_64_raw_data_cache_size): Renamed to ...
47784         (__x86_raw_data_cache_size): This.
47785         (__x86_64_data_cache_size_half): Renamed to ...
47786         (__x86_data_cache_size_half): This.
47787         (__x86_64_raw_data_cache_size_half): Renamed to ...
47788         (__x86_raw_data_cache_size_half): This.
47789         (__x86_64_shared_cache_size): Renamed to ...
47790         (__x86_shared_cache_size): This.
47791         (__x86_64_raw_shared_cache_size): Renamed to ...
47792         (__x86_raw_shared_cache_size): This.
47793         (__x86_64_shared_cache_size_half): Renamed to ...
47794         (__x86_shared_cache_size_half): This.
47795         (__x86_64_raw_shared_cache_size_half): Renamed to ...
47796         (__x86_raw_shared_cache_size_half): This.
47797         * sysdeps/x86_64/memcpy.S: Updated.
47798         * sysdeps/x86_64/memset.S: Likewise.
47799         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
47800         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
47801         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
47803 2013-01-04  David S. Miller  <davem@davemloft.net>
47805         * sysdeps/sparc/fpu/libm-test-ulps: Update.
47807 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
47809         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
47810         1 to avoid redefinition warning.
47811         (__USE_GNU): Don't define.
47812         (init_signaling_nan): Protoize.
47814         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47816 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
47818         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
47819         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
47820         (__cpymn): Likewise.
47821         (norm): Remove commented code.
47822         (denorm): Likewise.
47823         (__mp_dbl): Likewise.
47824         (__inv): Likewise.
47825         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
47826         (__cpymn): Likewise.
47827         (norm): Remove commented code.
47828         (denorm): Likewise.
47829         (__mp_dbl): Likewise.
47830         (__inv): Likewise.
47832         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
47833         mp_no value for 1.0 and 2.0.
47834         (norm): Use RADIXI instead of radixi.d.
47835         (denorm): Likewise.
47836         (__mul): Use 0.0 instead of zero.d.
47837         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
47838         mp_no value for 1.0 and 2.0.
47839         (norm): Use RADIXI instead of radixi.d.
47840         (denorm): Likewise.
47841         (__mul): Use 0.0 instead of zero.d.
47843 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
47845         [BZ #14994]
47846         * math/s_casinh.c (__casinh): Reduce finite argument to first
47847         quadrant then set signs of results at the end.
47848         * math/s_casinhf.c (__casinhf): Likewise.
47849         * math/s_casinhl.c (__casinhl): Likewise.
47850         * math/libm-test.inc (casin_test): Add more tests.
47851         (casinh_test): Likewise.
47852         * sysdeps/i386/fpu/libm-test-ulps: Update.
47853         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47855 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
47857         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
47859         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
47861         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
47862         declarations.
47863         (denorm): Likewise.
47864         (__mp_dbl): Likewise.
47865         (__inv): Likewise.
47867         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
47868         and adjust the header comment.
47870         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
47871         variable name from declaration.
47873 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
47875         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47876         Initialize COMMON_CPUID_INDEX_7 element.
47877         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
47878         (CPUID_RTM): Likewise.
47879         (HAS_RTM): Likewise.
47880         (COMMON_CPUID_INDEX_7): New enum.
47882 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
47884         [BZ #14981]
47885         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
47886         size is zero, record memory as freed.
47888 2013-01-03  Andreas Jaeger  <aj@suse.de>
47890         * po/ia.po: Add new Interlingua translation.
47892 2012-01-03  Allan McRae  <allan@archlinux.org>
47894         * locale/programs/localedef.c: Fix description of '--posix' flag.
47896 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
47898         * NEWS: Update dates in second copyright notice.
47899         * README: Update copyright dates in example.
47900         * manual/libc.texinfo: Update copyright dates.
47901         * scripts/test-installation.pl: Update copyright date in --version
47902         output.
47904         * hurd/ctty-input.c: Fix copyright notice formatting.
47905         * hurd/ctty-output.c: Likewise.
47906         * hurd/dtable.c: Likewise.
47907         * hurd/hurd-raise.c: Likewise.
47908         * hurd/hurdprio.c: Likewise.
47909         * hurd/msgportdemux.c: Likewise.
47910         * misc/sys/file.h: Likewise.
47911         * misc/sys/ioctl.h: Likewise.
47912         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
47913         * sysdeps/mach/hurd/chdir.c: Likewise.
47914         * sysdeps/mach/hurd/fchdir.c: Likewise.
47915         * sysdeps/mach/hurd/rename.c: Likewise.
47916         * sysdeps/mach/hurd/rmdir.c: Likewise.
47917         * sysdeps/mach/hurd/seekdir.c: Likewise.
47918         * sysdeps/mach/hurd/setsid.c: Likewise.
47919         * sysdeps/posix/wait3.c: Likewise.
47921         * All files with FSF copyright notices: Update copyright dates
47922         using scripts/update-copyrights.
47923         * intl/plural.c: Regenerated.
47924         * locale/programs/charmap-kw.h: Likewise.
47925         * locale/programs/locfile-kw.h: Likewise.
47927 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
47929         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
47930         four values.
47932         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
47933         calculation loop and add branch prediction.
47935         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
47936         check access beyond bounds of m1np.
47938         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
47939         MPTWO.
47940         (__inv): Remove local variable MPTWO to use the global
47941         constant.
47942         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
47943         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
47944         variable MPTWO.
47945         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
47946         MP3HALFS static const.
47948 2013-01-01  David S. Miller  <davem@davemloft.net>
47950         * po/ca.po: Update from translation team.
47952 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
47954         * scripts/update-copyrights: New file.
47955         * Makeconfig: Reformat copyright notice.
47956         * ctype/ctype.h: Likewise.
47957         * debug/swprintf_chk.c: Likewise.
47958         * elf/dl-cache.c: Likewise.
47959         * elf/dl-debug.c: Likewise.
47960         * elf/dl-object.c: Likewise.
47961         * grp/initgroups.c: Likewise.
47962         * hurd/Makefile: Likewise.
47963         * hurd/hurd/signal.h: Likewise.
47964         * hurd/hurdfault.c: Likewise.
47965         * hurd/hurdioctl.c: Likewise.
47966         * hurd/hurdlookup.c: Likewise.
47967         * hurd/intr-msg.c: Likewise.
47968         * iconv/gconv_open.c: Likewise.
47969         * libio/swprintf.c: Likewise.
47970         * locale/lc-ctype.c: Likewise.
47971         * locale/nl_langinfo.c: Likewise.
47972         * mach/Machrules: Likewise.
47973         * mach/Makefile: Likewise.
47974         * malloc/obstack.h: Likewise.
47975         * manual/Makefile: Likewise.
47976         * manual/tsort.awk: Likewise.
47977         * misc/bits/stab.def: Likewise.
47978         * nis/nis_print_group_entry.c: Likewise.
47979         * nis/nis_table.c: Likewise.
47980         * nis/nss_compat/compat-pwd.c: Likewise.
47981         * nis/nss_compat/compat-spwd.c: Likewise.
47982         * po/Makefile: Likewise.
47983         * posix/fnmatch.c: Likewise.
47984         * posix/regex.h: Likewise.
47985         * resolv/Makefile: Likewise.
47986         * resolv/nss_dns/dns-network.c: Likewise.
47987         * resolv/res_hconf.c: Likewise.
47988         * scripts/gen-sorted.awk: Likewise.
47989         * soft-fp/soft-fp.h: Likewise.
47990         * stdio-common/printf.h: Likewise.
47991         * stdlib/monetary.h: Likewise.
47992         * stdlib/random.c: Likewise.
47993         * stdlib/random_r.c: Likewise.
47994         * sysdeps/generic/Makefile: Likewise.
47995         * sysdeps/gnu/Makefile: Likewise.
47996         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
47997         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
47998         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
47999         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
48000         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
48001         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
48002         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
48003         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
48004         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
48005         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
48006         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
48007         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
48008         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
48009         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
48010         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
48011         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
48012         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
48013         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
48014         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
48015         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
48016         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
48017         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
48018         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
48019         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
48020         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
48021         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
48022         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
48023         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
48024         * sysdeps/mach/hurd/errnos.awk: Likewise.
48025         * sysdeps/mach/hurd/fork.c: Likewise.
48026         * sysdeps/mach/hurd/getcwd.c: Likewise.
48027         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
48028         * sysdeps/mach/hurd/mmap.c: Likewise.
48029         * sysdeps/mach/hurd/utimes.c: Likewise.
48030         * sysdeps/mach/hurd/xmknod.c: Likewise.
48031         * sysdeps/posix/profil.c: Likewise.
48032         * sysdeps/posix/readdir_r.c: Likewise.
48033         * sysdeps/powerpc/bits/mathdef.h: Likewise.
48034         * sysdeps/powerpc/bits/setjmp.h: Likewise.
48035         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
48036         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
48037         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
48038         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
48039         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
48040         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
48041         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
48042         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
48043         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
48044         * sysdeps/pthread/lio_listio.c: Likewise.
48045         * sysdeps/sparc/dl-procinfo.h: Likewise.
48046         * sysdeps/unix/i386/sysdep.S: Likewise.
48047         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
48048         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
48049         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
48050         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
48051         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
48052         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
48053         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
48054         * sysdeps/unix/sysv/linux/speed.c: Likewise.
48055         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
48056         * sysdeps/wordsize-32/divdi3.c: Likewise.
48057         * time/sys/time.h: Likewise.
48058         * wcsmbs/Makefile: Likewise.
48060 2013-01-01  David S. Miller  <davem@davemloft.net>
48062         * po/fr.po: Update from translation team.
48064         * catgets/gencat.c: Update copyright year.
48065         * csu/version.c: Likewise.
48066         * debug/catchsegv.sh: Likewise.
48067         * debug/pcprofiledump.c: Likewise.
48068         * debug/xtrace.sh: Likewise.
48069         * elf/ldconfig.c: Likewise.
48070         * elf/ldd.bash.in: Likewise.
48071         * elf/pldd.c: Likewise.
48072         * elf/sotruss.ksh: Likewise.
48073         * elf/sprof.c: Likewise.
48074         * iconv/iconv_prog.c: Likewise.
48075         * iconv/iconvconfig.c: Likewise.
48076         * locale/programs/locale.c: Likewise.
48077         * locale/programs/localedef.c: Likewise.
48078         * login/programs/pt_chown.c: Likewise.
48079         * malloc/memusage.sh: Likewise.
48080         * malloc/memusagestat.c: Likewise.
48081         * malloc/mtrace.pl: Likewise.
48082         * nscd/nscd.c: Likewise.
48083         * nss/getent.c: Likewise.
48084         * nss/makedb.c: Likewise.
48085         * posix/getconf.c: Likewise.
48087 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
48089         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
48090         numbers.
48092 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
48094         * math/bits/mathcalls.h (modf): Use __nonnull.
48096 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
48098         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
48099         (split): Use macro CN instead of the bare value.
48100         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
48101         could be used.
48102         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
48103         instead of the bare value.
48104         (power1): Likewise.
48106 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
48108         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
48109         __ATAN_TWOM.
48110         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
48112         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
48113         their values.
48114         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
48115         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
48116         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
48117         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
48119 2012-12-28  Andreas Jaeger  <aj@suse.de>
48121         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
48122         values are from Linux 3.7.
48124         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
48125         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
48127 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
48129         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
48130         TRUE case.
48132         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
48133         (norm): Likewise.
48134         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
48135         variables with preprocessor constants.
48136         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
48137         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
48138         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
48140 2012-12-27  Bruno Haible  <bruno@clisp.org>
48142         [BZ #14317]
48143         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
48144         only if needed.
48146 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
48148         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
48149         and use variable directly.
48150         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
48152         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
48153         MPONE.
48154         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
48155         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
48156         variable MPONE.
48157         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
48158         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
48159         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
48160         include directive.  Remove local variable MPONE.
48161         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
48162         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
48163         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
48165 2012-12-25  David S. Miller  <davem@davemloft.net>
48167         * version.h (RELEASE): Set to "development".
48168         (VERSION): Set to "2.17.90".
48169         * NEWS: Add 2.18 section.
48171 2012-12-21  David S. Miller  <davem@davemloft.net>
48173         * po/hr.po: Update from translation team.
48175 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
48177         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
48179 2012-12-19  Steve Ellcey  <sellcey@mips.com>
48181         * NEWS:  Mention new memcpy for MIPS.
48183 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
48185         * manual/contrib.texi (Contributors): Spelling correction.
48187 2012-12-15  David S. Miller  <davem@davemloft.net>
48189         * po/ru.po: Update from translation team.
48191 2012-12-13  David S. Miller  <davem@davemloft.net>
48193         * NEWS: Mention IFUNC testsuite enhancements.
48195         * po/pl.po: Update from translation team.
48196         * po/bg.po: Likewise.
48198         * manual/contrib.texi (Contributors): Update entries for Hongjiu
48199         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
48201 2012-12-11  David S. Miller  <davem@davemloft.net>
48203         * po/sv.po: Update from translation team.
48205         * po/vi.po: Update from translation team.
48207         * po/cs.po: Update from translation team.
48209         * po/de.po: Update from translation team.
48210         * po/eo.po: Likewise.
48211         * po/nl.po: Likewise.
48213 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
48215         [BZ #14246]
48216         * manual/argp.texi (Argp Helper Functions): Move node to follow
48217         Argp Parsing State.
48219         [BZ #14872]
48220         * manual/conf.texi (Limits on File System Capacity): Mention if
48221         terminating null is included in the max size.
48223 2012-12-10  Andreas Jaeger  <aj@suse.de>
48225         * po/cs.po: Update from translation team.
48227 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
48229         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
48230         void pointer and cast to uintptr_t.
48231         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
48232         path.
48233         * sysdeps/s390/s390-64/memcpy.S: Likewise.
48234         * sysdeps/s390/s390-64/memset.S: Likewise.
48236 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
48238         [BZ #14833]
48239         * menual/message.texi (Message Translation): Fix typos.
48240         (Helper programs for gettext): Likewise.
48242 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
48244         [BZ #14898]
48245         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
48246         Change to -1.
48248 2012-12-07  David S. Miller  <davem@davemloft.net>
48250         * po/libc.pot: Update.
48252 2012-12-07  Richard Henderson  <rth@redhat.com>
48254         [BZ #10114]
48255         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
48256         normal/normal case to before the switch.
48257         (_FP_DIV): Likewise.
48259 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
48260             Mike Frysinger  <vapier@gentoo.org>
48262         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
48263         check for __NR_fadvise64_64.
48265 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
48267         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
48268         0, not just to plain "0" as a statement.
48269         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
48270         with cw.
48272 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
48274         * NEWS: Use sourceware.org in Bugzilla URL.
48276 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
48278         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
48279         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
48281         * stdio-common/tst-put-error.c (do_test): Add newline to the
48282         padded test to ensure flush.
48284 2012-12-05  Jeff Law  <law@redhat.com>
48286         * sunrpc/etc.rpc (fedfs_admin): Add entry.
48288 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
48290         * README: Don't refer to ports add-on as distributed separately.
48291         Mention AArch64 in list of systems supported in the ports add-on.
48293         * LICENSES: Add more non-FSF copyright and license notices.
48295         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
48296         ((unused)).
48298         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
48300         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
48301         10000 as width of padded output.
48303 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
48305         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
48307         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
48308         variable LX with __attribute__ ((unused)).
48309         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
48310         Likewise.
48311         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
48312         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
48313         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
48314         with __attribute__ ((unused)).
48316 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
48318         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
48320 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
48322         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
48323         (CFLAGS-nldbl-acos.c): New variable.
48324         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
48325         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
48326         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
48327         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
48328         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
48329         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
48330         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
48331         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
48332         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
48333         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
48334         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
48335         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
48336         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
48337         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
48338         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
48339         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
48340         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
48341         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
48342         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
48343         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
48344         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
48345         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
48346         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
48347         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
48348         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
48349         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
48350         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
48351         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
48352         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
48353         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
48354         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
48355         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
48356         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
48357         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
48358         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
48359         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
48360         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
48361         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
48362         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
48363         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
48364         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
48365         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
48366         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
48367         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
48368         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
48369         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
48370         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
48371         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
48372         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
48373         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
48374         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
48375         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
48376         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
48377         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
48378         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
48379         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
48380         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
48381         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
48382         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
48383         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
48384         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
48385         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
48386         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
48387         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
48388         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
48389         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
48390         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
48391         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
48392         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
48393         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
48394         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
48395         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
48396         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
48397         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
48398         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
48399         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
48400         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
48401         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
48402         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
48403         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
48404         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
48405         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
48406         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
48407         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
48408         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
48409         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
48410         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
48411         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
48412         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
48413         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
48414         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
48415         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
48416         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
48417         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
48418         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
48419         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
48420         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
48422         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
48423         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
48425         [BZ #14914]
48426         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
48427         whole low double instead of just low 47 bits when splitting values
48428         into two parts.
48430 2012-12-03  Allan McRae  <allan@archlinux.org>
48432         * manual/stdio.texi (Predefined Printf Handlers): Remove
48433         @hsep and @vsep usage.
48435 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
48437         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
48438         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
48440 2012-12-03  Jeff Law  <law@redhat.com>
48442         * time/sys/time.h (settimeofday): Do not mark TV argument
48443         as __nonnull.
48445 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
48447         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
48448         when currently writing and seek to current position when not.
48449         * libio/Makefile (tests): Remove bug-fclose1.
48450         * libio/bug-fclose1.c: Delete.
48452 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
48454         * manual/arith.texi (feenableexcept): Fix typo.
48455         (fedisableexcept): Likewise.
48457 2012-11-30  Roland McGrath  <roland@hack.frob.com>
48459         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
48460         second, differently-typed declaration, rather than a cast.
48462 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
48464         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
48465         * include/rpc/svc.h: ... here.
48467 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
48469         [BZ #13013]
48470         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
48471         depending n and resplen2 to catch cases where answer
48472         equals answerp2.
48474 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
48476         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
48477         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
48479 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
48481         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
48483 2012-11-29  Roland McGrath  <roland@hack.frob.com>
48485         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
48487 2012-11-28  Jeff Law  <law@redhat.com>
48489         [BZ #13761]
48490         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
48491         dataset_temporary.  Track alloca usage into alloca_used.
48492         If dataset is large allocate and release it via malloc/free.
48494 2012-06-04  Florian Weimer  <fweimer@redhat.com>
48496         [BZ #14197]
48497         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
48499 2012-11-28  David S. Miller  <davem@davemloft.net>
48501         * sysdeps/sparc/fpu/libm-test-ulps: Update.
48503 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
48505         [BZ #14803]
48506         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
48507         of pi/2 rounded to nearest to 64 bits.
48508         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
48509         nearest to 64 bits.
48510         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
48511         bits.
48513 2012-11-28  Jeff Law <law@redhat.com>
48514             Martin Osvald <mosvald@redhat.com>
48516         [BZ #14889]
48517         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
48518         * sunrpc/svc.c: Include time.h.
48519         (__svc_accept_failed): New function.
48520         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
48521         any reason other than EINTR, call __svc_accept_failed.
48522         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
48523         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
48525 2012-11-28  Andreas Schwab  <schwab@suse.de>
48527         * scripts/abilist.awk: Also handle indirect functions in .opd
48528         section.
48530 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
48532         [BZ #13881]
48533         * sysdeps/x86/fpu/powl_helper.c: New file.
48534         * sysdeps/x86/fpu/Makefile: Likewise.
48535         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
48536         (p3): New object.
48537         (__ieee754_powl): Use __powl_helper for finite arguments except
48538         integer exponents below 8.
48539         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
48540         (p3): New object.
48541         (__ieee754_powl): Use __powl_helper for finite arguments except
48542         integer exponents below 8.
48543         * math/libm-test.inc (pow_test): Add more tests and enable some
48544         previously disabled tests.
48545         * sysdeps/i386/fpu/libm-test-ulps: Update.
48546         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48548 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
48549             Carlos O'Donell  <carlos_odonell@mentor.com>
48551         * nss/makedb.c (is_prime): Assert that input is odd and greater
48552         than 4.  Note that fact in a comment too.
48553         (next_prime): Add 4 to input.
48555 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
48557         [BZ #11741]
48558         * libio/Makefile (tests): Add test case tst-fwrite-error.
48559         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
48560         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
48561         * libio/tst-fwrite-error.c: New test case.
48563 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
48565         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
48566         before casting to void *.
48567         * include/libc-internal.h (__pointer_type): New macro.
48568         (__integer_if_pointer_type_sub): Likewise.
48569         (__integer_if_pointer_type): Likewise.
48570         (cast_to_integer): Likewise.
48571         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
48572         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
48573         before casting to atomic64_t.
48574         (atomic_exchange_acq): Likewise.
48575         (__arch_exchange_and_add_body): Likewise.
48576         (__arch_add_body): Likewise.
48577         (atomic_add_negative): Likewise.
48578         (atomic_add_zero): Likewise.
48580 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
48582         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
48583         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
48584         (add_fdes): Likewise.
48585         (linear_search_fdes): Likewise.
48586         (binary_search_unencoded_fdes): Likewise.
48588 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
48590         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
48592 2012-11-24  Adam Conrad  <adconrad@0c3.net>
48594         * configure.in: Autodetect C++ header directories.
48595         * configure: Regenerated.
48597 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
48599         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
48601 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
48603         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48605 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
48607         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
48608         LDBL_MANT_DIG == 106]: Disable some tests.
48609         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
48610         Likewise.
48611         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
48612         Likewise.
48614         [BZ #14871]
48615         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
48616         input for small inputs.  Return +/- pi/2 for large inputs.
48617         * math/libm-test.inc (atan_test): Add more tests.
48619         * sysdeps/generic/unwind-dw2-fde-glibc.c
48620         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
48621         __attribute__ ((unused)).
48623         [BZ #14645]
48624         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
48625         x * y if x and y are nonzero and z is zero.
48627         [BZ #14811]
48628         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
48629         nonzero exponents with absolute value below 0x1p-117 to +/-
48630         0x1p-117.
48632         [BZ #14869]
48633         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
48634         up arguments below 2**-450, not just those below 2**-500.
48635         * math/libm-test.inc (hypot_test): Add another test.
48637         [BZ #14868]
48638         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
48639         Return a+b for ratio over 2**120, not 2**60.
48640         * math/libm-test.inc (hypot_test): Add another test.
48642         * math/libm-test.inc (clog_test): Use
48643         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
48644         (clog10_test): Likewise.
48646         [BZ #6778]
48647         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
48649 2012-11-22  Andreas Schwab  <schwab@suse.de>
48651         * sysdeps/i386/fpu/libm-test-ulps: Update.
48653 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
48655         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
48656         printf output with newline.
48658 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
48660         [BZ #14865]
48661         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
48662         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
48663         -z nodlopen, -z initfirst and -z execstack support.
48664         * configure: Regenerated.
48666         * elf/elf.h (DF_1_NODIRECT): New macro.
48667         (DF_1_IGNMULDEF): Likewise.
48668         (DF_1_NOKSYMS): Likewise.
48669         (DF_1_NOHDR): Likewise.
48670         (DF_1_EDITED): Likewise.
48671         (DF_1_NORELOC): Likewise.
48672         (DF_1_SYMINTPOSE): Likewise.
48673         (DF_1_GLOBAUDIT): Likewise.
48674         (DF_1_SINGLETON): Likewise.
48675         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
48676         DT_1_SUPPORTED_MASK bits.
48677         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
48679 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
48681         * sysdeps/unix/make-syscalls.sh: Document prefixes.
48683 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
48685         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
48686         macro.
48688         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
48689         (sendmmsg): Move declarations...
48690         * socket/sys/socket.h: ... here.
48691         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
48692         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
48693         include it from...
48694         * socket/recvmmsg.c: ... this new file.
48695         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
48696         (sendmmsg): Rename to __sendmmsg, create weak alias and make
48697         definition of __sendmmsg hidden.
48698         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
48699         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
48700         Move ENOSYS stub into and include it from...
48701         * socket/sendmmsg.c: ... this new file.
48702         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
48703         (sysdep_routines): Move recvmmsg and sendmmsg...
48704         * socket/Makefile (routines): ... here.
48705         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
48706         (GLIBC_PRIVATE): Add __sendmmsg.
48707         * include/sys/socket.h (__sendmmsg): Add declarations.
48708         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
48709         sendmmsg.
48711 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
48713         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
48714         variable I1 with __attribute__ ((unused)).
48715         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
48717 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
48719         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
48720         DUMMY variables with __attribute__ ((unused)).
48722         * bits/byteswap.h: Include <bits/types.h>.
48723         (__bswap_64): Use __uint64_t instead of unsigned long long int.
48725 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
48727         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
48728         string_t.  Do not manually set errno.
48729         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
48730         length with __strnlen.  Make sure to both set errno and return it on
48731         failure.
48733 2012-11-19  David S. Miller  <davem@davemloft.net>
48735         With help from Joseph Myers.
48736         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
48737         very large arguments properly.
48738         * math/libm-test.inc (atan_test): New tests.
48739         (atan2_test): New tests.
48740         * sysdeps/sparc/fpu/libm-test-ulps: Update.
48741         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
48743 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
48745         [BZ #14856]
48746         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
48747         Define to 3.
48749         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
48750         [POSIX] (EADDRNOTAVAIL): Likewise.
48751         [POSIX] (EAFNOSUPPORT): Likewise.
48752         [POSIX] (EALREADY): Likewise.
48753         [POSIX] (ECONNABORTED): Likewise.
48754         [POSIX] (ECONNREFUSED): Likewise.
48755         [POSIX] (ECONNRESET): Likewise.
48756         [POSIX] (EDESTADDRREQ): Likewise.
48757         [POSIX] (EDQUOT): Likewise.
48758         [POSIX] (EHOSTUNREACH): Likewise.
48759         [POSIX] (EIDRM): Likewise.
48760         [POSIX] (EISCONN): Likewise.
48761         [POSIX] (ELOOP): Likewise.
48762         [POSIX] (EMULTIHOP): Likewise.
48763         [POSIX] (ENETDOWN): Likewise.
48764         [POSIX] (ENETUNREACH): Likewise.
48765         [POSIX] (ENOBUFS): Likewise.
48766         [POSIX] (ENODATA): Likewise.
48767         [POSIX] (ENOLINK): Likewise.
48768         [POSIX] (ENOMSG): Likewise.
48769         [POSIX] (ENOPROTOOPT): Likewise.
48770         [POSIX] (ENOSR): Likewise.
48771         [POSIX] (ENOSTR): Likewise.
48772         [POSIX] (ENOTCONN): Likewise.
48773         [POSIX] (ENOTSOCK): Likewise.
48774         [POSIX] (EOPNOTSUPP): Likewise.
48775         [POSIX] (EOVERFLOW): Likewise.
48776         [POSIX] (EPROTO): Likewise.
48777         [POSIX] (EPROTONOSUPPORT): Likewise.
48778         [POSIX] (EPROTOTYPE): Likewise.
48779         [POSIX] (ESTALE): Likewise.
48780         [POSIX] (ETIME): Likewise.
48781         [POSIX] (ETXTBSY): Likewise.
48782         [POSIX] (EWOULDBLOCK): Likewise.
48783         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
48784         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
48785         [POSIX] (SEEK_CUR): Likewise.
48786         [POSIX] (SEEK_END): Likewise.
48787         [POSIX || UNIX98] (mode_t): Do not require.
48788         [POSIX] (off_t): Likewise.
48789         [POSIX] (pid_t): Likewise.
48790         [POSIX] (sys/stat.h): Do not allow header.
48791         [POSIX] (unistd.h): Likewise.
48792         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
48793         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
48794         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
48795         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
48796         require.
48797         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
48798         sigevent): Specify elements.
48799         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
48800         entry.
48801         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
48802         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
48804         * conform/data/cpio.h-data [POSIX]: Disable whole file.
48805         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
48806         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
48807         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
48808         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
48809         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
48810         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
48811         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
48812         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
48813         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
48814         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
48815         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
48816         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
48817         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
48818         Likewise.
48819         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
48820         Likewise.
48821         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
48822         Likewise.
48823         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
48824         Likewise.
48825         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
48826         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
48827         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
48828         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
48829         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
48830         Specify lower bound on value.
48831         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
48832         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
48833         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
48834         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
48835         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
48836         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
48837         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
48838         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
48839         value.
48840         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
48841         as optional.
48842         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
48843         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
48844         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
48845         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
48846         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
48847         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
48848         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
48849         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
48850         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
48851         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
48852         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
48853         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
48854         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
48855         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
48856         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
48857         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
48858         entry.
48859         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
48860         optional.
48861         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
48862         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
48863         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
48864         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
48865         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
48866         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
48867         Likewise.
48868         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
48869         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
48870         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
48871         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
48872         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
48873         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
48874         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
48875         as optional.
48876         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
48877         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
48878         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
48879         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
48880         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
48881         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
48882         specify as optional.
48883         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
48884         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
48885         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
48886         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
48887         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
48888         [XPG3] (NL_LANGMAX): Likewise.
48889         [POSIX || XPG3] (NL_MSGMAX): Likewise.
48890         [POSIX || XPG3] (NL_NMAX): Likewise.
48891         [POSIX || XPG3] (NL_SETMAX): Likewise.
48892         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
48893         [XPG3] (NZERO): Likewise.
48894         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
48895         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
48896         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
48897         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
48898         (REG_ERANGE): Expect.
48899         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
48900         optional-constant.
48901         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
48902         Use (void) in prototype.
48903         [POSIX] (*_t): Allow.
48904         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
48905         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
48906         (WRDE_BADVAL): Expect.
48908         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
48909         expect.
48910         [XPG3 || XPG4] (O_RSYNC): Likewise.
48911         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
48912         Likewise.
48913         [XPG3 || XPG4] (pthread_sigmask): Likewise.
48914         [XPG3 || XPG4] (sigqueue): Likewise.
48915         [XPG3 || XPG4] (sigtimedwait): Likewise.
48916         [XPG3 || XPG4] (sigwaitinfo): Likewise.
48917         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
48918         [XPG3 || XPG4] (vsnprintf): Likewise.
48919         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
48920         Likewise.
48921         [XPG3 || XPG4] (blksize_t): Likewise.
48922         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
48923         Likewise.
48924         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
48925         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
48926         [XPG3 || XPG4] (struct itimerspec): Likewise.
48927         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
48928         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
48929         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
48930         [XPG3 || XPG4] (clockid_t): Likewise.
48931         [XPG3 || XPG4] (timer_t): Likewise.
48932         [XPG3 || XPG4] (clock_getres): Likewise.
48933         [XPG3 || XPG4] (clock_gettime): Likewise.
48934         [XPG3 || XPG4] (clock_settime): Likewise.
48935         [XPG3 || XPG4] (nanosleep): Likewise.
48936         [XPG3 || XPG4] (timer_create): Likewise.
48937         [XPG3 || XPG4] (timer_delete): Likewise.
48938         [XPG3 || XPG4] (timer_gettime): Likewise.
48939         [XPG3 || XPG4] (timer_getoverrun): Likewise.
48940         [XPG3 || XPG4] (timer_settime): Likewise.
48941         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
48942         [XPG3 || XPG4] (getlogin_r): Likewise.
48943         [XPG3 || XPG4] (pread): Likewise.
48944         [XPG3 || XPG4] (pthread_atfork): Likewise.
48945         [XPG3 || XPG4] (pwrite): Likewise.
48947         [BZ #14835]
48948         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
48949         <bits/siginfo.h>.
48951 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
48953         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
48954         finalizing MALLSTREAM.
48956         * sysdeps/mach/hurd/syncfs.c: New file.
48958 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
48960         [BZ #14719]
48961         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
48962         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
48963         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
48964         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
48965         (_nss_dns_gethostbyname4_r): Likewise.
48966         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
48967         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
48969 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
48971         [BZ #13763]
48972         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
48974 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
48976         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
48977         * elf/cache.c (print_entry): Print ",AArch64" for
48978         FLAG_AARCH64_LIB64
48980         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
48981         * elf/cache.c (print_entry): Print ",hard-float" for
48982         FLAG_ARM_LIBHF.
48984 2012-11-18  David S. Miller  <davem@davemloft.net>
48986         With help from Joseph Myers.
48987         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
48988         cutoff to 2**-13.
48989         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
48990         cutoff to 2**-25.
48991         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
48992         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
48993         small.
48994         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
48995         * math/libm-test.inc (y0_test): New tests.
48996         (y1_test): New tests.
48997         * sysdeps/i386/fpu/libm-test-ulps: Update.
48998         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
48999         * sysdeps/sparc/fpu/libm-test-ulps: Update.
49001 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
49003         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
49004         64-bit targets.
49005         * configure: Regenerated.
49007 2012-11-17  David S. Miller  <davem@davemloft.net>
49009         [BZ #14811]
49010         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
49011         nonzero exponents with absolute value below 0x1p-128 to +/-
49012         0x1p-128.
49014 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
49016         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
49018         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
49020         * posix/getconf-speclist.c: New file.
49021         * posix/posix-envs.def: Likewise.
49022         * posix/confstr.c (START_ENV_GROUP): New macro.
49023         (END_ENV_GROUP): Likewise.
49024         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
49025         (KNOWN_PRESENT_ENV_STRING): Likewise.
49026         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
49027         (UNKNOWN_ENVIRONMENT): Likewise.
49028         (confstr): Include posix-envs.def instead of handling
49029         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
49030         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
49031         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
49032         (END_ENV_GROUP): Likewise.
49033         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
49034         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
49035         (UNKNOWN_ENVIRONMENT): Likewise.
49036         (__sysconf): Include posix-envs.def instead of handling associated
49037         cases directly here.
49038         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
49039         preprocessing getconf-speclist.c rather than running getconf or
49040         generating empty file.
49042 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
49044         * scripts/check-local-headers.sh: Ignore 'mach' headers.
49046 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
49048         [BZ #14672]
49049         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
49051 2012-11-16  David S. Miller  <davem@davemloft.net>
49053         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
49054         smaller than LDBL_EPSILON/2.0L, just return xm1.
49056 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
49058         * elf/tst-array1.c (init): Set constructor priority to 1000.
49059         (fini): Set destructor priority to 1000.
49060         * elf/tst-array2dep.c: Likewise.
49062 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
49064         [BZ #11741]
49065         * libio/fileops.c (_IO_new_file_write): Correctly return error.
49066         (_IO_new_file_xsputn): Also return EOF if none of the input
49067         data was written when overflow failed.
49068         * libio/iopadn.c (_IO_padn): Likewise.
49069         * libio/iowpadn.c (_IO_wpadn): Likewise.
49070         * stdio-common/tst-put-error.c: Add copyright notice.
49071         (do_test): Add case for printing padded string.
49072         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
49073         _IO_padn returned error.
49074         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
49075         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
49076         return EOF.
49078 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
49080         * libio/libioP.h: Add comment note that the references to C++
49081         bits are now obsolete.
49083 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
49085         * math/libm-test.inc (check_complex): Use asprintf.
49087 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
49089         * debug/pcprofiledump.c (print_version): Update copyright year.
49090         * malloc/memusagestat.c (print_version): Likewise.
49092 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
49094         [BZ #14831]
49095         * elf/Makefile (tests): Add tst-audit8.
49096         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
49097         ($(objpfx)tst-audit8.out): New target.
49098         (tst-audit8-ENV): New variable.
49099         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
49100         audit if l_reloc_result is NULL.
49101         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
49102         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
49103         * elf/tst-audit8.c: New file.
49105 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
49107         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
49108         * misc/Makefile (CFLAGS-select.c): Define.
49109         * posix/Makefile (CFLAGS-pause.c): Define.
49111 2012-11-13  David S. Miller  <davem@davemloft.net>
49113         * crypt/Makefile: Move test targets after toplevel Rules
49114         inclusion.  Grab any necessary sysdep routines when linking.
49115         * crypt/md5.c (md5_process_block): Remove define, we will always
49116         name it __md5_process_block.
49117         (md5_finish_ctx): Update md5_process_block call.
49118         (md5_stream): Likewise.
49119         (md5_process_bytes): Likewise.
49120         (md5_process_block): Rename to __md5_process_block and move to ...
49121         * crypt/md5-block.c: ... here.
49122         * crypt/sha256.c (sha256_process_block): Move to ...
49123         * crypt/sha256-block.c: ... here.
49124         * crypt/sha512.c (sha512_process_block): Move to ...
49125         * crypt/sha512-block.c: ... here.
49126         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
49127         path.
49128         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
49129         * sysdeps/sparc/sparc64/multiarch/Makefile
49130         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
49131         crypt subdir.
49132         (localedef-aux): Add md5 crypto assembler when in locale subdir.
49133         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
49134         multiarch changes.
49135         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
49136         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
49137         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
49138         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
49139         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
49140         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
49141         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
49142         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
49143         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
49144         file.
49145         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
49146         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
49147         file.
49148         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
49150 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
49152         * timezone/tzselect.ksh: Update from tzcode git revision
49153         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
49154         * timezone/zdump.c: Likewise.
49155         * timezone/zic.c: Likewise.
49156         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
49157         in TZVERSION setting, not $(PKGVERSION).
49158         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
49159         REPORT_BUGS_TO settings.
49161         [BZ #14838]
49162         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
49163         macro.
49165 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
49167         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
49168         detection to immediately after _FP_ROUND().
49169         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
49170         bits are 0.
49172 2012-11-11  David S. Miller  <davem@davemloft.net>
49174         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
49175         inttypes.h
49176         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
49177         __close rather than their public counterparts.
49179 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
49181         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
49182         file.
49183         [UNIX98] (sem_timedwait): Do not expect.
49184         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
49185         [XPG4 || UNIX98] (sockatmark): Do not expect.
49186         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
49187         (clock_getcpuclockid): Do not expect.
49188         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
49189         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
49190         Do not expect.
49191         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
49192         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
49193         [UNIX98] (vwscanf): Likewise.
49194         [UNIX98] (vswscanf): Likewise.
49196 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
49198         * timezone/version.h: Remove file.
49199         * timezone/README: Do not refer to version.h.
49200         * timezone/Makefile ($(objpfx)zic.o): New dependency on
49201         $(objpfx)version.h.
49202         ($(objpfx)zdump.o): Likewise.
49203         ($(objpfx)version.h): New target.
49205         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
49206         2012i.
49207         * timezone/README: Don't mention modification to tzselect.ksh.
49208         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
49209         work on unmodified tzselect.ksh.  Substitute version numbers in
49210         tzselect.ksh.
49212         * Makefile (format-me): Remove.
49213         (INSTALL): Adjust indentation.  Use commands directly instead of
49214         using $(format-me).
49216         * aclocal.m4 (ACX_PKGVERSION): New macro.
49217         (ACX_BUGURL): Likewise.
49218         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
49219         (PKGVERSION): New AC_DEFINE_UNQUOTED.
49220         (REPORT_BUGS_TO): Likewise.
49221         * configure: Regenerated.
49222         * config.h.in (PKGVERSION): New macro.
49223         (REPORT_BUGS_TO): Likewise.
49224         * config.make.in (PKGVERSION): New variable.
49225         (PKGVERSION_TEXI): Likewise.
49226         (REPORT_BUGS_TO): Likewise.
49227         (REPORT_BUGS_TEXI): Likewise.
49228         * Makefile (format-me): Use -I$(common-objpfx)manual.
49229         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
49230         ($(common-objpfx)manual/%): New target.
49231         (manual/%): Remove target.
49232         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
49233         (print_version): Use PKGVERSION.
49234         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
49235         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
49236         and REPORT_BUGS_TO.
49237         ($(objpfx)xtrace): Likewise.
49238         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
49239         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
49240         (print_version): Use PKGVERSION.
49241         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
49242         (do_version): Use PKGVERSION.
49243         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
49244         REPORT_BUGS_TO.
49245         (common-ldd-rewrite): Likewise.
49246         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
49247         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
49248         (print_version): Use PKGVERSION.
49249         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
49250         * elf/pldd.c (argp_program_bug_address): Remove variable.
49251         (more_help): New function.
49252         (argp): Use more_help.
49253         (print_version): Use PKGVERSION.
49254         * elf/sln.c (main): Use PKGVERSION.
49255         (usage): Use REPORT_BUGS_TO.
49256         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
49257         (top level): Use PKGVERSION.
49258         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
49259         (print_version): Use PKGVERSION.
49260         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
49261         (print_version): Use PKGVERSION.
49262         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
49263         (print_version): Use PKGVERSION.
49264         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
49265         (print_version): Use PKGVERSION.
49266         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
49267         (print_version): Use PKGVERSION.
49268         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
49269         (print_version): Use PKGVERSION.
49270         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
49271         and BUGURL.
49272         ($(objpfx)memusage): Likewise.
49273         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
49274         (do_version): Use PKGVERSION.
49275         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
49276         (print_version): Use PKGVERSION.
49277         * malloc/mtrace.pl ($PACKAGE): Remove variable.
49278         ($PKGVERSION): New variable.
49279         ($REPORT_BUGS_TO): Likewise.
49280         (usage): Use $REPORT_BUGS_TO.
49281         (top level): Use $PKGVERSION.
49282         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
49283         ($(objpfx)pkgvers.texi): New rule.
49284         ($(objpfx)stamp-pkgvers): Likewise.
49285         * manual/install.texi: Include pkgvers.texi.
49286         (--with-pkgversion): Document new configure option.
49287         (--with-bugurl): Likewise.
49288         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
49289         than necessarily for this particular distribution.  Use
49290         REPORT_BUGS_TO for where to report bugs.
49291         * INSTALL: Regenerated.
49292         * manual/libc.texinfo: Include pkgvers.texi.
49293         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
49294         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
49295         (print_version): Use PKGVERSION.
49296         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
49297         (print_version): Use PKGVERSION.
49298         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
49299         (print_version): Use PKGVERSION.
49300         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
49301         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
49302         macro.
49303         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
49304         (print_version): Use PKGVERSION.
49305         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
49306         (print_version): Use PKGVERSION.
49307         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
49308         and PKGVERSION.
49310         * timezone/checktab.awk: Update from tzcode 2012i.
49311         * timezone/ialloc.c: Likewise.
49312         * timezone/private.h: Likewise.
49313         * timezone/scheck.c: Likewise.
49314         * timezone/tzfile.h: Likewise.
49315         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
49316         (TZVERSION): Hardcode tzcode version number.
49317         * timezone/zdump.c: Update from tzcode 2012i.
49318         * timezone/zic.c: Likewise.
49319         * timezone/version.h: New file.
49320         * timezone/README: Describe version.h.  Update upstream location.
49322         [BZ #14824]
49323         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
49324         (mktemp): Enable declaration.
49325         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
49326         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
49327         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
49328         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
49329         Likewise.
49330         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
49331         Likewise.
49332         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
49333         Likewise.
49334         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
49335         Likewise.
49336         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
49337         Likewise.
49338         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
49339         Likewise.
49341         [BZ #14821]
49342         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
49343         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
49344         for copies of such integer values.
49345         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
49346         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
49348 2012-11-09  Andreas Jaeger  <aj@suse.de>
49350         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
49351         definitions and declarations that are provided by
49352         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
49354 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
49356         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
49357         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
49358         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
49359         definition.
49361 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
49363         * elf/elf.h: Update comment before AArch64 relocations.
49365 2012-11-07  David S. Miller  <davem@davemloft.net>
49367         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
49368         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
49369         (__start_context): Declare.
49370         (__makecontext_ret): Delete.
49371         (__makecontext): Hook up __start_context instead of
49372         __makecontext_ret.
49373         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
49374         (sysdep_routines): Add __start_context when in stdlib.
49376 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
49378         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
49379         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
49380         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
49381         hardcoded "nm".
49382         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
49383         (READELF): New variable.  Use it instead of hardcoded "readelf".
49385 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
49387         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
49388         * sysdeps/x86/Makefile: Here.
49389         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
49390         * sysdeps/x86/tst-xmmymm.sh: This.
49392 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
49394         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
49395         expectations.
49396         [UNIX98] (pthread_barrier_t): Do not expect.
49397         [UNIX98] (pthread_barrierattr_t): Likewise.
49398         [UNIX98] (pthread_spinlock_t): Likewise.
49399         [UNIX98] (pthread_barrier_destroy): Likewise.
49400         [UNIX98] (pthread_barrier_init): Likewise.
49401         [UNIX98] (pthread_barrier_wait): Likewise.
49402         [UNIX98] (pthread_barrierattr_destroy): Likewise.
49403         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
49404         [UNIX98] (pthread_barrierattr_init): Likewise.
49405         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
49406         [UNIX98] (pthread_getcpuclockid): Likewise.
49407         [UNIX98] (pthread_mutex_timedlock): Likewise.
49408         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
49409         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
49410         [UNIX98] (pthread_sigmask): Likewise.
49411         [UNIX98] (pthread_spin_destroy): Likewise.
49412         [UNIX98] (pthread_spin_init): Likewise.
49413         [UNIX98] (pthread_spin_lock): Likewise.
49414         [UNIX98] (pthread_spin_trylock): Likewise.
49415         [UNIX98] (pthread_spin_unlock): Likewise.
49416         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
49417         Do not expect.
49418         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
49419         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
49420         [XPG3 || XPG4] (pthread_cond_t): Likewise.
49421         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
49422         [XPG3 || XPG4] (pthread_key_t): Likewise.
49423         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
49424         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
49425         [XPG3 || XPG4] (pthread_once_t): Likewise.
49426         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
49427         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
49428         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
49429         [XPG3 || XPG4] (pthread_t): Likewise.
49431         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
49432         not expect.
49433         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
49435         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
49436         Change function return type to int.
49438         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
49439         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
49440         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
49441         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
49442         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
49443         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
49444         [!POSIX] (posix_madvise): Likewise.
49445         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
49446         && !UNIX98].
49447         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
49448         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
49449         (mode_t): Likewise.
49450         (posix_mem_offset): Likewise.
49451         (posix_typed_mem_get_info): Likewise.
49452         (posix_typed_mem_open): Likewise.
49454         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
49455         Change condition to [XOPEN2K8].
49457         * conform/conformtest.pl: Preprocess allow-header data with -x c
49458         instead of from stdin.
49459         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
49460         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
49461         [C99-based standards] (cerfc): Likewise.
49462         [C99-based standards] (cexp2): Likewise.
49463         [C99-based standards] (cexpm1): Likewise.
49464         [C99-based standards] (clog10): Likewise.
49465         [C99-based standards] (clog1p): Likewise.
49466         [C99-based standards] (clog2): Likewise.
49467         [C99-based standards] (clgamma): Likewise.
49468         [C99-based standards] (ctgamma): Likewise.
49469         [C99-based standards] (cerff): Likewise.
49470         [C99-based standards] (cerfcf): Likewise.
49471         [C99-based standards] (cexp2f): Likewise.
49472         [C99-based standards] (cexpm1f): Likewise.
49473         [C99-based standards] (clog10f): Likewise.
49474         [C99-based standards] (clog1pf): Likewise.
49475         [C99-based standards] (clog2f): Likewise.
49476         [C99-based standards] (clgammaf): Likewise.
49477         [C99-based standards] (ctgammaf): Likewise.
49478         [C99-based standards] (cerfl): Likewise.
49479         [C99-based standards] (cerfcl): Likewise.
49480         [C99-based standards] (cexp2l): Likewise.
49481         [C99-based standards] (cexpm1l): Likewise.
49482         [C99-based standards] (clog10l): Likewise.
49483         [C99-based standards] (clog1pl): Likewise.
49484         [C99-based standards] (clog2l): Likewise.
49485         [C99-based standards] (clgammal): Likewise.
49486         [C99-based standards] (ctgammal): Likewise.
49487         * conform/data/inttypes.h-data [C99-based standards]: Include
49488         stdint.h-data.  Remove all expectations for stdint.h contents.
49489         [C99-based standards] (PRI*): Do not allow.
49490         [C99-based standards] (SCN*): Likewise.
49491         [C99-based standards] (*_t): Likewise.
49492         [C99-based-standards] (PRId8): Expect macro.
49493         [C99-based-standards] (PRIi8): Likewise.
49494         [C99-based-standards] (PRIo8): Likewise.
49495         [C99-based-standards] (PRIu8): Likewise.
49496         [C99-based-standards] (PRIx8): Likewise.
49497         [C99-based-standards] (PRIX8): Likewise.
49498         [C99-based-standards] (SCNd8): Likewise.
49499         [C99-based-standards] (SCNi8): Likewise.
49500         [C99-based-standards] (SCNo8): Likewise.
49501         [C99-based-standards] (SCNu8): Likewise.
49502         [C99-based-standards] (SCNx8): Likewise.
49503         [C99-based-standards] (PRIdLEAST8): Likewise.
49504         [C99-based-standards] (PRIiLEAST8): Likewise.
49505         [C99-based-standards] (PRIoLEAST8): Likewise.
49506         [C99-based-standards] (PRIuLEAST8): Likewise.
49507         [C99-based-standards] (PRIxLEAST8): Likewise.
49508         [C99-based-standards] (PRIXLEAST8): Likewise.
49509         [C99-based-standards] (SCNdLEAST8): Likewise.
49510         [C99-based-standards] (SCNiLEAST8): Likewise.
49511         [C99-based-standards] (SCNoLEAST8): Likewise.
49512         [C99-based-standards] (SCNuLEAST8): Likewise.
49513         [C99-based-standards] (SCNxLEAST8): Likewise.
49514         [C99-based-standards] (PRIdFAST8): Likewise.
49515         [C99-based-standards] (PRIiFAST8): Likewise.
49516         [C99-based-standards] (PRIoFAST8): Likewise.
49517         [C99-based-standards] (PRIuFAST8): Likewise.
49518         [C99-based-standards] (PRIxFAST8): Likewise.
49519         [C99-based-standards] (PRIXFAST8): Likewise.
49520         [C99-based-standards] (SCNdFAST8): Likewise.
49521         [C99-based-standards] (SCNiFAST8): Likewise.
49522         [C99-based-standards] (SCNoFAST8): Likewise.
49523         [C99-based-standards] (SCNuFAST8): Likewise.
49524         [C99-based-standards] (SCNxFAST8): Likewise.
49525         [C99-based-standards] (PRId16): Likewise.
49526         [C99-based-standards] (PRIi16): Likewise.
49527         [C99-based-standards] (PRIo16): Likewise.
49528         [C99-based-standards] (PRIu16): Likewise.
49529         [C99-based-standards] (PRIx16): Likewise.
49530         [C99-based-standards] (PRIX16): Likewise.
49531         [C99-based-standards] (SCNd16): Likewise.
49532         [C99-based-standards] (SCNi16): Likewise.
49533         [C99-based-standards] (SCNo16): Likewise.
49534         [C99-based-standards] (SCNu16): Likewise.
49535         [C99-based-standards] (SCNx16): Likewise.
49536         [C99-based-standards] (PRIdLEAST16): Likewise.
49537         [C99-based-standards] (PRIiLEAST16): Likewise.
49538         [C99-based-standards] (PRIoLEAST16): Likewise.
49539         [C99-based-standards] (PRIuLEAST16): Likewise.
49540         [C99-based-standards] (PRIxLEAST16): Likewise.
49541         [C99-based-standards] (PRIXLEAST16): Likewise.
49542         [C99-based-standards] (SCNdLEAST16): Likewise.
49543         [C99-based-standards] (SCNiLEAST16): Likewise.
49544         [C99-based-standards] (SCNoLEAST16): Likewise.
49545         [C99-based-standards] (SCNuLEAST16): Likewise.
49546         [C99-based-standards] (SCNxLEAST16): Likewise.
49547         [C99-based-standards] (PRIdFAST16): Likewise.
49548         [C99-based-standards] (PRIiFAST16): Likewise.
49549         [C99-based-standards] (PRIoFAST16): Likewise.
49550         [C99-based-standards] (PRIuFAST16): Likewise.
49551         [C99-based-standards] (PRIxFAST16): Likewise.
49552         [C99-based-standards] (PRIXFAST16): Likewise.
49553         [C99-based-standards] (SCNdFAST16): Likewise.
49554         [C99-based-standards] (SCNiFAST16): Likewise.
49555         [C99-based-standards] (SCNoFAST16): Likewise.
49556         [C99-based-standards] (SCNuFAST16): Likewise.
49557         [C99-based-standards] (SCNxFAST16): Likewise.
49558         [C99-based-standards] (PRId32): Likewise.
49559         [C99-based-standards] (PRIi32): Likewise.
49560         [C99-based-standards] (PRIo32): Likewise.
49561         [C99-based-standards] (PRIu32): Likewise.
49562         [C99-based-standards] (PRIx32): Likewise.
49563         [C99-based-standards] (PRIX32): Likewise.
49564         [C99-based-standards] (SCNd32): Likewise.
49565         [C99-based-standards] (SCNi32): Likewise.
49566         [C99-based-standards] (SCNo32): Likewise.
49567         [C99-based-standards] (SCNu32): Likewise.
49568         [C99-based-standards] (SCNx32): Likewise.
49569         [C99-based-standards] (PRIdLEAST32): Likewise.
49570         [C99-based-standards] (PRIiLEAST32): Likewise.
49571         [C99-based-standards] (PRIoLEAST32): Likewise.
49572         [C99-based-standards] (PRIuLEAST32): Likewise.
49573         [C99-based-standards] (PRIxLEAST32): Likewise.
49574         [C99-based-standards] (PRIXLEAST32): Likewise.
49575         [C99-based-standards] (SCNdLEAST32): Likewise.
49576         [C99-based-standards] (SCNiLEAST32): Likewise.
49577         [C99-based-standards] (SCNoLEAST32): Likewise.
49578         [C99-based-standards] (SCNuLEAST32): Likewise.
49579         [C99-based-standards] (SCNxLEAST32): Likewise.
49580         [C99-based-standards] (PRIdFAST32): Likewise.
49581         [C99-based-standards] (PRIiFAST32): Likewise.
49582         [C99-based-standards] (PRIoFAST32): Likewise.
49583         [C99-based-standards] (PRIuFAST32): Likewise.
49584         [C99-based-standards] (PRIxFAST32): Likewise.
49585         [C99-based-standards] (PRIXFAST32): Likewise.
49586         [C99-based-standards] (SCNdFAST32): Likewise.
49587         [C99-based-standards] (SCNiFAST32): Likewise.
49588         [C99-based-standards] (SCNoFAST32): Likewise.
49589         [C99-based-standards] (SCNuFAST32): Likewise.
49590         [C99-based-standards] (SCNxFAST32): Likewise.
49591         [C99-based-standards] (PRId64): Likewise.
49592         [C99-based-standards] (PRIi64): Likewise.
49593         [C99-based-standards] (PRIo64): Likewise.
49594         [C99-based-standards] (PRIu64): Likewise.
49595         [C99-based-standards] (PRIx64): Likewise.
49596         [C99-based-standards] (PRIX64): Likewise.
49597         [C99-based-standards] (SCNd64): Likewise.
49598         [C99-based-standards] (SCNi64): Likewise.
49599         [C99-based-standards] (SCNo64): Likewise.
49600         [C99-based-standards] (SCNu64): Likewise.
49601         [C99-based-standards] (SCNx64): Likewise.
49602         [C99-based-standards] (PRIdLEAST64): Likewise.
49603         [C99-based-standards] (PRIiLEAST64): Likewise.
49604         [C99-based-standards] (PRIoLEAST64): Likewise.
49605         [C99-based-standards] (PRIuLEAST64): Likewise.
49606         [C99-based-standards] (PRIxLEAST64): Likewise.
49607         [C99-based-standards] (PRIXLEAST64): Likewise.
49608         [C99-based-standards] (SCNdLEAST64): Likewise.
49609         [C99-based-standards] (SCNiLEAST64): Likewise.
49610         [C99-based-standards] (SCNoLEAST64): Likewise.
49611         [C99-based-standards] (SCNuLEAST64): Likewise.
49612         [C99-based-standards] (SCNxLEAST64): Likewise.
49613         [C99-based-standards] (PRIdFAST64): Likewise.
49614         [C99-based-standards] (PRIiFAST64): Likewise.
49615         [C99-based-standards] (PRIoFAST64): Likewise.
49616         [C99-based-standards] (PRIuFAST64): Likewise.
49617         [C99-based-standards] (PRIxFAST64): Likewise.
49618         [C99-based-standards] (PRIXFAST64): Likewise.
49619         [C99-based-standards] (SCNdFAST64): Likewise.
49620         [C99-based-standards] (SCNiFAST64): Likewise.
49621         [C99-based-standards] (SCNoFAST64): Likewise.
49622         [C99-based-standards] (SCNuFAST64): Likewise.
49623         [C99-based-standards] (SCNxFAST64): Likewise.
49624         [C99-based-standards] (PRIdMAX): Likewise.
49625         [C99-based-standards] (PRIiMAX): Likewise.
49626         [C99-based-standards] (PRIoMAX): Likewise.
49627         [C99-based-standards] (PRIuMAX): Likewise.
49628         [C99-based-standards] (PRIxMAX): Likewise.
49629         [C99-based-standards] (PRIXMAX): Likewise.
49630         [C99-based-standards] (SCNdMAX): Likewise.
49631         [C99-based-standards] (SCNiMAX): Likewise.
49632         [C99-based-standards] (SCNoMAX): Likewise.
49633         [C99-based-standards] (SCNuMAX): Likewise.
49634         [C99-based-standards] (SCNxMAX): Likewise.
49635         [C99-based-standards] (PRIdPTR): Likewise.
49636         [C99-based-standards] (PRIiPTR): Likewise.
49637         [C99-based-standards] (PRIoPTR): Likewise.
49638         [C99-based-standards] (PRIuPTR): Likewise.
49639         [C99-based-standards] (PRIxPTR): Likewise.
49640         [C99-based-standards] (PRIXPTR): Likewise.
49641         [C99-based-standards] (SCNdPTR): Likewise.
49642         [C99-based-standards] (SCNiPTR): Likewise.
49643         [C99-based-standards] (SCNoPTR): Likewise.
49644         [C99-based-standards] (SCNuPTR): Likewise.
49645         [C99-based-standards] (SCNxPTR): Likewise.
49646         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
49647         allow.
49648         * conform/data/stdint.h-data: Update comments to clarify
49649         requirements.
49650         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
49651         type.
49652         [C99-based standards] (INT8_MAX): Likewise.
49653         [C99-based standards] (INT16_MIN): Likewise.
49654         [C99-based standards] (INT16_MAX): Likewise.
49655         [C99-based standards] (INT32_MIN): Likewise.
49656         [C99-based standards] (INT32_MAX): Likewise.
49657         [C99-based standards] (INT64_MIN): Likewise.
49658         [C99-based standards] (INT64_MAX): Likewise.
49659         [C99-based standards] (UINT8_MAX): Likewise.
49660         [C99-based standards] (UINT16_MAX): Likewise.
49661         [C99-based standards] (UINT32_MAX): Likewise.
49662         [C99-based standards] (UINT64_MAX): Likewise.
49663         [C99-based standards] (INT_LEAST8_MIN): Likewise.
49664         [C99-based standards] (INT_LEAST8_MAX): Likewise.
49665         [C99-based standards] (INT_LEAST16_MIN): Likewise.
49666         [C99-based standards] (INT_LEAST16_MAX): Likewise.
49667         [C99-based standards] (INT_LEAST32_MIN): Likewise.
49668         [C99-based standards] (INT_LEAST32_MAX): Likewise.
49669         [C99-based standards] (INT_LEAST64_MIN): Likewise.
49670         [C99-based standards] (INT_LEAST64_MAX): Likewise.
49671         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
49672         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
49673         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
49674         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
49675         [C99-based standards] (INT_FAST8_MIN): Likewise.
49676         [C99-based standards] (INT_FAST8_MAX): Likewise.
49677         [C99-based standards] (INT_FAST16_MIN): Likewise.
49678         [C99-based standards] (INT_FAST16_MAX): Likewise.
49679         [C99-based standards] (INT_FAST32_MIN): Likewise.
49680         [C99-based standards] (INT_FAST32_MAX): Likewise.
49681         [C99-based standards] (INT_FAST64_MIN): Likewise.
49682         [C99-based standards] (INT_FAST64_MAX): Likewise.
49683         [C99-based standards] (UINT_FAST8_MAX): Likewise.
49684         [C99-based standards] (UINT_FAST16_MAX): Likewise.
49685         [C99-based standards] (UINT_FAST32_MAX): Likewise.
49686         [C99-based standards] (UINT_FAST64_MAX): Likewise.
49687         [C99-based standards] (INTPTR_MIN): Likewise.
49688         [C99-based standards] (INTPTR_MAX): Likewise.
49689         [C99-based standards] (UINTPTR_MAX): Likewise.
49690         [C99-based standards] (INTMAX_MIN): Likewise.
49691         [C99-based standards] (INTMAX_MAX): Likewise.
49692         [C99-based standards] (UINTMAX_MAX): Likewise.
49693         [C99-based standards] (PTRDIFF_MIN): Likewise.
49694         [C99-based standards] (PTRDIFF_MAX): Likewise.
49695         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
49696         [C99-based standards] (SIZE_MAX): Likewise.
49697         [C99-based standards] (WCHAR_MAX): Likewise.
49698         [C99-based standards] (WINT_MAX): Likewise.
49699         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
49700         constraint on value.
49701         [C99-based standards] (WCHAR_MIN): Likewise.
49702         [C99-based standards] (WINT_MIN): Likewise.
49703         [C99-based standards] (*_t): Allow.
49704         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
49705         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
49706         Include math.h-data and complex.h-data.  Remove all expectations
49707         of math.h and complex.h contents.
49708         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
49709         at end of line.
49710         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
49711         (struct tm): Expect tag.
49712         [C99-based-standards] (wcstof): Expect function.
49713         [C99-based-standards] (wcstold): Likewise.
49714         [C99-based-standards] (wcstoll): Likewise.
49715         [C99-based-standards] (wcstoull): Likewise.
49716         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
49717         macro-int-constant.  Specify type.
49718         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
49719         constraint on value.
49720         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
49721         Specify type.
49722         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
49723         Specify value.
49724         [ISO C standards]: Do not allow headers.
49725         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
49726         wcs[abcdefghijklmnopqrstuvwxyz]*.
49727         [ISO C standards] (*_t): Do not allow.
49728         * conform/data/wctype.h-data [C99-based standards] (iswblank):
49729         Expect function.
49730         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
49731         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
49732         Specify type.
49733         [ISO C standards]: Do not allow headers.
49734         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
49735         is[abcdefghijklmnopqrstuvwxyz]*.
49736         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
49737         to[abcdefghijklmnopqrstuvwxyz]*.
49738         [ISO C standards] (*_t): Do not allow.
49739         * conform/data/stdalign.h-data: New file.
49740         * conform/data/stdbool.h-data: Likewise.
49741         * conform/data/stdnoreturn.h-data: Likewise.
49743 2012-11-07  Roland McGrath  <roland@hack.frob.com>
49745         [BZ #14815]
49746         * manual/filesys.texi (Directory Entries): Typo fix.
49747         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
49749 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
49751         * elf/elf.h (EM_AARCH64): New macro.
49752         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
49753         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
49754         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
49755         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
49756         (R_AARCH64_TLSDESC): Likewise.
49757         (NT_ARM_TLS): Likewise.
49758         (NT_ARM_HW_BREAK): Likewise.
49759         (NT_ARM_HW_WATCH): Likewise.
49761 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
49763         [BZ #14811]
49764         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
49765         (__ieee754_powl): Saturate nonzero exponents with absolute value
49766         below 0x1p-79 to +/- 0x1p-79.
49767         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
49768         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
49769         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
49770         nonzero exponents with absolute value below 0x1p-32 to +/-
49771         0x1p-32.
49772         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
49773         (__ieee754_powl): Saturate nonzero exponents with absolute value
49774         below 0x1p-79 to +/- 0x1p-79.
49775         * math/libm-test.inc (pow_test): Add more tests.
49777 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
49779         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
49780         _dl_s390_cap_flags with kernel. Increase string length.
49781         (_dl_s390_platforms): Add z196 and zEC12.
49783 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
49785         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
49786         Change XOPEN21K to XOPEN2K.
49788 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
49790         * string/memmove.c: Use memcpy when possible.
49792 2012-11-06  Andreas Jaeger  <aj@suse.de>
49794         * po/eo.po: Update from translation team.
49796 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
49798         [BZ #14793]
49799         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
49800         exponent and small x and y exponents, scale x or y up.  Increase
49801         by 2 the exponent used in scaling up.
49802         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
49803         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
49804         * math/libm-test.inc (fma_test): Add more tests.
49805         (fma_test_towardzero): Likewise.
49806         (fma_test_downward): Likewise.
49807         (fma_test_upward): Likewise.
49809 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
49811         [BZ #14805]
49812         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
49813         fenv_t *.
49815         [BZ #14801]
49816         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
49817         namespace for names of struct fields.
49818         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
49819         fenv_t fields.
49820         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
49821         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
49823 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49825         [BZ #3665]
49826         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
49828 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
49830         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
49831         PTR_DEMANGLE.
49833         [BZ #5246]
49834         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
49835         PTR_DEMANGLE.
49837 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
49839         [BZ #14797]
49840         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
49841         definitely overflow as x * y not x * y + z.
49842         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
49843         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
49844         * math/libm-test.inc (fma_test): Add more tests.
49845         (fma_test_towardzero): Likewise.
49846         (fma_test_downward): Likewise.
49847         (fma_test_upward): Likewise.
49849 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
49851         [BZ #157]
49853         * include/stub-tag.h: Remove file.
49854         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
49855         '#include' of it.
49856         * manual/maint.texi (Porting): Don't reference it.
49857         * Makerules ($(objpfx)stubs): Likewise.
49858         * dirent/closedir.c: Don't include <stub-tag.h>.
49859         * dirent/dirfd.c: Likewise.
49860         * dirent/fdopendir.c: Likewise.
49861         * dirent/getdents.c: Likewise.
49862         * dirent/getdents64.c: Likewise.
49863         * dirent/opendir.c: Likewise.
49864         * dirent/readdir.c: Likewise.
49865         * dirent/readdir64.c: Likewise.
49866         * dirent/readdir64_r.c: Likewise.
49867         * dirent/readdir_r.c: Likewise.
49868         * dirent/rewinddir.c: Likewise.
49869         * dirent/seekdir.c: Likewise.
49870         * dirent/telldir.c: Likewise.
49871         * gmon/profil.c: Likewise.
49872         * grp/setgroups.c: Likewise.
49873         * inet/if_index.c: Likewise.
49874         * io/access.c: Likewise.
49875         * io/chdir.c: Likewise.
49876         * io/chmod.c: Likewise.
49877         * io/chown.c: Likewise.
49878         * io/close.c: Likewise.
49879         * io/dup.c: Likewise.
49880         * io/dup2.c: Likewise.
49881         * io/dup3.c: Likewise.
49882         * io/euidaccess.c: Likewise.
49883         * io/faccessat.c: Likewise.
49884         * io/fchdir.c: Likewise.
49885         * io/fchmod.c: Likewise.
49886         * io/fchmodat.c: Likewise.
49887         * io/fchown.c: Likewise.
49888         * io/fchownat.c: Likewise.
49889         * io/fcntl.c: Likewise.
49890         * io/flock.c: Likewise.
49891         * io/fstatfs.c: Likewise.
49892         * io/fstatfs64.c: Likewise.
49893         * io/fstatvfs.c: Likewise.
49894         * io/fstatvfs64.c: Likewise.
49895         * io/futimens.c: Likewise.
49896         * io/fxstat.c: Likewise.
49897         * io/fxstat64.c: Likewise.
49898         * io/fxstatat.c: Likewise.
49899         * io/fxstatat64.c: Likewise.
49900         * io/getcwd.c: Likewise.
49901         * io/isatty.c: Likewise.
49902         * io/lchmod.c: Likewise.
49903         * io/lchown.c: Likewise.
49904         * io/link.c: Likewise.
49905         * io/linkat.c: Likewise.
49906         * io/lseek.c: Likewise.
49907         * io/lseek64.c: Likewise.
49908         * io/lxstat64.c: Likewise.
49909         * io/mkdir.c: Likewise.
49910         * io/mkdirat.c: Likewise.
49911         * io/mkfifo.c: Likewise.
49912         * io/mkfifoat.c: Likewise.
49913         * io/open.c: Likewise.
49914         * io/open64.c: Likewise.
49915         * io/openat.c: Likewise.
49916         * io/openat64.c: Likewise.
49917         * io/pipe.c: Likewise.
49918         * io/pipe2.c: Likewise.
49919         * io/poll.c: Likewise.
49920         * io/posix_fadvise.c: Likewise.
49921         * io/posix_fadvise64.c: Likewise.
49922         * io/posix_fallocate.c: Likewise.
49923         * io/posix_fallocate64.c: Likewise.
49924         * io/read.c: Likewise.
49925         * io/readlink.c: Likewise.
49926         * io/readlinkat.c: Likewise.
49927         * io/rmdir.c: Likewise.
49928         * io/sendfile.c: Likewise.
49929         * io/sendfile64.c: Likewise.
49930         * io/statfs.c: Likewise.
49931         * io/statfs64.c: Likewise.
49932         * io/statvfs.c: Likewise.
49933         * io/statvfs64.c: Likewise.
49934         * io/symlink.c: Likewise.
49935         * io/symlinkat.c: Likewise.
49936         * io/ttyname.c: Likewise.
49937         * io/ttyname_r.c: Likewise.
49938         * io/umask.c: Likewise.
49939         * io/unlink.c: Likewise.
49940         * io/unlinkat.c: Likewise.
49941         * io/utime.c: Likewise.
49942         * io/utimensat.c: Likewise.
49943         * io/write.c: Likewise.
49944         * io/xmknod.c: Likewise.
49945         * io/xmknodat.c: Likewise.
49946         * io/xstat.c: Likewise.
49947         * io/xstat64.c: Likewise.
49948         * login/getpt.c: Likewise.
49949         * login/grantpt.c: Likewise.
49950         * login/unlockpt.c: Likewise.
49951         * math/e_acoshl.c: Likewise.
49952         * math/e_acosl.c: Likewise.
49953         * math/e_asinl.c: Likewise.
49954         * math/e_atan2l.c: Likewise.
49955         * math/e_atanhl.c: Likewise.
49956         * math/e_coshl.c: Likewise.
49957         * math/e_expl.c: Likewise.
49958         * math/e_fmodl.c: Likewise.
49959         * math/e_gammal_r.c: Likewise.
49960         * math/e_hypotl.c: Likewise.
49961         * math/e_j0l.c: Likewise.
49962         * math/e_j1l.c: Likewise.
49963         * math/e_jnl.c: Likewise.
49964         * math/e_lgammal_r.c: Likewise.
49965         * math/e_log10l.c: Likewise.
49966         * math/e_log2l.c: Likewise.
49967         * math/e_logl.c: Likewise.
49968         * math/e_powl.c: Likewise.
49969         * math/e_rem_pio2l.c: Likewise.
49970         * math/e_sinhl.c: Likewise.
49971         * math/e_sqrtl.c: Likewise.
49972         * math/fclrexcpt.c: Likewise.
49973         * math/fedisblxcpt.c: Likewise.
49974         * math/feenablxcpt.c: Likewise.
49975         * math/fegetenv.c: Likewise.
49976         * math/fegetexcept.c: Likewise.
49977         * math/fegetround.c: Likewise.
49978         * math/feholdexcpt.c: Likewise.
49979         * math/fesetenv.c: Likewise.
49980         * math/fesetround.c: Likewise.
49981         * math/feupdateenv.c: Likewise.
49982         * math/fgetexcptflg.c: Likewise.
49983         * math/fraiseexcpt.c: Likewise.
49984         * math/fsetexcptflg.c: Likewise.
49985         * math/ftestexcept.c: Likewise.
49986         * math/k_cosl.c: Likewise.
49987         * math/k_rem_pio2l.c: Likewise.
49988         * math/k_sinl.c: Likewise.
49989         * math/k_tanl.c: Likewise.
49990         * math/s_asinhl.c: Likewise.
49991         * math/s_atanl.c: Likewise.
49992         * math/s_cbrtl.c: Likewise.
49993         * math/s_erfl.c: Likewise.
49994         * math/s_expm1l.c: Likewise.
49995         * math/s_log1pl.c: Likewise.
49996         * math/s_tanhl.c: Likewise.
49997         * misc/acct.c: Likewise.
49998         * misc/brk.c: Likewise.
49999         * misc/chflags.c: Likewise.
50000         * misc/chroot.c: Likewise.
50001         * misc/fchflags.c: Likewise.
50002         * misc/fgetxattr.c: Likewise.
50003         * misc/flistxattr.c: Likewise.
50004         * misc/fremovexattr.c: Likewise.
50005         * misc/fsetxattr.c: Likewise.
50006         * misc/fsync.c: Likewise.
50007         * misc/ftruncate.c: Likewise.
50008         * misc/futimes.c: Likewise.
50009         * misc/futimesat.c: Likewise.
50010         * misc/getdomain.c: Likewise.
50011         * misc/getdtsz.c: Likewise.
50012         * misc/gethostid.c: Likewise.
50013         * misc/gethostname.c: Likewise.
50014         * misc/getloadavg.c: Likewise.
50015         * misc/getpagesize.c: Likewise.
50016         * misc/getsysstats.c: Likewise.
50017         * misc/getxattr.c: Likewise.
50018         * misc/gtty.c: Likewise.
50019         * misc/ioctl.c: Likewise.
50020         * misc/lgetxattr.c: Likewise.
50021         * misc/listxattr.c: Likewise.
50022         * misc/llistxattr.c: Likewise.
50023         * misc/lremovexattr.c: Likewise.
50024         * misc/lsetxattr.c: Likewise.
50025         * misc/lutimes.c: Likewise.
50026         * misc/madvise.c: Likewise.
50027         * misc/mincore.c: Likewise.
50028         * misc/mlock.c: Likewise.
50029         * misc/mlockall.c: Likewise.
50030         * misc/mmap.c: Likewise.
50031         * misc/mprotect.c: Likewise.
50032         * misc/msync.c: Likewise.
50033         * misc/munlock.c: Likewise.
50034         * misc/munlockall.c: Likewise.
50035         * misc/munmap.c: Likewise.
50036         * misc/preadv.c: Likewise.
50037         * misc/preadv64.c: Likewise.
50038         * misc/ptrace.c: Likewise.
50039         * misc/pwritev.c: Likewise.
50040         * misc/pwritev64.c: Likewise.
50041         * misc/readv.c: Likewise.
50042         * misc/reboot.c: Likewise.
50043         * misc/remap_file_pages.c: Likewise.
50044         * misc/removexattr.c: Likewise.
50045         * misc/revoke.c: Likewise.
50046         * misc/select.c: Likewise.
50047         * misc/setdomain.c: Likewise.
50048         * misc/setegid.c: Likewise.
50049         * misc/seteuid.c: Likewise.
50050         * misc/sethostid.c: Likewise.
50051         * misc/sethostname.c: Likewise.
50052         * misc/setregid.c: Likewise.
50053         * misc/setreuid.c: Likewise.
50054         * misc/setxattr.c: Likewise.
50055         * misc/sstk.c: Likewise.
50056         * misc/stty.c: Likewise.
50057         * misc/swapoff.c: Likewise.
50058         * misc/swapon.c: Likewise.
50059         * misc/sync.c: Likewise.
50060         * misc/syncfs.c: Likewise.
50061         * misc/syscall.c: Likewise.
50062         * misc/truncate.c: Likewise.
50063         * misc/ualarm.c: Likewise.
50064         * misc/usleep.c: Likewise.
50065         * misc/ustat.c: Likewise.
50066         * misc/utimes.c: Likewise.
50067         * misc/vhangup.c: Likewise.
50068         * misc/writev.c: Likewise.
50069         * posix/_exit.c: Likewise.
50070         * posix/alarm.c: Likewise.
50071         * posix/execve.c: Likewise.
50072         * posix/fexecve.c: Likewise.
50073         * posix/fork.c: Likewise.
50074         * posix/fpathconf.c: Likewise.
50075         * posix/getaddrinfo.c: Likewise.
50076         * posix/getegid.c: Likewise.
50077         * posix/geteuid.c: Likewise.
50078         * posix/getgid.c: Likewise.
50079         * posix/getgroups.c: Likewise.
50080         * posix/getlogin.c: Likewise.
50081         * posix/getlogin_r.c: Likewise.
50082         * posix/getpgid.c: Likewise.
50083         * posix/getpid.c: Likewise.
50084         * posix/getppid.c: Likewise.
50085         * posix/getresgid.c: Likewise.
50086         * posix/getresuid.c: Likewise.
50087         * posix/getsid.c: Likewise.
50088         * posix/getuid.c: Likewise.
50089         * posix/glob64.c: Likewise.
50090         * posix/nanosleep.c: Likewise.
50091         * posix/pathconf.c: Likewise.
50092         * posix/pause.c: Likewise.
50093         * posix/posix_madvise.c: Likewise.
50094         * posix/pread.c: Likewise.
50095         * posix/pread64.c: Likewise.
50096         * posix/pwrite.c: Likewise.
50097         * posix/pwrite64.c: Likewise.
50098         * posix/sched_getaffinity.c: Likewise.
50099         * posix/sched_getp.c: Likewise.
50100         * posix/sched_gets.c: Likewise.
50101         * posix/sched_primax.c: Likewise.
50102         * posix/sched_primin.c: Likewise.
50103         * posix/sched_rr_gi.c: Likewise.
50104         * posix/sched_setaffinity.c: Likewise.
50105         * posix/sched_setp.c: Likewise.
50106         * posix/sched_sets.c: Likewise.
50107         * posix/sched_yield.c: Likewise.
50108         * posix/setgid.c: Likewise.
50109         * posix/setlogin.c: Likewise.
50110         * posix/setpgid.c: Likewise.
50111         * posix/setresgid.c: Likewise.
50112         * posix/setresuid.c: Likewise.
50113         * posix/setsid.c: Likewise.
50114         * posix/setuid.c: Likewise.
50115         * posix/sleep.c: Likewise.
50116         * posix/spawni.c: Likewise.
50117         * posix/sysconf.c: Likewise.
50118         * posix/times.c: Likewise.
50119         * posix/wait.c: Likewise.
50120         * posix/wait3.c: Likewise.
50121         * posix/wait4.c: Likewise.
50122         * posix/waitpid.c: Likewise.
50123         * resolv/gai_sigqueue.c: Likewise.
50124         * resource/getpriority.c: Likewise.
50125         * resource/getrlimit.c: Likewise.
50126         * resource/getrusage.c: Likewise.
50127         * resource/nice.c: Likewise.
50128         * resource/setpriority.c: Likewise.
50129         * resource/setrlimit.c: Likewise.
50130         * resource/ulimit.c: Likewise.
50131         * rt/aio_cancel.c: Likewise.
50132         * rt/aio_fsync.c: Likewise.
50133         * rt/aio_read.c: Likewise.
50134         * rt/aio_sigqueue.c: Likewise.
50135         * rt/aio_suspend.c: Likewise.
50136         * rt/aio_write.c: Likewise.
50137         * rt/clock_getres.c: Likewise.
50138         * rt/clock_gettime.c: Likewise.
50139         * rt/clock_nanosleep.c: Likewise.
50140         * rt/clock_settime.c: Likewise.
50141         * rt/lio_listio.c: Likewise.
50142         * rt/mq_close.c: Likewise.
50143         * rt/mq_getattr.c: Likewise.
50144         * rt/mq_notify.c: Likewise.
50145         * rt/mq_open.c: Likewise.
50146         * rt/mq_receive.c: Likewise.
50147         * rt/mq_send.c: Likewise.
50148         * rt/mq_setattr.c: Likewise.
50149         * rt/mq_timedreceive.c: Likewise.
50150         * rt/mq_timedsend.c: Likewise.
50151         * rt/mq_unlink.c: Likewise.
50152         * rt/shm_open.c: Likewise.
50153         * rt/shm_unlink.c: Likewise.
50154         * rt/timer_create.c: Likewise.
50155         * rt/timer_delete.c: Likewise.
50156         * rt/timer_getoverr.c: Likewise.
50157         * rt/timer_gettime.c: Likewise.
50158         * rt/timer_settime.c: Likewise.
50159         * setjmp/__longjmp.c: Likewise.
50160         * setjmp/setjmp.c: Likewise.
50161         * signal/kill.c: Likewise.
50162         * signal/killpg.c: Likewise.
50163         * signal/raise.c: Likewise.
50164         * signal/sigaction.c: Likewise.
50165         * signal/sigaltstack.c: Likewise.
50166         * signal/sigblock.c: Likewise.
50167         * signal/sigignore.c: Likewise.
50168         * signal/sigintr.c: Likewise.
50169         * signal/signal.c: Likewise.
50170         * signal/sigpause.c: Likewise.
50171         * signal/sigpending.c: Likewise.
50172         * signal/sigqueue.c: Likewise.
50173         * signal/sigreturn.c: Likewise.
50174         * signal/sigset.c: Likewise.
50175         * signal/sigsetmask.c: Likewise.
50176         * signal/sigstack.c: Likewise.
50177         * signal/sigsuspend.c: Likewise.
50178         * signal/sigtimedwait.c: Likewise.
50179         * signal/sigvec.c: Likewise.
50180         * signal/sigwait.c: Likewise.
50181         * signal/sigwaitinfo.c: Likewise.
50182         * signal/sysv_signal.c: Likewise.
50183         * socket/accept.c: Likewise.
50184         * socket/accept4.c: Likewise.
50185         * socket/bind.c: Likewise.
50186         * socket/connect.c: Likewise.
50187         * socket/getpeername.c: Likewise.
50188         * socket/getsockname.c: Likewise.
50189         * socket/getsockopt.c: Likewise.
50190         * socket/isfdtype.c: Likewise.
50191         * socket/listen.c: Likewise.
50192         * socket/recv.c: Likewise.
50193         * socket/recvfrom.c: Likewise.
50194         * socket/recvmsg.c: Likewise.
50195         * socket/send.c: Likewise.
50196         * socket/sendmsg.c: Likewise.
50197         * socket/sendto.c: Likewise.
50198         * socket/setsockopt.c: Likewise.
50199         * socket/shutdown.c: Likewise.
50200         * socket/sockatmark.c: Likewise.
50201         * socket/socket.c: Likewise.
50202         * socket/socketpair.c: Likewise.
50203         * stdio-common/ctermid.c: Likewise.
50204         * stdio-common/cuserid.c: Likewise.
50205         * stdio-common/remove.c: Likewise.
50206         * stdio-common/rename.c: Likewise.
50207         * stdio-common/renameat.c: Likewise.
50208         * stdio-common/tempname.c: Likewise.
50209         * stdlib/getcontext.c: Likewise.
50210         * stdlib/makecontext.c: Likewise.
50211         * stdlib/setcontext.c: Likewise.
50212         * stdlib/swapcontext.c: Likewise.
50213         * stdlib/system.c: Likewise.
50214         * streams/fattach.c: Likewise.
50215         * streams/fdetach.c: Likewise.
50216         * streams/getmsg.c: Likewise.
50217         * streams/getpmsg.c: Likewise.
50218         * streams/putmsg.c: Likewise.
50219         * streams/putpmsg.c: Likewise.
50220         * sysdeps/unix/bsd/getpt.c: Likewise.
50221         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
50222         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
50223         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
50224         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
50225         Likewise.
50226         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
50227         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
50228         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
50229         * sysvipc/msgctl.c: Likewise.
50230         * sysvipc/msgget.c: Likewise.
50231         * sysvipc/msgrcv.c: Likewise.
50232         * sysvipc/msgsnd.c: Likewise.
50233         * sysvipc/semctl.c: Likewise.
50234         * sysvipc/semget.c: Likewise.
50235         * sysvipc/semop.c: Likewise.
50236         * sysvipc/semtimedop.c: Likewise.
50237         * sysvipc/shmat.c: Likewise.
50238         * sysvipc/shmctl.c: Likewise.
50239         * sysvipc/shmdt.c: Likewise.
50240         * sysvipc/shmget.c: Likewise.
50241         * termios/tcdrain.c: Likewise.
50242         * termios/tcflow.c: Likewise.
50243         * termios/tcflush.c: Likewise.
50244         * termios/tcgetattr.c: Likewise.
50245         * termios/tcgetpgrp.c: Likewise.
50246         * termios/tcsendbrk.c: Likewise.
50247         * termios/tcsetattr.c: Likewise.
50248         * termios/tcsetpgrp.c: Likewise.
50249         * time/adjtime.c: Likewise.
50250         * time/clock.c: Likewise.
50251         * time/getitimer.c: Likewise.
50252         * time/gettimeofday.c: Likewise.
50253         * time/setitimer.c: Likewise.
50254         * time/settimeofday.c: Likewise.
50255         * time/stime.c: Likewise.
50256         * time/time.c: Likewise.
50258 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
50260         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
50261         /usr/old/bin.
50263         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
50264         instead of spaces.
50265         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
50267 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
50269         [BZ #14796]
50270         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
50271         FE_TONEAREST before applying Dekker multiplication and Knuth
50272         addition.  Clear inexact exceptions and check for exact zero
50273         results afterwards.
50274         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
50275         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
50276         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
50277         * math/libm-test.inc (fma_test): Add more tests.
50278         (fma_test_towardzero): Likewise.
50279         (fma_test_downward): Likewise.
50280         (fma_test_upward): Likewise.
50281         * sysdeps/generic/math_private.h (default_libc_fesetround): New
50282         function.
50283         (libc_fesetround): New macro.
50284         (libc_fesetroundf): Likewise.
50285         (libc_fesetroundl): Likewise.
50286         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
50287         function.
50288         (libc_fesetround_387): Likewise.
50289         (libc_fesetroundf): New macro.
50290         (libc_fesetround): Likewise.
50291         (libc_fesetroundl): Likewise.
50292         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
50293         function.
50294         (libc_fesetroundf): New macro.
50295         (libc_fesetround): Likewise.
50296         (libc_fesetroundl): Likewise.
50297         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
50298         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
50299         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
50300         libm_hidden_ver.
50301         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
50302         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
50303         libm_hidden_def.
50304         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
50305         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
50306         libm_hidden_ver.
50307         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
50308         libm_hidden_def.
50310         [BZ #3439]
50311         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
50312         integer constant usable in #if and use that to give value to enum
50313         constant.
50314         (FE_DIVBYZERO): Likewise.
50315         (FE_UNDERFLOW): Likewise.
50316         (FE_OVERFLOW): Likewise.
50317         (FE_INVALID): Likewise.
50318         (FE_INVALID_SNAN): Likewise.
50319         (FE_INVALID_ISI): Likewise.
50320         (FE_INVALID_IDI): Likewise.
50321         (FE_INVALID_ZDZ): Likewise.
50322         (FE_INVALID_IMZ): Likewise.
50323         (FE_INVALID_COMPARE): Likewise.
50324         (FE_INVALID_SOFTWARE): Likewise.
50325         (FE_INVALID_SQRT): Likewise.
50326         (FE_INVALID_INTEGER_CONVERSION): Likewise.
50327         (FE_TONEAREST): Likewise.
50328         (FE_TOWARDZERO): Likewise.
50329         (FE_UPWARD): Likewise.
50330         (FE_DOWNWARD): Likewise.
50331         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
50332         (FE_DIVBYZERO): Likewise.
50333         (FE_OVERFLOW): Likewise.
50334         (FE_UNDERFLOW): Likewise.
50335         (FE_INEXACT): Likewise.
50336         (FE_TONEAREST): Likewise.
50337         (FE_DOWNWARD): Likewise.
50338         (FE_UPWARD): Likewise.
50339         (FE_TOWARDZERO): Likewise.
50340         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
50341         (FE_UNDERFLOW): Likewise.
50342         (FE_OVERFLOW): Likewise.
50343         (FE_DIVBYZERO): Likewise.
50344         (FE_INVALID): Likewise.
50345         (FE_TONEAREST): Likewise.
50346         (FE_TOWARDZERO): Likewise.
50347         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
50348         (FE_OVERFLOW): Likewise.
50349         (FE_UNDERFLOW): Likewise.
50350         (FE_DIVBYZERO): Likewise.
50351         (FE_INEXACT): Likewise.
50352         (FE_TONEAREST): Likewise.
50353         (FE_TOWARDZERO): Likewise.
50354         (FE_UPWARD): Likewise.
50355         (FE_DOWNWARD): Likewise.
50356         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
50357         (FE_DIVBYZERO): Likewise.
50358         (FE_OVERFLOW): Likewise.
50359         (FE_UNDERFLOW): Likewise.
50360         (FE_INEXACT): Likewise.
50361         (FE_TONEAREST): Likewise.
50362         (FE_DOWNWARD): Likewise.
50363         (FE_UPWARD): Likewise.
50364         (FE_TOWARDZERO): Likewise.
50366 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
50368         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
50370 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
50372         * scripts/cross-test-ssh.sh (command): Use newlines to separate
50373         commands.  Quote $PWD.
50374         (blacklist_exports): Don't use remove_newlines.  Replace "declare
50375         -x" by "export".
50376         (remove_newlines): Remove.
50378 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
50380         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
50381         * stdlib/stdlib.h (atof): Moved to ...
50382         * include/bits/stdlib-float.h: Here.  New file.
50383         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
50384         * stdlib/bits/stdlib-float.h: New file.
50385         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
50386         -mno-sse -mno-mmx.
50387         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
50388         <xmmintrin.h>.
50390 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
50392         * conform/conformtest.pl (@headers): Add fenv.h.
50393         * conform/data/fenv.h-data: New file.
50394         * include/fenv.h [_ISOMAC]: Disable all contents of file except
50395         include of <math/fenv.h>.
50397         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
50398         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
50399         && !UNIX98].  Enables tests for XOPEN2K8.
50400         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
50401         POSIX2008]: Likewise.
50403         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
50404         (struct rusage): Do not expect type or its members.
50406         [BZ #3439]
50407         * math/math.h (FP_NAN): Define macro to integer constant usable in
50408         #if and use that to give value to enum constant.
50409         (FP_INFINITE): Likewise.
50410         (FP_ZERO): Likewise.
50411         (FP_SUBNORMAL): Likewise.
50412         (FP_NORMAL): Likewise.
50414 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
50416         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
50417         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
50418         arguments.
50420 2012-11-02  Roland McGrath  <roland@hack.frob.com>
50422         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
50423         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
50424         autoconf-time if not.
50425         * configure.in: Remove AC_PREREQ.
50427 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
50429         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
50430         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
50431         of the internal implementation.
50433 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
50435         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
50436         except include of <misc/sys/syslog.h>.
50438 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
50440         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
50441         function returns with a NULL context exit with zero.
50443 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
50445         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
50447 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
50449         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
50450         (run_program_cmd): This.
50451         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
50452         (tst_langinfo): New variable.  Use it.
50454 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
50456         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
50457         floating point opcodes.
50459 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
50461         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
50462         variable.
50464         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
50466         * sysdeps/mach/hurd/powerpc: Remove directory.
50467         * sysdeps/mach/powerpc: Likewise.
50469 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
50471         * scripts/check-local-headers.sh: Ignore c++ headers.
50473 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
50475         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
50476         __libc_cleanup_region_start argument.
50478 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
50480         [BZ #14784]
50481         [BZ #14785]
50482         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
50483         x * y using scaling, not as x * y + z.
50484         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
50485         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
50486         * math/libm-test.inc (fma_test): Add more tests.
50487         (fma_test_towardzero): Likewise.
50488         (fma_test_downward): Likewise.
50489         (fma_test_upward): Likewise.
50491 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
50493         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
50495 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
50497         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
50498         New variable.
50500 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
50502         * rt/tst-shm.c (worker): Correct checking for mmap failure.
50504 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
50506         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
50507         Fix sort order.
50508         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
50509         Likewise.
50511 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
50513         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
50514         Fix the order of the list for glibc 2.17.
50515         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
50516         Likewise.
50518 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
50520         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50522 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
50524         [BZ #14610]
50525         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
50526         for low part of x being zero before using __atanl (y).
50527         * math/libm-test.inc (atan2_test): Add another test.
50529         * manual/install.texi (Configuring and compiling): Document
50530         general use of test-wrapper and test-wrapper-env.
50531         * INSTALL: Regenerated.
50533         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
50534         (__fma): Do not extract and scale down low bits on after-rounding
50535         systems when result rounded to normal precision would have normal
50536         exponent.
50537         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
50538         (__fmal): Do not extract and scale down low bits on after-rounding
50539         systems when result rounded to normal precision would have normal
50540         exponent.
50541         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
50542         (__fmal): Do not extract and scale down low bits on after-rounding
50543         systems when result rounded to normal precision would have normal
50544         exponent.
50545         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
50546         macro.
50547         (fma_test): Add more tests.
50548         (fma_test_towardzero): Likewise.
50549         (fma_test_downward): Likewise.
50550         (fma_test_upward): Likewise.
50552 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
50554         * sysdeps/i386/tininess.h: Renamed to ...
50555         * sysdeps/x86/tininess.h: This.
50556         * sysdeps/x86_64/tininess.h: Removed.
50558 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
50560         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
50561         input.  Use $(build-program-cmd).
50562         ($(objpfx)tst-array1-static.out): Likewise.
50563         ($(objpfx)tst-array2.out): Likewise.
50564         ($(objpfx)tst-array3.out): Likewise.
50565         ($(objpfx)tst-array4.out): Likewise.
50566         ($(objpfx)tst-array5.out): Likewise.
50567         ($(objpfx)tst-array5-static.out): Likewise.
50569 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
50571         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
50572         if defined.
50574         * nss/nsswitch.h (nss_interface_function): Provide new
50575         macro for use with NSS functions.
50576         * grp/initgroups.c: Use new macro.
50577         * nss/getXXbyYY.c: Likewise.
50578         * nss/getXXbyYY_r.c: Likewise.
50579         * nss/getXXent.c: Likewise.
50580         * nss/getXXent_r.c: Likewise.
50581         * sysdeps/posix/getaddrinfo.c: Likewise.
50583 2012-10-30  Andreas Jaeger  <aj@suse.de>
50585         * po/ru.po: Update Russion translation from translation project.
50587 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
50589         [BZ #14152]
50590         [BZ #14783]
50591         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
50592         result and shift together with sticky bit instead of replicating
50593         round-to-nearest rounding.
50594         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
50595         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
50596         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
50597         missing underflow exceptions.
50598         (fma_test_towardzero): Add more tests.
50599         (fma_test_downward): Likewise.
50600         (fma_test_upward): Likewise.
50602         [BZ #14047]
50603         * sysdeps/generic/tininess.h: New file.
50604         * sysdeps/i386/tininess.h: Likewise.
50605         * sysdeps/sh/tininess.h: Likewise.
50606         * sysdeps/x86_64/tininess.h: Likewise.
50607         * stdlib/tst-strtod-underflow.c: Likewise.
50608         * stdlib/tst-tininess.c: Likewise.
50609         * stdlib/strtod_l.c: Include <tininess.h>.
50610         (round_and_return): Do not set errno for exact underflow cases.
50611         Force an underflow exception when setting errno for underflow.
50612         Determine underflow based on rounding to normal precision if
50613         TININESS_AFTER_ROUNDING.
50614         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
50615         ERANGE for exact underflow cases.
50616         * stdlib/Makefile (tests): Add tst-tininess and
50617         tst-strtod-underflow.
50618         ($(objpfx)tst-tininess): Use $(link-libm).
50619         ($(objpfx)tst-strtod-underflow): Likewise.
50621 2012-10-30  Andreas Jaeger  <aj@suse.de>
50623         [BZ#14767]
50624         * elf/Makefile (tests): Remove conditional for have-initfini-array
50625         since this is now always required and the variable does not exist
50626         anymore.
50627         (tests-static): Likewise.
50628         (modules-names): Likewise.
50630         * po/eo.po: Add Esperanto translation from translation project.
50632         * elf/tst-array1.c (fini_array): Make writeable so that it can be
50633         merged with constructor/destructor.
50634         (init_array): Likewise.
50635         * elf/tst-array2dep.c (fini_array): Likewise.
50636         (init_array): Likewise.
50638 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
50640         * manual/message.texi: Delete @cartouche tags.
50642 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
50644         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
50645         EOPNOTSUPP.
50646         * sysdeps/mach/hurd/fsync.c: Likewise.
50648         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
50649         [_POSIX_REALTIME_SIGNALS]: Change condition to
50650         [_POSIX_REALTIME_SIGNALS > 0].
50652 2012-10-27  Andreas Jaeger  <aj@suse.de>
50654         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
50655         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
50656         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
50657         [__WORDSIZE != 64]: Likewise.
50659 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
50661         *  iconvdata/tst-table.sh: Remove ${SHELL}.
50662         *  iconvdata/tst-tables.sh: Likewise.
50664 2012-10-25  David S. Miller  <davem@davemloft.net>
50666         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
50667         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
50668         of strtoull.
50670         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
50671         ifunc-impl-list.c
50672         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
50673         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
50674         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
50675         file.
50677 2012-10-25  Roland McGrath  <roland@hack.frob.com>
50679         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
50680         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
50681         __getdirentries.
50683 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
50684             Jim Blandy  <jimb@codesourcery.com>
50686         * scripts/cross-test-ssh.sh: New file.
50687         * manual/install.texi (Configuring and compiling): Document use of
50688         cross-test-ssh.sh.
50689         * INSTALL: Regenerated.
50691 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
50693         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
50694         EOPNOTSUPP.
50696 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
50698         * Makeconfig (run-program-prefix): Fix comment.
50700 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
50701             Jim Blandy  <jimb@codesourcery.com>
50703         * Makeconfig (test-wrapper): New variable,
50704         (test-wrapper-env): Likewise.
50705         [$(cross-compiling) = yes && $(test-wrapper) != ""]
50706         (run-built-tests): Define to yes.
50707         (run-program-prefix): Use $(test-wrapper).
50708         (built-program-cmd): Likewise.
50709         * Rules (make-test-out): Use $(test-wrapper-env) and
50710         $(host-built-program-cmd).
50711         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
50712         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
50713         tst-pathopt.sh.
50714         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
50715         $(test-wrapper-env) to tst-rtld-load-self.sh.
50716         ($(objpfx)order2.out): Use $(test-wrapper).
50717         ($(objpfx)tst-initorder.out): Likewise.
50718         ($(objpfx)tst-initorder2.out): Likewise.
50719         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
50720         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
50721         (test_wrapper_env): New variable.  Use it to run ld.so.
50722         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
50723         Use it to run ld.so.
50724         (test_wrapper_env): Likewise.
50725         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
50726         $(test-wrapper) to run-iconv-test.sh.
50727         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
50728         (ICONV): Use $test_wrapper.
50729         * posix/Makefile ($(objpfx)globtest.out): Pass
50730         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
50731         globtest.sh, not $(run-program-prefix).
50732         * posix/globtest.sh (run_via_rtld_prefix): New variable.
50733         (test_wrapper): Likewise.
50734         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
50735         set together with run_via_rtld_prefix.
50736         (run_program_prefix): Define in terms of test_wrapper and
50737         run_via_rtld_prefix.
50739 2012-10-24  Roland McGrath  <roland@hack.frob.com>
50741         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
50742         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
50743         Targets removed.
50745         [BZ #14743]
50746         * include/time.h: Remove librt_hidden_proto (clock_gettime).
50747         Declare __clock_getres, __clock_gettime, __clock_settime,
50748         __clock_nanosleep, and __clock_getcpuclockid.
50749         * rt/clock_gettime.c: Define __clock_gettime as an alias.
50750         Remove librt_hidden_def (clock_gettime).
50751         * sysdeps/unix/clock_gettime.c: Likewise.
50752         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
50753         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
50754         * rt/clock_getres.c: Define __clock_getres as an alias.
50755         * sysdeps/posix/clock_getres.c: Likewise.
50756         * rt/clock_settime.c: Define __clock_settime as an alias.
50757         * sysdeps/unix/clock_settime.c: Likewise.
50758         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
50759         * sysdeps/unix/clock_nanosleep.c: Likewise.
50760         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
50761         * rt/clock-compat.c: New file.
50762         * rt/Makefile (librt-routines): Add clock-compat and move
50763         $(clock-routines) to ...
50764         (routines): ... here, new variable.
50765         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
50766         Don't add get_clockfreq here.
50767         * rt/Versions (libc: GLIBC_2.17): New version set.
50768         Add clock_* symbols here.
50769         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
50770         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
50771         (GLIBC_2.17): Add clock_* symbols.
50772         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
50773         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
50774         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
50775         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
50776         Likewise.
50777         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
50778         Likewise.
50779         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
50780         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
50781         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
50782         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
50783         * NEWS: Mention the move.
50785         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
50786         Use __open, __read, __close rather than their public counterparts.
50787         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
50788         (__get_clockfreq_via_cpuinfo): Likewise.
50789         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
50790         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
50792         * config.h.in (HAVE_IFUNC): New #undef.
50793         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
50794         was successful.
50795         * configure: Regenerated.
50797 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
50799         * configure.in: Move READELF check to start of file.
50800         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
50801         libc_cv_asm_gnu_indirect_function in the process.
50802         * configure: Regenerated.
50804 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
50806         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
50807         send the output to /dev/null.
50808         (libc_cv_cc_with_libunwind): Likewise.
50809         (libc_cv_as_noexecstack): Likewise.
50810         * configure: Regenerate.
50812 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
50814         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
50816         * posix/globtest.sh (TMPDIR): Do not set.
50817         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
50818         (testout): Likewise.
50820 2012-10-24  Andreas Jaeger  <aj@suse.de>
50822         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
50823         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
50824         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
50825         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
50826         posix_fadvise64, posix_fallocate64.
50828         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
50829         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
50830         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
50831         Likewise.
50832         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
50833         Likewise.
50834         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
50836         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
50837         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
50838         <bits/fcntl-linux.h>.
50839         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
50841         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
50842         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
50843         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
50844         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
50845         [__WORDSIZE != 64]: Likewise.
50847 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
50849         * Makeconfig (run-built-tests): New variable.
50850         * Rules [$(cross-compiling) = yes]: Change condition to
50851         [$(run-built-tests) = no].
50852         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
50853         to [$(run-built-tests) = yes].
50854         * elf/Makefile [$(cross-compiling) = no]: Likewise
50855         * grp/Makefile [$(cross-compiling) = no]: Likewise.
50856         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
50857         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
50858         * intl/Makefile [$(cross-compiling) = no]: Likewise.
50859         * io/Makefile [$(cross-compiling) = no]: Likewise.
50860         * libio/Makefile [$(cross-compiling) = no]: Likewise.
50861         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
50862         * misc/Makefile [$(cross-compiling) = no]: Likewise.
50863         * posix/Makefile [$(cross-compiling) = no]: Likewise.
50864         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
50865         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
50866         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
50867         * string/Makefile [$(cross-compiling) = no]: Likewise.
50869         * posix/Makefile ($(objpfx)globtest.out): Pass
50870         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
50871         $(rtld-installed-name).
50872         * posix/globtest.sh (elf_objpfx): Remove variable.
50873         (rtld_installed_name): Likewise.
50874         (library_path): Likewise.
50875         (run_program_prefix): New variable.  Use for running globtest
50876         binary.
50878 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
50879             Joseph Myers  <joseph@codesourcery.com>
50881         * Makeconfig (host-built-program-cmd): New variable.
50882         * elf/Makefile (tst-stackguard1-ARGS): Use
50883         $(host-built-program-cmd).
50884         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
50885         (tst-spawn-ARGS): Likewise.
50886         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
50888 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
50889             Jim Blandy  <jimb@codesourcery.com>
50891         * Makeconfig (run-via-rtld-prefix): New variable.
50892         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
50893         (built-program-cmd): Likewise.
50895 2012-10-22  Andreas Jaeger  <aj@suse.de>
50897         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
50898         __O_RSYNC if it exists, otherwise to O_SYNC.
50900 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
50901             Joseph Myers  <joseph@codesourcery.com>
50903         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
50904         /dev/null.
50905         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
50906         from /dev/null
50907         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
50908         /dev/null.
50910 2012-10-22  Andreas Jaeger  <aj@suse.de>
50912         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
50913         Define always.
50914         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
50916         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
50917         bits/fcntl-linux.h.
50919         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
50920         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
50922         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
50923         to __O_LARGEFILE.
50924         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
50925         to __O_LARGEFILE.
50927 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
50928             Joseph Myers  <joseph@codesourcery.com>
50930         * config.make.in (NM): New variable.
50932 2012-10-21  Andreas Jaeger  <aj@suse.de>
50934         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
50935         definitions and declarations that are provided by
50936         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
50938 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
50940         [BZ #14683]
50941         * elf/Makefile (tests-static): Add tst-leaks1-static.
50942         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
50943         ($(objpfx)tst-leaks1-static): New rule.
50944         ($(objpfx)tst-leaks1-static-mem): Likewise.
50945         (tst-leaks1-static-ENV): New macro.
50946         * elf/dl-open.c (dl_open_worker): Check the main application
50947         only if SHARED is defined.
50948         * elf/tst-leaks1-static.c: New file.
50950 2012-10-20  Andreas Jaeger  <aj@suse.de>
50952         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
50953         generic values for Linux.
50954         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
50955         and declarations that are provided by <bits/fcntl-linux.h> and
50956         include <bits/fcntl-linux.h>.
50957         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
50958         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
50960 2012-10-20  Roland McGrath  <roland@hack.frob.com>
50962         * io/fcntl.h: Move include of <bits/types.h> to the top and
50963         include it unconditionally.
50965 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
50967         * wcsmbs/Makefile (tests-ifunc): New variable.
50968         (tests): Add $(tests-ifunc).
50969         * wcsmbs/test-wcschr-ifunc.c: New file.
50970         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
50971         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
50972         * wcsmbs/test-wcslen-ifunc.c: Likewise.
50973         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
50974         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
50976         * string/Makefile (tests-ifunc): New variable.
50977         (tests): Add $(tests-ifunc).
50978         * string/test-memccpy.c (TEST_NAME): New macro.
50979         * string/test-memchr.c (TEST_NAME): Likewise.
50980         * string/test-memcmp.c (TEST_NAME): Likewise.
50981         * string/test-memcpy.c (TEST_NAME): Likewise.
50982         * string/test-memmem.c (TEST_NAME): Likewise.
50983         * string/test-memmove.c (TEST_NAME): Likewise.
50984         * string/test-memset.c (TEST_NAME): Likewise.
50985         * string/test-rawmemchr.c (TEST_NAME): Likewise.
50986         * string/test-stpcpy.c (TEST_NAME): Likewise.
50987         * string/test-stpncpy.c (TEST_NAME): Likewise.
50988         * string/test-strcasecmp.c (TEST_NAME): Likewise.
50989         * string/test-strcasestr.c (TEST_NAME): Likewise.
50990         * string/test-strcat.c (TEST_NAME): Likewise.
50991         * string/test-strchr.c (TEST_NAME): Likewise.
50992         * string/test-strcmp.c(TEST_NAME): Likewise.
50993         * string/test-strcpy.c (TEST_NAME): Likewise.
50994         * string/test-strcspn.c (TEST_NAME): Likewise.
50995         * string/test-strlen.c (TEST_NAME): Likewise.
50996         * string/test-strncasecmp.c (TEST_NAME): Likewise.
50997         * string/test-strncmp.c (TEST_NAME): Likewise.
50998         * string/test-strncpy.c (TEST_NAME): Likewise.
50999         * string/test-strnlen.c (TEST_NAME): Likewise.
51000         * string/test-strpbrk.c (TEST_NAME): Likewise.
51001         * string/test-strrchr.c (TEST_NAME): Likewise.
51002         * string/test-strspn.c (TEST_NAME): Likewise.
51003         * string/test-strstr.c (TEST_NAME): Likewise.
51004         * string/test-bcopy-ifunc.c: New file.
51005         * string/test-bzero-ifunc.c: Likewise.
51006         * string/test-memccpy-ifunc.c: Likewise.
51007         * string/test-memchr-ifunc.c: Likewise.
51008         * string/test-memcmp-ifunc.c: Likewise.
51009         * string/test-memcpy-ifunc.c: Likewise.
51010         * string/test-memmem-ifunc.c: Likewise.
51011         * string/test-memmove-ifunc.c: Likewise.
51012         * string/test-mempcpy-ifunc.c: Likewise.
51013         * string/test-memset-ifunc.c: Likewise.
51014         * string/test-rawmemchr-ifunc.c: Likewise.
51015         * string/test-stpcpy-ifunc.c: Likewise.
51016         * string/test-stpncpy-ifunc.c: Likewise.
51017         * string/test-strcasecmp-ifunc.c: Likewise.
51018         * string/test-strcasestr-ifunc.c: Likewise.
51019         * string/test-strcat-ifunc.c: Likewise.
51020         * string/test-strchr-ifunc.c: Likewise.
51021         * string/test-strchrnul-ifunc.c: Likewise.
51022         * string/test-strcmp-ifunc.c: Likewise.
51023         * string/test-strcpy-ifunc.c: Likewise.
51024         * string/test-strcspn-ifunc.c: Likewise.
51025         * string/test-strlen-ifunc.c: Likewise.
51026         * string/test-strncasecmp-ifunc.c: Likewise.
51027         * string/test-strncat-ifunc.c: Likewise.
51028         * string/test-strncmp-ifunc.c: Likewise.
51029         * string/test-strncpy-ifunc.c: Likewise.
51030         * string/test-strnlen-ifunc.c: Likewise.
51031         * string/test-strpbrk-ifunc.c: Likewise.
51032         * string/test-strrchr-ifunc.c: Likewise.
51033         * string/test-strspn-ifunc.c: Likewise.
51034         * string/test-strstr-ifunc.c: Likewise.
51036         * debug/Makefile (tests-ifunc): New variable.
51037         (tests): Add $(tests-ifunc).
51038         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
51039         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
51040         * debug/test-stpcpy_chk-ifunc.c: New file.
51041         * debug/test-strcpy_chk-ifunc.c: Likewise.
51043 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
51045         [BZ #13601]
51046         * elf/dl-load.c (open_verify): Retry read if the entire ELF
51047         header is not read in.
51049 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
51051         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
51052         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
51053         directly.  Pass built executable to script as
51054         $(built-program-cmd).
51055         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
51056         $testprogram without using LD_LIBRARY_PATH and $ldso.
51058         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
51059         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
51060         $(rtld-installed-name).
51061         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
51062         (rtld_installed_name): Likewise.
51063         (library_path): Likewise.
51064         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
51065         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
51066         $(run-program-prefix) to tst-tables.sh.
51067         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
51068         it to run tst-table-from and tst-table-to.
51069         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
51070         Pass it to tst-table.sh.
51071         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
51072         $(run-program-prefix) to tst-gettext.sh.
51073         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
51074         tst-translit.sh.
51075         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
51076         tst-gettext2.sh.
51077         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
51078         to run tst-gettext.
51079         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
51080         to run tst-gettext2.
51081         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
51082         to run tst-translit.
51083         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
51084         $(run-program-prefix) to tst-mtrace.sh.
51085         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
51086         to run tst-mtrace.
51087         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
51088         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
51089         $(rtld-installed-name).
51090         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
51091         (rtld_installed_name): Likewise.
51092         (run_program_prefix): New variable.  Use it to run wordexp-test.
51094         * Makeconfig (ARCH): Remove all definitions.
51095         (machine): Likewise.
51096         [ARCH]: Remove conditional code.
51097         [!objdir]: Give error.
51098         [!objdir] (objpfx): Remove.
51099         [!objdir] (common-objpfx): Likewise.
51100         [!objdir] (common-objdir): Likewise.
51101         * configure.in (config_makefile): Remove.  Hardcode Makefile in
51102         AC_CONFIG_FILES call.
51103         * configure: Regenerated.
51105         [BZ #13888]
51106         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
51107         or TMPDIR.
51108         (testout): Likewise.
51110         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
51111         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
51112         $(rtld-installed-name).
51113         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
51114         (rtld_installed_name): Likwise.
51115         (runit): Remove function.
51116         (run_getconf): New variable,  Use it for running getconf binary.
51118 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
51120         [BZ #14716]
51121         * string/test-memmem.c (check_result): New function.
51122         (do_one_test): Use it.
51123         (check1): New function.
51124         (test_main): Use it.
51126 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
51128         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
51130 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
51132         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
51133         (_G_LSEEK64): Likewise.
51134         (_G_MMAP64): Likewise.
51135         (_G_FSTAT64): Likewise.
51136         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
51137         (_G_LSEEK64): Likewise.
51138         (_G_MMAP64): Likewise.
51139         (_G_FSTAT64): Likewise.
51140         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
51141         unconditional.  Call __mmap64 directly.
51142         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
51143         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
51144         __lseek64 directly.
51145         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
51146         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
51147         __mmap64 directly.
51148         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
51149         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
51150         __lseek64 directly.
51151         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
51152         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
51153         __lseek64 directly.
51154         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
51155         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
51156         __lseek64 directly.
51157         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
51158         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
51159         __fxstat64 directly.
51160         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
51161         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
51162         unconditional.
51163         (freopen64) [!_G_OPEN64]: Remove conditional code.
51164         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
51165         unconditional.
51166         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
51167         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
51168         unconditional.
51169         (ftello64) [!_G_LSEEK64]: Remove conditional code.
51170         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
51171         unconditional.
51172         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
51173         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
51174         unconditional.
51175         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
51176         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
51177         unconditional.
51178         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
51179         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
51180         unconditional.
51181         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
51182         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
51183         unconditional.
51184         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
51186 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
51188         [BZ #12140]
51189         * manual/memory.texi (Malloc Tunable Parameters): Add note
51190         about free list pointers overwriting some perturb bytes.
51191         Wording suggested by Roland McGrath.
51193 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
51195         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
51196         (lgamma_test): Likewise.
51197         (tgamma_test): Likewise.
51199 2012-10-16  Florian Weimer  <fweimer@redhat.com>
51201         [BZ #14700]
51202         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
51203         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
51205 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
51207         * NEWS: Mention BZ #14716.
51208         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
51209         when removing AVAILABLE1_USES_J macro.
51211 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
51213         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
51214         (__bswap_64): __uint64_t for unsigned 64-bit int.
51216 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
51218         * include/string.h (memmem): Declare libc hidden alias.
51219         * string/memmem.c (memmem): Define libc hidden alias.
51220         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
51221         __read, __close instead of open, read, close.
51223 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
51225         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
51226         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
51227         global and hidden.
51228         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
51229         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
51230         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
51231         Likewise.
51232         (__rawmemchr_sse2): Likewise.
51233         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
51234         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
51235         (__strchr_sse2): Likewise.
51236         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
51237         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
51238         (__strcasecmp_sse2): Likewise.
51239         (__strncasecmp_sse2): Likewise.
51240         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
51241         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
51242         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
51243         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
51244         (__strrchr_sse2): Likewise.
51245         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
51246         ifunc-impl-list.c.
51247         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
51248         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
51249         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
51250         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
51251         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
51252         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
51253         * sysdeps/x86_64/multiarch/memset.S: Likewise.
51254         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
51255         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
51256         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
51257         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
51258         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
51259         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
51260         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
51261         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
51262         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
51263         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
51264         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
51265         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
51266         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
51267         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
51268         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
51269         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
51270         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
51271         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
51272         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
51273         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
51274         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
51275         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
51276         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
51278         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
51279         global and hidden.
51280         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
51281         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
51282         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
51283         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
51284         Likewise.
51285         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
51286         Likewise.
51287         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
51288         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
51289         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
51290         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
51291         ifunc-impl-list.c.
51292         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
51293         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
51294         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
51295         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
51296         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
51297         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
51298         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
51299         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
51300         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
51301         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
51302         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
51303         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
51304         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
51305         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
51306         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
51307         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
51308         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
51309         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
51310         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
51311         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
51312         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
51313         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
51314         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
51315         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
51316         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
51317         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
51318         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
51319         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
51320         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
51321         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
51322         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
51323         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
51324         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
51325         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
51326         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
51327         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
51328         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
51329         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
51330         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
51331         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
51332         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
51334         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
51335         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
51336         * include/ifunc-impl-list.h: New file.
51337         * misc/ifunc-impl-list.c: Likewise.
51338         * misc/Makefile (routines): Add ifunc-impl-list.
51339         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
51340         * string/test-string.h: Include <ifunc-impl-list.h>.
51341         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
51342         TEST_NAME]: New variables.
51343         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
51344         are defined.
51345         (test_init): Call __libc_ifunc_impl_list to initialize
51346         func_list if TEST_IFUNC and TEST_NAME are defined.
51348         * string/Makefile (strop-tests): Add bcopy and bzero.
51349         * string/test-bcopy.c: New file.
51350         * string/test-bzero.c: Likewise.
51351         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
51352         defined.
51353         * string/test-memset.c: Support bzero test if TEST_BZERO is
51354         defined.
51355         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
51356         __libc_memmove.
51357         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
51358         __libc_memset.
51359         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
51360         of memset.
51362 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
51364         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
51365         * configure: Regenerated.
51367         * Makeconfig (+link-static-before-libc): Don't include
51368         $(link-static-libc).
51370         * libio/libio.h (_IO_pos_t): Remove.
51372 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
51374         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
51375         McGrath.
51377 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
51379         * crypt/crypt-entry.c: Include fips-private.h.
51380         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
51381         * crypt/md5c-test.c (main): Tolerate disabled MD5.
51382         * sysdeps/unix/sysv/linux/fips-private.h: New file.
51383         * sysdeps/generic/fips-private.h: New file, dummy fallback.
51385 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
51387         * crypt/crypt-private.h: Include stdbool.h.
51388         (_ufc_setup_salt_r): Return bool.
51389         * crypt/crypt-entry.c: Include errno.h.
51390         (__crypt_r): Return NULL with EINVAL for bad salt.
51391         * crypt/crypt_util.c (bad_for_salt): New.
51392         (_ufc_setup_salt_r): Check that salt is long enough and within
51393         the specified alphabet.
51394         * crypt/badsalttest.c: New file.
51395         * crypt/Makefile (tests): Add it.
51396         ($(objpfx)badsalttest): New.
51398 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
51400         * NEWS: Add entry for BZ #14602.
51402 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
51404         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
51405         type-generic.
51406         * math/libm-test.inc: Update comment listing what functions and
51407         macros are tested.
51408         (isgreater_test): New function.
51409         (isgreaterequal_test): Likewise.
51410         (isless_test): Likewise.
51411         (islessequal_test): Likewise.
51412         (islessgreater_test): Likewise.
51413         (isunordered_test): Likewise.
51414         (main): Call the new functions.
51416 2012-10-09  Roland McGrath  <roland@hack.frob.com>
51418         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
51419         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
51420         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
51421         * sysdeps/i386/configure: Regenerated.
51422         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
51423         * sysdeps/mach/configure: Regenerated.
51424         * sysdeps/mach/hurd/configure: Regenerated.
51425         * sysdeps/powerpc/configure: Regenerated.
51426         * sysdeps/powerpc/powerpc32/configure: Regenerated.
51427         * sysdeps/powerpc/powerpc64/configure: Regenerated.
51428         * sysdeps/s390/s390-32/configure: Regenerated.
51429         * sysdeps/s390/s390-64/configure: Regenerated.
51430         * sysdeps/sh/configure: Regenerated.
51431         * sysdeps/sparc/configure: Regenerated.
51432         * sysdeps/unix/sysv/linux/configure: Regenerated.
51433         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
51434         * sysdeps/x86_64/configure: Regenerated.
51436         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
51437         defined.  Don't check if MAP is NULL.
51439 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
51441         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
51442         (_G_stat64): Likewise.
51443         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
51444         (_G_stat64): Likewise.
51445         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
51446         instead of struct _G_stat64.
51447         * libio/fileops.c (mmap_remap_check): Likewise.
51448         (decide_maybe_mmap): Likewise.
51449         (_IO_new_file_seekoff): Likewise.
51450         (_IO_file_stat): Likewise.
51451         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
51452         _G_off64_t.
51453         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
51454         instead of struct _G_stat64.
51455         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
51457 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
51459         [BZ #14602]
51460         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
51461         Replace with ...
51462         (CHECK_EOL): New macro.
51463         (two_way_short_needle): Check beginning of haystack for EOL.  Use
51464         CHECK_EOL.
51465         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
51466         Replace with CHECK_EOL.
51467         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
51468         Replace with CHECK_EOL.
51470 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
51472         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
51473         type-generic.
51474         * math/libm-test.inc: Update comment listing what functions and
51475         macros are tested.
51476         (finite_test): New function.
51477         (isinf_test): Likewise.
51478         (isnan_test): Likewise.
51479         (fpclassify_test): Test subnormal input.
51480         (isfinite_test): Likewise.
51481         (isnormal_test): Likewise.
51482         (main): Call the new functions.
51484 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
51486         [BZ #14660]
51487         * Makerules (%.dynsym): Force C locale when running
51488         $(OBJDUMP) --dynamic-syms.
51490 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
51492         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
51493         <stdint.h>.
51495 2012-10-06  David S. Miller  <davem@davemloft.net>
51497         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
51498         upper 32-bits of the length value in %o2 since we use branch-on-register
51499         tests which consider the entire 64-bit register.
51501 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
51503         * string/test-strstr.c (check2): Add a test for page boundary.
51505 2012-10-05  David S. Miller  <davem@davemloft.net>
51507         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
51508         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
51509         file.
51510         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
51511         sysdep_routines.
51512         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
51513         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
51514         and bzero when HWCAP_SPARC_CRYPTO is present.
51516 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
51518         [BZ #14602]
51519         * string/test-strstr.c (check2): New function.
51520         (test_main): Call check2.
51522         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
51523         and bug-strchr1.
51524         * string/bug-strcasestr1.c (do_test): Moved to ...
51525         * string/test-strcasestr.c (check1): Here.  New function.
51526         (do_one_test): Break out result checking code into ...
51527         (check_result): This.  New function.
51528         (do_one_test): Call check_result.
51529         (test_main): Call check1.
51530         * string/bug-strchr1.c (do_test): Moved to ...
51531         * string/test-strchr.c (check1): Here.  New function.
51532         (do_one_test): Break out result checking code into ...
51533         (check_result): This.  New function.
51534         (do_one_test): Call check_result.
51535         (test_main): Call check1.
51536         * string/bug-strstr1.c (main): Moved to ...
51537         * string/test-strstr.c (check1): Here.  New function.
51538         (do_one_test): Break out result checking code into ...
51539         (check_result): This.  New function.
51540         (do_one_test): Call check_result.
51541         (test_main): Call check1.
51542         * string/bug-strcasestr1.c: Removed.
51543         * string/bug-strchr1.c: Likewise.
51544         * string/bug-strstr1.c: Likewise.
51546         * elf/Makefile (dl-routines): Add hwcaps.
51547         * elf/dl-support.c (_dl_important_hwcaps): Removed.
51548         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
51549         (_dl_important_hwcaps): Moved to ...
51550         * elf/dl-hwcaps.c: Here.  New file.
51551         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
51553         [BZ #14557]
51554         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
51555         if IS_IN_rtld isn't defined.
51557         * elf/dl-support.c (_dl_sysinfo_map): New.
51558         Include "get-dynamic-info.h" and "setup-vdso.h".
51559         (_dl_non_dynamic_init): Call setup_vdso.
51560         * elf/dynamic-link.h: Don't include <assert.h>.
51561         (elf_get_dynamic_info): Moved to ...
51562         * elf/get-dynamic-info.h: Here.  New file.
51563         * elf/dynamic-link.h: Include "get-dynamic-info.h".
51564         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
51565         * elf/setup-vdso.h: Here.  New file.
51566         * elf/rtld.c: Include "setup-vdso.h".
51567         (dl_main): Call setup_vdso.
51569 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
51571         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
51572         creal in comment listing functions tested.  List finite, isinf,
51573         isnan, isless, islessequal, isgreater, isgreaterequal,
51574         islessgreater, isunordered, lgamma_r and pow10 as functions and
51575         macros not tested.  Mention which functions not tested are aliases
51576         for other functions.  Fix typo.  Note that signs of NaNs are not
51577         tested.
51579         * scripts/config.guess: Update from config.git.
51580         * scripts/config.sub: Likewise.
51582 2012-10-04  Roland McGrath  <roland@hack.frob.com>
51584         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
51585         * misc/madvise.c (madvise): Renamed to __madvise.
51586         Make madvise a weak alias.
51587         * include/sys/mman.h: Declare __madvise.
51588         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
51589         * sysdeps/unix/syscalls.list
51590         (madvise): Make __madvise the strong name, and madvise a weak alias.
51591         * sysdeps/unix/sysv/linux/syscalls.list
51592         (madvise, mmap): Remove redundant entries.
51593         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
51594         * malloc/malloc.c (mtrim): Likewise.
51595         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
51597 2012-10-03  Roland McGrath  <roland@hack.frob.com>
51599         * sysdeps/mach/hurd/dl-cache.c: File removed.
51600         * config.h.in (USE_LDCONFIG): New #undef.
51601         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
51602         * configure: Regenerated.
51603         * elf/Makefile (dl-routines): Add dl-cache only under
51604         [$(use-ldconfig) = yes].
51605         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
51606         cache on [USE_LDCONFIG].
51607         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
51608         [USE_LDCONFIG].
51609         * elf/rtld.c (dl_main): Likewise.
51611 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
51613         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
51614         _SC_LEVEL4_CACHE_LINESIZE.
51616 2012-10-03  Roland McGrath  <roland@hack.frob.com>
51618         * sysdeps/unix/bsd/confstr.h: File removed.
51620 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
51622         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
51623         sys/sdt-config.h.
51625 2012-10-02  Roland McGrath  <roland@hack.frob.com>
51627         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
51628         Make 'mapoff' field ElfW(Off) rather than off_t.
51630 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
51632         * nscd/Makefile: Remove nscd-cflags and all its users.
51633         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
51634         (CFLAGS-nonlib): Add compiler flags for nscd modules.
51636         [BZ #10631]
51637         * malloc.c (malloc_printerr): Clarify error message.
51639 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
51641         [BZ #14648]
51642         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
51643         Set bit_FMA_Usable if FMA is supported.
51644         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
51645         macro.
51646         (bit_FMA4_Usable): Updated.
51647         (index_FMA_Usable): New macro.
51648         (CPUID_FMA): Likewise
51649         (HAS_FMA): Defined with bit_FMA_Usable.
51651 2012-10-01  Roland McGrath  <roland@hack.frob.com>
51653         * bits/types.h (__swblk_t): Type removed.
51654         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
51655         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
51656         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
51657         (__SWBLK_T_TYPE): Likewise.
51658         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
51659         (__SWBLK_T_TYPE): Likewise.
51660         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
51661         (__SWBLK_T_TYPE): Likewise.
51662         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
51663         (__SWBLK_T_TYPE): Likewise.
51665 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
51666             Honza Horak <hhorak@redhat.com>
51668         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
51669         (xdr_mapname): Use YPMAXMAP as maxsize.
51670         (xdr_peername): Use YPMAXPEER as maxsize.
51671         (xdr_keydat): Use YPAXRECORD as maxsize.
51672         (xdr_valdat): Use YPMAXRECORD as maxsize.
51674 2012-10-01  Roland McGrath  <roland@hack.frob.com>
51676         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
51678         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
51679         * csu/init-first.c: ... here.
51680         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
51681         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
51682         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
51683         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
51684         * sysdeps/i386/init-first.c: File removed.
51685         * sysdeps/sh/init-first.c: File removed.
51687 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
51689         [BZ #14645]
51690         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
51691         if x * y might underflow to zero and z is zero.
51692         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
51693         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
51694         * math/libm-test.inc (min_subnorm_value): New variable.
51695         (fma_test): Add more tests.
51696         (fma_test_towardzero): Likewise.
51697         (fma_test_downward): Likewise
51698         (fma_test_upward): Likewise.
51699         (initialize): Set min_subnorm_value.
51701 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
51703         [BZ #14638]
51704         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
51705         0 + 0.
51706         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
51707         mode for addition resulting in exact zero.
51708         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
51709         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
51710         exact 0 + 0.
51711         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
51712         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
51713         * math/libm-test.inc (fma_test): Add more tests.
51714         (fma_test_towardzero): New function.
51715         (fma_test_downward): Likewise.
51716         (fma_test_upward): Likewise.
51717         (main): Call the new functions.
51719 2012-09-28  David S. Miller  <davem@davemloft.net>
51721         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
51723 2012-09-28  Roland McGrath  <roland@hack.frob.com>
51725         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
51726         instead of SIGALRM.
51728         * sysdeps/gnu/_G_config.h: Moved to ...
51729         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
51730         * sysdeps/mach/hurd/_G_config.h: Moved to ...
51731         * sysdeps/generic/_G_config.h: ... here.
51733         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
51735         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
51737         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
51738         Conditionalize target on [libnss_test1.so-version].
51740         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
51742         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
51743         (elfobjdir): Move out of conditionals.
51745         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
51746         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
51747         (__nss_lookup_function): Conditionalize label remove_from_tree on
51748         [!DO_STATIC_NSS || SHARED], matching its only use.
51750 2012-09-28  David S. Miller  <davem@davemloft.net>
51752         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
51753         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
51754         file.
51755         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
51756         sysdep_routines.
51757         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
51758         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
51759         when HWCAP_SPARC_CRYPTO is present.
51761 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
51763         * io/tst-mknodat.c: Create a FIFO instead of a socket.
51765 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
51767         [BZ #6530]
51768         * stdio-common/vfprintf.c (process_string_arg): Revert
51769         2000-07-22 change.
51771 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
51773         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
51774         for testcase.
51775         * stdio-common/tst-sprintf.c: Include <locale.h>
51776         (main): Test sprintf's handling of incomplete multibyte
51777         characters.
51779 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
51781         * elf/dl-runtime.c (VERSYMIDX): Removed.
51782         * elf/dl-version.c (VERSYMIDX): Likewise.
51783         * elf/do-rel.h (VERSYMIDX): Likewise.
51784         (VALIDX): Likewise.
51785         * elf/dynamic-link.h (VERSYMIDX): Likewise.
51786         * elf/rtld.c (VALIDX): Likewise.
51787         (ADDRIDX): Likewise.
51788         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
51789         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
51790         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
51791         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
51792         (VALIDX): Likewise.
51793         (ADDRIDX): Likewise.
51795 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
51797         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
51799 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
51801         [BZ #11438]
51802         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
51803         to global scope.
51804         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
51805         addresses are in the same scope as 192.0.2/24.
51806         * posix/gai.conf: Document new scope table defaults.
51808 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
51810         [BZ #5298]
51811         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
51812         for ftell.  Compute offsets from write pointers instead.
51813         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
51815 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
51817         [BZ #14543]
51818         * libio/Makefile (tests): New test case tst-fseek.
51819         * libio/tst-fseek.c: New test case to verify that fseek/ftell
51820         combination works in wide mode.
51821         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
51822         state when the external buffer state changes.
51824 2012-09-27  David S. Miller  <davem@davemloft.net>
51826         [BZ #14376]
51827         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
51828         pass reloc->r_addend in as the 'high' argument to
51829         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
51831         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51833 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
51835         * rt/tst-aio2.c: Include <pthread.h>.
51836         * rt/tst-aio3.c: Likewise.
51838 2012-09-27  Steve Ellcey  <sellcey@mips.com>
51840         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
51842 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
51844         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
51845         contents on [SHARED].
51847 2012-09-26  Marek Polacek  <polacek@redhat.com>
51849         [BZ #14530]
51850         [BZ #13741]
51851         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
51852         for C++ and GCC <4.3 as well as for non GCC compilers.
51854 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
51856         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
51858 2012-09-25  Roland McGrath  <roland@hack.frob.com>
51860         * Makefile.in (all, install): Declare with .PHONY.
51861         Reported by Michael Hope <michael.hope@linaro.org>.
51863 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
51865         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
51866         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
51867         system header.
51868         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
51869         Likewise.
51870         (sydep_routines): Add the new and the internal functions.
51871         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
51872         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
51873         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
51874         (GLIBC_2.17): Add the new function.
51875         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
51876         (GLIBC_2.17): Likewise.
51877         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
51878         (GLIBC_2.17): Likewise.
51879         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
51880         (GLIBC_2.17): Likewise.
51881         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
51883 2012-09-25  Alan Modra  <amodra@gmail.com>
51885         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
51886         Add release barrier before setting once_control to say
51887         initialisation is done.  Add hints on lwarx.  Use macro in
51888         place of isync.
51889         (clear_once_control): Add release barrier.
51891 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
51893         [BZ #13629]
51894         * math/s_clog.c (__clog): Handle more values close to |z| = 1
51895         specially.
51896         * math/s_clog10.c (__clog10): Likewise.
51897         * math/s_clog10f.c (__clog10f): Likewise.
51898         * math/s_clog10l.c (__clog10l): Likewise.
51899         * math/s_clogf.c (__clogf): Likewise.
51900         * math/s_clogl.c (__clogl): Likewise.
51901         * math/Makefile (libm-calls): Add x2y2m1.
51902         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
51903         (__x2y2m1): Likewise.
51904         (__x2y2m1l): Likewise.
51905         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
51906         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
51907         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
51908         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
51909         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
51910         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
51911         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
51912         * sysdeps/i386/fpu/libm-test-ulps: Update.
51913         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51915         [BZ #14621]
51916         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
51917         int as type of variable DEPTH.
51918         (glob): Use size_t instead of int as type of variables NEWCOUNT
51919         and OLD_PATHC.
51921 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
51923         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
51924         Add s_sincosf-sse2.
51925         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
51926         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
51927         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
51928         macros for using routine as __sincosf_ia32.
51929         Use macro for function declaration and weak_alias.
51930         * sysdeps/i386/fpu/libm-test-ulps: Update.
51932         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
51933         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
51935         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
51936         subnormal argument.
51937         * math/s_cexpf.c (__cexpf): Likewise.
51938         * math/s_csinf.c (__csinf): Likewise.
51939         * math/s_csinhf.c (__csinhf): Likewise.
51940         * math/s_ctanf.c (__ctanf): Likewise.
51941         * math/s_ctanhf.c (__ctanhf): Likewise.
51942         * math/s_ccosh.c (__ccoshf): Likewise.
51943         * math/s_cexp.c (__cexpl): Likewise.
51944         * math/s_csin.c (__csin): Likewise.
51945         * math/s_csinh.c (__csinh): Likewise.
51946         * math/s_ctan.c (__ctan): Likewise.
51947         * math/s_ctanh.c (ctanh): Likewise.
51948         * math/s_ccoshl.c (__ccoshl): Likewise.
51949         * math/s_cexpl.c (__cexpl): Likewise.
51950         * math/s_csinl.c (__csinl): Likewise.
51951         * math/s_csinhl.c (__csinhl): Likewise.
51952         * math/s_ctanl.c (__ctanl): Likewise.
51953         * math/s_ctanhl.c (__ctanhl): Likewise.
51955 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
51957         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
51958         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
51959         (_IO_off_t): Define to __off_t, not _G_off_t.
51960         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
51961         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
51962         (_IO_wint_t): Define to wint_t, not _G_wint_t.
51963         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
51964         type of __dummy and __dummy2 fields.
51965         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
51966         (_G_ssize_t): Likewise.
51967         (_G_off_t): Likewise.
51968         (_G_pid_t): Likewise.
51969         (_G_uid_t): Likewise.
51970         (_G_wchar_t): Likewise.
51971         (_G_wint_t): Likewise.
51972         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
51973         (_G_ssize_t): Likewise.
51974         (_G_off_t): Likewise.
51975         (_G_pid_t): Likewise.
51976         (_G_uid_t): Likewise.
51977         (_G_wchar_t): Likewise.
51978         (_G_wint_t): Likewise.
51979         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
51980         (_G_ssize_t): Likewise.
51981         (_G_off_t): Likewise.
51982         (_G_pid_t): Likewise.
51983         (_G_uid_t): Likewise.
51984         (_G_wchar_t): Likewise.
51985         (_G_wint_t): Likewise.
51987 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
51989         * malloc/arena.c: Include malloc-sysdep.h.
51990         (shrink_heap): Use check_may_shrink_heap to decide if madvise
51991         is sufficient to shrink the heap or an unmap is needed.
51992         * sysdeps/generic/malloc-sysdep.h: New file.  Define
51993         new function check_may_shrink_heap.
51994         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
51995         new function check_may_shrink_heap.
51997 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
51999         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
52000         comments.
52002 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
52004         * catgets/test-gencat.sh: Add "set -e".
52005         * elf/tst-pathopt.sh: Likewise.
52006         * grp/tst_fgetgrent.sh: Likewise.
52007         * iconvdata/run-iconv-test.sh: Likewise.
52008         * intl/tst-gettext.sh: Likewise.
52009         * intl/tst-gettext2.sh: Likewise.
52010         * intl/tst-gettext4.sh: Likewise.
52011         * intl/tst-gettext6.sh: Likewise.
52012         * intl/tst-translit.sh: Likewise.
52013         * io/ftwtest-sh: Likewise.
52014         * libio/test-freopen.sh: Likewise.
52015         * malloc/tst-mtrace.sh: Likewise.
52016         * posix/globtest.sh: Likewise.
52017         * posix/tst-getconf.sh: Likewise.
52018         * posix/wordexp-tst.sh: Likewise.
52019         * stdio-common/tst-printf.sh: Likewise.
52020         * stdio-common/tst-unbputc.sh: Likewise.
52021         * stdlib/tst-fmtmsg.sh: Likewise.
52022         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
52023         * catgets/Makefile: Do not specify -e option when running
52024         testsuite shell scripts.
52025         * elf/Makefile: Likewise.
52026         * grp/Makefile: Likewise.
52027         * iconvdata/Makefile: Likewise.
52028         * intl/Makefile: Likewise.
52029         * io/Makefile: Likewise.
52030         * libio/Makefile: Likewise.
52031         * malloc/Makefile: Likewise.
52032         * posix/Makefile: Likewise.
52033         * stdio-common/Makefile: Likewise.
52034         * stdlib/Makefile: Likewise.
52035         * sysdeps/x86_64/Makefile: Likewise.
52037         * io/ftwtest-sh: Add copyright header.
52038         * posix/globtest.sh: Likewise.
52039         * posix/tst-getconf.sh: Likewise.
52040         * posix/wordexp-tst.sh: Likewise.
52041         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
52043 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
52045         [BZ #13679]
52046         * Makeconfig (+link): Defined as $(+link-static) if
52047         $(build-shared) isn't yes.
52048         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
52049         isn't yes.
52050         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
52052         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
52054         [BZ #14562]
52055         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
52056         new chunk size with MALLOC_ALIGN_MASK.
52058 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
52060         [BZ #5044]
52061         * stdio-common/printf_fphex.c: Include <stdbool.h> and
52062         <rounding-mode.h>.
52063         (__printf_fphex): Determine rounding using get_rounding_mode and
52064         round_away.
52065         * stdio-common/tst-printf-round.c (struct hex_test): New
52066         structure.
52067         (hex_tests): New variable.
52068         (test_hex_in_one_mode): New function.
52069         (do_test): Also run tests for hex float output.
52071 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
52073         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
52074         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
52075         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
52076         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
52077         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
52078         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
52079         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
52080         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
52082 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
52084         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
52085         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
52086         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
52087         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
52089 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
52091         [BZ #14579]
52092         * elf/rtld.c (dl_main): Limit the check for self loading to normal
52093         mode only.
52094         * elf/tst-rtld-load-self.sh: New test.
52095         * elf/Makefile: Run it.
52097 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
52099         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
52100         (tst-writev-ENV): Remove.
52101         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
52103 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
52105         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
52107 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
52109         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
52110         unconditional.
52111         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
52112         Likewise.
52113         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
52114         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
52115         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
52116         Likewise.
52118 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
52120         [BZ #14587]
52121         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
52122         * config.make.in (have-cpp-asm-debuginfo): Removed.
52123         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
52124         * configure: Regenerated.
52126 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
52128         [BZ #5044]
52129         * stdio-common/printf_fp.c: Include <stdbool.h> and
52130         <rounding-mode.h>.
52131         (___printf_fp): Determine rounding using get_rounding_mode and
52132         round_away.
52133         * stdio-common/tst-printf-round.c: New file.
52134         * stdio-common/Makefile (tests): Add tst-printf-round.
52135         (link-libm): New variable.
52136         ($(objpfx)tst-printf-round): Depend in $(link-libm).
52138 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
52140         [BZ #14576]
52141         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
52142         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
52143         Likewise.
52144         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
52145         Likewise.
52147 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
52149         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
52150         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
52151         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
52152         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
52154 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
52156         [BZ #14518]
52157         * include/rounding-mode.h: New file.
52158         * sysdeps/generic/get-rounding-mode.h: Likewise.
52159         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
52160         * stdlib/strtod_l.c: Include <rounding-mode.h>.
52161         (MAX_VALUE): New macro.
52162         (MIN_VALUE): Likewise.
52163         (overflow_value): New function.
52164         (underflow_value): Likewise.
52165         (round_and_return): Use overflow_value and underflow_value to
52166         determine return values in overflow and underflow cases.  Use
52167         round_away to determine rounding depending on rounding mode.
52168         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
52169         determine return values in overflow and underflow cases.
52170         * stdlib/tst-strtod-round.c: Include <fenv.h>.
52171         (struct test_results): New structure.
52172         (struct test): Use struct test_results to store expected results
52173         for all rounding modes.
52174         (TEST): Include expected results for all rounding modes.
52175         (test_in_one_mode): New function.
52176         (do_test): Use test_in_one_mode to compute and check results.
52177         Check results for all rounding modes.
52178         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
52179         $(link-libm).
52181 2012-12-09  Allan McRae  <allan@archlinux.org>
52183         * sysdeps/i386/fpu/libm-test-ulps: Update
52185 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
52187         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
52188         (_G_int32_t): Likewise.
52189         (_G_uint16_t): Likewise.
52190         (_G_uint32_t): Likewise.
52191         (_G_HAVE_BOOL): Likewise.
52192         (_G_HAVE_ATEXIT): Likewise.
52193         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
52194         (_G_HAVE_IO_FILE_OPEN): Likewise.
52195         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
52196         (_G_int32_t): Likewise.
52197         (_G_uint16_t): Likewise.
52198         (_G_uint32_t): Likewise.
52199         (_G_HAVE_BOOL): Likewise.
52200         (_G_HAVE_ATEXIT): Likewise.
52201         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
52202         (_G_HAVE_IO_FILE_OPEN): Likewise.
52203         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
52204         (_G_int32_t): Likewise.
52205         (_G_uint16_t): Likewise.
52206         (_G_uint32_t): Likewise.
52207         (_G_HAVE_BOOL): Likewise.
52208         (_G_HAVE_ATEXIT): Likewise.
52209         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
52210         (_G_HAVE_IO_FILE_OPEN): Likewise.
52212 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
52214         * csu/libc-tls.c: Update copyright years.
52216 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
52218         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
52219         [!_G_USING_THUNKS]: Remove conditional code.
52220         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
52221         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
52223         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
52224         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
52225         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
52226         (_G_VTABLE_LABEL_PREFIX): Likewise.
52227         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
52228         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
52229         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
52230         (_G_VTABLE_LABEL_PREFIX): Likewise.
52231         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
52232         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
52233         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
52234         (_G_VTABLE_LABEL_PREFIX): Likewise.
52235         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
52237 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
52239         * libio/Makefile: Include ../Makeconfig before tests.
52240         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
52241         only if $(build-shared) is yes.
52243         * iconv/gconv_db.c: Update copyright years.
52245 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
52247         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
52248         unwind info if defined PIC. Fix special cases description.
52249         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
52251         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
52252         DP_HI_MASK entry.
52253         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
52255 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
52257         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
52259         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
52260         is NULL.
52262         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
52263         (LDLIBS-tst-chk4): This.
52264         (LDFLAGS-tst-chk5): Renamed to ...
52265         (LDLIBS-tst-chk5): This.
52266         (LDFLAGS-tst-chk6): Renamed to ...
52267         (LDLIBS-tst-chk6): This.
52268         (LDFLAGS-tst-lfschk4): Renamed to ...
52269         (LDLIBS-tst-lfschk4): This.
52270         (LDFLAGS-tst-lfschk5): Renamed to ...
52271         (LDLIBS-tst-lfschk5): This.
52272         (LDFLAGS-tst-lfschk6): Renamed to ...
52273         (LDLIBS-tst-lfschk6): This.
52275         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
52276         on $(common-objpfx)soversions.mk.
52278 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
52280         [BZ #10014]
52281         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
52282         example host name.
52284 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
52286         * malloc/arena.c (arena_get_retry): New function that gets
52287         another arena for the caller to try its request on.
52288         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
52289         current arena cannot fulfill the request.
52290         (__libc_memalign): Likewise.
52291         (__libc_memalign): Likewise.
52292         (__libc_pvalloc): Likewise.
52293         (__libc_calloc): Likewise.
52295 2012-09-05  John Tobey  <john.tobey@gmail.com>
52297         [BZ #13542]
52298         * manual/arith.texi (Operations on Complex): Fix description
52299         of carg branch cut.
52301 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
52303         [BZ #10014]
52304         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
52305         host name.
52307         [BZ #10038]
52308         * manual/memory.texi (Memory): Make order of menu items match
52309         order of sections.
52311 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
52313         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
52314         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
52315         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
52317 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
52319         * csu/libc-tls.c (static_dtv): Renamed to ...
52320         (_dl_static_dtv): This.  Make it global.
52321         (_dl_initial_dtv): Removed.
52322         (__libc_setup_tls): Updated.
52323         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
52324         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
52325         DL_INITIAL_DTV.
52327 2012-09-06  Petr Machata  <pmachata@redhat.com>
52329         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
52330         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
52331         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
52332         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
52334 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
52336         [BZ #14545]
52337         * csu/libc-tls.c (_dl_initial_dtv): New variable.
52338         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
52339         freeing dtv[-1].
52341 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
52343         [BZ #14544]
52344         * Makeconfig (link-static-before-libc): Replace $(+prector)
52345         with $(+prectorT).
52346         (link-static-after-libc): Replace $(+postctor) with
52347         $(+postctorT).
52348         (link-bounded): Replace $(+prector)/$(+postctor) with
52349         $(+prectorT)/$(+postctorT).
52350         (+prectorT): New macro.
52351         (+postctorT): Likewise.
52353 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
52355         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
52356         (round_str): Handle values above the maximum for IBM long double
52357         as inexact.
52358         * stdlib/tst-strtod-round.c (tests): Regenerated.
52360 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
52362         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
52363         assembler flag.
52364         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
52365         zarch_nohighgprs around the zarch optimized routines.
52366         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
52367         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
52368         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
52369         for zarch.
52371 2012-09-05  David S. Miller  <davem@davemloft.net>
52373         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52375         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
52376         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
52377         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
52378         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
52379         entries.
52381 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
52383         * malloc/arena.c: Fold copyright years.
52384         * malloc/mcheck.c, malloc/memusage.c: Likewise.
52386 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
52388         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
52390 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
52392         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
52394 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
52396         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
52397         change internal state upon failure.
52399 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
52401         * malloc/mcheck.c (mcheck_check_all): Fix typo.
52402         * malloc/memusage.c (mmap): Likewise.
52403         (mmap64, mremap): Likewise.  Adjust name in comment.
52405 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
52407         * libio/fileops.c: Fix typos in comments.
52408         * libio/oldfileops.c: Likewise.
52409         * libio/wfileops.c: Likewise.
52411 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
52413         [BZ #1349]
52414         * malloc/Makefile (tests): Add tst-malloc-usable test case.
52415         (tst-malloc-usable-ENV): Set environment for test case.
52416         * malloc/hooks.c (malloc_check_get_size): New function to get
52417         requested size.
52418         * malloc/malloc.c (musable): Use malloc_check_get_size.
52419         * malloc/tst-malloc-usable.c: New test case.
52421 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
52423         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
52425 2012-09-05  Allan McRae  <allan@archlinux.org>
52427         [BZ #13966]
52428         * configure.in (CXX_SYSINCLUDES): Use compiler output to
52429         determine header location.
52430         * configure: Regenerated.
52432 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
52434         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
52435         float format.
52436         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
52437         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
52438         format.
52439         (test): Regenerate.
52441 2012-09-04  David S. Miller  <davem@davemloft.net>
52443         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
52444         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
52445         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
52447 2012-09-04  Florian Weimer  <fweimer@redhat.com>
52449         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
52450         failures.
52452         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
52454 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
52456         [BZ #9914]
52457         * libio/iogetdelim.c: Include <limits.h>.
52458         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
52459         + len + 1 would overflow.
52461 2012-09-03  Andreas Jaeger  <aj@suse.de>
52463         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
52464         * sysdeps/i386/fpu/libm-test-ulps: Update.
52466 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
52468         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
52469         Add s_sinf-sse2, s_conf-sse2.
52471         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
52472         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
52473         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
52474         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
52476         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
52477         for using routine as __sinf_ia32.
52478         Use macro for function declaration and weak_alias.
52479         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
52480         for using routine as __cosf_ia32.
52481         Use macro for function declaration and weak_alias.
52483         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
52484         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
52486         * sysdeps/x86_64/fpu/s_sinf.S: New file.
52487         * sysdeps/x86_64/fpu/s_cosf.S: New file.
52488         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
52490         * math/libm-test.inc (cos_test): Add more test cases.
52491         (sin_test): Likewise.
52492         (sincos_test): Likewise.
52494 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
52496         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
52497         (IFUNC_RESOLVE): Make pointers to the specialized implementations
52498         hidden.
52499         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
52501 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
52503         [BZ #14538]
52504         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
52505         first element of the GOT.
52506         (elf_machine_load_address): Return the difference between
52507         the runtime address of _DYNAMIC and elf_machine_dynamic ().
52509 2012-09-01  Allan McRae  <allan@archlinux.org>
52511         [BZ #13412]
52512         * configure.in (AWK): Require gawk version 3.0 or later.
52513         * configure: Regenerated.
52515 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
52517         * sysdeps/unix/sysv/linux/kernel-features.h
52518         (__ASSUME_POSIX_CPU_TIMERS): Remove.
52519         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
52520         [__NR_clock_getres]: Make code unconditional.
52521         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
52522         (clock_getcpuclockid): Remove code left unreachable by removal of
52523         conditionals.
52524         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
52525         code unconditional.
52526         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
52527         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
52528         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
52529         Make code unconditional.
52530         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
52531         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
52532         * sysdeps/unix/sysv/linux/clock_settime.c
52533         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
52534         conditional code.
52535         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
52536         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
52538 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
52540         [BZ #14476]
52541         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
52542         scripts/test-installation.pl.
52544         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
52545         and $ld_so_version if it is set.
52547 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
52549         [BZ #14516]
52550         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
52551         failure if reading from procfs failed.
52552         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
52554 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
52556         * sysdeps/unix/sysv/linux/kernel-features.h
52557         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
52558         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
52559         Remove conditional code.
52560         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
52561         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
52562         Remove conditional code.
52563         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
52564         * sysdeps/unix/sysv/linux/i386/fxstat.c
52565         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
52566         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
52567         * sysdeps/unix/sysv/linux/i386/fxstatat.c
52568         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
52569         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
52570         * sysdeps/unix/sysv/linux/i386/lxstat.c
52571         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
52572         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
52573         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
52574         Remove conditional code.
52575         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
52576         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
52577         Remove conditional code.
52578         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
52579         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
52580         <kernel-features.h>.
52581         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
52582         Remove.
52583         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
52584         Remove conditional code.
52585         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
52586         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
52587         Remove conditional.
52589 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
52591         [BZ #5400]
52592         * NEWS: Add fixed bug number.
52594 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
52596         [BZ #14519]
52597         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
52598         underflowing exponent in case of negative sign.
52599         * stdlib/tst-strtod-round-data: Add more tests.
52600         * stdlib/tst-strtod-round.c (tests): Regenerated.
52602         [BZ #3479]
52603         * stdlib/strtod_l.c (NDIG): Remove.
52604         (HEXNDIG): Likewise.
52605         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
52606         smallest representable value.
52607         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
52608         lie within an exact representation of 1/2 ulp of the result.
52609         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
52610         unconditionally.
52611         (TENS_P9_IDX): Define unconditionally.
52612         (TENS_P9_SIZE): Likewise.
52613         (TENS_P10_IDX): Likewise.
52614         (TENS_P10_SIZE): Likewise.
52615         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
52616         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
52617         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
52618         entries for 10^2^13 and 10^2^14.
52619         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
52620         (TENS_P13_IDX): Define.
52621         (TENS_P13_SIZE): Likewise.
52622         (TENS_P14_IDX): Likewise.
52623         (TENS_P14_SIZE): Likewise.
52624         (_fpioconst_pow10): Change array size to
52625         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
52626         unconditional.
52627         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
52628         1024]: Add entries for 10^2^13 and 10^2^14.
52629         [LAST_POW10 > _LAST_POW10]: Remove #error.
52630         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
52631         (_fpioconst_pow10): Change array size to
52632         FPIOCONST_POW10_ARRAY_SIZE.
52633         * stdlib/gen-fpioconst.c: New file.
52634         * stdlib/gen-tst-strtod-round.c: Likewise.
52635         * stdlib/tst-strtod-round-data: Likewise.
52636         * stdlib/tst-strtod-round.c: Likewise.
52637         * stdlib/Makefile (tests): Add tst-strtod-round.
52639         [BZ #14459]
52640         * stdlib/strtod_l.c: Include <stdint.h>.
52641         (NDEBUG): Do not define.
52642         (round_and_return): Change EXPONENT parameter to type intmax_t.
52643         Rearrange calculations to avoid internal overflow possibilities.
52644         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
52645         Rearrange calculations to avoid internal overflow possibilities.
52646         Assert that number fits inside MPNSIZE limbs.
52647         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
52648         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
52649         calculations and add assertions to avoid internal overflow
52650         possibilities.  Add casts to avoid signed/unsigned operations.
52651         * stdlib/tst-strtod-overflow.c: New file.
52652         * stdlib/Makefile (tests): Add tst-strtod-overflow.
52654 2012-08-25  Marek Polacek  <polacek@redhat.com>
52656         * time/time.h: Fix some typos in comments.
52658 2012-08-23  Roland McGrath  <roland@hack.frob.com>
52660         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
52661         * posix/tst-rfc3484-2.c: Likewise.
52662         * posix/tst-rfc3484-3.c: Likewise.
52664 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
52666         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
52667         (EF_ARM_ABI_FLOAT_HARD): Likewise.
52669 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
52671         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
52672         #include of fxstatat64.c.
52674 2012-08-22  Roland McGrath  <roland@hack.frob.com>
52676         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
52677         * shadow/getspent_r.c: Likewise.
52678         * shadow/getspnam.c: Likewise.
52679         * shadow/getspnam_r.c: Likewise.
52680         * gshadow/getsgent.c: Likewise.
52681         * gshadow/getsgent_r.c: Likewise.
52682         * gshadow/getsgnam.c: Likewise.
52683         * gshadow/getsgnam_r.c: Likewise.
52684         * inet/getnetbyad.c: Likewise.
52685         * inet/getnetbyad_r.c: Likewise.
52686         * inet/getnetbynm.c: Likewise.
52687         * inet/getnetbynm_r.c: Likewise.
52688         * inet/getnetent.c: Likewise.
52689         * inet/getnetent_r.c: Likewise.
52690         * inet/getproto.c: Likewise.
52691         * inet/getproto_r.c: Likewise.
52692         * inet/getprtent.c: Likewise.
52693         * inet/getprtent_r.c: Likewise.
52694         * inet/getprtname.c: Likewise.
52695         * inet/getprtname_r.c: Likewise.
52696         * inet/getrpcbyname.c: Likewise.
52697         * inet/getrpcbyname_r.c: Likewise.
52698         * inet/getrpcbynumber.c: Likewise.
52699         * inet/getrpcbynumber_r.c: Likewise.
52700         * inet/getrpcent.c: Likewise.
52701         * inet/getrpcent_r.c: Likewise.
52702         * inet/getaliasent.c: Likewise.
52703         * inet/getaliasent_r.c: Likewise.
52704         * inet/getaliasname.c: Likewise.
52705         * inet/getaliasname_r.c: Likewise.
52706         * nscd/getgrgid_r.c: Likewise.
52707         * nscd/getgrnam_r.c: Likewise.
52708         * nscd/gethstbyad_r.c: Likewise.
52709         * nscd/gethstbynm3_r.c: Likewise.
52710         * nscd/getpwnam_r.c: Likewise.
52711         * nscd/getpwuid_r.c: Likewise.
52712         * nscd/getsrvbynm_r.c: Likewise.
52713         * nscd/getsrvbypt_r.c: Likewise.
52714         * nscd/gai.c: Likewise.
52716         * configure.in (build_nscd): New substituted variable, set
52717         by --disable-build-nscd and defaults to $use_nscd.
52718         * configure: Regenerated.
52719         * config.make.in (build-nscd): New substituted variable.
52720         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
52721         Change conditional to require [$(build-nscd) = yes] as well.
52722         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
52724         [BZ# 13696]
52725         * configure.in (use_nscd): New substituted variable, set by
52726         --disable-nscd.  If enabled, define USE_NSCD.
52727         * configure: Regenerated.
52728         * config.h.in: Add USE_NSCD.
52729         * config.make.in (use-nscd): New substituted variable.
52730         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
52731         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
52732         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
52733         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
52734         (CFLAGS-getgrnam_r.c): Likewise.
52735         (CFLAGS-initgroups.c): Likewise.
52736         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
52737         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
52738         Variables removed.
52739         * inet/getnetgrent_r.c
52740         (nscd_setnetgrent): New function, broken out of ...
52741         (setnetgrent): ... here.  Call it.
52742         (innetgr): Conditionalize nscd bits on [USE_NSCD].
52743         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
52744         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
52745         * nscd/Makefile (routines, aux): Move definitions after include of
52746         Makeconfig.  Conditionalize on [$(use-nscd) != no].
52747         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
52748         Conditionalize on [USE_NSCD].
52749         (is_nscd, nscd_init_cb): Likewise.
52750         (nss_load_library): Conditionalize init callback on [USE_NSCD].
52751         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
52752         * nss/nss_db/db-init.c: Likewise.
52753         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
52754         [USE_NSCD].
52755         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
52756         (make_request): Use it.
52757         (cache_valid_p): New function.
52758         (__check_pf): Use it.
52759         * NEWS: Add item for --disable-nscd.
52761 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
52763         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
52764         to support sed >= 4.2.1-20-ga9bf076.
52765         * configure: Regenerated.
52767 2012-08-22  Roland McGrath  <roland@hack.frob.com>
52769         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
52770         Conditionalize whole body on [IREL].
52772 2012-08-22  Jeff Law <law@redhat.com>
52774         [BZ #14505]
52775         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
52776         if the family is PF_UNSPEC.
52778 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
52780         * Makerules (lib-version): Rename from V.
52781         (install-lib-nosubdir): Change V to lib-version.
52783 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
52785         [BZ #14252]
52786         * powerpc32/power6/wcschr.c: New file.
52787         * powerpc32/power6/wcscpy.c: New file.
52788         * powerpc32/power6/wcsrchr.c: New file.
52789         * powerpc64/power6/wcschr.c: New file.
52790         * powerpc64/power6/wcscpy.c: New file.
52791         * powerpc64/power6/wcsrchr.c: New file.
52793 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
52795         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
52796         (two_way_short_needle): Use it.
52797         * string/strstr.c (AVAILABLE1_USES_J): Define.
52798         * string/strcasestr.c: Likewise.
52800         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
52801         array references.
52802         * string/strcasestr.c (TOLOWER): Make side-effect safe.
52804         [BZ #11607]
52805         * NEWS: Add an entry.
52806         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
52807         define their defaults.
52808         (two_way_short_needle): Detect end-of-string on-the-fly.
52809         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
52810         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
52811         * string/bug-strcasestr1.c: New test.
52812         * string/Makefile: Run it.
52814 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
52816         [BZ #11607]
52817         * string/str-two-way.h (two_way_short_needle): Optimize matching of
52818         the first character.
52820 2012-08-21  Roland McGrath  <roland@hack.frob.com>
52822         * csu/elf-init.c (__libc_csu_irel): Function removed.
52823         * csu/libc-start.c (apply_irel): New function.
52824         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
52826 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
52828         * sysdeps/unix/sysv/linux/kernel-features.h
52829         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
52830         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
52831         <kernel-features.h>.
52832         [__NR_fadvise64_64]: Make code unconditional.
52833         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
52834         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
52835         !__NR_fadvise64_64)]: Likewise.
52836         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
52837         !__NR_fadvise64_64))]: Likewise.
52838         [__NR_fadvise64]: Make code unconditional.
52839         [!__NR_fadvise64]: Remove conditional code.
52840         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
52841         <kernel-features.h>.
52842         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
52843         unconditional.
52844         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
52845         conditional code.
52846         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
52847         not include <kernel-features.h>.
52848         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
52849         unconditional.
52850         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
52851         conditional code.
52852         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
52853         include <kernel-features.h>.
52854         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
52855         unconditional.
52856         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
52857         conditional code.
52859 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
52861         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
52862         slight instruction rearrangements per scrollpipe analysis.
52863         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
52865 2012-08-20  Roland McGrath  <roland@hack.frob.com>
52867         * manual/syslog.texi (syslog; vsyslog, closelog):
52868         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
52869         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
52871         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
52872         DSOCAPS to match condition on defining it.
52874 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
52876         * sysdeps/unix/sysv/linux/kernel-features.h
52877         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
52878         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
52879         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
52880         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
52881         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
52882         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
52883         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
52884         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
52885         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
52886         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
52888         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
52889         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
52891         * sysdeps/unix/sysv/linux/kernel-features.h
52892         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
52893         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
52894         unconditional.
52895         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
52896         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
52897         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
52898         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
52899         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
52900         Make code unconditional.
52901         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
52902         (__mmap64) [!__NR_mmap2]: Likewise.
52903         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
52904         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
52905         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
52906         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
52907         [__NR_mmap2]: Make code unconditional.
52908         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
52909         (__mmap64) [!__NR_mmap2]: Likewise.
52911 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
52913         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
52915 2012-08-18  Andreas Jaeger  <aj@suse.de>
52917         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
52919 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
52921         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
52922         * include/unistd.h (__have_sock_cloexec): Likewise.
52923         (__have_pipe2): Likewise.
52924         (__have_dup3): Likewise.
52926 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
52928         [BZ #9685]
52929         * include/unistd.h (__have_pipe2): Change define into an extern int.
52930         (__have_dup3): Likewise.
52931         * socket/have_sock_cloexec.c: Include fcntl.h.
52932         (__have_pipe2): New variable.
52933         (__have_dup3): Likewise.
52935 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
52937         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
52939 2012-08-17  Marek Polacek  <polacek@redhat.com>
52941         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
52942         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
52944 2012-08-17  Roland McGrath  <roland@hack.frob.com>
52946         * configure.in: Add AC_SUBST for sysheaders.
52947         * configure: Regenerated.
52948         * config.make.in (sysheaders): New substituted variable.
52950         * sysdeps/unix/mkfifo.c: Moved ...
52951         * sysdeps/posix/mkfifo.c: ... here.
52952         * sysdeps/unix/mkfifoat.c: Moved ...
52953         * sysdeps/posix/mkfifoat.c: ... here.
52955         * sysdeps/unix/utime.c: Moved ...
52956         * sysdeps/posix/utime.c: ... here.
52958         * sysdeps/unix/time.c: Moved ...
52959         * sysdeps/posix/time.c: ... here.
52960         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
52961         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
52963         * sysdeps/unix/nice.c: Moved ...
52964         * sysdeps/posix/nice.c: ... here.
52966         * sysdeps/unix/alarm.c: Moved ...
52967         * sysdeps/posix/alarm.c: ... here.
52969         * intl/Makefile ($(codeset_mo)): Depend on the input file.
52971 2012-08-17  Jeff Law <law@redhat.com>
52973         * intl/Makefile (codeset_mo): New variable.
52974         ($(codeset_mo)): New target.
52975         (tst-codeset.out): Depend on that.  Remove explicit rule.
52976         (tst-gettext3.out, tst-gettext5.out): Likewise.
52977         (LOCPATH-ENV, tst-codeset-ENV): New variables.
52978         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
52979         * intl/tst-codeset.sh: Remove.
52980         * intl/tst-gettext3.sh: Likewise.
52981         * intl/tst-gettext5.sh: Likewise.
52983 2012-08-17  Roland McGrath  <roland@hack.frob.com>
52985         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
52986         * sysdeps/unix/syscalls.list: ... here.
52988         * sysdeps/posix/getaddrinfo.c
52989         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
52990         (gaiconf_init, gaiconf_reload): Use them.
52991         [!_STATBUF_ST_NSEC]
52992         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
52993         Define using time_t rather than struct timespec.
52995         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
52996         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
52997         Macros removed.
52998         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
52999         [!NO_THREADS].
53000         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
53001         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
53002         Likewise.
53004         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
53005         __libc_cleanup_push argument.
53007         * bits/param.h: New file.
53008         * misc/sys/param.h: New file.
53009         * include/sys/param.h: New file.
53010         * misc/Makefile (headers): Add bits/param.h.
53011         * sysdeps/generic/sys/param.h: File removed.
53012         * sysdeps/unix/sysv/linux/bits/param.h: New file.
53013         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
53014         * sysdeps/mach/hurd/bits/param.h: New file.
53015         * sysdeps/mach/hurd/sys/param.h: File removed.
53017         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
53018         last change.
53020         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
53021         [_IO_MTSAFE_IO].
53022         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
53023         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
53024         New macros.
53026         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
53027         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
53028         rather than -D_IO_MTSAFE_IO conditionally.
53029         * stdio-common/Makefile (CPPFLAGS): Likewise.
53030         * wcsmbs/Makefile (CPPFLAGS): Likewise.
53031         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
53032         Use $(libio-mtsafe).
53033         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
53034         of -D_IO_MTSAFE_IO.
53035         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
53036         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
53037         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
53038         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
53039         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
53040         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
53041         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
53042         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
53043         (CFLAGS-fread_u_chk.c): Likewise.
53044         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
53045         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
53046         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
53047         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
53048         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
53049         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
53050         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
53051         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
53052         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
53054         * libio/Makefile: Test [$(libc-reentrant) = yes]
53055         instead of [$(filter %REENTRANT, $(defines)) nonempty].
53057         * Makeconfig
53058         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
53059         * sysdeps/pthread/configure: File removed.
53060         * sysdeps/pthread/Makeconfig: New file.
53061         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
53062         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
53064 2012-08-16  Gary Benson  <gbenson@redhat.com>
53066         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
53067         unmapping the first object in a namespace.
53069 2012-08-16  Roland McGrath  <roland@hack.frob.com>
53071         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
53072         (__internal_setnetgrent): ... this.  Add internal_function to
53073         definition.  Add libc_hidden_def.
53074         (setnetgrent): Update caller.
53075         (internal_endnetgrent): Renamed to ...
53076         (__internal_endnetgrent): ... this.  Add internal_function to
53077         definition.  Add libc_hidden_def.
53078         (endnetgrent): Update caller.
53079         (internal_getnetgrent_r): Renamed to ...
53080         (__internal_getnetgrent_r): ... this.  Add internal_function to
53081         definition.  Add libc_hidden_def.
53082         (__getnetgrent_r): Update caller.
53083         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
53085 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
53087         * stdlib/longlong.h: Update from GCC.
53089 2012-08-16  Roland McGrath  <roland@hack.frob.com>
53091         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
53092         on _QL, which is set by umul_ppmm but never used.
53093         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
53094         variables, which are set by GMP macros but never used.
53095         * stdio-common/_itowa.c (_itowa): Likewise.
53096         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
53097         * stdlib/mod_1.c (mpn_mod_1): Likewise.
53099 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
53101         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
53102         struct La_sh_regs is not constant.
53103         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
53104         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
53105         and struct La_sparc64_regs are not constant.
53107 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
53109         * sysdeps/unix/sysv/linux/kernel-features.h
53110         (__ASSUME_POSIX_TIMERS): Remove.
53111         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
53112         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
53113         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
53114         Make code unconditional.
53115         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
53116         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
53117         Make code unconditional.
53118         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
53119         * sysdeps/unix/sysv/linux/clock_nanosleep.c
53120         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
53121         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
53122         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
53123         Make code unconditional.
53124         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
53125         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
53126         (__libc_missing_posix_timers): Remove.
53128 2012-08-15  Roland McGrath  <roland@hack.frob.com>
53130         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
53131         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
53133         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
53135         * elf/dl-sym.c: Include <stdlib.h>.
53137         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
53138         constants, which avoids warnings in 32-bit builds.
53140         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
53141         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
53143         * misc/lseek.c: File moved to ...
53144         * io/lseek.c: ... here.
53146         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
53148         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
53149         shifting LEN more than 31 bits at once.
53151 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
53153         [BZ #14195]
53154         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
53155         segmentation fault for a case of two empty input strings.
53156         * string/test-strncasecmp.c (check1): Renamed to...
53157         (bz12205): ...this.
53158         (bz14195): Add new testcase for two empty input strings and N > 0.
53159         (test_main): Call new testcase, adapt for renamed function.
53161 2012-08-15  Andreas Jaeger  <aj@suse.de>
53163         [BZ #14090]
53164         * crypt/md5test2.c: New test, based on test supplied by Serge
53165         Belyshev <belyshev@depni.sinp.msu.ru>.
53166         * crypt/Makefile (xtests): Add md5test-giant..
53167         * crypt/Makefile ($(objpfx)md5test-giant): Add.
53169 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
53171         [BZ #14090]
53172         * crypt/md5.c (md5_process_block): Don't assume the buffer
53173         length is less than 2**32.
53174         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
53175         length is less than 2**64.
53177 2012-08-15  Roland McGrath  <roland@hack.frob.com>
53179         * string/str-two-way.h: Include <sys/param.h>.
53180         (MAX): Macro removed.
53182         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
53183         Move #define and #undef of memmove to just before and after
53184         including <string.h>.
53186         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
53187         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
53188         and after including <string.h>.  Move declarations of
53189         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
53190         to before #include "string/memmove.c".
53192         * include/dirent.h: Declare __getdirentries.
53194         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
53195         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
53197 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
53199         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
53200         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
53201         * sysdeps/i386/configure: Regenerated.
53202         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
53203         STABS_CURRENT_FILE, and STABS_FUN.
53204         (END): Remove call to STABS_FUN_END.
53205         (STABS_CURRENT_FILE1): Delete.
53206         (STABS_CURRENT_FILE): Likewise.
53207         (STABS_FUN): Likewise.
53208         (STABS_FUN_END): Likewise.
53209         (STABS_FUN2): Likewise.
53210         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
53211         * sysdeps/x86_64/configure: Regenerated.
53213 2012-08-14  Roland McGrath  <roland@hack.frob.com>
53215         * elf/dl-open.c: Include <atomic.h>.
53216         * elf/dl-lookup.c: Likewise.
53218 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
53220         * sysdeps/unix/sysv/linux/kernel-features.h
53221         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
53222         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
53223         unconditionally.
53224         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
53225         unconditionally.
53226         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
53227         condition on __ASSUME_CLONE_THREAD_FLAGS.
53229 2012-08-14  Andreas Jaeger  <aj@suse.de>
53231         * sysdeps/i386/fpu/libm-test-ulps: Update.
53233 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
53235         * include/atomic.h (atomic_exchange_and_add): Split into ...
53236         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
53237         New atomic macros.
53239 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
53241         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
53243 2012-08-13  Jeff Law <law@redhat.com>
53245         * manual/stdio.texi (snprintf): Clarify handling of the trailing
53246         null byte in the output string.
53248 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
53250         * sysdeps/unix/sysv/linux/kernel-features.h
53251         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
53252         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
53253         (__ASSUME_ARG_MAX_STACK_BASED): Define.
53254         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
53255         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
53256         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
53257         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
53259 2012-08-09  Jeff Law <law@redhat.com>
53261         [BZ #13939]
53262         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
53263         When avoid_arena is set, don't retry in the that arena.  Pick the
53264         next one, whatever it might be.
53265         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
53266         (arena_lock): Pass in new parameter to arena_get2.
53267         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
53268         arena_get2.
53269         (__libc_malloc): Unify retrying after main arena failure with
53270         __libc_memalign version.
53271         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
53273 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
53275         [BZ #14166]
53276         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
53277         to __redirect_strstr.
53278         (__strstr_sse42): Use typeof __redirect_strstr.
53279         (__strstr_ia32): Likewise.
53280         (__libc_strstr): New prototype.
53281         (strstr): Renamed to ...
53282         (__libc_strstr): This.
53283         (strstr): New strong alias of __libc_strstr.
53284         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
53285         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
53286         __redirect_time.
53287         Include <time.h>.
53288         (__libc_time): New prototype.
53289         (time_ifunc): Replace time with __libc_time.
53290         (time): New strong alias and hidden definition of __libc_time.
53291         (__GI_time): Remove strong alias.
53292         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
53293         Include <stddef.h>.
53294         (memmove): Redefined to __redirect_memmove.
53295         (__memmove_sse2): Use typeof __redirect_memmove.
53296         (__memmove_ssse3): Likewise.
53297         (__memmove_ssse3_back): Likewise.
53298         (__libc_memmove): New prototype.
53299         (memmove): Renamed to ...
53300         (__libc_memmove): This.
53301         (memmove): New strong alias of __libc_memmove.
53303 2012-08-08  Mark Salter  <msalter@redhat.com>
53305         * elf/elf.h
53306         (R_MN10300_TLS_GD): Define.
53307         (R_MN10300_TLS_LD): Likewise.
53308         (R_MN10300_TLS_LDO): Likewise.
53309         (R_MN10300_TLS_GOTIE): Likewise.
53310         (R_MN10300_TLS_IE): Likewise.
53311         (R_MN10300_TLS_LE): Likewise.
53312         (R_MN10300_TLS_DTPMOD): Likewise.
53313         (R_MN10300_TLS_DTPOFF): Likewise.
53314         (R_MN10300_TLS_TPOFF): Likewise.
53315         (R_MN10300_SYM_DIFF): Likewise.
53316         (R_MN10300_ALIGN): Likewise.
53317         (R_MN10300_NUM): Update.
53319 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
53321         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
53322         Remove.
53324 2012-08-08  Roland McGrath  <roland@hack.frob.com>
53326         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
53328         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
53329         sysdeps/unix -> sysdeps/posix move.
53330         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
53332 2012-08-07      Allan McRae     <allan@archlinux.org>
53334         [BZ #14303]
53335         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
53336         (SUNOS_CPP): Likewise.
53337         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
53338         not found.
53339         (open_input): Call CPP using execvp.
53341 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
53343         * sysdeps/unix/sysv/linux/kernel-features.h
53344         (__ASSUME_PROT_GROWSUPDOWN): Remove.
53345         (__ASSUME_NO_CLONE_DETACHED): Likewise.
53346         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
53347         (__ASSUME_WAITID_SYSCALL): Likewise.
53348         * sysdeps/unix/sysv/linux/dl-execstack.c
53349         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
53350         code unconditional.
53351         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
53352         conditional code.
53353         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
53354         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
53355         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
53356         code.
53357         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
53358         unconditional.
53359         [__ASSUME_WAITID_SYSCALL]: Likewise.
53360         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
53362 2012-08-07  Roland McGrath  <roland@hack.frob.com>
53364         * sysdeps/unix/closedir.c: Renamed to ...
53365         * sysdeps/posix/closedir.c: ... here.
53366         * sysdeps/unix/dirfd.c: Renamed to ...
53367         * sysdeps/posix/dirfd.c: ... here.
53368         * sysdeps/unix/dirstream.h: Renamed to ...
53369         * sysdeps/posix/dirstream.h: ... here.
53370         * sysdeps/unix/fdopendir.c: Renamed to ...
53371         * sysdeps/posix/fdopendir.c: ... here.
53372         * sysdeps/unix/opendir.c: Renamed to ...
53373         * sysdeps/posix/opendir.c: ... here.
53374         * sysdeps/unix/readdir.c: Renamed to ...
53375         * sysdeps/posix/readdir.c: ... here.
53376         * sysdeps/unix/readdir_r.c: Renamed to ...
53377         * sysdeps/posix/readdir_r.c: ... here.
53378         * sysdeps/unix/rewinddir.c: Renamed to ...
53379         * sysdeps/posix/rewinddir.c: ... here.
53380         * sysdeps/unix/seekdir.c: Renamed to ...
53381         * sysdeps/posix/seekdir.c: ... here.
53382         * sysdeps/unix/telldir.c: Renamed to ...
53383         * sysdeps/posix/telldir.c: ... here.
53384         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
53385         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
53386         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
53387         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
53389         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
53390         * bits/fcntl.h: ... here.
53392         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
53393         not 0.
53394         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
53395         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
53396         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
53397         (struct flock): Move l_start, l_len to the beginning.
53398         Use __pid_t for l_pid.
53399         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
53400         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
53401         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
53402         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
53403         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
53404         [__USE_LARGEFILE64] (struct flock64): New type.
53405         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
53407         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
53408         * bits/dirent.h: ... here.
53410         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
53411         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
53413 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
53415         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
53416         Change from 2.6.0 to 2.6.16.
53417         * sysdeps/unix/sysv/linux/configure: Regenerated.
53418         * sysdeps/unix/sysv/linux/kernel-features.h
53419         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
53420         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
53421         version.
53422         (__ASSUME_UTIMES): Likewise.
53423         (__ASSUME_CLONE_STOPPED): Remove.
53424         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
53425         architectures, not kernel version.
53426         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
53427         (__ASSUME_NO_CLONE_DETACHED): Likewise.
53428         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
53429         (__ASSUME_WAITID_SYSCALL): Likewise.
53430         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
53431         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
53432         * README: State 2.6.16 as minimum Linux kernel version.  Do not
53433         refer to older versions.
53435 2012-08-06  Roland McGrath  <roland@hack.frob.com>
53437         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
53438         Define alphasort64 as an alias.
53439         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
53440         Define versionsort64 as an alias.
53441         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
53442         Define scandir64 as an alias.
53443         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
53444         Define scandirat64 as an alias.
53445         * dirent/alphasort64.c (alphasort64):
53446         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
53447         * dirent/versionsort64.c: Likewise.
53448         * dirent/scandir64.c: Likewise.
53449         * dirent/scandirat64.c: Likewise.
53450         * sysdeps/wordsize-64/alphasort.c: File removed.
53451         * sysdeps/wordsize-64/alphasort64.c: File removed.
53452         * sysdeps/wordsize-64/scandir.c: File removed.
53453         * sysdeps/wordsize-64/scandir64.c: File removed.
53454         * sysdeps/wordsize-64/scandirat.c: File removed.
53455         * sysdeps/wordsize-64/scandirat64.c: File removed.
53456         * sysdeps/wordsize-64/versionsort.c: File removed.
53457         * sysdeps/wordsize-64/versionsort64.c: File removed.
53458         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
53459         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
53460         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
53461         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
53462         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
53463         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
53464         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
53465         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
53467         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
53468         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
53469         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
53470         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
53471         [defined __arch64__ || defined __sparcv9]
53472         (__INO_T_MATCHES_INO64_T): New macro.
53473         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
53474         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
53475         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
53476         * sysdeps/unix/sysv/linux/bits/dirent.h
53477         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
53478         (_DIRENT_MATCHES_DIRENT64): New macro.
53480         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
53481         Define lockf64 as an alias.
53482         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
53483         Define fseeko64 as an alias.
53484         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
53485         Define ftello64 as an alias.
53486         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
53487         Define _IO_fgetpos64 and fgetpos64 as aliases.
53488         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
53489         Define _IO_fsetpos64 and fsetpos64 as aliases.
53490         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
53491         Conditionalize body on this.
53492         * libio/fseeko64.c: Likewise.
53493         * libio/ftello64.c: Likewise.
53494         * libio/iofgetpos64.c: Likewise.
53495         * libio/iofsetpos64.c: Likewise.
53496         * sysdeps/wordsize-64/lockf.c: File removed.
53497         * sysdeps/wordsize-64/lockf64.c: File removed.
53498         * sysdeps/wordsize-64/fseeko.c: File removed.
53499         * sysdeps/wordsize-64/fseeko64.c: File removed.
53500         * sysdeps/wordsize-64/ftello.c: File removed.
53501         * sysdeps/wordsize-64/ftello64.c: File removed.
53502         * sysdeps/wordsize-64/iofgetpos.c: File removed.
53503         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
53504         * sysdeps/wordsize-64/iofsetpos.c: File removed.
53505         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
53506         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
53507         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
53508         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
53509         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
53510         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
53511         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
53512         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
53513         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
53514         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
53515         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
53517         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
53518         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
53519         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
53520         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
53521         [defined __arch64__ || defined __sparcv9]
53522         (__OFF_T_MATCHES_OFF64_T): New macro.
53523         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
53524         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
53525         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
53526         (__OFF_T_MATCHES_OFF64_T): New macro.
53528 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
53530         * stdlib/secure-getenv.c (__secure_getenv): Replace
53531         GLIBC_2_16 with GLIBC_2_17.
53533 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
53535         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
53536         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
53538 2012-08-03  David S. Miller  <davem@davemloft.net>
53540         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53542 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
53544         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
53545         Remove.
53546         (__ASSUME_CORRECT_SI_PID): Likewise.
53547         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
53548         (__ASSUME_TMPFS_NAME): Likewise.
53549         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
53550         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
53551         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
53552         (HAVE_AUX_SECURE): Make definition unconditional.
53553         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
53554         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
53556 2012-08-03  Roland McGrath  <roland@hack.frob.com>
53558         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
53559         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
53560         * sysdeps/mach/hurd/eloop-threshold.h: New file.
53561         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
53562         __eloop_threshold instead of SYMLOOP_MAX.
53564         * sysdeps/generic/eloop-threshold.h: New file.
53565         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
53566         of MAXSYMLINKS.
53567         * elf/chroot_canon.c (chroot_canon): Likewise.
53569 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
53571         [BZ #13717]
53572         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
53573         Change to 2.6.0 everywhere.
53574         * sysdeps/unix/sysv/linux/configure: Regenerated.
53575         * sysdeps/unix/sysv/linux/kernel-features.h
53576         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
53577         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
53578         kernel versions.
53579         (__ASSUME_POSIX_TIMERS): Define unconditionally.
53580         (__ASSUME_FUTEX_REQUEUE): Remove.
53581         (__ASSUME_STATFS64): Define unconditionally.
53582         (__ASSUME_AT_SECURE): Likewise.
53583         (__ASSUME_CORRECT_SI_PID): Likewise.
53584         (__ASSUME_TGKILL): Define without depending on kernel version for
53585         i386.
53586         (__ASSUME_UTIMES): Likewise.
53587         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
53588         kernel version.
53589         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
53590         (__ASSUME_TMPFS_NAME): Likewise.
53591         * README: Update reference to Linux kernel versions.
53593 2012-08-02  Marek Polacek  <polacek@redhat.com>
53595         [BZ# 14150]
53596         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
53597         libc_cv_asm_type_prefix with %.
53598         * configure: Regenerated.
53599         * include/libc-symbols.h: Remove comment about
53600         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
53601         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
53602         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
53603         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
53604         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
53605         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
53606         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
53607         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
53608         * elf/tst-unique2mod1.c: Likewise.
53609         * elf/tst-unique1mod2.c: Likewise.
53610         * elf/tst-unique1mod1.c: Likewise.
53611         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
53612         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
53613         Replace ASM_TYPE_DIRECTIVE with .type.
53614         * sysdeps/s390/s390-64/sysdep.h: Likewise.
53615         * sysdeps/i386/sysdep.h: Likewise.
53616         * sysdeps/x86_64/sysdep.h: Likewise.
53617         * sysdeps/sh/sysdep.h: Likewise.
53618         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
53619         Do not define ASM_TYPE_DIRECTIVE.
53620         * sysdeps/powerpc/sysdep.h: Likewise.
53621         * sysdeps/powerpc/powerpc32/sysdep.h:
53622         Replace ASM_TYPE_DIRECTIVE with .type.
53623         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
53624         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
53625         * sysdeps/i386/fpu/e_powf.S: Likewise.
53626         * sysdeps/i386/fpu/e_expl.S: Likewise.
53627         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
53628         * sysdeps/i386/fpu/e_acosh.S: Likewise.
53629         * sysdeps/i386/fpu/e_pow.S: Likewise.
53630         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
53631         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
53632         * sysdeps/i386/fpu/s_expm1.S: Likewise.
53633         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
53634         * sysdeps/i386/fpu/e_log2.S: Likewise.
53635         * sysdeps/i386/fpu/e_log2l.S: Likewise.
53636         * sysdeps/i386/fpu/e_scalb.S: Likewise.
53637         * sysdeps/i386/fpu/e_powl.S: Likewise.
53638         * sysdeps/i386/fpu/e_log10f.S: Likewise.
53639         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
53640         * sysdeps/i386/fpu/e_logl.S: Likewise.
53641         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
53642         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
53643         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
53644         * sysdeps/i386/fpu/e_log2f.S: Likewise.
53645         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
53646         * sysdeps/i386/fpu/e_log.S: Likewise.
53647         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
53648         * sysdeps/i386/fpu/e_logf.S: Likewise.
53649         * sysdeps/i386/fpu/e_log10l.S: Likewise.
53650         * sysdeps/i386/fpu/e_atanh.S: Likewise.
53651         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
53652         * sysdeps/i386/fpu/e_log10.S: Likewise.
53653         * sysdeps/i386/fpu/s_frexp.S: Likewise.
53654         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
53655         * sysdeps/i386/fpu/s_asinh.S: Likewise.
53656         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
53657         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
53658         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
53659         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
53660         * sysdeps/i386/i686/strtok.S: Likewise.
53661         * sysdeps/i386/i386-mcount.S: Likewise.
53662         * sysdeps/i386/strtok.S: Likewise.
53663         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
53664         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
53665         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
53666         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
53667         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
53668         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
53669         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
53670         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
53671         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
53672         * sysdeps/x86_64/_mcount.S: Likewise.
53673         * sysdeps/x86_64/strtok.S: Likewise.
53674         * sysdeps/sh/_mcount.S: Likewise.
53676 2012-08-01  Roland McGrath  <roland@hack.frob.com>
53678         * libio/iofopen.c: Include <fcntl.h>.
53679         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
53680         (_IO_fopen64, fopen64): Define as aliases.
53681         * libio/iofopen64.c: Include <fcntl.h>.
53682         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
53683         Conditionalize body on this.
53684         * sysdeps/wordsize-64/iofopen.c: File removed.
53685         * sysdeps/wordsize-64/iofopen64.c: File removed.
53687 2012-08-01  Marek Polacek  <polacek@redhat.com>
53689         * libc/Makeconfig: Use elf in place of binfmt-subdir.
53690         Use dlfcn directly instead of a variable.
53691         (binfmt-subdir): Do not define.
53692         (dlfcn): Likewise.
53694 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
53696         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
53697         Remove all definitions.
53698         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
53699         <kernel-features.h>.
53700         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
53701         (miss_F_GETOWN_EX): Remove all definitions.
53702         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
53703         macro definition.
53704         [!__ASSUME_FCNTL64]: Remove conditional code.
53705         [__ASSUME_FCNTL64]: Make code unconditional.
53706         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
53707         <kernel-features.h>.
53708         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
53709         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
53710         (lockf64) [__NR_fcntl64]: Make code unconditional.
53711         (lockf64) [__ASSUME_FCNTL64]: Likewise.
53713         * sysdeps/unix/sysv/linux/kernel-features.h
53714         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
53715         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
53716         Make code unconditional.
53717         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
53718         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
53719         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
53720         [__NR_vfork]: Make code unconditional.
53721         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
53722         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
53723         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
53724         [__NR_vfork]: Make code unconditional.
53725         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
53726         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
53728 2012-08-01  Roland McGrath  <roland@hack.frob.com>
53730         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
53731         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
53733         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
53734         Define mkstemp64 as an alias.
53735         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
53736         Define mkstemps64 as an alias.
53737         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
53738         Define mkostemp64 as an alias.
53739         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
53740         Define mkostemps64 as an alias.
53741         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
53742         Conditionalize body on this.
53743         * misc/mkostemp64.c: Likewise.
53744         * misc/mkostemps64.c: Likewise.
53745         * misc/mkstemps64.c: Likewise.
53746         * sysdeps/wordsize-64/mkstemp64.c: File removed.
53747         * sysdeps/wordsize-64/mkostemp64.c: File removed.
53748         * sysdeps/wordsize-64/mkostemp.c: File removed.
53749         * sysdeps/wordsize-64/mkstemp.c: File removed.
53750         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
53751         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
53752         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
53753         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
53755         [BZ #14138]
53756         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
53757         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
53758         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
53759         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
53761         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
53762         compat_symbol macros from <shlib-compat.h> rather than the underlying
53763         default_symbol_version and symbol_version macros, so that DEFAULT
53764         lines in shlib-versions are respected.
53765         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
53767 2012-08-01  Florian Weimer  <fweimer@redhat.com>
53769         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
53770         Declare with warn_unused_result.
53771         (setgid, setregid, setegid, setresgid): Likewise.
53772         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
53773         Likewise.
53774         * WUR-REPORT: Remove set*id functions.
53776 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
53778         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
53780 2012-07-31  Roland McGrath  <roland@hack.frob.com>
53782         [BZ #10191]
53783         * include/sys/socket.h (__libc_accept, __libc_accept4):
53784         Add attribute_hidden.
53785         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
53787         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
53788         use of PTR_MANGLE.
53789         * inet/getnetgrent_r.c (setup): Likewise.
53791         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
53793 2012-07-31  David S. Miller  <davem@davemloft.net>
53795         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53797 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
53799         [BZ #13629]
53800         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
53801         value between 1.0 and 2.0 and smaller part has absolute value less
53802         than 1.0.
53803         * math/s_clog10.c (__clog10): Likewise.
53804         * math/s_clog10f.c (__clog10f): Likewise.
53805         * math/s_clog10l.c (__clog10l): Likewise.
53806         * math/s_clogf.c (__clogf): Likewise.
53807         * math/s_clogl.c (__clogl): Likewise.
53808         * math/libm-test.inc (clog_test): Add more tests.
53809         (clog10_test): Likewise.
53810         * sysdeps/i386/fpu/libm-test-ulps: Update.
53811         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53813 2012-07-31  Florian Weimer  <fweimer@redhat.com>
53815         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
53816         Exit with zero in case no suitable GID is found, and write a
53817         message to standard error.
53819 2012-07-30  Roland McGrath  <roland@hack.frob.com>
53821         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
53822         rather than to 1.
53823         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
53824         (MAXPATHLEN): Removed.
53825         (NOGROUP, NODEV): New macros.
53826         (setbit, clrbit, isset, isclr): New macros.
53827         (howmany, roundup, powerof2): New macros.
53828         (DEV_BSIZE): New macro.
53830         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
53831         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
53833         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
53834         definition on [!__NO_LONG_DOUBLE_MATH].
53836         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
53837         PTR_MANGLE and PTR_DEMANGLE.
53839         * socket/accept4.c (accept4): Rename to __libc_accept4.
53840         Define accept4 as a weak alias.
53842         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
53843         on [_DIRENT_HAVE_D_TYPE].
53844         * io/ftw.c (ftw_dir): Likewise.
53846         * io/xmknod.c (__xmknod): Don't check PATH for being null.
53848         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
53850         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
53851         Use the BSD numbers rather than the arbitrary ones we had.
53852         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
53853         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
53854         (SIGXCPU, SIGXFSZ): New macros.
53855         (_NSIG): Now 32.
53857         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
53858         initializer on [_LIBC_REENTRANT].
53860         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
53861         definitions inside [_POSIX_MAPPED_FILES].
53863         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
53865         * dirent/opendir.c: Include <fcntl.h>.
53867         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
53868         (__libc_getspecific): Likewise.
53869         (__libc_key_create): Likewise.
53871         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
53872         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
53873         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
53874         (tmpfile64): Define as alias.
53875         * sysdeps/wordsize-64/tmpfile.c: File removed.
53876         * sysdeps/wordsize-64/tmpfile64.c: File removed.
53877         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
53878         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
53880         * stdio-common/vfscanf.c: Include <stdbool.h>.
53881         * nss/makedb.c: Likewise.
53882         * stdio-common/_i18n_number.h: Likewise.
53883         * argp/argp-help.c: Likewise.
53884         * posix/wordexp.c: Likewise.
53885         * sysdeps/posix/spawni.c: Likewise.
53886         * nss/nss_files/files-initgroups.c: Likewise.
53887         * stdio-common/reg-modifier.c: Include <stdlib.h>.
53888         * nss/nss_files/files-initgroups.c: Likewise.
53889         * nss/nss_db/db-netgrp.c: Likewise.
53890         * nss/nss_db/db-initgroups.c: Likewise.
53891         * io/fchmodat.c: Include <sys/stat.h>.
53893         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
53894         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
53896         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
53897         [HAVE_MMAP].
53899         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
53900         Add multiple inclusion protection.
53902 2012-07-27  David S. Miller  <davem@davemloft.net>
53904         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53906 2012-07-27  Gary Benson  <gbenson@redhat.com>
53908         [BZ #14298]
53909         * elf/rtld.c: Include <stap-probe.h>.
53910         (dl_main): Added static probes "init_start" and "init_complete".
53911         * elf/dl-load.c: Include <stap-probe.h>.
53912         (lose): Take new parameter "nsid".
53913         Added static probe "map_failed".
53914         (_dl_map_object_from_fd): Pass namespace id to lose.
53915         Added static probe "map_start".
53916         (open_verify): Pass namespace id to lose.
53917         * elf/dl-open.c: Include <stap-probe.h>.
53918         (dl_open_worker) Added static probes "map_complete", "reloc_start"
53919         and "reloc_complete".
53920         * elf/dl-close.c: Include <stap-probe.h>.
53921         (_dl_close_worker): Added static probes "unmap_start" and
53922         "unmap_complete".
53923         * elf/rtld-debugger-interface.txt: New file documenting the above.
53925 2012-07-26  Roland McGrath  <roland@hack.frob.com>
53927         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
53928         rather than a string variable.
53929         * sunrpc/rpc_main.c (h_output): Likewise.
53930         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
53932 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
53934         * inet/check_native.c: New file.
53936 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
53938         [BZ #13629]
53939         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
53940         if larger part has absolute value 1.0.
53941         * math/s_clog10.c (__clog10): Likewise.
53942         * math/s_clog10f.c (__clog10f): Likewise.
53943         * math/s_clog10l.c (__clog10l): Likewise.
53944         * math/s_clogf.c (__clogf): Likewise.
53945         * math/s_clogl.c (__clogl): Likewise.
53946         * math/libm-test.inc (clog_test): Add more tests.
53947         (clog10_test): Likewise.
53948         * sysdeps/i386/fpu/libm-test-ulps: Update.
53949         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53951         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
53952         (pltexit): Likewise.
53953         (La_regs): Likewise.
53954         (La_retval): Likewise.
53955         (int_retval): Likewise.
53956         Update #error for removed macros to refer only to definitions in
53957         tst-audit.h.
53958         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
53959         macro.
53960         (pltexit): Likewise.
53961         (La_regs): Likewise.
53962         (La_retval): Likewise.
53963         (int_retval): Likewise.
53964         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
53965         macro.
53966         (pltexit): Likewise.
53967         (La_regs): Likewise.
53968         (La_retval): Likewise.
53969         (int_retval): Likewise.
53970         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
53971         macro.
53972         (pltexit): Likewise.
53973         (La_regs): Likewise.
53974         (La_retval): Likewise.
53975         (int_retval): Likewise.
53976         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
53977         macro.
53978         (pltexit): Likewise.
53979         (La_regs): Likewise.
53980         (La_retval): Likewise.
53981         (int_retval): Likewise.
53982         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
53983         macro.
53984         (pltexit): Likewise.
53985         (La_regs): Likewise.
53986         (La_retval): Likewise.
53987         (int_retval): Likewise.
53988         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
53989         macro.
53990         (pltexit): Likewise.
53991         (La_regs): Likewise.
53992         (La_retval): Likewise.
53993         (int_retval): Likewise.
53994         * sysdeps/generic/tst-audit.h: Update comment to refer only to
53995         macro definitions in tst-audit.h.
53996         * sysdeps/i386/tst-audit.h: New file.
53997         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
53998         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
53999         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
54000         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
54001         * sysdeps/sh/tst-audit.h: Likewise.
54002         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
54003         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
54004         * sysdeps/x86_64/tst-audit.h: Likewise.
54006 2012-07-26  Andreas Jaeger  <aj@suse.de>
54008         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
54009         ptrace.
54011         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
54012         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
54013         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
54014         PTRACE_O_MASK.
54015         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
54016         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
54017         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
54019         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
54020         value.
54022         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
54023         _sigsys.
54024         (si_call_addr, si_syscall, si_arch): Define new macro.
54025         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
54026         _sigsys.
54027         (si_call_addr, si_syscall, si_arch): Define new marcro.
54028         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
54029         _sigsys.
54030         (si_call_addr, si_syscall, si_arch): Define new macro.
54031         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
54032         _sigsys.
54033         (si_call_addr, si_syscall, si_arch): Define new macro.
54035 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
54037         [BZ #13717]
54038         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
54039         Change to 2.4.21 where previously 2.4.1.
54040         * sysdeps/unix/sysv/linux/configure: Regenerated.
54041         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
54042         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
54043         Linux kernel version.
54044         (__ASSUME_STD_AUXV): Remove.
54045         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
54046         kernel version.
54047         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
54048         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
54049         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
54050         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
54051         (__ASSUME_NETLINK_SUPPORT): Likewise.
54052         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
54053         (__no_netlink_support): Remove conditional definition.
54054         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
54055         Remove.
54056         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
54057         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
54058         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
54059         (if_nameindex_ioctl): Remove.
54060         (if_nameindex_netlink): Do not handle __no_netlink_support.
54061         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
54062         code.
54063         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
54064         Remove conditional code.
54065         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
54066         code.
54067         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
54068         unconditional.
54069         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
54070         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
54071         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
54072         Remove.
54073         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
54074         [!__ASSUME_STD_AUXV]: Remove conditional code.
54075         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
54076         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
54077         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
54078         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
54079         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
54080         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
54081         code.
54082         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
54083         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
54084         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
54085         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
54086         conditional code.
54087         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
54088         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
54089         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
54090         code.
54091         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
54092         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
54093         conditional code.
54094         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
54095         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
54096         code unconditional.
54097         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
54098         conditional code.
54099         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
54100         unconditional.
54101         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
54102         conditional code.
54103         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
54104         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
54105         unconditional.
54106         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
54107         conditional code.
54108         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
54109         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
54110         code unconditional.
54111         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
54112         conditional code.
54113         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
54114         unconditional.
54115         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
54116         conditional code.
54117         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
54118         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
54119         code unconditional.
54120         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
54121         conditional code.
54122         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
54123         unconditional.
54124         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
54125         conditional code.
54127 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
54129         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
54130         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
54131         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
54132         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
54133         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
54134         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
54135         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
54136         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
54137         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
54138         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
54139         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
54140         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
54141         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
54142         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
54143         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
54144         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
54145         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
54146         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
54147         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
54148         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
54149         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
54150         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
54151         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
54153 2012-07-25  Florian Weimer  <fweimer@redhat.com>
54155         * Versions.def: Add GLIBC_2.17.
54156         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
54157         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
54158         Introduce __libc_secure_getenv.
54159         * stdlib/Versions (2.17): Add secure_getenv
54160         (GLIBC_PRIVATE): Add __libc_secure_getenv.
54161         * stdlib/secure-getenv.c: Rename __secure_getenv to
54162         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
54163         symbol __secure_getenv for GLIBC_2.0.
54164         * stdlib/tst-secure-getenv.c: New.
54165         * stdlib/Makefile (tests): Add testcase.
54166         * manual/startup.texi (Environment Access): Document
54167         secure_getenv.
54168         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
54169         __libc_secure_getenv.
54170         * inet/ruserpass.c (ruserpass): Likewise.
54171         * malloc/mtrace.c (mtrace): Likewise.
54172         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
54173         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
54174         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
54175         * sysdeps/posix/tempname.c: Likewise.  Evaluate
54176         HAVE_SECURE_GETENV.
54177         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
54178         __secure_getenv to __libc_secure_getenv.
54179         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
54180         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
54181         Likewise.
54182         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
54183         Likewise.
54184         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
54185         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
54186         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
54187         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
54188         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
54189         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
54190         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
54192 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
54194         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
54195         (struct La_i86_retval): Likewise.
54196         (struct La_x86_64_regs): Likewise.
54197         (struct La_x86_64_retval): Likewise.
54198         (struct La_x32_regs): Likewise.
54199         (struct La_x32_retval): Likewise.
54200         (struct La_ppc32_regs): Likewise.
54201         (struct La_ppc32_retval): Likewise.
54202         (struct La_ppc64_regs): Likewise.
54203         (struct La_ppc64_retval): Likewise.
54204         (struct La_sh_regs): Likewise.
54205         (struct La_sh_retval): Likewise.
54206         (struct La_s390_32_regs): Likewise.
54207         (struct La_s390_32_retval): Likewise.
54208         (struct La_s390_64_regs): Likewise.
54209         (struct La_s390_64_retval): Likewise.
54210         (struct La_sparc32_regs): Likewise.
54211         (struct La_sparc32_retval): Likewise.
54212         (struct La_sparc64_regs): Likewise.
54213         (struct La_sparc64_retval): Likewise.
54214         (struct audit_ifaces): Remove architecture-specific pltenter and
54215         pltexit members.
54216         * sysdeps/i386/ldsodefs.h: New file.
54217         * sysdeps/powerpc/ldsodefs.h: Likewise.
54218         * sysdeps/s390/ldsodefs.h: Likewise.
54219         * sysdeps/sh/ldsodefs.h: Likewise.
54220         * sysdeps/sparc/ldsodefs.h: Likewise.
54221         * sysdeps/x86_64/ldsodefs.h: Likewise.
54223 2012-07-25  Marek Polacek  <polacek@redhat.com>
54225         [BZ #6808]
54226         * math/libm-test.inc (yn_test): Add another test.
54227         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
54228         to ERANGE when the result is +-Inf.
54229         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
54230         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
54231         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
54232         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
54234 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
54236         * conform/data/time.h-data (NULL): Use macro-constant.  Require
54237         equal to 0.
54238         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
54239         clock_t.
54240         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
54242 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
54244         * configure.in <sysdeps resolving>: Correct printing
54245         Implies_before.
54246         * configure: Regenerate.
54248 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
54250         * math/w_ilogb.c: Include <limits.h>.
54251         * math/w_ilogbl.c: Likewise.
54253 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
54255         * manual/lang.texi (__va_copy): Document primarily as ISO C99
54256         va_copy.  Document allowing for unavailable va_copy only as
54257         pre-C99 compatibility.
54258         * manual/string.texi (Copying and Concatenation): Use va_copy
54259         instead of __va_copy in concat example.
54261 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
54263         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
54264         (__sendto): Use create_address_port.  Initialize APORT and deallocate
54265         it if not null.
54267         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
54268         with O_NOLINK passed to __file_name_lookup.
54270         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
54271         with O_NOLINK passed to __file_name_lookup.
54273         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
54274         negative N or less than NGIDS.
54276         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
54277         type to string_t.  Set ERANGE as errno and return it if NAME is not big
54278         enough.  Use memcpy instead of strncpy.
54280 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
54282         * elf/Makefile (check-data): Remove.
54283         (localplt.data): New vpath directive.
54284         ($(objpfx)check-localplt.out): Use localplt.data from vpath
54285         instead of $(check-data).
54286         * scripts/data/localplt-generic.data: Move to ...
54287         * sysdeps/generic/localplt.data: ... here.
54288         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
54289         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
54290         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
54291         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
54292         ... here.
54293         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
54294         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
54295         ... here.
54296         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
54297         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
54298         ... here.
54299         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
54300         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
54301         ... here.
54302         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
54303         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
54304         ... here.
54305         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
54306         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
54307         ... here.
54309 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54311         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
54312         PPC32 and PPC64 files.
54313         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
54314         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
54316 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
54318         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
54319         __makecontext_ret to ...
54320         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
54321         ... here and call exit if uc_link is NULL.  New file.
54322         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
54323         __makecontext_ret.S.
54324         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
54325         __makecontext_ret to ...
54326         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
54327         ... here and call exit if uc_link is NULL.  New file.
54328         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
54329         __makecontext_ret.S.
54331 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
54333         * elf/elf.h (R_390_IRELATIVE): New definition.
54334         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
54335         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
54336         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
54337         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
54338         (elf_machine_lazy_rel): Likewise.
54339         * sysdeps/s390/dl-irel.h: New file.
54340         * sysdeps/s390/s390-64/memcpy.S: New asm code.
54341         * sysdeps/s390/s390-64/memset.S: New asm code.
54342         * sysdeps/s390/s390-64/memcmp.S: New asm code.
54343         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
54344         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
54345         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
54346         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
54347         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
54348         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
54349         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
54350         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
54351         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
54352         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
54353         * sysdeps/s390/s390-32/memcpy.S: New asm code.
54354         * sysdeps/s390/s390-32/memset.S: New asm code.
54355         * sysdeps/s390/s390-32/memcmp.S: New asm code.
54357 2012-07-17  Marek Polacek  <polacek@redhat.com>
54359         [BZ #14349]
54360         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
54361         * sysdeps/s390/s390-64/configure.in: Likewise.
54362         * sysdeps/sparc/configure.in: Likewise.
54363         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
54364         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
54365         * sysdeps/i386/configure.in: Likewise.
54366         * sysdeps/x86_64/configure.in: Likewise.
54367         * sysdeps/sh/configure.in: Likewise.
54368         * sysdeps/s390/s390-32/configure: Regenerated.
54369         * sysdeps/s390/s390-64/configure: Likewise.
54370         * sysdeps/x86_64/configure: Likewise.
54371         * sysdeps/sh/configure: Likewise.
54372         * sysdeps/powerpc/powerpc64/configure: Likewise.
54373         * sysdeps/powerpc/powerpc32/configure: Likewise.
54374         * sysdeps/sparc/configure: Likwise.
54375         * sysdeps/i386/configure: Likewise.
54377         * elf/dl-open.c: Comment fixes.
54379 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
54381         * Makefile [CXX] (check-data): Remove.
54382         [CXX] (c++-types.data): New vpath directive.
54383         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
54384         vpath.  Do not allow for C++ type data being missing.
54385         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
54386         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
54387         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
54388         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
54389         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
54390         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
54391         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
54392         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
54393         ... here.
54394         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
54395         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
54396         ... here.
54397         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
54398         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
54399         ... here.
54400         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
54401         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
54402         ... here.
54403         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
54404         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
54405         ... here.
54406         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
54407         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
54408         ... here.
54409         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
54410         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
54411         ... here.
54412         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
54413         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
54415         * elf/tls-macros.h (TLS_LE): Move architecture-specific
54416         definitions to architecture-specific files.
54417         (TLS_IE): Likewise.
54418         (TLS_LD): Likewise.
54419         (TLS_GD): Likewise.
54420         * sysdeps/i386/tls-macros.h: New file.
54421         * sysdeps/powerpc/tls-macros.h: Likewise.
54422         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
54423         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
54424         * sysdeps/sh/tls-macros.h: Likewise.
54425         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
54426         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
54427         * sysdeps/x86_64/tls-macros.h: Likewise.
54429 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
54431         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
54432         zero value for regular exit case.
54434         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
54435         (__start_context): Preserve zero value for regular exit case.
54437 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
54438             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
54440         * manual/setjmp.texi (setcontext): Clarify normal process
54441         termination when uc_link is the null pointer.
54442         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
54443         exit call.
54445 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
54447         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
54448         preprocessor.  Test for each exception mask separately.
54450 2012-07-16  Andreas Jaeger  <aj@suse.de>
54452         * po/ru.po: Update from translation team.
54454 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
54456         * conform/data/string.h-data (NULL): Use macro-constant.  Require
54457         equal to 0.
54458         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
54459         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
54460         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
54461         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
54462         [ISO || ISO99 || ISO11] (*_t): Do not allow.
54464 2012-07-13  Andreas Jaeger  <aj@suse.de>
54466         * po/fr.po: Update from translation team.
54468 2012-07-12  Marek Polacek  <polacek@redhat.com>
54470         [BZ #14173]
54471         * math/libm-test.inc (yn_test): Add test for BZ #14173.
54472         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
54473         loop condition.
54475 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
54477         [BZ #13717]
54478         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
54479         Change to 2.4.1 where previously 2.4.0.
54480         * sysdeps/unix/sysv/linux/configure: Regenerated.
54481         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
54482         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
54483         version.
54484         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
54485         (__ASSUME_AT_CLKTCK): Remove.
54486         (__ASSUME_AT_PAGESIZE): Likewise.
54487         (__ASSUME_AT_XID): Likewise.
54488         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
54489         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
54490         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
54491         unconditionally.
54492         (HAVE_AUX_PAGESIZE): Likewise.
54493         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
54494         [__ASSUME_AT_CLKTCK]: Make code unconditional.
54495         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
54497 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
54499         [BZ #14307]
54500         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
54501         the temporary buffer used to invoke __gethostbyname2_r,
54502         __gethostbyaddr_r and gethostbyname4_r to make room for struct
54503         host_data / struct gaih_addrtuple.
54504         * resolv/nss_dns/dns-host.c (global scope): Move definition of
54505         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
54506         header file nss/nsswitch.h.
54507         * nss/nsswitch.h (global scope): Add definition of implementation
54508         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
54509         resolv/nss_dns/dns-host.c).
54511 2012-07-11  Andreas Jaeger  <aj@suse.de>
54513         * po/fr.po: Update from translation team.
54515         * po/sv.po: Update from translation team
54516         * po/fr.po: Another update from translation team.
54518 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54520         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
54521         for subnormals or multiply small sinh result by itself.
54522         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
54523         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54525 2012-07-11  David S. Miller  <davem@davemloft.net>
54527         * sysdeps/sparc/fpu/libm-test-ulps: Update.
54529 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
54531         [BZ #14347]
54532         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
54533         (INTERNAL_MARK): Shift it here.
54535 2012-07-10  Marek Polacek  <polacek@redhat.com>
54537         [BZ #14151]
54538         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
54539         libc_cv_asm_global_directive with .globl.
54540         * configure: Regenerated.
54541         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
54542         with .globl.
54543         * sysdeps/i386/configure: Regenerated.
54544         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
54545         with .globl.
54546         * sysdeps/x86_64/configure: Regenerated.
54547         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
54548         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
54549         * elf/tst-unique2mod2.c: Likewise.
54550         * elf/tst-unique2mod1.c: Likewise.
54551         * elf/tst-unique1mod2.c: Likewise.
54552         * elf/tst-unique1mod1.c: Likewise.
54553         * sysdeps/s390/s390-32/sysdep.h: Likewise.
54554         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
54555         * sysdeps/s390/s390-64/sysdep.h: Likewise.
54556         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
54557         * sysdeps/mach/sysdep.h: Likewise.
54558         * sysdeps/i386/sysdep.h: Likewise.
54559         * sysdeps/i386/i386-mcount.S: Likewise.
54560         * sysdeps/x86_64/_mcount.S: Likewise.
54561         * sysdeps/x86_64/sysdep.h: Likewise.
54562         * sysdeps/sh/_mcount.S: Likewise.
54563         * sysdeps/sh/sysdep.h: Likewise.
54564         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
54565         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
54566         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
54567         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
54568         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
54569         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
54570         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
54571         * locale/localeinfo.h: Likewise.
54572         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
54573         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
54575 2012-07-09  Roland McGrath  <roland@hack.frob.com>
54577         [BZ #14336]
54578         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
54579         system".
54580         * manual/message.texi (The Uniforum approach): Likewise.
54581         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
54582         (glibc iconv Implementation): Likewise.
54584 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
54586         [BZ #14337]
54587         * math/s_clog.c (__clog): Avoid scaling a value down where that
54588         could result in underflow.
54589         * math/s_clog10.c (__clog10): Likewise.
54590         * math/s_clog10f.c (__clog10f): Likewise.
54591         * math/s_clog10l.c (__clog10l): Likewise.
54592         * math/s_clogf.c (__clogf): Likewise.
54593         * math/s_clogl.c (__clogl): Likewise.
54594         * math/libm-test.inc (clog_test): Add more tests.
54595         (clog10_test): Likewise.
54596         * sysdeps/i386/fpu/libm-test-ulps: Update.
54597         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54599 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
54601         [BZ #14283]
54602         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
54603         by 7 not 8 to examine high bit of fractional part.
54605         [BZ #14042]
54606         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
54607         for call to __mcount_internal.
54608         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
54609         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
54610         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
54612 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
54614         [BZ #14154]
54615         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
54616         approximation for values within 0x1p-13f of an odd multiple of
54617         pi/4.
54618         * math/libm-test.inc (tan_test): Do not allow spurious underflow
54619         exception.  Add more tests.
54620         * sysdeps/i386/fpu/libm-test-ulps: Update.
54622         [BZ #6778]
54623         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
54624         inputs and return -1 for them.  Do not check for +Inf in case not
54625         reachable for +Inf.
54626         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
54627         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
54628         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
54629         and return -1 for them.  Do not check for +Inf in case not
54630         reachable for +Inf.
54631         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
54632         define.
54633         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
54634         and return -1 for them.  Do not check for +Inf in case not
54635         reachable for +Inf.
54636         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
54637         spurious underflow.
54638         * sysdeps/i386/fpu/libm-test-ulps: Update.
54639         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54641 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
54643         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
54645 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
54647         [BZ #14157]
54648         [BZ #14331]
54649         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
54650         could result in spurious underflow.  Scale down values above
54651         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
54652         * math/s_csqrtf.c (__csqrtf): Likewise.
54653         * math/s_csqrtl.c (__csqrtl): Likewise.
54654         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
54655         spurious underflow.
54656         * sysdeps/i386/fpu/libm-test-ulps: Update.
54657         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54659 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
54661         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
54662         xopen-msg.sed.
54663         * catgets/xopen-msg.awk: New file.
54664         * catgets/xopen-msg.sed: Removed.
54666         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
54667         po2text.sed.
54668         * intl/po2test.awk: New file.
54669         * intl/po2test.sed: Removed.
54671 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
54673         [BZ #14328]
54674         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
54675         or multiply small sinh result by itself.
54676         * math/s_ctanf.c (__ctanf): Likewise.
54677         * math/s_ctanh.c (__ctanh): Likewise.
54678         * math/s_ctanhf.c (__ctanhf): Likewise.
54679         * math/s_ctanhl.c (__ctanhl): Likewise.
54680         * math/s_ctanl.c (__ctanl): Likewise.
54681         * math/libm-test.inc (ctan_test_tonearest): New function.
54682         (ctan_test_towardzero): Likewise.
54683         (ctan_test_downward): Likewise.
54684         (ctan_test_upward): Likewise.
54685         (ctanh_test_tonearest): Likewise.
54686         (ctanh_test_towardzero): Likewise.
54687         (ctanh_test_downward): Likewise.
54688         (ctanh_test_upward): Likewise.
54689         (main): Call these new functions.
54690         * sysdeps/i386/fpu/libm-test-ulps: Update.
54691         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54693 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
54695         * .gitignore: Delete /ports entry.
54697 2012-07-03  Andreas Jaeger  <aj@suse.de>
54699         * po/bg.po: Update from translation team.
54700         * po/cs.po: Likewise.
54701         * po/de.po: Likewise.
54702         * po/hr.po: Likewise.
54703         * po/nl.pl: Likewise.
54704         * po/pl.po: Likewise.
54705         * po/vi.po: Likewise.
54707 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
54709         * Makeconfig [!+link] (+link-before-libc): New variable.
54710         [!+link] (+link-after-libc): Likewise.
54711         [!+link] (+link-tests): Likewise.
54712         [!+link] (+link): Define in terms of $(+link-before-libc) and
54713         $(+link-after-libc).
54714         [!+link-static] (+link-static-before-libc): New variable.
54715         [!+link-static] (+link-static-after-libc): Likewise.
54716         [!+link-static] (+link-static-tests): Likewise.
54717         [!+link-static] (+link-static): Define in terms of
54718         $(+link-static-before-libc) and $(+link-static-after-libc).
54719         [build-shared] (link-libc-before-gnulib): New variable.
54720         [build-shared] (link-libc-tests): Likewise.
54721         [build-shared] (link-libc): Define in terms of
54722         $(link-libc-before-gnulib).
54723         [!build-shared] (link-libc-tests): New variable.
54724         (link-libc-static-tests): New variable.
54725         [!gnulib] (gnulib-arch): New variable.
54726         [!gnulib] (gnulib-tests): Likewise.
54727         [!gnulib] (static-gnulib-arch): Likewise.
54728         [!gnulib] (static-gnulib-tests): Likewise.
54729         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
54730         Define with "=" instead of ":=".
54731         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
54732         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
54733         * Rules (binaries-all-notests): New variable.
54734         (binaries-all-tests): Likewise.
54735         (binaries-static-notests): Likewise.
54736         (binaries-static-tests): Likewise.
54737         (binaries-all): Define using $(binaries-all-notests) and
54738         $(binaries-all-tests).
54739         (binaries-static): Define using $(binaries-static-notests) and
54740         $(binaries-static-tests).
54741         (binaries-shared-tests): New variable.
54742         (binaries-shared-notests): Likewise.
54743         (binaries-shared): Remove variable.
54744         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
54745         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
54746         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
54747         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
54748         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
54749         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
54750         * elf/Makefile (sln-modules): New variable.
54751         (extra-objs): Add $(sln-modules:=.o).
54752         (ldconfig-modules): Add static-stubs.
54753         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
54754         * elf/static-stubs.c: New file.
54756         [BZ #14283]
54757         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
54758         by 7 not 8 to examine high bit of fractional part.  Use volatile
54759         variables when splitting into final array of floats if
54760         __FLT_EVAL_METHOD__ != 0.
54761         * math/libm-test.inc (cos_test): Add another test.
54762         (sin_test): Likewise.
54763         * sysdeps/i386/fpu/libm-test-ulps: Update.
54765         [BZ #14273]
54766         * math/libm-test.inc (cosh_test): Add more tests.
54768         * version.h (RELEASE): Set to "development".
54769         (VERSION): Set to "2.16.90".
54771 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
54773         * NEWS: Update copyright. Remove last-updated date.
54774         Mention math library bug fixes and timezone data changes.
54775         * README: Mention GNU/Hurd, x32, and HPPA support status.
54777 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
54779         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
54781 2012-06-27  Andreas Jaeger  <aj@suse.de>
54783         * manual/contrib.texi (Contributors): Add Samuel Thibault.
54785 2012-06-25  Andreas Jaeger  <aj@suse.de>
54787         * sysdeps/s390/fpu/libm-test-ulps: Update.
54789 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
54790             Thomas Schwinge  <thomas@codesourcery.com>
54792         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
54793         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
54794         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
54795         fanotify_mark.
54797 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
54799         * sysdeps/mach/start.c: Remove file.
54800         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
54801         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
54802         * sysdeps/sh/init-first.c: Likewise.
54804         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
54805         registers for frame unwinding purposes, add CFI directives.
54806         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
54807         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
54808         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
54809         Likewise.
54811         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
54812         __fortify_fail returning.
54813         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
54815         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
54816         sysdeps/sh/____longjmp_chk.S.
54817         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
54818         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
54819         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
54820         (gen-as-const-headers): Append sigaltstack-offsets.sym.
54822         * sysdeps/sh/abort-instr.h: New file.
54823         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
54824         process in case exit returns.
54826         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
54827         initialize the GOT register before use.
54829         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
54830         calculation of ARGC > 4.
54832         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
54833         meaningful names to some local labels.
54835 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
54836             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
54838         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
54839         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
54840         (__arch_compare_and_exchange_val_16_acq): Likewise.
54841         (__arch_compare_and_exchange_val_32_acq): Likewise.
54842         (atomic_exchange_and_add): Fix gUSA sequence.
54843         (atomic_add): Likewise.
54844         (atomic_add_negative): Likewise.
54845         (atomic_add_zero): Likewise.
54846         (atomic_bit_test_set): Likewise.
54848 2012-06-22  Andreas Schwab  <schwab@redhat.com>
54850         [BZ #13579]
54851         * include/link.h (struct link_map): Add l_free_initfini.
54852         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
54853         l_initfini.
54854         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
54855         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
54856         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
54857         set.
54859 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
54861         * configure.in: Use AC_LANG_SOURCE.
54862         * configure: Regenerate.
54864 2012-06-22  Roland McGrath  <roland@hack.frob.com>
54866         * configure.in (libc_cv_localstatedir): New substituted variable.
54867         * configure: Regenerated.
54868         * config.make.in (localstatedir): New variable, substituted from
54869         libc_cv_localstatedir.
54870         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
54871         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
54872         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
54873         * sysdeps/gnu/configure: Regenerated.
54875 2012-06-21  Jeff Law  <law@redhat.com>
54877         [BZ #14277]
54878         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
54879         free.  Simplify list management for _LIBC case.
54881 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
54883         [BZ #14273]
54884         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
54885         Clear sign bit of 64-bit integer value before comparing against
54886         overflow value.
54888         * sysdeps/mach/configure: Regenerated.
54890 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
54892         [BZ #14278]
54893         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
54895 2012-06-21  Jeff Law  <law@redhat.com>
54897         [BZ #13882]
54898         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
54899         uint16_t for elements in the "seen" array to avoid char overflows.
54900         * elf/dl-fini.c (_dl_sort_fini): Likewise.
54901         * elf/dl-open.c (dl_open_worker): Likewise.
54903 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
54905         * scripts/list-sources.sh: Scan PORTS for translations.
54906         * po/libc.pot: Regenerated.
54908 2012-06-21  Andreas Jaeger  <aj@suse.de>
54910         [BZ #12194]
54911         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
54912         warning.
54913         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
54914         * bits/byteswap-16.h (__bswap_16): Likewise.
54915         * bits/byteswap.h (__bswap_constant_16): Likewise.
54917 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
54919         [BZ #14117]
54920         * sysdeps/i386/fpu_control.h: Removed.
54921         * sysdeps/x86_64/fpu_control.h: Moved to ...
54922         * sysdeps/x86/fpu_control.h: Here.
54924         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
54925         (_FPU_SETCW): Likewise.
54927 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
54929         [BZ #14117]
54930         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
54931         * sysdeps/x86/fpu/bits/mathinline.h: This.
54932         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
54934         [BZ #14050]
54935         [BZ #14117]
54936         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
54937         functions if __x86_64__ is defined.
54939 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
54941         * string/endian.h: Add !__ASSEMBLER__ condition for including
54942         conversion interfaces.
54944 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
54946         [BZ #14241]
54947         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
54948         of ABS(x) in calculating zero to negative powers other than odd
54949         integers.
54950         * math/libm-test.inc (pow_test): Add more tests.
54952 2012-06-15  Andreas Jaeger  <aj@suse.de>
54954         * manual/contrib.texi (Contributors): Update entry of Liubov
54955         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
54956         Machado Filho.
54958 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
54960         * string/string.h: Add __wur to GNU version of strerror_r.
54962 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
54964         [BZ #14229]
54965         * string/Makefile (tests): Add tst-strtok_r.
54966         * string/tst-strtok_r.c: New file.
54967         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
54968         RAX_LP/RDX_LP on SAVE_PTR.
54970 2012-06-14  Roland McGrath  <roland@hack.frob.com>
54972         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
54974 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
54976         * libm_test.inc (csqrt_test): Allow more spurious underflow
54977         exceptions.
54978         (j0_test): Likewise.
54979         (j1_test): Likewise.
54980         (y0_test): Likewise.
54981         (y1_test): Likewise.
54983 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
54985         * po/Makefile (libc.pot): Use UTF-8 charset.
54987 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
54989         [BZ #14210]
54990         Suppress sign-conversion warning from FD_SET.
54991         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
54992         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
54993         not unsigned long int.
54994         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
54996 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
54998         [BZ #14050]
54999         [BZ #14117]
55000         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
55001         __extern_always_inline instead of __extern_inline.
55002         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
55003         (__signbit): Likewise.
55004         (__signbitl): Support C++ namespace.
55005         (lrintf): New inline function.
55006         (lrint): Likewise.
55007         (llrintf): Likewise.
55008         (llrint): Likewise.
55009         (fmaxf): Likewise.
55010         (fmax): Likewise.
55011         (fminf): Likewise.
55012         (fmin): Likewise.
55013         (rint): Likewise.
55014         (rintf): Likewise.
55015         (ceil): Likewise.
55016         (ceilf): Likewise.
55017         (floor): Likewise.
55018         (floorf): Likewise.
55019         (nearbyint): Likewise.
55020         (nearbyintf): Likewise.
55022 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
55024         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
55025         non-default versions.
55027 2012-06-11  Roland McGrath  <roland@hack.frob.com>
55029         [BZ #14218]
55030         * manual/argp.texi (Argp): Reword argp_parse description slightly.
55032 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
55034         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
55035         (FE_UPWARD, FE_DOWNWARD): Don't define.
55036         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
55037         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
55039         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
55040         reading it.
55041         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
55042         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
55044 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
55046         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
55047         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
55048         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
55049         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
55051 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
55053         [BZ #14117]
55054         * sysdeps/i386/fpu/bits/fenv.h: Removed.
55055         * sysdeps/i386/fpu/Implies: New file.
55056         * sysdeps/x86_64/fpu/Implies: Likewise.
55057         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
55058         * sysdeps/x86/fpu/bits/fenv.h: This.
55060         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
55061         __SSE_MATH__.
55063 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
55065         [BZ #14134]
55066         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
55067         character 0xffff that matches the last element of the
55068         conversion table.
55070 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55072         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
55073         fmodl commit.
55075 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55077         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
55078         values higher than 25.6283.
55080 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55082         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
55083         subnormal exponent extraction and add some __builtin_expect.
55084         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
55085         Fix for subnormal mantissa calculation.
55087 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
55089         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
55090         cpu2 is -1 and errno is not ENOSYS.
55092 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
55094         [BZ #14117]
55095         * sysdeps/i386/i486/bits/string.h: Renamed to ...
55096         * sysdeps/x86/bits/string.h: This.
55097         * sysdeps/x86_64/bits/string.h: Removed.
55099         * sysdeps/i386/i486/bits/string.h: Define inline functions only
55100         if not compiling for x86-64, but compiling for >= i486.
55102         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
55103         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
55105         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
55106         New macro from Linux kernel 3.4.0.
55107         (FP_XSTATE_MAGIC2): Likewise.
55108         (FP_XSTATE_MAGIC2_SIZE): Likewise.
55109         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
55110         (struct _fpx_sw_bytes): New struct.
55111         (struct _xsave_hdr): Likewise.
55112         (struct _ymmh_state): Likewise.
55113         (struct _xstate): Likewise.
55115         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
55116         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
55117         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
55118         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
55119         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
55120         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
55122         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
55123         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
55124         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
55125         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
55126         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
55127         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
55129 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
55131         [BZ #13743]
55132         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
55133         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
55134         (sysdep_headers): Include sys/platform/ppc.h.
55135         * sysdeps/powerpc/test-gettimebase.c: Test for
55136         __ppc_get_timebase() to catch future ISA opcode/insn changes.
55137         * manual/Makefile (appendices): Include platform.texi.
55138         * manual/contrib.texi (Contributors): Update @node pointers.
55139         * manual/maint.texi (Maintenance): Likewise.
55140         (Platform): New node.
55141         * manual/platform.texi: New file.  Document the new features.
55143 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
55144             Jakub Jelinek  <jakub@redhat.com>
55146         [BZ #14188]
55147         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
55148         where __builtin_expect is unavailable.
55150 2012-06-03  David S. Miller  <davem@davemloft.net>
55152         * stdlib/longlong.h: Updated from GCC.
55154 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
55156         [BZ #14042]
55157         * sysdeps/powerpc/powerpc32/mcount.c: New file.
55158         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
55159         __mcount_internal.
55160         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
55161         (GLIBC_2.16): Likewise.
55163 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
55165         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
55167 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
55169         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
55170         (default-abi): New variable.
55171         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
55172         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
55173         variable.
55174         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
55175         Likewise.
55176         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
55177         Likewise.
55178         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
55179         Likewise.
55181         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
55182         definition.  Document in comment.
55184 2012-06-01  David S. Miller  <davem@davemloft.net>
55186         * stdlib/longlong.h: Updated from GCC.
55188 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
55190         [BZ #14117]
55191         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
55192         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
55193         sys/debugreg.h sys/io.h here.
55194         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
55195         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
55196         sys/io.h.
55197         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
55198         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
55199         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
55200         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
55201         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
55202         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
55204         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
55205         Define only if __x86_64__ is defined.
55207 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
55209         [BZ #14048]
55210         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
55211         Use int64_t for variable i.
55212         * math/libm-test.inc (fmod_test): Add more tests.
55214         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
55215         z computation is not scheduled after fetestexcept.
55216         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
55217         Use math_force_eval instead of asm to ensure calculation scheduled
55218         before exception test.
55219         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
55220         Ensure a1 + u.d computation is not scheduled after fetestexcept.
55222 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
55224         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
55225         computation is not scheduled after fetestexcept.
55227 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
55229         [BZ #14117]
55230         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
55231         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
55233 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55235         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
55236         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
55238 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
55240         [BZ #14117]
55241         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
55242         <bits/wordsize.h>.
55243         (__WCHAR_MIN): Support __WORDSIZE == 64.
55244         (__WCHAR_MAX): Likewise.
55246         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
55247         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
55249         [BZ #14183]
55250         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
55251         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
55253         [BZ #14117]
55254         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
55255         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
55257         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
55258         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
55260         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
55261         Defined to 1 if __x86_64__ isn't defined.
55262         (_STAT_VER_LINUX_OLD): New.
55263         (st_atime): Remove duplicate.
55264         (st_mtime): Likewise.
55265         (st_ctime): Likewise.
55267 2012-05-31  David S. Miller  <davem@davemloft.net>
55269         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
55270         entries.
55272 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
55274         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
55275         gen-libm-test.pl.
55277         [BZ #14132]
55278         * elf/dl-reloc.c: Include <_itoa.h>.
55279         (_dl_reloc_bad_type): Remove use of INTUSE.
55280         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
55281         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
55282         * stdio-common/psiginfo.c (psiginfo): Likewise.
55283         * stdio-common/psignal.c (psignal): Likewise.
55284         * string/strsignal.c (strsignal): Likewise.
55285         * include/signal.h (_sys_siglist): Declare hidden proto.
55286         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
55287         INTVARDEF with libc_hidden_data_def.
55288         * stdio-common/itoa-udigits.c: Likewise.
55289         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
55290         (_itoa_lower_digits_internal): Remove declaration.
55291         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
55292         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
55293         (_sys_sigabbrev_internal): Remove aliases.
55294         (_sys_siglist): Define hidden alias.
55296 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
55298         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
55299         bits/sysctl.h.
55301 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
55303         [BZ #14117]
55304         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
55305         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
55307         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
55308         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
55309         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
55310         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
55311         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
55312         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
55314         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
55315         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
55316         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
55318         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
55319         with __addr.
55320         (insw): Likewise.
55321         (insl): Likewise.
55322         (outsb): Likewise.
55323         (outsw): Likewise.
55324         (outsl): Likewise.
55326         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
55327         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
55328         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
55330         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
55331         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
55332         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
55333         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
55334         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
55335         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
55337         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
55338         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
55340         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
55341         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
55343         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
55344         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
55345         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
55347         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
55348         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
55349         to ...
55350         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
55352         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
55353         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
55354         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
55356         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
55357         for x86-64.
55358         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
55360 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
55362         * math/math.h (M_El): Use two more decimal places.
55363         (M_LOG2El): Likewise.
55364         (M_LOG10El): Likewise.
55365         (M_LN2l): Likewise.
55366         (M_LN10l): Likewise.
55367         (M_PIl): Likewise.
55368         (M_PI_2l): Likewise.
55369         (M_PI_4l): Likewise.
55370         (M_1_PIl): Likewise.
55371         (M_2_PIl): Likewise.
55372         (M_2_SQRTPIl): Likewise.
55373         (M_SQRT2l): Likewise.
55374         (M_SQRT1_2l): Likewise.
55376 2012-05-31  David S. Miller  <davem@davemloft.net>
55378         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
55379         values between float registers.
55380         * sysdeps/sparc/sparc64/memset.S: Likewise.
55381         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
55383 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
55385         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
55386         -D_FORTIFY_SOURCE=1.
55387         (CPPFLAGS-tst-longjmp_chk.c): Define.
55388         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
55389         (CPPFLAGS-tst-longjmp_chk2.c): Define.
55390         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
55391         CFLAGS-tst-wchar-h.c.
55393 2012-05-31  Marek Polacek  <polacek@redhat.com>
55395         [BZ #14132]
55396         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
55397         __endmntent_internal): Remove declaration.
55398         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
55399         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
55400         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
55402 2012-05-30  David S. Miller  <davem@davemloft.net>
55404         * sysdeps/sparc/sparc32/soft-fp/q_util.c
55405         (___Q_simulate_exceptions): Use real FP ops rather than writing
55406         into the %fsr.
55407         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
55408         Likewise.
55410 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
55412         [BZ #14117]
55413         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
55414         * sysdeps/x86/bits/xtitypes.h: This.
55416         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
55417         * sysdeps/x86/bits/wordsize.h: This.
55419         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
55420         * sysdeps/x86/bits/huge_vall.h: This.
55422         * sysdeps/i386/bits/select.h: Removed.
55423         * sysdeps/x86_64/bits/select.h: Renamed to ...
55424         * sysdeps/x86/bits/select.h: This.
55426         * sysdeps/i386/bits/setjmp.h: Removed.
55427         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
55428         * sysdeps/x86/bits/setjmp.h: This.
55430         * sysdeps/i386/bits/mathdef.h: Removed.
55431         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
55432         * sysdeps/x86/bits/mathdef.h: This.
55434 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
55436         [BZ #14132]
55437         * include/sys/socket.h (__connect_internal)
55438         (__libc_sa_len_internal): Remove declaration.
55439         (__connect, __libc_sa_len): Declare hidden_proto.
55440         (SA_LEN): Remove use of INTUSE.
55441         * socket/connect.c: Add libc_hidden_def.
55442         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
55443         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
55444         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
55445         alias.
55446         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
55447         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
55448         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
55449         of adding _internal alias.
55451 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
55453         [BZ #14117]
55454         * sysdeps/i386/bits/link.h: Removed.
55455         * sysdeps/i386/bits/linkmap.h: Likewise.
55456         * sysdeps/x86_64/bits/link.h: Renamed to ...
55457         * sysdeps/x86/bits/link.h: This.
55458         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
55459         * sysdeps/x86/bits/linkmap.h: This.
55461         * sysdeps/i386/bits/endian.h: Removed.
55462         * sysdeps/x86_64/bits/endian.h: Renamed to ...
55463         * sysdeps/x86/bits/endian.h: This.
55465         * sysdeps/i386/bits/byteswap.h: Removed.
55466         * sysdeps/i386/bits/byteswap-16.h: Likewise.
55467         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
55468         * sysdeps/x86/bits/byteswap.h: This.
55469         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
55470         * sysdeps/x86/bits/byteswap-16.h: This.
55471         * sysdeps/i386/Implies: Add x86.
55472         * sysdeps/x86_64/Implies: Likewise.
55474 2012-05-30  David S. Miller  <davem@davemloft.net>
55476         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
55477         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
55478         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
55479         (FP_TRAPPING_EXCEPTIONS): Define.
55480         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
55481         (FP_TRAPPING_EXCEPTIONS): Define.
55482         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
55483         subnormals only when inexact has been signalled or underflow
55484         exceptions are enabled.
55485         (_FP_PACK_CANONICAL): Likewise.
55487 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
55489         [BZ #14183]
55490         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
55491         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
55493 2012-05-30  Richard Henderson  <rth@twiddle.net>
55495         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
55496         with #ifndef NOT_IN_libc.
55498         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
55499         marked to avoid plt entry.
55501 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
55503         [BZ #14112]
55504         * Makeconfig (default-abi): New macro.
55505         (abi-includes): Likewise.
55506         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
55507         $(abi-$(default-abi)-lib-soname) for soname if defined.
55508         ($(common-objpfx)gnu/lib-names.stmp): Generate from
55509         abi-variants.
55510         * Makefile (installed-stubs): Likewise.
55511         * include/stubs-biarch.h: Removed.
55512         * scripts/lib-names.awk: Only handle one library at a time.
55513         * scripts/soversions.awk: Remove WORDSIZE support.
55514         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
55515         entries.
55516         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
55517         Removed.
55518         (syscall-list-default-condition): Likewise.
55519         (syscall-list-default-condition): Likewise.
55520         (syscall-list-includes): Likewise.
55521         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
55522         syscall-list-* with abi-*.  Handle undefined abi-variants.
55523         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
55524         * sysdeps/unix/sysv/linux/i386/Implies: New file.
55525         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
55526         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
55527         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
55528         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
55529         Removed.
55530         (syscall-list-32-options): Likewise.
55531         (syscall-list-32-condition): Likewise.
55532         (syscall-list-64-options): Likewise.
55533         (syscall-list-64-condition): Likewise.
55534         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
55535         macro.
55536         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
55537         Renamed to ...
55538         (abi-*): This.
55539         (abi-64-ld-soname): New macro.
55540         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
55541         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
55542         Renamed to ...
55543         (abi-*): This.
55544         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
55545         * sysdeps/x86_64/x32/shlib-versions: Likewise.
55547 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
55549         * sysdeps/unix/sysv/linux/kernel-features.h
55550         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
55551         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
55552         include <kernel-features.h>.
55553         [!__NR_ftruncate64]: Remove conditional code.
55554         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
55555         [__NR_ftruncate64]: Make code unconditional.
55556         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
55557         * sysdeps/unix/sysv/linux/truncate64.c: Do not
55558         include <kernel-features.h>.
55559         [!__NR_ftruncate64]: Remove conditional code.
55560         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
55561         [__NR_ftruncate64]: Make code unconditional.
55562         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
55563         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
55564         include <kernel-features.h>.
55565         [!__NR_ftruncate64]: Remove conditional code.
55566         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
55567         [__NR_ftruncate64]: Make code unconditional.
55568         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
55569         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
55570         include <kernel-features.h>.
55571         [!__NR_ftruncate64]: Remove conditional code.
55572         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
55573         [__NR_ftruncate64]: Make code unconditional.
55574         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
55576         * configure.in (libc_cv_fpie): Weaken to a compile test using
55577         LIBC_TRY_CC_OPTION.
55578         * configure: Regenerated.
55580 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
55582         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
55583         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
55584         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
55585         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
55586         Refreshed.
55587         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
55588         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
55589         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
55590         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
55591         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
55592         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
55593         Refreshed.
55595 2012-05-27  David S. Miller  <davem@davemloft.net>
55597         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
55598         (___Q_zero): New.
55599         (__Q_simulate_exceptions): Return void.  Change to simulate
55600         exceptions by writing into the %fsr.
55601         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
55602         (__Qp_handle_exceptions): Likewise.
55603         (numbers): Delete.
55604         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
55605         __Qp_handle_exceptions.
55606         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
55607         __Qp_handle_exceptions.
55608         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
55609         as unused and give dummy FP_RND_NEAREST initializer.
55610         (FP_INHIBIT_RESULTS): Define.
55611         (___Q_simulate_exceptions): Update declaration.
55612         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
55613         formatting.
55614         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
55615         as unused and give dummy FP_RND_NEAREST initializer.
55616         (__Qp_handle_exceptions): Update declaration.
55617         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
55618         formatting.
55620 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
55622         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
55623         the temporary FPU control word.
55624         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
55625         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
55626         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
55627         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
55628         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
55629         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
55630         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
55631         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
55632         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
55633         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
55634         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
55636 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
55638         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
55639         fields.
55641 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
55643         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
55644         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
55645         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
55646         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
55647         Likewise.
55648         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
55649         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
55650         Likewise.
55652 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
55654         * po/h.po: Update from translation team.
55656 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
55658         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
55660         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
55661         handling of denormals.
55662         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
55663         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
55664         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
55665         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
55666         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
55667         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
55668         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
55669         Likewise.
55671 2012-05-26  Marek Polacek  <polacek@redhat.com>
55673         [BZ #14152]
55674         * math/libm-test.inc (fma_test): Don't always expect underflow
55675         exception.
55677 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
55679         [BZ #12416]
55680         * elf/tst-execstack.c: Include stackinfo.h.
55681         (do_test): Adjust test case to ensure that pthread_getattr_np
55682         behaviour remains the same after marking stack executable.
55684 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
55686         * sysdeps/unix/sysv/linux/kernel-features.h
55687         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
55688         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
55689         kernel-features.h.
55690         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
55691         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
55692         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
55693         kernel-features.h.
55694         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
55695         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
55697 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
55699         * configure.in: Define the default includes to being none.
55700         * configure: Regenerated.
55702 2012-05-25  Roland McGrath  <roland@hack.frob.com>
55704         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
55705         * sysdeps/x86_64/setjmp.S: Likewise.
55706         * sysdeps/i386/bsd-setjmp.S: Likewise.
55707         * sysdeps/i386/bsd-_setjmp.S: Likewise.
55708         * sysdeps/i386/setjmp.S: Likewise.
55709         * sysdeps/i386/__longjmp.S: Likewise.
55710         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
55711         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
55713         * include/stap-probe.h: New file.
55714         * configure.in: Handle --enable-systemtap.
55715         * configure: Regenerated.
55716         * config.h.in (USE_STAP_PROBE): New #undef.
55717         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
55718         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
55719         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
55721 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
55723         [BZ #13717]
55724         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
55725         to 2.4.0 where earlier.
55726         * sysdeps/unix/sysv/linux/configure: Regenerated.
55727         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
55728         <kernel-features.h>.
55729         [__ASSUME_32BITUIDS]: Make code unconditional.
55730         [!__ASSUME_32BITUIDS]: Remove conditional code.
55731         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
55732         <kernel-features.h>.
55733         [__ASSUME_32BITUIDS]: Make code unconditional.
55734         [!__ASSUME_32BITUIDS]: Remove conditional code.
55735         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
55736         [__ASSUME_32BITUIDS]: Make code unconditional.
55737         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
55738         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
55739         <kernel-features.h>.
55740         [__ASSUME_32BITUIDS]: Make code unconditional.
55741         [!__ASSUME_32BITUIDS]: Remove conditional code.
55742         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
55743         <kernel-features.h>.
55744         [__ASSUME_32BITUIDS]: Make code unconditional.
55745         [!__ASSUME_32BITUIDS]: Remove conditional code.
55746         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
55747         <kernel-features.h>.
55748         [__ASSUME_32BITUIDS]: Make code unconditional.
55749         [!__ASSUME_32BITUIDS]: Remove conditional code.
55750         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
55751         <kernel-features.h>.
55752         [__ASSUME_32BITUIDS]: Make code unconditional.
55753         [!__ASSUME_32BITUIDS]: Remove conditional code.
55754         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
55755         <kernel-features.h>.
55756         [__ASSUME_32BITUIDS]: Make code unconditional.
55757         [!__ASSUME_32BITUIDS]: Remove conditional code.
55758         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
55759         <kernel-features.h>.
55760         [__ASSUME_32BITUIDS]: Make code unconditional.
55761         [!__ASSUME_32BITUIDS]: Remove conditional code.
55762         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
55763         <kernel-features.h>.
55764         [__ASSUME_32BITUIDS]: Make code unconditional.
55765         [!__ASSUME_32BITUIDS]: Remove conditional code.
55766         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
55767         <kernel-features.h>.
55768         [__ASSUME_32BITUIDS]: Make code unconditional.
55769         [!__ASSUME_32BITUIDS]: Remove conditional code.
55770         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
55771         <kernel-features.h>.
55772         [__ASSUME_32BITUIDS]: Make code unconditional.
55773         [!__ASSUME_32BITUIDS]: Remove conditional code.
55774         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
55775         <kernel-features.h>.
55776         [__ASSUME_32BITUIDS]: Make code unconditional.
55777         [!__ASSUME_32BITUIDS]: Remove conditional code.
55778         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
55779         <kernel-features.h>.
55780         [__NR_setresgid] (__setresgid): Do not declare.
55781         [__ASSUME_32BITUIDS]: Make code unconditional.
55782         [!__ASSUME_32BITUIDS]: Remove conditional code.
55783         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
55784         <kernel-features.h>.
55785         [__NR_setresuid] (__setresuid): Do not declare.
55786         [__ASSUME_32BITUIDS]: Make code unconditional.
55787         [!__ASSUME_32BITUIDS]: Remove conditional code.
55788         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
55789         <kernel-features.h>.
55790         [__ASSUME_32BITUIDS]: Make code unconditional.
55791         [!__ASSUME_32BITUIDS]: Remove conditional code.
55792         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
55793         <kernel-features.h>.
55794         [__ASSUME_32BITUIDS]: Make code unconditional.
55795         [!__ASSUME_32BITUIDS]: Remove conditional code.
55796         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
55797         <kernel-features.h>.
55798         [__ASSUME_32BITUIDS]: Make code unconditional.
55799         [!__ASSUME_32BITUIDS]: Remove conditional code.
55800         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
55801         <kernel-features.h>.
55802         [__ASSUME_32BITUIDS]: Make code unconditional.
55803         [!__ASSUME_32BITUIDS]: Remove conditional code.
55804         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
55805         <kernel-features.h>.
55806         [__ASSUME_32BITUIDS]: Make code unconditional.
55807         [!__ASSUME_32BITUIDS]: Remove conditional code.
55808         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
55809         <kernel-features.h>.
55810         [__ASSUME_32BITUIDS]: Make code unconditional.
55811         [!__ASSUME_32BITUIDS]: Remove conditional code.
55812         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
55813         <kernel-features.h>.
55814         [__ASSUME_32BITUIDS]: Make code unconditional.
55815         [!__ASSUME_32BITUIDS]: Remove conditional code.
55816         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
55817         <kernel-features.h>.
55818         [__ASSUME_32BITUIDS]: Make code unconditional.
55819         [!__ASSUME_32BITUIDS]: Remove conditional code.
55820         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
55821         <kernel-features.h>.
55822         [__ASSUME_32BITUIDS]: Make code unconditional.
55823         [!__ASSUME_32BITUIDS]: Remove conditional code.
55824         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
55825         <kernel-features.h>.
55826         [__ASSUME_32BITUIDS]: Make code unconditional.
55827         [!__ASSUME_32BITUIDS]: Remove conditional code.
55828         * sysdeps/unix/sysv/linux/kernel-features.h
55829         (__ASSUME_SETRESUID_SYSCALL): Remove.
55830         (__ASSUME_SETRESGID_SYSCALL): Likewise.
55831         (__ASSUME_32BITUIDS): Likewise.
55832         (__ASSUME_LDT_WORKS): Likewise.
55833         (__ASSUME_O_DIRECTORY): Likewise.
55834         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
55835         architecture but not kernel version.
55836         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
55837         (__ASSUME_MMAP2_SYSCALL): Likewise.
55838         (__ASSUME_STAT64_SYSCALL): Likewise.
55839         (__ASSUME_IPC64): Likewise.
55840         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
55841         <kernel-features.h>.
55842         [__ASSUME_32BITUIDS]: Make code unconditional.
55843         [!__ASSUME_32BITUIDS]: Remove conditional code.
55844         * sysdeps/unix/sysv/linux/opendir.c: Do not include
55845         <kernel-features.h>.
55846         [__ASSUME_O_DIRECTORY]: Make code unconditional.
55847         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
55848         132096]: Remove conditional code.
55849         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
55850         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
55851         <kernel-features.h>.
55852         [__ASSUME_32BITUIDS]: Make code unconditional.
55853         [!__ASSUME_32BITUIDS]: Remove conditional code.
55854         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
55855         <kernel-features.h>.
55856         [__ASSUME_32BITUIDS]: Make code unconditional.
55857         [!__ASSUME_32BITUIDS]: Remove conditional code.
55858         * sysdeps/unix/sysv/linux/setegid.c: Do not include
55859         <kernel-features.h>.
55860         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
55861         unconditional.
55862         (__setresgid): Do not declare.
55863         [__ASSUME_32BITUIDS]: Make code unconditional.
55864         [!__ASSUME_32BITUIDS]: Remove conditional code.
55865         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
55866         <kernel-features.h>.
55867         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
55868         unconditional.
55869         (__setresuid): Do not declare.
55870         [__ASSUME_32BITUIDS]: Make code unconditional.
55871         [!__ASSUME_32BITUIDS]: Remove conditional code.
55872         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
55873         <kernel-features.h>.
55874         [__ASSUME_32BITUIDS]: Make code unconditional.
55875         [!__ASSUME_32BITUIDS]: Remove conditional code.
55876         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
55877         <kernel-features.h>.
55878         [__ASSUME_32BITUIDS]: Make code unconditional.
55879         [!__ASSUME_32BITUIDS]: Remove conditional code.
55881 2012-05-25  Richard Henderson  <rth@twiddle.net>
55883         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
55884         dl_hwcap to ifunc resolver.
55885         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
55886         elf_ifunc_invoke.
55887         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
55888         dl_hwcap to ifunc resolver.
55889         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
55891 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
55893         [BZ #14153]
55894         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
55895         for |x| <= 2**-26, not 2**-57.
55896         * math/libm-test.inc (acos_test): Do not allow spurious underflow
55897         exception.
55899 2012-05-24  Jeff Law  <law@redhat.com>
55901         * stdio-common/Makefile (tests): Add bug25.
55902         * stdio-common/bug25.c: New test.
55904 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
55906         [BZ #13576]
55907         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
55908         multiple of MALLOC_ALIGNMENT in size.
55909         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
55911 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
55913         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
55914         Require >= 256.
55915         (FILENAME_MAX): Use macro-int-constant.
55916         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
55917         (_IOFBF): Use macro-int-constant.
55918         (_IOLBF): Likewise.
55919         (_IONBF): Likewise.
55920         (SEEK_CUR): Likewise.
55921         (SEEK_END): Likewise.
55922         (SEEK_SET): Likewise.
55923         (TMP_MAX): Likewise.
55924         (EOF): Use macro-int-constant.  Require < 0.
55925         (NULL): Use macro-constant.  Require == 0.
55926         (stdin): Require type to be FILE *.
55927         (stdout): Likewise.
55928         (stderr): Likewise.
55929         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
55930         macro-int-constant.
55931         (EXIT_SUCCESS): Likewise.
55932         (NULL): Use macro-constant.  Require == 0.
55933         (RAND_MAX): Use macro-int-constant.
55934         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
55935         [C99-based standards] (strtof): Require function.
55936         [C99-based standards] (strtold): Likewise.
55937         [C99-based standards] (strtoll): Likewise.
55938         [C99-based standards] (strtoull): Likewise.
55939         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
55940         [ISO || ISO99 || ISO11] (limits.h): Likewise.
55941         [ISO || ISO99 || ISO11] (math.h): Likewise.
55942         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
55943         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
55944         [ISO || ISO99 || ISO11] (*_t): Do not allow.
55946 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
55948         [BZ #14132]
55949         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
55950         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
55951         * intl/dgettext.c (DCGETTEXT): Likewise.
55952         * intl/gettext.c (DCGETTEXT): Likewise.
55953         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
55954         * posix/regex_internal.h (gettext): Likewise.
55955         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
55956         Remove declaration.
55957         * include/argz.h (__argz_count_internal)
55958         (__argz_stringify_internal): Remove declaration.
55959         (__argz_count, __argz_stringify): Declare hidden proto.
55960         * intl/dcgettext.c: Remove use of INTDEF.
55961         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
55962         * string/argz-stringify.c: Likewise.
55963         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
55964         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
55965         Declare hidden proto.
55966         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
55967         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
55968         Declare hidden proto.
55969         * include/stdio.h (__asprintf_internal): Don't declare.
55970         (__asprintf): Don't define as macro.  Declare hidden proto.
55971         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
55972         (__fsetlocking): Declare hidden proto.
55973         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
55974         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
55975         hidden proto.
55976         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
55977         (_IO_setlinebuf): Remove use of INTUSE.
55978         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
55979         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
55980         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
55981         Remove declaration.
55982         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
55983         (_IO_do_flush): Remove use of INTUSE.
55984         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
55985         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
55986         (_IO_adjust_column, _IO_least_wmarker)
55987         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
55988         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
55989         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
55990         (_IO_default_doallocate, _IO_wdefault_doallocate)
55991         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
55992         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
55993         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
55994         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
55995         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
55996         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
55997         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
55998         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
55999         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
56000         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
56001         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
56002         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
56003         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
56004         proto.
56005         (_IO_flush_all_internal, _IO_adjust_column_internal)
56006         (_IO_default_uflow_internal, _IO_default_finish_internal)
56007         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
56008         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
56009         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
56010         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
56011         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
56012         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
56013         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
56014         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
56015         (_IO_file_close_internal, _IO_file_close_it_internal)
56016         (_IO_file_underflow_internal, _IO_file_overflow_internal)
56017         (_IO_file_init_internal, _IO_file_attach_internal)
56018         (_IO_file_fopen_internal, _IO_file_read_internal)
56019         (_IO_file_sync_internal, _IO_file_seek_internal)
56020         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
56021         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
56022         (_IO_str_underflow_internal, _IO_str_overflow_internal)
56023         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
56024         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
56025         (_IO_list_all_internal, _IO_link_in_internal)
56026         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
56027         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
56028         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
56029         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
56030         (_IO_do_write_internal, _IO_padn_internal)
56031         (_IO_getline_info_internal, _IO_getline_internal)
56032         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
56033         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
56034         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
56035         (_IO_vfscanf_internal, _IO_vfprintf_internal)
56036         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
56037         (_IO_init_internal, _IO_un_link_internal): Don't declare.
56038         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
56039         with libc_hidden_ver, remove use of INTUSE.
56040         * libio/genops.c: Likewise.
56041         * libio/freopen.c: Likewise.
56042         * libio/freopen64.c: Likewise.
56043         * libio/iofclose.c: Likewise.
56044         * libio/iofdopen.c: Likewise.
56045         * libio/iofflush.c: Likewise.
56046         * libio/iofflush_u.c: Likewise.
56047         * libio/iofgets.c: Likewise.
56048         * libio/iofgets_u.c: Likewise.
56049         * libio/iofopen.c: Likewise.
56050         * libio/iofopncook.c: Likewise.
56051         * libio/iofread.c: Likewise.
56052         * libio/iofread_u.c: Likewise.
56053         * libio/ioftell.c: Likewise.
56054         * libio/iofwrite.c: Likewise.
56055         * libio/iogetline.c: Likewise.
56056         * libio/iogets.c: Likewise.
56057         * libio/iogetwline.c: Likewise.
56058         * libio/iopadn.c: Likewise.
56059         * libio/iopopen.c: Likewise.
56060         * libio/ioseekoff.c: Likewise.
56061         * libio/ioseekpos.c: Likewise.
56062         * libio/iosetbuffer.c: Likewise.
56063         * libio/iosetvbuf.c: Likewise.
56064         * libio/ioungetc.c: Likewise.
56065         * libio/ioungetwc.c: Likewise.
56066         * libio/iovdprintf.c: Likewise.
56067         * libio/iovsprintf.c: Likewise.
56068         * libio/iovsscanf.c: Likewise.
56069         * libio/memstream.c: Likewise.
56070         * libio/obprintf.c: Likewise.
56071         * libio/oldfileops.c: Likewise.
56072         * libio/oldiofclose.c: Likewise.
56073         * libio/oldiofdopen.c: Likewise.
56074         * libio/oldiofopen.c: Likewise.
56075         * libio/oldiopopen.c: Likewise.
56076         * libio/oldstdfiles.c: Likewise.
56077         * libio/putc.c: Likewise.
56078         * libio/setbuf.c: Likewise.
56079         * libio/setlinebuf.c: Likewise.
56080         * libio/stdfiles.c: Likewise.
56081         * libio/strops.c: Likewise.
56082         * libio/vasprintf.c: Likewise.
56083         * libio/vscanf.c: Likewise.
56084         * libio/vsnprintf.c: Likewise.
56085         * libio/vswprintf.c: Likewise.
56086         * libio/wfiledoalloc.c: Likewise.
56087         * libio/wfileops.c: Likewise.
56088         * libio/wgenops.c: Likewise.
56089         * libio/wmemstream.c: Likewise.
56090         * libio/wstrops.c: Likewise.
56091         * libio/__fpurge.c: Likewise.
56092         * libio/__fsetlocking.c: Likewise.
56093         * assert/assert.c: Likewise.
56094         * debug/fgets_chk.c: Likewise.
56095         * debug/fgets_u_chk.c: Likewise.
56096         * debug/fread_chk.c: Likewise.
56097         * debug/fread_u_chk.c: Likewise.
56098         * debug/gets_chk.c: Likewise.
56099         * debug/obprintf_chk.c: Likewise.
56100         * debug/vasprintf_chk.c: Likewise.
56101         * debug/vdprintf_chk.c: Likewise.
56102         * debug/vsnprintf_chk.c: Likewise.
56103         * debug/vsprintf_chk.c: Likewise.
56104         * malloc/mtrace.c: Likewise.
56105         * misc/error.c: Likewise.
56106         * misc/syslog.c: Likewise.
56107         * stdio-common/asprintf.c: Likewise.
56108         * stdio-common/fxprintf.c: Likewise.
56109         * stdio-common/getw.c: Likewise.
56110         * stdio-common/isoc99_fscanf.c: Likewise.
56111         * stdio-common/isoc99_scanf.c: Likewise.
56112         * stdio-common/isoc99_vfscanf.c: Likewise.
56113         * stdio-common/isoc99_vscanf.c: Likewise.
56114         * stdio-common/isoc99_vsscanf.c: Likewise.
56115         * stdio-common/printf-prs.c: Likewise.
56116         * stdio-common/printf_fp.c: Likewise.
56117         * stdio-common/printf_fphex.c: Likewise.
56118         * stdio-common/printf_size.c: Likewise.
56119         * stdio-common/putw.c: Likewise.
56120         * stdio-common/scanf.c: Likewise.
56121         * stdio-common/sprintf.c: Likewise.
56122         * stdio-common/tmpfile.c: Likewise.
56123         * stdio-common/vfprintf.c: Likewise.
56124         * stdio-common/vfscanf.c: Likewise.
56125         * stdlib/strfmon_l.c: Likewise.
56126         * sunrpc/openchild.c: Likewise.
56127         * sunrpc/xdr_stdio.c: Likewise.
56128         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
56129         * sysdeps/mach/hurd/tmpfile.c: Likewise.
56131 2012-05-24  Roland McGrath  <roland@hack.frob.com>
56133         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
56135         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
56136         in the third column, to generate for the shared library an IFUNC
56137         that uses _dl_vdso_vsym.
56138         * Makerules (COMPILE.c, compile-stdin.c): New variables.
56139         * Makeconfig (object-suffixes-noshared): New variable.
56141         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
56142         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
56143         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
56144         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
56146         [BZ #14132]
56147         * include/sys/time.h (__gettimeofday): Remove macro.
56148         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
56149         * time/gettimeofday.c (__gettimeofday): Remove #undef.
56150         Remove INTDEF.
56151         (__gettimeofday): Add libc_hidden_def.
56152         (gettimeofday): Add libc_hidden_weak.
56153         * sysdeps/mach/gettimeofday.c: Likewise.
56154         * sysdeps/posix/gettimeofday.c: Likewise.
56155         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
56156         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
56157         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
56158         (__gettimeofday_internal): Remove strong_alias.
56159         (__gettimeofday): Add libc_hidden_def.
56160         (gettimeofday): Add libc_hidden_weak.
56161         * sysdeps/unix/syscalls.list (gettimeofday):
56162         Remove __gettimeofday_internal alias.
56164 2012-05-24  Daniel Jacobowitz  <drow@false.org>
56165             H.J. Lu  <hongjiu.lu@intel.com>
56167         [BZ #12495]
56168         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
56169         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
56170         (largebin_index_32_big): New.
56171         (largebin_index): Use it for 16-byte alignment.
56172         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
56173         correction with front_misalign.
56175 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
56177         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
56178         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
56179         Likewise.
56180         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
56181         Likewise.
56182         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
56183         Likewise.
56184         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
56185         Likewise.
56186         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
56187         Likewise.
56188         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
56189         Likewise.
56190         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
56191         Likewise.
56192         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
56193         Likewise.
56194         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
56195         Likewise.
56196         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
56197         Likewise.
56198         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
56199         Likewise.
56200         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
56201         Likewise.
56203         * scripts/data/c++-types-x32-linux-gnu.data: New file.
56204         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
56206 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
56208         [BZ #10846]
56209         [BZ #14036]
56210         * math/libm-test.inc (exp_test): Add test from bug 14036.
56211         (pow_test): Add test from bug 10846.
56213         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
56214         and other flags.
56215         (special_function): Do not include flags in test name.
56216         (parse_args): Likewise.
56217         * sysdeps/i386/fpu/libm-test-ulps: Update.
56218         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
56219         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
56220         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
56221         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56223         * math/gen-libm-test.pl (%beautify): Add entries for underflow
56224         exceptions.
56225         * math/libm-test.inc ("Philosophy"): Update comment about
56226         exception testing.
56227         (UNDERFLOW_EXCEPTION): New macro.
56228         (UNDERFLOW_EXCEPTION_OK): Likewise.
56229         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
56230         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
56231         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
56232         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
56233         (INVALID_EXCEPTION_OK): Update value.
56234         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
56235         (OVERFLOW_EXCEPTION_OK): Likewise.
56236         (IGNORE_ZERO_INF_SIGN): Likewise.
56237         (test_exceptions): Handle underflow exceptions.
56238         (acos_test): Update for underflow exception expectations.
56239         (cexp_test): Likewise.
56240         (clog_test): Likewise.
56241         (clog10_test): Likewise.
56242         (csqrt_test): Likewise.
56243         (ctan_test): Likewise.
56244         (ctanh_test): Likewise.
56245         (exp_test): Likewise.
56246         (exp10_test): Likewise.
56247         (exp2_test): Likewise.
56248         (expm1_test): Likewise.
56249         (fma_test): Likewise.
56250         (j0_test): Likewise.
56251         (jn_test): Likewise.
56252         (nexttoward_test): Likewise.
56253         (pow_test): Likewise.
56254         (scalbn_test): Likewise.
56255         (scalbln_test): Likewise.
56256         (tan_test): Likewise.
56257         (y1_test): Likewise.
56258         * sysdeps/i386/fpu/libm-test-ulps: Update.
56259         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56261 2012-05-23  David S. Miller  <davem@davemloft.net>
56263         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
56264         (__libc_sigaction): Remove unused local variables.
56266 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
56268         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
56270 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
56272         mktime: avoid signed integer overflow
56273         * time/mktime.c (__mktime_internal): Do not mishandle the case
56274         where diff == INT_MIN.
56276         mktime: simplify computation of average
56277         * time/mktime.c (ranged_convert): Use new time_t_avg function
56278         instead of rolling our own (probably-slower) code.
56280         mktime: do not assume signed right shift propagates sign bit
56281         * time/mktime.c (isdst_differ): New static function.
56282         (__mktime_internal): No need to normalize tm_isdst now.
56283         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
56284         tm_isdst values.
56286         mktime: merge another wrapv change from gnulib
56287         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
56288         from some compilers.
56290         mktime: remove incorrect attempt at unusual arithmetics
56291         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
56292         The code didn't really work on such machines anyway.
56293         (TYPE_MINIMUM): Assume two's complement.
56294         (twos_complement_arithmetic): Verify that long_int and time_t
56295         are two's complement (or unsigned, in the latter case).
56297         mktime: check signed shifts on long_int and time_t, too
56298         * time/mktime.c (SHR): Check that shifts work as desired
56299         on the types long_int and time_t too, as SHR is used on
56300         such types.
56302         mktime: do not assume 'long' is wide enough
56303         * time/mktime.c (verify): Move decl up.
56304         (long_int): New type.
56305         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
56306         to remove assumption in the code that 'long' is wide enough to
56307         store year values.  This assumption is not true on x32 and on
56308         some non-glibc platforms.
56310         mktime: merge wrapv change from gnulib
56311         * time/mktime.c (WRAPV): New macro.
56312         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
56313         (guess_time_tm, __mktime_internal): Do not assume that signed
56314         integer overflow wraps around; modern compilers generate code
56315         where this assumption is no longer valid.
56317 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
56319         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
56320         Replace "jmp L(pseudo_end)" with "ret".
56321         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
56322         Likewise.
56324 2012-05-23  Andreas Jaeger  <aj@suse.de>
56326         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
56327         * sysdeps/unix/sysv/linux/poll.c: Remove file.
56329 2012-05-23  Andreas Jaeger  <aj@suse.de>
56330             Maximilian Attems  <max@stro.at>
56332         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
56333         New macros.
56335 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
56337         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
56338         code so that pseudo_end is just ret and the stack pointer is
56339         correct also for static library in error case.
56341 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
56343         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
56344         move to syscalls.list.
56345         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
56346         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
56347         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
56348         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
56350         * manual/install.texi (Running make install): Do not mention Linux
56351         kernel version for which pt_chown is not needed.
56352         (Linux): Do not mention problems with nscd with 2.0 kernels.
56353         * INSTALL: Regenerated.
56355 2012-05-23  Andreas Jaeger  <aj@suse.de>
56357         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
56358         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
56359         macro.
56360         * sysdeps/unix/sysv/linux/s390/bits/mman.h
56361         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
56362         * sysdeps/unix/sysv/linux/sh/bits/mman.h
56363         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
56364         * sysdeps/unix/sysv/linux/i386/bits/mman.h
56365         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
56366         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
56367         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
56368         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
56369         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
56370         * sysdeps/unix/sysv/linux/bits/in.h
56371         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
56373 2012-05-22  Roland McGrath  <roland@hack.frob.com>
56375         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
56376         (PREPARE_VERSION): Just use assert instead, it will be elided
56377         under [NDEBUG] anyway.
56379 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
56381         * sysdeps/unix/sysv/linux/Makefile: Include
56382         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
56383         (sysdep_routines): Remove sysctl.
56384         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
56385         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
56386         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
56387         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
56388         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
56390 2012-05-22  Andreas Jaeger  <aj@suse.de>
56392         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
56393         that pseudo_end is just ret and the stack pointer is correct also
56394         for static library in error case.
56396 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
56398         [BZ #14122]
56399         * nss/nsswitch.c (defconfig_entries): New variable.
56400         (__nss_database_lookup): Don't leak defconfig entries.
56401         (nss_parse_service_list): Don't leak on error paths.
56402         (free_database_entries): New function.
56403         (free_defconfig): New function.
56404         (free_mem): Move common code to free_database_entries.
56406 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
56408         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
56409         Add arch_prctl.
56410         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
56412         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
56413         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
56414         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
56415         New macro.
56416         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
56417         (INTERNAL_SYSCALL_TYPES): Likewise.
56418         (LOAD_ARGS_TYPES_[1-6]): Likewise.
56419         (LOAD_REGS_TYPES_[1-6]): Likewise.
56420         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
56421         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
56423 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56425         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
56426         copysignl for GLIBC_2_0.
56427         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
56428         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
56429         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
56430         logbl for GLIBC_2_0.
56431         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
56432         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
56434 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
56436         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
56437         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
56439         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
56440         Use "neg %eax".
56442         * time/mktime.c: Update copyright years.
56444 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
56446         mktime: merge comment-quoting-style change from gnulib
56447         * time/mktime.c: Quote 'like this' in comments.
56448         The GNU coding standards suggest that we no longer quote `like this',
56449         as "`" and "'" are typically rendered asymmetrically nowadays.
56450         The typical gnulib style is to quote 'like this' when quoting
56451         code, and "like this" when quoting English.
56453         * time/mktime.c (compile-command): Add "-I.".
56455         mktime: merge mktime-internal.h change from gnulib
56456         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
56458         mktime: merge time_r change from gnulib
56459         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
56461         mktime: merge DEBUG change from gnulib
56462         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
56463         case system <time.h> has a #define.
56465         mktime: merge <sys/types.h> change from gnulib
56466         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
56467         since <time.t> is now guaranteed to define time_t.
56469         mktime: merge HAVE_CONFIG_H change from gnulib
56470         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
56472 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
56474         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
56475         Use "neg %eax".
56477         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
56478         __rlim_t cast.
56479         (struct rusage): Use anonymous union to pad each field to
56480         __syscall_slong_t.
56482 2012-05-21  David S. Miller  <davem@davemloft.net>
56484         * Makefules (o-iterator): Remove .s cases.
56485         (compile-command.s): Delete.
56486         (COMPILE.s): Delete.
56487         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
56489 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
56491         * configure.in (libc_cv_predef_stack_protector): Only consider
56492         "foobar" and "__stack_chk_fail" lines in libc_undefs.
56493         * configure: Regenerated.
56495 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
56497         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
56498         New macro.  Use R*LP on int and pointer.
56499         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
56500         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
56501         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
56502         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
56504         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
56505         [__WORDSIZE_TIME64_COMPAT32] instead of
56506         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
56507         (struct utmp): Likewise.
56508         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
56509         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
56510         Renamed to ...
56511         (__WORDSIZE_TIME64_COMPAT32): This.
56512         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
56513         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
56514         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
56515         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
56516         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
56517         (__WORDSIZE_TIME64_COMPAT32): New macro.
56519 2012-05-21  Andreas Jaeger  <aj@suse.de>
56521         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
56522         only if [SHARED]. Add prototype for __wcschr_ia32.
56524 2012-05-21  Roland McGrath  <roland@hack.frob.com>
56526         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
56527         of %rbp unmolested in the jmp_buf while mangling the low bits.
56528         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
56529         unmolested high bits of %rbp while demangling the low bits.
56530         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
56532 2012-05-21  Andreas Jaeger  <aj@suse.de>
56534         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
56535         * sunrpc/svc_simple.c: Use it for registerrpc.
56536         * sunrpc/xcrypt.c: Use it for passwd2des.
56538         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
56540 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
56542         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
56543         Don't define if [__SYSCALL_WORDSIZE != 32].
56544         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
56545         New macro.
56547 2012-05-21  Bruno Haible  <bruno@clisp.org>
56548             Andreas Jaeger  <aj@suse.de>
56550         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
56551         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
56552         inptr and inend for must_buffer_ch.
56553         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
56554         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
56555         * stdio-common/Makefile (tests): Remove bug15.
56556         (bug15-ENV): Remove macro.
56557         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
56558         anymore.
56560 2012-05-19  Andreas Jaeger  <aj@suse.de>
56561             Roland McGrath  <roland@hack.frob.com>
56563         * manual/contrib.texi: Completely rewritten. It contains now an
56564         alphabetical list of contributors and their contributions.
56566 2012-05-21  Richard Henderson  <rth@twiddle.net>
56568         * misc/getauxval.c (__getauxval): Use unsigned long int.
56569         * misc/sys/auxv.h: Include <sys/cdefs.h>.
56570         (getauxval): Use unsigned long int.
56572 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
56574         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
56576 2012-05-21  Roland McGrath  <roland@hack.frob.com>
56578         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
56579         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
56580         __alignof__ (long double).
56582 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56584         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56586 2012-05-20  Richard Henderson  <rth@twiddle.net>
56588         * misc/getauxval.c: New file.
56589         * misc/sys/auxv.h: New file.
56590         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
56591         (routines): Add getauxval.
56592         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
56593         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
56594         * elf/dl-sysdep.c (_dl_auxv): Remove.
56595         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
56596         * elf/dl-support.c (_dl_auxv): New variable.
56597         (_dl_aux_init): Initialize it.
56598         * manual/startup.texi (Auxiliary Vector): New node.
56599         * sysdeps/generic/bits/hwcap.h: New file.
56600         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
56601         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
56602         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
56603         * sysdeps/sparc/sysdep.h: ... here.  Include it.
56604         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
56605         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
56606         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
56607         Update.
56608         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
56609         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
56610         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
56611         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
56612         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
56613         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
56614         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
56615         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
56617 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56619         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56621 2012-05-19  David S. Miller  <davem@davemloft.net>
56623         * sysdeps/sparc/fpu/libm-test-ulps: Update.
56625 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
56627         [BZ #14123]
56628         * math/s_ccosh.c: Include <float.h>
56629         (__ccosh): Avoid internal overflow calculating sinh and cosh
56630         values before multiplying by sin and cos values.
56631         * math/s_ccoshf.c: Likewise.
56632         * math/s_ccoshl.c: Likewise.
56633         * math/s_csin.c: Likewise.
56634         * math/s_csinf.c: Likewise.
56635         * math/s_csinl.c: Likewise.
56636         * math/s_csinh.c: Likewise.
56637         * math/s_csinhf.c: Likewise.
56638         * math/s_csinhl.c: Likewise.
56639         * math/libm-test.inc (ccos_test): Add more tests.
56640         (ccosh_test): Likewise.
56641         (csin_test): Likewise.
56642         (csinh_test): Likewise.
56643         * sysdeps/i386/fpu/libm-test-ulps: Update.
56644         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56646 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
56648         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
56649         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
56651         * sysdeps/x86_64/x32/_itoa.h: Add comment.
56653 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
56655         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
56656         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
56657         * sysdeps/powerpc/soft-fp/Versions: Likewise.
56658         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
56659         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
56660         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
56661         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
56662         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
56663         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
56664         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
56665         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
56666         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
56667         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
56668         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
56669         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
56670         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
56671         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
56672         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
56673         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
56674         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
56675         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
56676         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
56677         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
56678         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
56679         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
56680         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
56681         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
56682         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
56683         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
56684         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
56685         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
56687 2012-05-18  Andreas Jaeger  <aj@suse.de>
56689         * csu/.gitignore: Delete.
56691 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
56693         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
56694         (timex): Use __syscall_slong_t.
56696 2012-05-18  Andreas Jaeger  <aj@suse.de>
56697             Carlos O'Donell  <carlos_odonell@mentor.com>
56699         * manual/install.texi (Configuring and compiling): Update
56700         description about files modified in the source directory.
56701         * INSTALL: Regenerated.
56703 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
56705         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
56706         value.  Use "or" to set return value to -1.
56707         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
56708         negate return value.
56710 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
56712         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
56713         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
56714         failure if the compiler has Graphite support disabled.
56715         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
56716         Likewise.
56717         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
56718         (CFLAGS-memmove.c): Likewise.
56719         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
56720         Likewise.
56722 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
56724         * sysdeps/x86_64/x32/_itoa.h: New file.
56726         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
56727         getdents system call only if kernel and user dirents have the
56728         same d_ino and d_off.
56730         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
56731         LLONG_MAX != LONG_MAX.
56732         (_itoa_word): Use _ITOA_WORD_TYPE on value.
56733         (_fitoa_word): Likewise.
56735         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
56736         years.
56737         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
56738         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
56739         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
56741         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
56742         include <bits/wordsize.h>.  Check __x86_64__ instead of
56743         __WORDSIZE.
56744         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
56745         if __x86_64__ is defined.  Use anonymous union on fpstate.
56747         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
56748         anonymous union.
56750 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
56752         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
56753         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
56754         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
56755         Refer to _rtld_local_ro instead of _rtld_global_ro.
56756         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
56757         Likewise.
56758         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
56759         Likewise.
56760         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
56761         Likewise.
56762         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
56763         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
56764         of _rtld_global, and rtld_progname instead of _dl_argv[0].
56766         [BZ #10882]
56767         * sysdeps/powerpc/powerpc32/dl-machine.c
56768         (__elf_machine_runtime_setup) [PROF]: Don't reference
56769         _dl_prof_resolve.
56771 2012-05-18  Andreas Jaeger  <aj@suse.de>
56773         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
56774         function only available for GCCs before 3.4 since GCC 3.4
56775         introduced a builtin.
56776         (lrint): Likewise.
56777         (llrintf): Likewise.
56778         (llrint): Likewise.
56779         (fmaxf): Likewise.
56780         (fmax): Likewise.
56781         (fminf): Likewise.
56782         (fmin): Likewise.
56783         (rint): Likewise.
56784         (rintf): Likewise.
56785         (nearbyint): Likewise.
56786         (nearbyintf): Likewise.
56787         (ceil): Likewise.
56788         (ceilf): Likewise.
56789         (floor): Likewise.
56790         (floorf): Likewise.
56792 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
56794         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
56795         on both fields and cast pointer to __syscall_ulong_t.
56797         * bits/types.h (__fsword_t): New type.
56798         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
56799         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
56800         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
56801         (__FSWORD_T_TYPE): Likewise.
56802         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
56803         (__FSWORD_T_TYPE): Likewise.
56804         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
56805         (__FSWORD_T_TYPE): Likewise.
56806         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
56807         (__FSWORD_T_TYPE): Likewise.
56808         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
56809         __SWORD_TYPE with __fsword_t.
56810         (statfs64): Likewise.
56812 2012-05-17  David S. Miller  <davem@davemloft.net>
56814         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
56816 2012-05-17  Andreas Jaeger  <aj@suse.de>
56818         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
56819         warning.
56821 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
56823         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
56825 2012-05-17  Andreas Jaeger  <aj@suse.de>
56827         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
56828         when it is used.
56830 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
56832         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
56834 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
56836         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
56837         * sysdeps/x86_64/tst-mallocalign1.c: New file.
56839 2012-05-17  Andreas Jaeger  <aj@suse.de>
56840             Carlos O'Donell  <carlos_odonell@mentor.com>
56842         [BZ #14059]
56843         * sysdeps/x86_64/multiarch/init-arch.h
56844         (bit_YMM_Usable): Rename to...
56845         (bit_AVX_Usable): ... this.
56846         (bit_FMA4_Usable): New macro.
56847         (bit_XMM_state): New macro.
56848         (bit_YMM_state): New macro.
56849         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
56850         [__ASSEMBLER__] (index_AVX_Usable): ... this.
56851         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
56852         (CPUID_OSXSAVE): New macro.
56853         (CPUID_AVX): New macro.
56854         (CPUID_FMA4): New macro.
56855         (index_YMM_Usable): Rename to...
56856         (index_AVX_Usable): ... this.
56857         (HAS_AVX): Use HAS_ARCH_FEATURE.
56858         (HAS_FMA4): Likewise.
56859         (HAS_YMM_USABLE): Remove.
56860         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
56861         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
56862         are present.
56863         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
56864         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
56865         * sysdeps/x86_64/multiarch/Makefile: Likewise.
56866         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
56867         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
56869 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
56871         * math/libm-test.c: Support platforms without multiple rounding modes.
56872         * math/bug-nextafter.c: Support platforms without FP exceptions.
56873         * math/bug-nexttoward.c: Likewise.
56874         * math/test-fenv.c: Likewise.
56875         * math/test-misc.c: Likewise.
56876         * stdlib/bug-getcontext.c: Likewise.
56878 2012-05-17  Andreas Jaeger  <aj@suse.de>
56880         * manual/examples/search.c (critter_cmp): Change signature to
56881         avoid warnings.
56882         * manual/string.texi (Collation Functions): Likewise.
56884 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
56886         * bits/types.h: Fold copyright years.
56887         * bits/typesizes.h: Likewise.
56888         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
56889         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
56890         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
56891         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
56892         * time/time.h: Likewise.
56894 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
56896         [BZ #208]
56897         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
56898         in instead of returning them.  Return void.
56899         (__libc_mallinfo): Accumulate over all arenas.
56900         (__malloc_stats): Adjust for change in int_mallinfo interface.
56902 2012-05-16  Roland McGrath  <roland@hack.frob.com>
56904         [BZ #10375]
56905         * configure.in (NM): Add AC_CHECK_TOOL for it.
56906         (libc_extra_cflags): New substituted variable.
56907         Check for -fstack-protector being used implicitly.
56908         * configure: Regenerated.
56909         * config.make.in (config-extra-cflags): New variable,
56910         gets @libc_extra_cflags@.
56911         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
56913         [BZ #10375]
56914         * configure.in: Check for _FORTIFY_SOURCE being predefined.
56915         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
56916         * configure: Regenerated.
56917         * config.make.in (CPPUNDEFS): New substituted variable.
56918         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
56919         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
56920         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
56922 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
56924         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
56925         (mq_attr): Use __syscall_slong_t.
56927 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
56929         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
56930         Check __x86_64__ instead of __WORDSIZE.
56931         (_STAT_VER_LINUX): Likewise.
56932         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
56933         __syscall_ulong_t and __syscall_slong_t.
56934         (stat64): Likewise.
56936 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
56938         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
56940 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
56942         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
56944 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
56946         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
56947         __syscall_ulong_t.
56949         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
56950         include <bits/wordsize.h>.  Check __x86_64__ instead of
56951         __WORDSIZE.
56952         (greg_t): Use "__extension__ long long int" if __x86_64__ is
56953         defined.
56954         (mcontext_t): Replace "unsigned long" with "unsigned long long".
56956         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
56957         include <bits/wordsize.h>.  Check __x86_64__ instead of
56958         __WORDSIZE.
56959         (user_regs_struct): Use "__extension__ unsigned long long"
56960         instead of "unsigned long" if __x86_64__ is defined.
56961         (user): Likewise.  Pad after pointer field if __ILP32__ is
56962         defined.
56964 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
56966         * configure.in (makeinfo): Require version 4.5 or later.  Allow
56967         versions 5 to 9.
56968         * configure: Regenerated.
56969         * manual/install.texi (texinfo): Increase version requirement to
56970         4.5 or later.
56971         * INSTALL: Regenerated.
56973         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
56975 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
56977         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
56979         * sysdeps/x86_64/x32/ffs.c: New file.
56981         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
56982         __syscall_ulong_t.
56983         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
56984         defined.  Use __syscall_ulong_t.
56985         (shminfo): Use __syscall_ulong_t.
56986         (shm_info): Likewise.
56988         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
56989         __syscall_ulong_t.
56991         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
56992         <bits/wordsize.h>.
56993         (msgqnum_t): Use __syscall_ulong_t.
56994         (msglen_t): Likewise.
56995         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
56996         __syscall_ulong_t.
56998         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
56999         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
57001         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
57003         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
57004         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
57006         * sysvipc/sys/msg.h (msgbuf): Replace long int with
57007         __syscall_slong_t.
57009         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
57010         include <bits/wordsize.h>.  Check __x86_64__ instead of
57011         __WORDSIZE.
57013         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
57014         "unsigned long long int" if __x86_64__ is defined.
57015         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
57017         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
57018         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
57019         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
57021         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
57022         <stdint.h>.
57023         (GET_PC): Cast to uintptr_t first.
57024         (GET_FRAME): Likewise.
57025         (GET_STACK): Likewise.
57027         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
57028         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
57029         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
57030         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
57031         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
57032         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
57033         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
57034         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
57035         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
57036         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
57037         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
57038         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
57039         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
57040         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
57041         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
57042         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
57043         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
57044         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
57045         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
57046         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
57047         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
57048         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
57049         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
57050         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
57051         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
57052         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
57053         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
57054         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
57055         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
57057 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
57059         * Makerules (+depfiles): Also collect depfiles from .oS in
57060         $(extra-objs).
57061         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
57062         .oS, $(libnldbl-routines)).
57064         * Makerules (native-compile-mkdep-flags): Define.
57065         * sunrpc/Makefile (extra-objs): Add $(addprefix
57066         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
57067         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
57068         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
57069         calling $(make-target-directory).
57071 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
57073         * bits/types.h (__snseconds_t): Removed.
57074         * time/time.h (struct timespec): Replace __snseconds_t with
57075         __syscall_slong_t.
57076         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
57077         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
57078         Likewise.
57079         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
57080         (__SNSECONDS_T_TYPE): Likewise.
57081         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
57082         (__SNSECONDS_T_TYPE): Likewise.
57083         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
57084         (__SNSECONDS_T_TYPE): Likewise.
57086 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
57088         * sysdeps/mach/hurd/bits/typesizes.h
57089         (__SYSCALL_SLONG_TYPE): New macro.
57090         (__SYSCALL_ULONG_TYPE): Likewise.
57092 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
57094         * bits/types.h (__syscall_slong_t): New type.
57095         (__syscall_ulong_t): Likewise.
57097         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
57098         (__SYSCALL_ULONG_TYPE): Likewise.
57099         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
57100         (__SYSCALL_SLONG_TYPE): Likewise.
57101         (__SYSCALL_ULONG_TYPE): Likewise.
57102         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
57103         (__SYSCALL_SLONG_TYPE): Likewise.
57104         (__SYSCALL_ULONG_TYPE): Likewise.
57105         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
57106         (__SYSCALL_SLONG_TYPE): Likewise.
57107         (__SYSCALL_ULONG_TYPE): Likewise.
57109 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
57111         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
57112         Add sigaltstack-offsets.sym.
57113         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
57114         <sigaltstack-offsets.h>.
57115         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
57116         longjmp_msg pointer.
57117         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
57118         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
57119         signal stack.
57120         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
57122 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
57124         * elf/stackguard-macros.h: Remove file.
57125         * sysdeps/generic/stackguard-macros.h: New file.
57126         * sysdeps/i386/stackguard-macros.h: Likewise.
57127         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
57128         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
57129         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
57130         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
57131         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
57132         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
57133         * sysdeps/x86_64/stackguard-macros.h: Likewise.
57134         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
57135         <elf/stackguard-macros.h>.
57137         [BZ #14109]
57138         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
57139         __aligned__ in attribute.
57140         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
57141         (gregset_t): Likewise.
57143 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
57145         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
57146         * sysdeps/x86_64/64/Implies-after: Here.  New file.
57147         * sysdeps/x86_64/x32/Implies-after: New file.
57149 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
57151         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
57152         and access return value for _dl_profile_fixup.  Use R10_LP to
57153         load frame size.
57155 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
57157         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
57159 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
57161         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
57162         * sysdeps/x86_64/x32/sysdep.h: New file.
57164 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
57166         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
57167         * sysdeps/x86_64/setjmp.S: Likewise.
57169 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57171         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
57172         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
57173         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
57174         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
57175         remove unused global constant.
57177 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
57179         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
57180         include of <not-cancel.h>.
57182 2012-05-15  Roland McGrath  <roland@hack.frob.com>
57184         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
57186 2012-05-15  Jeff Law  <law@redhat.com>
57187             Andreas Jaeger  <aj@suse.de>
57189         [BZ #13594]
57190         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
57191         out from...
57192         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
57193         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
57194         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
57195         code changing __hst_map_handle.map.
57197 2012-05-15  Roland McGrath  <roland@hack.frob.com>
57199         * configure.in (sysnames): Look for Implies-before and Implies-after
57200         files.
57201         * configure: Regenerated.
57203 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
57205         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
57206         8-byte data alignment with LP_SIZE alignment.
57208 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
57210         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
57211         into R10_LP.
57213 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
57215         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
57217 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
57219         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
57220         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
57221         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
57222         Likewise.
57223         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
57225 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
57227         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
57228         (stackinfo_sub_sp): Likewise.
57230 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
57232         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
57233         RAX_LP.
57235 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
57237         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
57238         into R*_LP.
57240 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
57242         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
57243         sizes into R*_LP.
57245 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
57247         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
57249 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
57251         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
57252         into R11_LP and load __x86_64_shared_cache_size_half into
57253         R8_LP.
57255 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
57257         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
57258         R8_LP.
57260 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57262         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
57263         logb for POWER7.
57264         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
57265         logbf for POWER7.
57266         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
57267         logbl for POWER7.
57268         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
57269         powerpc32/power7/fpu/s_logb.c via #include.
57270         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
57271         powerpc32/power7/fpu/s_logbf.c via #include.
57272         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
57273         powerpc32/power7/fpu/s_logbl.c via #include.
57275 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
57277         * README.libm: Remove file.
57279 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
57281         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
57282         count for x32.  Use R*_LP and omit operand-size suffix.
57284 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
57286         * shlib-versions: Move x86_64-.*-linux.* entries to ...
57287         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
57288         * sysdeps/x86_64/x32/shlib-versions: New file.
57290 2012-05-14  Roland McGrath  <roland@hack.frob.com>
57292         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
57293         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
57294         Use _dl_fatal_printf instead.
57296 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
57298         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
57299         set if not set by the user.  Do not allow for being unset.
57300         * sysdeps/unix/sysv/linux/configure: Regenerated.
57302 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
57304         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
57305         the `q' suffix from lea and replace .quad with ASM_ADDR.
57307 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
57309         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
57310         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
57311         instead of $17.
57312         (PTR_DEMANGLE): Likewise.
57314 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
57316         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
57317         (LP_OP): Likewise.
57318         (ASM_ADDR): Likewise.
57319         (RAX_LP): Likewise.
57320         (RBP_LP): Likewise.
57321         (RBX_LP): Likewise.
57322         (RCX_LP): Likewise.
57323         (RDI_LP): Likewise.
57324         (RSI_LP): Likewise.
57325         (RSP_LP): Likewise.
57326         (R8_LP): Likewise.
57327         (R9_LP): Likewise.
57328         (R10_LP): Likewise.
57329         (R10_LP): Likewise.
57330         (R11_LP): Likewise.
57331         (R12_LP): Likewise.
57332         (R13_LP): Likewise.
57333         (R14_LP): Likewise.
57334         (R15_LP): Likewise.
57336 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
57338         * sysdeps/x86_64/x32/dl-machine.h: New file.
57340 2012-05-14  Andreas Jaeger  <aj@suse.de>
57342         * manual/Makefile (subdir): Remove export of subdir.
57343         (all): Remove target.
57344         (.PHONY): Remove all from list.
57345         (mkinstalldirs): Remove.
57346         (.PHONY): Remove installdirs from list.
57347         ($(inst_infodir)/libc.info): Use make-target-directory.
57348         (installdirs): Remove.
57349         (subdir_%): Remove.
57350         (glibc-targets): Remove.
57351         (lib): Remove.
57352         (stubs): Remove.
57353         ($(objpfx)stubs ../po/manual.pot): Remove.
57354         ($(objpfx)stamp%): Remove.
57355         (make-target-directory): Remove.
57356         (subdir_install): Remove.
57357         (routines): Remove.
57358         (aux): Remove.
57359         (sources): Remove.
57360         (objects): Remove.
57361         (headers): Remove.
57363         [BZ #13750]
57364         * manual/.gitignore: Remove, it's not needed anymore.
57365         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
57366         all files in it.
57367         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
57368         directory.
57369         (texis): Renamed to $(objpfx)texis.
57370         (texis-path): New, contains path to generated files.
57371         (chapters.%): Use texis-path for complete path, add extra argument
57372         libc-texinfo.sh.
57373         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
57374         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
57375         (summary,texi, stamp-summary): Use complete path of
57376         files. Generate files in build dir.
57377         (dir-add.texi): Build in build dir.
57378         (libm-err.texi,stamp-libm-err): Likewise.
57379         (version.texi, stamp-version): Likewise.
57380         (.%c.texi): Likewise.
57381         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
57382         (mostlyclean): Remove target.
57383         (realclean): Remove target.
57384         (generated): Add new variable with contents from mostlyclean and
57385         realclean, remove entries duplicated in common-mostlyclean, add
57386         stamp-libm-err and stamp-version.
57387         (generated-dirs): Add libc directory.
57388         ($(inst_infodir)/libc.info): Install files from build dir.
57390         * manual/install.texi (Configuring and compiling): Adjust since
57391         the info files are not part of the tar ball anymore.
57393 2012-05-14  Andreas Jaeger  <aj@suse.de>
57395         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
57396         variable.
57398 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
57400         [BZ #13717]
57401         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
57402         to 2.2.0 where earlier.
57403         * sysdeps/unix/sysv/linux/configure: Regenerated.
57404         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
57405         Remove conditional code.
57406         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
57407         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
57408         Remove conditional code.
57409         [!__NR_lchown]: Likewise.
57410         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
57411         [__NR_lchown]: Likewise.
57412         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
57413         comment referencing __ASSUME_LCHOWN_SYSCALL.
57414         * sysdeps/unix/sysv/linux/i386/sigaction.c
57415         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
57416         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
57417         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
57418         Remove conditional code.
57419         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
57420         (__protocol_available): Remove #if 0 code.
57421         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
57422         conditional code.
57423         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
57424         * sysdeps/unix/sysv/linux/kernel-features.h
57425         (__ASSUME_GETCWD_SYSCALL): Don't define.
57426         (__ASSUME_REALTIME_SIGNALS): Likewise.
57427         (__ASSUME_PREAD_SYSCALL): Likewise.
57428         (__ASSUME_PWRITE_SYSCALL): Likewise.
57429         (__ASSUME_POLL_SYSCALL): Likewise.
57430         (__ASSUME_LCHOWN_SYSCALL): Likewise.
57431         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
57432         non-SPARC.
57433         (__ASSUME_SIOCGIFNAME): Don't define.
57434         (__ASSUME_MSG_NOSIGNAL): Likewise.
57435         (__ASSUME_SENDFILE): Define unconditionally.
57436         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
57437         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
57438         conditional code.
57439         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
57440         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
57441         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
57442         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
57443         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
57444         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
57445         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
57446         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
57447         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
57448         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
57449         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
57450         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
57451         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
57452         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
57453         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
57454         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
57455         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
57456         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
57457         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
57458         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
57459         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
57460         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
57461         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
57462         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
57463         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
57464         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
57465         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
57466         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
57467         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
57468         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
57469         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
57470         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
57471         Remove conditional code.
57472         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
57473         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
57474         Remove conditional code.
57475         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
57476         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
57477         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
57478         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
57479         Remove conditional code.
57480         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
57481         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
57482         Remove conditional code.
57483         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
57484         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
57485         Remove conditional code.
57486         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
57487         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
57488         Remove conditional code.
57489         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
57490         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
57491         Remove conditional code.
57492         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
57493         * sysdeps/unix/sysv/linux/sh/pwrite64.c
57494         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
57495         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
57496         * sysdeps/unix/sysv/linux/sigaction.c
57497         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
57498         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
57499         * sysdeps/unix/sysv/linux/sigpending.c
57500         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
57501         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
57502         * sysdeps/unix/sysv/linux/sigprocmask.c
57503         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
57504         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
57505         * sysdeps/unix/sysv/linux/sigsuspend.c
57506         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
57507         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
57508         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
57509         (__libc_missing_rt_sigs): Remove.
57510         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
57511         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
57512         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
57513         Remove conditional code.
57514         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
57515         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
57516         return 1.
57517         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
57518         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
57519         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
57520         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
57522 2012-05-14  Andreas Jaeger  <aj@suse.de>
57524         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
57525         it's not used in glibc.
57526         (__coshm1): Likewise.
57527         (__acosh1p): Likewise.
57528         (__sgn): Likewise.
57530         * manual/string.texi (Copying and Concatenation): Add missing
57531         variable in concat example.
57532         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
57534 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
57536         [BZ #14103]
57537         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
57538         __builtin_clzl with __builtin_clzll.
57540 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
57542         [BZ #14104]
57543         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
57544         libc_freeres_ptr.
57546 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57548         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
57549         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
57550         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
57551         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
57553 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
57555         * NEWS: Update ia64 info.
57557 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
57559         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
57560         used as bcopy.
57562 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
57564         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
57565         * sysdeps/unix/syscalls.list (dup3): Likewise.
57566         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
57567         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
57569 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
57571         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
57572         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
57574 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
57576         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
57577         thread pointer.
57578         (TLS_IE): Use mov/add instead of movq/addq to load thread
57579         pointer.
57580         (TLS_GD_PREFIX): New.
57581         (TLS_GD): Use it.
57583 2012-05-11  David S. Miller  <davem@davemloft.net>
57585         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
57586         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
57587         (_FPU_SETCW): Likewise.
57589 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
57591         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
57592         is 32-byte aligned.
57594 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
57596         [BZ #11837]
57597         * iconvdata/gb18030.c: Update tables.
57598         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
57599         characters specially.
57600         (BODY for TO_LOOP): Add encoding of missing ranges.
57602 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
57604         [BZ #13673]
57605         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
57606         * sysdeps/mach/hurd/dup3.c: Likewise.
57607         * sysdeps/mach/hurd/readlinkat.c: Likewise.
57608         * sysdeps/powerpc/memmove.c:: Likewise.
57610 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
57612         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
57613         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
57615 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
57617         * elf/elf.h (R_X86_64_RELATIVE64): New.
57618         (R_X86_64_NUM): Updated.
57619         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
57620         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
57621         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
57622         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
57623         tst-quad1pie tst-quad2pie
57624         (modules-names): Add tst-quadmod1 tst-quadmod2.
57625         ($(objpfx)tst-quad1): New dependency.
57626         ($(objpfx)tst-quad2): Likewise.
57627         ($(objpfx)tst-quad1pie): Likewise.
57628         ($(objpfx)tst-quad2pie): Likewise.
57629         * sysdeps/x86_64/tst-quad1.c: New file.
57630         * sysdeps/x86_64/tst-quad1pie.c: New file.
57631         * sysdeps/x86_64/tst-quad2.c: Likewise.
57632         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
57633         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
57634         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
57635         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
57636         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
57638 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
57640         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
57641         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
57642         * streams/stropts.h (t_scalar_t): Define type.
57644         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
57645         (_PATH_PRESERVE): Set to "/var/lib".
57646         (_PATH_RWHODIR): Set to "/var/spool/rwho".
57648         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
57649         instead of int.
57651         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
57652         if __dir_mkfile succeeded.
57654         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
57655         checking for _hurd_dtablesize.  Unlock it right after having
57656         finished _hurd_dtable allocation.
57658 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
57660         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
57661         * sysdeps/mach/hurd/configure: Regenerated.
57662         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
57663         special-casing to...
57664         * sysdeps/gnu/configure.in: ... this new file.
57665         * sysdeps/unix/sysv/linux/configure: Regenerated.
57666         * sysdeps/gnu/configure: New generated file.
57668         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
57669         for Linux: use nsec instead of usec, as well as:
57670         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
57671         members of type struct timespec.
57672         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
57673         New macros.
57674         (struct stat64): Likewise.
57675         (_STATBUF_ST_NSEC): New macro.
57676         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
57678         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
57679         __strtoul_internal rather than strtoul.
57681 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
57683         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
57684         and reject them.
57686 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
57688         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
57689         which preserves existing values.
57690         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
57692 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
57694         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
57695         TIMEOUT values.  Return EINVAL for NFDS values either negative or
57696         greater than FD_SETSIZE.
57698 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
57700         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
57701         allocated, call __vm_protect to finish enabling the existing space, and
57702         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
57703         allocate the remainder.
57705 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
57707         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
57708         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
57710 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
57712         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
57713         sysdeps/mach/hurd/readlink.c.
57715         * posix/tst-sysconf.c (posix_options): Only use
57716         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
57717         _POSIX_SYNCHRONIZED_IO when they are defined
57718         * sysdeps/mach/hurd/bits/posix_opt.h:
57719         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
57720         (_XOPEN_REALTIME): Undefine macro.
57721         (_XOPEN_REALTIME_THREADS): Undefine macro.
57722         (_XOPEN_SHM): Undefine macro.
57723         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
57724         macro to -1.
57725         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
57726         macro to -1.
57727         (_POSIX_ASYNC_IO): Undefine macro.
57728         (_POSIX_PRIORITIZED_IO): Undefine macro.
57729         (_POSIX_SPIN_LOCKS): Define macro to -1.
57731         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
57732         SA_NODEFER, SA_RESETHAND.
57733         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
57734         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
57735         F_DUPFD_CLOEXEC.
57737 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
57739         * elf/Makefile (pldd-modules): Define unconditionally.
57741 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
57743         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
57745 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
57747         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
57748         Return ENOENT when name is empty.
57749         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
57751 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
57753         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
57755         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
57757 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
57759         Fix mlock in all cases except non-readable pages.
57760         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
57761         instead of VM_PROT_ALL as parameter to __vm_wire function.
57763         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
57764         (__mkdir): When path is `/', just fail with EEXIST.
57765         * sysdeps/mach/hurd/mkdirat.c: Likewise.
57767 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
57769         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
57770         <sys/uio.h> (for writev).
57771         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
57772         and <sys/param.h> (for MIN).
57774 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
57776         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
57777         REQUESTED_TIME.  Properly set the remaining time and return EINTR
57778         if interrupted.
57780 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
57782         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
57783         Depend on against $(link-rpcuserlibs).
57785 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
57787         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
57788         (__libc_stack_end): Do not use attribute_relro.
57789         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
57790         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
57791         to libthread-provided value.
57792         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
57793         attribute_relro.
57795 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
57797         [BZ #3748]
57798         * bits/libc-lock.h (__libc_once_get): New macro.
57799         * sysdeps/mach/bits/libc-lock.h: Likewise.
57800         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
57801         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
57802         instead of using implementation details.
57804         * libio/fileops.c: Unconditionally include <kernel-features.h>.
57805         * libio/freopen.c: Likewise.
57806         * libio/freopen64.c: Likewise.
57807         * misc/syslog.c: Likewise.
57808         * nscd/connections.c: Likewise.
57809         * nscd/netgroupcache.c: Likewise.
57810         * sysdeps/posix/getcwd.c: Likewise.
57812 2012-05-10  Roland McGrath  <roland@hack.frob.com>
57814         * math/w_ilogbf.c: Add #include <limits.h>.
57816 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
57818         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
57819         path instead of returning without unlocking.
57821         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
57822         immediate-write ioctls.
57823         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
57825 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
57827         * sysdeps/mach/hurd/i386/init-first.c (init): Use
57828         __builtin_frame_address instead of making assumptions about the
57829         location of the return address relative to DATA.  Force early load of
57830         the return address.
57831         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
57832         __builtin_frame_address.
57834         dup3 for GNU Hurd.
57835         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
57836         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
57837         implement dup3 and do some further code clean-ups.
57838         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
57839         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
57841 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
57843         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
57845         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
57846         HURD_CRITICAL_END around holding _hurd_dtable_lock.
57847         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
57848         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
57849         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
57850         d->port.lock.
57852         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
57853         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
57854         when handler == SIG_ERR, not when handler != SIG_ERR.
57856 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
57858         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
57859         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
57860         definitions.
57862         accept4 for GNU Hurd.
57863         * include/sys/socket.h (__libc_accept4): New prototype.
57864         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
57865         to implement __libc_accept4.
57866         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
57867         __libc_accept4.
57868         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
57870         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
57871         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
57872         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
57873         signal-defines.sym.
57875 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
57877         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
57879 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
57881         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
57882         assertion on O_CLOEXEC flag.
57883         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
57884         * hurd/intern-fd.c: Likewise.
57885         * hurd/port2fd.c: Likewise.
57887 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
57889         [BZ #3906]
57890         * bits/in.h (IPV6_PKTINFO): Define new macro.
57891         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
57893 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57895         [BZ #13954]
57896         [BZ #13955]
57897         [BZ #13956]
57898         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
57899         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
57900         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
57901         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
57902         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
57903         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
57904         * math/libm-test.inc (logb_test) : Additional logb tests.
57906 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
57907             Andreas Jaeger  <aj@suse.de>
57909         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
57910         * configure: Regenerated.
57911         * config.h.in (LINK_OBSOLETE_RPC): New macro.
57912         * config.make.in (link-obsolete-rpc): New substituted variable.
57913         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
57914         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
57915         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
57916         (shared-only-routines): Don't set it under [link-obsolete-rpc],
57917         so that libc.a contains the symbols.
57918         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
57919         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
57920         * sunrpc/auth_none.c: Likewise.
57921         * sunrpc/auth_unix.c: Likewise.
57922         * sunrpc/authdes_prot.c: Likewise.
57923         * sunrpc/authuxprot.c: Likewise.
57924         * sunrpc/clnt_gen.c: Likewise.
57925         * sunrpc/clnt_perr.c: Likewise.
57926         * sunrpc/clnt_raw.c: Likewise.
57927         * sunrpc/clnt_simp.c: Likewise.
57928         * sunrpc/clnt_tcp.c: Likewise.
57929         * sunrpc/clnt_udp.c: Likewise.
57930         * sunrpc/clnt_unix.c: Likewise.
57931         * sunrpc/des_crypt.c: Likewise.
57932         * sunrpc/des_soft.c: Likewise.
57933         * sunrpc/get_myaddr.c: Likewise.
57934         * sunrpc/key_call.c: Likewise.
57935         * sunrpc/key_prot.c: Likewise.
57936         * sunrpc/netname.c: Likewise.
57937         * sunrpc/pm_getmaps.c: Likewise.
57938         * sunrpc/pm_getport.c: Likewise.
57939         * sunrpc/pmap_clnt.c: Likewise.
57940         * sunrpc/pmap_prot.c: Likewise.
57941         * sunrpc/pmap_prot2.c: Likewise.
57942         * sunrpc/pmap_rmt.c: Likewise.
57943         * sunrpc/publickey.c: Likewise.
57944         * sunrpc/rpc_cmsg.c: Likewise.
57945         * sunrpc/rpc_common.c: Likewise.
57946         * sunrpc/rpc_dtable.c: Likewise.
57947         * sunrpc/rpc_prot.c: Likewise.
57948         * sunrpc/rpc_thread.c: Likewise.
57949         * sunrpc/rtime.c: Likewise.
57950         * sunrpc/svc.c: Likewise.
57951         * sunrpc/svc_auth.c: Likewise.
57952         * sunrpc/svc_raw.c: Likewise.
57953         * sunrpc/svc_run.c: Likewise.
57954         * sunrpc/svc_tcp.c: Likewise.
57955         * sunrpc/svc_udp.c: Likewise.
57956         * sunrpc/svc_unix.c: Likewise.
57957         * sunrpc/svcauth_des.c: Likewise.
57958         * sunrpc/xcrypt.c: Likewise.
57959         * sunrpc/xdr.c: Likewise.
57960         * sunrpc/xdr_array.c: Likewise.
57961         * sunrpc/xdr_float.c: Likewise.
57962         * sunrpc/xdr_intXX_t.c: Likewise.
57963         * sunrpc/xdr_mem.c: Likewise.
57964         * sunrpc/xdr_rec.c: Likewise.
57965         * sunrpc/xdr_ref.c: Likewise.
57966         * sunrpc/xdr_sizeof.c: Likewise.
57967         * sunrpc/xdr_stdio.c: Likewise.
57969 2012-05-10  Roland McGrath  <roland@hack.frob.com>
57971         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
57972         change.  Update copyright years.
57974 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
57976         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
57978 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
57979             Joseph Myers  <joseph@codesourcery.com>
57980             Paul Pluzhnikov  <ppluzhnikov@google.com>
57982         [BZ #14012]
57983         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
57984         requiring rpcgen.
57985         [cross-compiling] (extra-libs): Likewise.
57986         [cross-compiling] (extra-libs-others): Likewise.
57987         [cross-compiling] (librpcsvc-routines): Likewise.
57988         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
57989         [cross-compiling] (omit-deps): Likewise.
57990         (sunrpc-CPPFLAGS): New variable.
57991         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
57992         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
57993         (cross-rpcgen-objs): New variable.
57994         (extra-objs): Append $(cross-rpcgen-objs).
57995         ($(cross-rpcgen-objs)): New rule.
57996         ($(objpfx)cross-rpcgen): Likewise.
57997         (rpcgen-cmd): Define to use $(built-program-file).  Expand
57998         comment.
57999         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
58000         ($(objpfx)x%.stmp): Likewise.
58001         * sunrpc/proto.h [IS_IN_build] (_): Define.
58002         [IS_IN_build] (_libc_intl_domainname): Likewise.
58004 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
58006         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
58007         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
58008         and R_X86_64_TPOFF64.
58010 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
58012         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
58013         sysdeps/unix/sysv/syscalls.list.
58014         (stime): Likewise.
58015         (utime): Likewise.
58016         * sysdeps/unix/sysv/syscalls.list: Remove file.
58018 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
58020         [BZ #3440]
58021         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
58022         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
58023         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
58024         (__LC_IDENTIFICATION): Make these macros useful in #if
58025         expressions, as required by C99.
58027 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
58029         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
58030         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
58031         after this.
58033 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
58035         * stdlib/longlong.h: Updated from GCC.
58037 2012-05-09  Andreas Jaeger  <aj@suse.de>
58039         * nscd/nscd.c (run_modes): Make named enum, reorder so that
58040         default is first entry.
58041         (run_mode): Set type.
58042         (main): Remove informal message about syslog.
58043         (options): Fix typo.
58045         [BZ #14053]
58046         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
58047         to asm.
58048         (lrint): Likewise.
58049         (llrintf): Likewise.
58050         (llrint): Likewise.
58051         (rint): Likewise.
58052         (rintf): Likewise.
58053         (nearbyint): Likewise.
58054         (nearbyintf): Likewise.
58056 2012-05-09  Andreas Jaeger  <aj@suse.de>
58057             Pedro Alves  <palves@redhat.com>
58059         * nscd/nscd.c (run_mode): Use enum.
58060         (main): Cleanup coding style issue.
58062 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
58063             Andreas Jaeger  <aj@suse.de>
58065         * nscd/nscd.c (go_background): Replaced with...
58066         (run_mode): ... this.
58067         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
58068         (options): Add -F --foreground.
58069         (main): Implement it.
58070         (parse_opt): Parse it.
58072 2012-05-09  Andreas Jaeger  <aj@suse.de>
58074         [BZ #14083]
58075         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
58076         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
58077         -Wconversion warning.
58078         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
58079         Likewise.
58081 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
58083         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
58084         == 0.
58085         (LC_ALL): Use macro-int-constant.
58086         (LC_COLLATE): Likewise.
58087         (LC_CTYPE): Likewise.
58088         (LC_MESSAGES): Likewise.
58089         (LC_MONETARY): Likewise.
58090         (LC_NUMERIC): Likewise.
58091         (LC_TIME): Likewise.
58092         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
58093         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
58094         [ISO || ISO99 || ISO11] (*_t): Do not allow.
58095         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
58096         Specify type.
58097         [C99-based standards] (float_t): Expect type.
58098         [C99-based standards] (double_t): Expect type.
58099         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
58100         type.
58101         [C99-based standards] (HUGE_VALL): Likewise.
58102         [C99-based standards] (INFINITY): Likewise.
58103         [C99-based standards] (NAN): Likewise.
58104         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
58105         [C99-based standards] (FP_NAN): Likewise.
58106         [C99-based standards] (FP_NORMAL): Likewise.
58107         [C99-based standards] (FP_SUBNORMAL): Likewise.
58108         [C99-based standards] (FP_ZERO): Likewise.
58109         [C99-based standards] (FP_FAST_FMA): Use
58110         optional-macro-int-constant.  Specify type.  Require == 1.
58111         [C99-based standards] (FP_FAST_FMAF): Likewise.
58112         [C99-based standards] (FP_FAST_FMAL): Likewise.
58113         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
58114         [C99-based standards] (FP_ILOGBNAN): Likewise.
58115         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
58116         Specify type.
58117         [C99-based standards] (MATH_ERREXCEPT): Likewise.
58118         [C99-based standards] (math_errhandling): Specify type.
58119         [ISO99 || ISO11] (signgam): Do not allow.
58120         [non-C99-based standards] (copysignf): Do not allow.
58121         [non-C99-based standards] (exp2f): Likewise.
58122         [non-C99-based standards] (log2f): Likewise.
58123         [non-C99-based standards] (modff): Allow.
58124         [non-C99-based standards] (erff): Do not allow.
58125         [non-C99-based standards] (erfcf): Likewise.
58126         [non-C99-based standards] (gammaf): Likewise.
58127         [non-C99-based standards] (hypotf): Likewise.
58128         [non-C99-based standards] (j0f): Likewise.
58129         [non-C99-based standards] (j1f): Likewise.
58130         [non-C99-based standards] (jnf): Likewise.
58131         [non-C99-based standards] (lgammaf): Likewise.
58132         [non-C99-based standards] (tgammaf): Likewise.
58133         [non-C99-based standards] (y0f): Likewise.
58134         [non-C99-based standards] (y1f): Likewise.
58135         [non-C99-based standards] (ynf): Likewise.
58136         [non-C99-based standards] (isnanf): Likewise.
58137         [non-C99-based standards] (acoshf): Likewise.
58138         [non-C99-based standards] (asinhf): Likewise.
58139         [non-C99-based standards] (atanhf): Likewise.
58140         [non-C99-based standards] (cbrtf): Likewise.
58141         [non-C99-based standards] (expm1f): Likewise.
58142         [non-C99-based standards] (ilogbf): Likewise.
58143         [non-C99-based standards] (log1pf): Likewise.
58144         [non-C99-based standards] (logbf): Likewise.
58145         [non-C99-based standards] (nextafterf): Likewise.
58146         [non-C99-based standards] (remainderf): Likewise.
58147         [non-C99-based standards] (rintf): Likewise.
58148         [non-C99-based standards] (scalbf): Likewise.
58149         [non-C99-based standards] (copysignl): Likewise.
58150         [non-C99-based standards] (exp2l): Likewise.
58151         [non-C99-based standards] (log2l): Likewise.
58152         [non-C99-based standards] (modfl): Allow.
58153         [non-C99-based standards] (erfl): Do not allow.
58154         [non-C99-based standards] (erfcl): Likewise.
58155         [non-C99-based standards] (gammal): Likewise.
58156         [non-C99-based standards] (hypotl): Likewise.
58157         [non-C99-based standards] (j0l): Likewise.
58158         [non-C99-based standards] (j1l): Likewise.
58159         [non-C99-based standards] (jnl): Likewise.
58160         [non-C99-based standards] (lgammal): Likewise.
58161         [non-C99-based standards] (tgammal): Likewise.
58162         [non-C99-based standards] (y0l): Likewise.
58163         [non-C99-based standards] (y1l): Likewise.
58164         [non-C99-based standards] (ynl): Likewise.
58165         [non-C99-based standards] (isnanl): Likewise.
58166         [non-C99-based standards] (acoshl): Likewise.
58167         [non-C99-based standards] (asinhl): Likewise.
58168         [non-C99-based standards] (atanhl): Likewise.
58169         [non-C99-based standards] (cbrtl): Likewise.
58170         [non-C99-based standards] (expm1l): Likewise.
58171         [non-C99-based standards] (ilogbl): Likewise.
58172         [non-C99-based standards] (log1pl): Likewise.
58173         [non-C99-based standards] (logbl): Likewise.
58174         [non-C99-based standards] (nextafterl): Likewise.
58175         [non-C99-based standards] (remainderl): Likewise.
58176         [non-C99-based standards] (rintl): Likewise.
58177         [non-C99-based standards] (scalbl): Likewise.
58178         [ISO || ISO99 || ISO11] (*_t): Do not allow.
58179         [non-C99-based standards] (FP_*): Do not allow.
58180         [C99-based standards] (FP_*): Change to
58181         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
58182         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
58183         allow.
58184         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
58185         (SIG_ERR): Likewise.
58186         [X/Open-based standards] (SIG_HOLD): Likewise.
58187         (SIG_IGN): Likewise.
58188         (SIGABRT): Use macro-int-constant.  Specify type.  Require
58189         positive value.
58190         (SIGFPE): Likewise.
58191         (SIGILL): Likewise.
58192         (SIGINT): Likewise.
58193         (SIGSEGV): Likewise.
58194         (SIGTER): Likewise.
58195         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
58196         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
58197         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
58198         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
58199         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
58200         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
58201         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
58202         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
58203         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
58204         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
58205         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
58206         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
58207         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
58208         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
58209         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
58210         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
58211         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
58212         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
58213         [X/Open-based standards] (SIGTRAP): Likewise.
58214         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
58215         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
58216         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
58217         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
58218         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
58219         allow.
58221 2012-05-08  Ian Wienand  <ianw@vmware.com>
58223         [BZ #14080]
58224         * time/tzset.c (__tzset_parse_tz): Update default rules for
58225         daylight time changes in the Energy Policy Act of 2005.
58227 2012-05-09  Andreas Jaeger  <aj@suse.de>
58229         [BZ #13983]
58230         * elf/ldconfig.c (parse_conf): Change string to make clear that
58231         ldconfig only issued a warning if ld.so.conf does not exist.
58233 2012-05-08  David S. Miller  <davem@davemloft.net>
58235         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
58236         movxtod instead of popping the value on the stack.
58238         * sysdeps/sparc/fpu/libm-test-ulps: Update.
58240 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
58242         * config.h.in: Add HAVE_ARM_PCS_VFP.
58244 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
58246         [BZ #13979]
58247         * include/features.h: Warn if user requests __FORTIFY_SOURCE
58248         checking but the checks are disabled for any reason.
58250 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
58252         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
58253         and ELF64_R_TYPE with ELFW(R_TYPE).
58255 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
58257         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
58258         (ulimit): Likewise.
58260         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
58261         (settimeofday): Likewise.
58263 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
58265         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
58266         a struct th_u2 inside the union, and move tu_block/tu_code into
58267         a new th_u3 union of tu_block/tu_code inside of that.  Move
58268         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
58269         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
58270         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
58271         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
58272         (th_stuff): Change to th_u1.tu_stuff.
58273         (th_data): Define.
58274         (th_msg): Change to th_u1.th_u2.tu_data.
58276 2012-05-07  David S. Miller  <davem@davemloft.net>
58278         * sysdeps/sparc/fpu/libm-test-ulps: Update.
58280         [BZ #14074]
58281         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
58282         (SETUP_PIC_REG): Use it.
58283         (SETUP_PIC_REG_LEAF): Use it.
58285 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
58287         [BZ #13885]
58288         [BZ #13923]
58289         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
58290         USE_AS_EXPM1L.
58291         (EXPL_FINITE): Likewise.
58292         (FLDLOG): Likewise.
58293         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
58294         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
58295         e_expl.S.
58296         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
58297         USE_AS_EXPM1L.
58298         (EXPL_FINITE): Likewise.
58299         (FLDLOG): Likewise.
58300         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
58301         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
58302         e_expl.S.
58303         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
58304         test of -max_value argument for long double.
58305         * sysdeps/i386/fpu/libm-test-ulps: Update.
58306         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58308 2012-05-06  David S. Miller  <davem@davemloft.net>
58310         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
58311         quad soft-float symbols whose references which are compiler
58312         generated.
58313         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
58315 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
58317         [BZ #13884]
58318         [BZ #13914]
58319         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
58320         USE_AS_EXP10L.
58321         (EXPL_FINITE): Likewise.
58322         (FLDLOG): Likewise.
58323         (c0): Likewise.
58324         (c1): Likewise.
58325         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
58326         Adjust comments for base varying.
58327         (__expl_finite): Change alias to EXPL_FINITE.
58328         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
58329         e_expl.S.
58330         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
58331         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
58332         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
58333         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
58334         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
58335         USE_AS_EXP10L.
58336         (EXPL_FINITE): Likewise.
58337         (FLDLOG): Likewise.
58338         (c0): Likewise.
58339         (c1): Likewise.
58340         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
58341         Adjust comments for base varying.
58342         (__expl_finite): Change alias to EXPL_FINITE.
58343         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
58344         tests for bugs.
58345         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
58347         [BZ #14064]
58348         * math/libm-test.inc (check_float_internal): Correct ulp
58349         calculation for subnormal expected results.
58351 2012-05-06  Andreas Jaeger  <aj@suse.de>
58353         * Makeconfig (+math-flags): New, set to -frounding-math.
58354         (+cflags): Add +math-flags so that all of glibc gets compiled with
58355         it.
58357         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
58359 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
58361         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
58362         Disable one test.
58364         [BZ #13787]
58365         [BZ #13922]
58366         [BZ #14036]
58367         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
58368         (__ieee754_expl): Allow for and saturate large arguments.
58369         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
58370         (u_threshold): Likewise.
58371         (__exp): Call __ieee754_exp before checking for overflow and
58372         underflow.
58373         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
58374         (u_threshold): Likewise.
58375         (__expf): Call __ieee754_expf before checking for overflow and
58376         underflow.
58377         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
58378         (u_threshold): Likewise.
58379         (__expl): Call __ieee754_expl before checking for overflow and
58380         underflow.
58381         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
58382         (__ieee754_expl): Allow for and saturate large arguments.
58383         * math/libm-test.inc (exp_test): Add another test.  Do not allow
58384         missing overflow exception on overflow.
58385         (expm1_test): Do not allow missing overflow exception on overflow.
58387         * sysdeps/i386/fpu/e_expl.c: Move to ...
58388         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
58389         rather than using inline asm.
58390         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
58391         * sysdeps/x86_64/fpu/e_expl.S: Copy from
58392         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
58394         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
58395         (nice): Likewise.
58396         (poll): Likewise.
58397         (signal): Likewise.
58398         (time): Likewise.
58399         (times): Likewise.
58401 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
58403         * sysdeps/unix/syscalls.list (adjtime): Add entry from
58404         sysdeps/unix/common/syscalls.list.
58405         (fchmod): Likewise.
58406         (fchown): Likewise.
58407         (ftruncate): Likewise.
58408         (getrusage): Likewise.
58409         (gettimeofday): Likewise.
58410         (setpgid): Likewise.
58411         (setregid): Likewise.
58412         (setreuid): Likewise.
58413         (sigaction): Likewise.
58414         (truncate): Likewise.
58415         (vhangup): Likewise.
58416         * sysdeps/unix/common/syscalls.list: Remove file.
58417         * sysdeps/unix/bsd/Implies: Don't include unix/common.
58418         * sysdeps/unix/sysv/linux/Implies: Likewise.
58420 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
58422         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
58423         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
58424         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
58425         Moved to ...
58426         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
58427         Here.
58428         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
58429         to ...
58430         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
58431         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
58432         to ...
58433         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
58434         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
58435         to ...
58436         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
58437         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
58438         to ...
58439         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
58440         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
58441         to ...
58442         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
58443         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
58444         to ...
58445         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
58446         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
58447         to ...
58448         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
58449         Here.
58450         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
58451         to ...
58452         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
58453         Here.
58454         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
58455         to ...
58456         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
58457         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
58458         Moved to ...
58459         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
58460         Here.
58461         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
58462         to ...
58463         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
58465 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
58467         * sysdeps/unix/common/bits/dirent.h: Remove file.
58468         * sysdeps/unix/common/bits/fcntl.h: Likewise.
58470         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
58471         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
58472         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
58473         * sysdeps/unix/bsd/isatty.c: Likewise.
58474         * sysdeps/unix/bsd/tcdrain.c: Likewise.
58475         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
58476         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
58478 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58480         [BZ #13563]
58481         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
58482         long double comparison inaccuracies.
58483         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
58484         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
58486 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
58488         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
58489         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
58491 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
58493         [BZ #14049]
58494         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
58495         nonzero digits before rounding a hex value.
58496         * stdlib/tst-strtod.c (tests): Add another test.
58498 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
58500         * sysdeps/s390/fpu/libm-test-ulps: Update.
58502 2012-05-03  Andreas Jaeger  <aj@suse.de>
58504         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
58505         does not get optimized out.
58506         (malloc_opt_barrier): New.
58508 2012-05-03  Andreas Jaeger  <aj@suse.de>
58509             Roland McGrath  <roland@hack.frob.com>
58511         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
58512         intermediate file deletion.
58513         (generated): Add .symlist files.
58515 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
58517         [BZ #13775]
58518         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
58519         Redirect under this condition.
58520         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
58521         [__USE_GNU] (__dprintf_chk): Not under this condition.
58522         [__USE_GNU] (__vdprintf_chk): Likewise.
58523         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
58524         under this condition.
58525         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
58526         [__USE_XOPEN2K8] (dprintf): Define under this condition.
58527         [__USE_XOPEN2K8] (vdprintf): Likewise.
58528         [__USE_GNU] (__dprintf_chk): Not under this condition.
58529         [__USE_GNU] (__vdprintf_chk): Likewise.
58530         [__USE_GNU] (dprintf): Likewise.
58531         [__USE_GNU] (vdprintf): Likewise.
58533 2012-05-03  Roland McGrath  <roland@hack.frob.com>
58535         * elf/Makefile (common-generated): Set this instead of generated for
58536         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
58537         $(all-built-dso)-derived lists.
58539 2012-05-03  Andreas Jaeger  <aj@suse.de>
58541         * sysdeps/i386/fpu/libm-test-ulps: Update.
58543         * FAQ: Removed.
58544         * FAQ.in: Likewise.
58545         * scripts/gen-FAQ.pl: Likewise.
58546         * manual/install.texi (Installation): Point to online location of
58547         FAQ.
58548         * Makefile (files-for-dist): Remove FAQ.
58549         (FAQ): Remove.
58551 2012-05-02  Allan McRae  <allan@archlinux.org>
58553         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
58554         (LDFLAGS-reldepmod5.so): Likewise.
58555         (LDFLAGS-reldep6mod1.so): Likewise.
58556         (LDFLAGS-reldep6mod4.so): Likewise.
58557         (LDFLAGS-reldep8mod3.so): Likewise.
58558         (LDFLAGS-unload4mod1.so): Likewise.
58559         (LDFLAGS-unload4mod2.so): Likewise.
58560         (LDFLAGS-tst-initorder): Likewise.
58561         (LDFLAGS-tst-initordera2.so): Likewise.
58562         (LDFLAGS-tst-initordera3.so): Likewise.
58563         (LDFLAGS-tst-initordera4.so): Likewise.
58564         (LDFLAGS-tst-initorderb2.so): Likewise.
58565         (LDFLAGS-noload): Likewise.
58566         (LDFLAGS-next): Likewise.
58567         (LDFLAGS-order2mod1.so): Likewise.
58568         (LDFLAGS-order2mod2.so): Likewise.
58569         (LDFLAGS-tst-initorder2): Likewise.
58570         (LDFLAGS-tst-initorder2a.so): Likewise.
58571         (LDFLAGS-tst-initorder2b.so): Likewise.
58572         (LDFLAGS-tst-initorder2c.so): Likewise.
58573         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
58575 2012-05-02  David S. Miller  <davem@davemloft.net>
58577         * sysdeps/sparc/fpu/libm-test-ulps: Update.
58579 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
58581         [BZ #14055]
58582         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
58584 2012-05-02  Andreas Jaeger  <aj@suse.de>
58586         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
58587         since we manipulate rounding mode.
58588         (CPPFLAGS-test-idouble.c): Likewise.
58589         (CPPFLAGS-test-ifloat.c): Likewise.
58590         (CFLAGS-test-ldouble.c): Likewise.
58591         (CFLAGS-test-double.c): Likewise.
58592         (CFLAGS-test-float.c): Likewise.
58593         (CFLAGS-test-misc.c): Likewise.
58594         (CFLAGS-test-test-fenv.c): Likewise.
58596 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58598         [BZ #2550]
58599         [BZ #2570]
58600         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
58601         comparisons to determine direction to adjust input.
58603 2012-05-01  Roland McGrath  <roland@hack.frob.com>
58605         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
58606         output to the target.
58608         * scripts/localplt.awk: New file.
58609         * elf/Makefile ($(objpfx)check-localplt): Target removed.
58610         (check-localplt-CFLAGS): Variable removed.
58611         ($(all-built-dso:=.jmprel)): New static pattern rule.
58612         (generated): Add those targets.
58613         (localplt-built-dso): New variable.
58614         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
58616         * elf/check-localplt.c: File removed.
58618         * scripts/check-execstack.awk: New file.
58619         * elf/Makefile ($(objpfx)check-execstack): Target removed.
58620         (check-execstack-CFLAGS): Variable removed.
58621         ($(objpfx)check-execstack.h): Target removed.
58622         ($(objpfx)execstack-default): New target.
58623         (generated): Add that instead of check-execstack.h.
58624         ($(all-built-dso:=.phdr)): New static pattern rule.
58625         (generated): Add those targets.
58626         * elf/check-execstack.c: File removed.
58628         * scripts/check-textrel.awk: New file.
58629         * elf/Makefile ($(objpfx)check-textrel): Target removed.
58630         (check-textrel-CFLAGS): Variable removed.
58631         (all-built-dso): Use := to define.o
58632         ($(all-built-dso:=.dyn)): New static pattern rule.
58633         (generated): Add those targets.
58634         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
58635         * config.make.in (READELF): New substituted variable.
58636         * elf/check-textrel.c: File removed.
58638 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
58640         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
58641         allow.
58642         * conform/data/ctype.h-data [C99-based standards] (isblank):
58643         Expect function.
58644         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
58645         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
58646         [ISO || ISO99 || ISO11] (*_t): Do not allow.
58647         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
58648         Specify type.  Require positive value.
58649         (EILSEQ): Likewise.
58650         (ERANGE): Likewise.
58651         [ISO || POSIX] (EILSEQ): Do not expect.
58652         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
58653         Specify type.  Require positive value.
58654         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
58655         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
58656         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
58657         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
58658         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
58659         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
58660         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
58661         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
58662         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
58663         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
58664         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
58665         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
58666         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
58667         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
58668         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
58669         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
58670         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
58671         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
58672         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
58673         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
58674         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
58675         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
58676         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
58677         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
58678         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
58679         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
58680         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
58681         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
58682         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
58683         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
58684         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
58685         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
58686         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
58687         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
58688         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
58689         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
58690         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
58691         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
58692         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
58693         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
58694         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
58695         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
58696         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
58697         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
58698         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
58699         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
58700         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
58701         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
58702         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
58703         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
58704         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
58705         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
58706         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
58707         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
58708         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
58709         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
58710         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
58711         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
58712         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
58713         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
58714         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
58715         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
58716         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
58717         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
58718         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
58719         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
58720         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
58721         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
58722         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
58723         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
58724         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
58725         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
58726         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
58727         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
58728         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
58729         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
58730         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
58731         Require >= 2.
58732         (FLT_ROUNDS): Expect as macro, not constant.
58733         (FLT_MANT_DIG): Use macro-int-constant.
58734         (DBL_MANT_DIG): Likewise.
58735         (LDBL_MANT_DIG): Likewise.
58736         (FLT_DIG): Likewise.
58737         (DBL_DIG): Likewise.
58738         (LDBL_DIG): Likewise.
58739         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
58740         (DBL_MIN_EXP): Likewise.
58741         (LDBL_MIN_EXP): Likewise.
58742         (FLT_MAX_EXP): Use macro-int-constant.
58743         (DBL_MAX_EXP): Likewise.
58744         (LDBL_MAX_EXP): Likewise.
58745         (FLT_MAX_10_EXP): Likewise.
58746         (DBL_MAX_10_EXP): Likewise.
58747         (LDBL_MAX_10_EXP): Likewise.
58748         (FLT_MAX): Use macro-constant.
58749         (DBL_MAX): Likewise.
58750         (LDBL_MAX): Likewise.
58751         (FLT_EPSILON): Use macro-constant.  Give upper bound.
58752         (DBL_EPSILON): Likewise.
58753         (LDBL_EPSILON): Likewise.
58754         (FLT_MIN): Likewise.
58755         (DBL_MIN): Likewise.
58756         (LDBL_MIN): Likewise.
58757         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
58758         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
58759         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
58760         [ISO11] (FLT_HAS_SUBNORM): Likewise.
58761         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
58762         [ISO11] (DBL_DECIMAL_DIG): Likewise.
58763         [ISO11] (FLT_DECIMAL_DIG): Likewise.
58764         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
58765         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
58766         [ISO11] (FLT_TRUE_MIN): Likewise.
58767         [ISO11] (LDBL_TRUE_MIN): Likewise.
58768         [ISO || ISO99 || ISO11] (*_t): Do not allow.
58769         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
58770         (SCHAR_MIN): Use macro-int-constant.  Specify type.
58771         (SCHAR_MAX): Likewise.
58772         (UCHAR_MAX): Likewise.
58773         (CHAR_MIN): Likewise.
58774         (CHAR_MAX): Likewise.
58775         (MB_LEN_MAX): Use macro-int-constant.
58776         (SHRT_MIN): Use macro-int-constant.  Specify type.
58777         (SHRT_MAX): Likewise.
58778         (USHRT_MAX): Likewise.
58779         (INT_MAX): Likewise.
58780         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
58781         bound negative.
58782         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
58783         bound with "U".
58784         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
58785         bound with "L".
58786         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
58787         bound negative.  Suffix upper bound with "L".
58788         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
58789         bound with "UL".
58790         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
58791         Specify type.
58792         [C99-based standards] (LLONG_MAX): Likewise.
58793         [C99-based standards] (ULLONG_MAX): Likewise.
58794         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
58795         == 0.
58796         [ISO11] (max_align_t): Require type.
58797         [ISO || ISO99 || ISO11] (*_t): Do not allow.
58799         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
58800         from $CFLAGS, without defining away __attribute__ calls.
58801         (checknamespace): Use $CFLAGS_namespace.
58803         * conform/conformtest.pl (@keywords): Only include C99 keywords
58804         for standards based on C99 or C11.
58806         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
58807         Disable tests.
58808         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
58809         UNIX98]: Likewise.
58811         * conform/conformtest.pl: Handle "macro-int-constant" and test for
58812         usability of symbols in #if.
58814         * conform/conformtest.pl: If macro or constant types start
58815         "promoted:", expect the symbol to be of the following type
58816         promoted by the integer promotions.
58818         * conform/conformtest.pl: Parse all "constant" and "macro" lines
58819         in one place.  Also handle "macro-constant".
58821         * conform/conformtest.pl: Only accept expected macro values with
58822         "==".  Parse all "macro" lines in one place.
58823         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
58825         * conform/conformtest.pl: Handle braced types on "constant" lines
58826         instead of handling "typed-constant".
58827         * conform/data/signal.h-data: Use "constant" instead of
58828         "typed-constant".
58830         * conform/conformtest.pl: Handle "optional-" at start of lines in
58831         one place rather than duplicating several cases.  Handle each
58832         format of "macro" line with initial "optional-".
58834         * conform/conformtest.pl: Only accept expected constant or
58835         optional-constant values with "==".  Parse all "constant" lines in
58836         one place.  Parse all "optional-constant" lines in one place.
58837         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
58838         * conform/data/fmtmsg.h-data: Likewise.
58839         * conform/data/netinet/in.h-data: Likewise.
58840         * conform/data/tar.h-data: Likewise.
58841         * conform/data/limits.h-data: Use "==" form on "constant" and
58842         "optional-constant" lines.
58844         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
58845         Use -std=c99 for XOPEN2K.
58846         (@knownproblems): Remove.
58847         (newtoken): Don't check %isknown.
58849         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
58850         Do not expect macro.
58851         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
58852         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
58853         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
58854         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
58855         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
58856         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
58857         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
58858         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
58859         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
58860         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
58861         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
58862         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
58863         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
58864         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
58865         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
58866         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
58867         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
58868         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
58869         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
58870         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
58871         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
58872         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
58873         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
58874         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
58875         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
58876         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
58877         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
58878         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
58879         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
58880         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
58881         [XPG3] (acosh): Likewise.
58882         [XPG3] (asinh): Likewise.
58883         [XPG3] (atanh): Likewise.
58884         [XPG3] (cbrt): Likewise.
58885         [XPG3] (expm1): Likewise.
58886         [XPG3] (ilogb): Likewise.
58887         [XPG3] (log1p): Likewise.
58888         [XPG3] (logb): Likewise.
58889         [XPG3] (nextafter): Likewise.
58890         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
58891         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
58892         [XPG3] (remainder): Likewise.
58893         [XPG3] (rint): Likewise.
58894         [XPG3 || XPG4 || UNIX98] (round): Likewise.
58895         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
58896         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
58897         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
58898         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
58899         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
58900         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
58901         [UNIX98 || XOPEN2K] (scalb): Expect.
58902         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
58903         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
58904         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
58905         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
58906         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
58907         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
58908         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
58909         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
58910         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
58911         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
58912         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
58913         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
58914         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
58915         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
58916         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
58917         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
58918         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
58919         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
58920         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
58921         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
58922         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
58923         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
58924         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
58925         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
58926         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
58927         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
58928         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
58929         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
58930         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
58931         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
58932         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
58933         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
58934         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
58935         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
58936         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
58937         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
58938         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
58939         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
58940         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
58941         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
58942         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
58943         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
58944         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
58945         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
58946         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
58947         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
58948         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
58949         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
58950         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
58951         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
58952         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
58953         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
58954         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
58955         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
58956         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
58957         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
58958         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
58959         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
58960         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
58961         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
58962         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
58963         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
58964         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
58965         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
58966         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
58967         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
58968         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
58969         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
58970         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
58971         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
58972         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
58973         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
58974         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
58975         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
58976         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
58977         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
58978         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
58979         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
58980         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
58981         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
58982         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
58983         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
58984         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
58985         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
58986         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
58987         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
58988         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
58989         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
58990         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
58991         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
58992         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
58993         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
58994         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
58995         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
58996         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
58997         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
58998         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
58999         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
59000         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
59001         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
59002         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
59003         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
59004         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
59005         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
59006         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
59007         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
59008         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
59009         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
59010         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
59011         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
59012         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
59013         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
59014         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
59015         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
59016         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
59017         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
59018         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
59019         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
59020         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
59021         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
59022         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
59023         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
59024         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
59025         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
59026         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
59027         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
59028         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
59029         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
59030         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
59031         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
59032         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
59033         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
59034         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
59035         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
59036         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
59037         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
59038         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
59040         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
59041         _XOPEN_SOURCE_EXTENDED for XPG4.
59043         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
59045         * Makeconfig (localtime): Remove variable.
59046         (inst_localtime-file): Likewise.
59048 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
59050         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
59051         Update.
59052         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
59053         Update.
59054         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
59055         Update.
59056         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
59057         Update.
59058         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
59059         Update.
59060         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
59061         Update.
59062         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
59063         Update.
59064         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
59065         Update.
59066         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
59067         Update.
59069 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
59071         [BZ #2550]
59072         [BZ #2570]
59073         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
59074         comparisons to determine direction to adjust input.
59075         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
59076         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
59077         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
59078         Likewise.
59079         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
59080         Likewise.
59081         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
59082         Likewise.
59083         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
59084         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
59085         Likewise.
59086         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
59087         Likewise.
59088         * math/libm-test.inc (nexttoward_test): Add more tests.
59090 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
59092         [BZ #14040]
59093         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
59094         in version GLIBC_2.1, not GLIBC_2.0.
59095         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
59096         Likewise.
59098 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
59100         [BZ #13942]
59101         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
59102         (1 - x) * (1 + x).
59103         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
59104         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
59105         * math/libm-test.inc (acos_test): Add more tests.
59106         (asin_test): Likewise.
59107         * sysdeps/i386/fpu/libm-test-ulps: Update.
59108         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59110         [BZ #14034]
59111         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
59112         of square root.
59113         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
59114         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
59115         * math/libm-test.inc (acos_test_tonearest): New function.
59116         (acos_test_towardzero): Likewise.
59117         (acos_test_downward): Likewise.
59118         (acos_test_upward): Likewise.
59119         (asin_test_tonearest): Likewise.
59120         (asin_test_towardzero): Likewise.
59121         (asin_test_downward): Likewise.
59122         (asin_test_upward): Likewise.
59123         (main): Call the new functions.
59124         * sysdeps/i386/fpu/libm-test-ulps: Update.
59125         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
59127         [BZ #13884]
59128         [BZ #13924]
59129         * math/e_exp10.c: Include <float.h>.
59130         (__ieee754_exp10): Handle underflow here rather than multiplying
59131         large negative argument by M_LN10.
59132         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
59133         of __ieee754_expf.
59134         * math/e_exp10l.c: Include <float.h>.
59135         (__ieee754_exp10l): Handle underflow here rather than multiplying
59136         large negative argument by M_LN10l.
59137         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
59138         spurious overflow exception on underflow.
59140 2012-04-29  Marek Polacek  <polacek@redhat.com>
59142         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
59143         (__fortify_function): New macro.
59144         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
59145         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
59146         __extern_always_inline.
59147         * libio/bits/stdio2.h: Likewise.
59148         * libio/bits/stdio.h: Likewise.
59149         * string/string.h: Likewise.
59150         * string/bits/string3.h: Likewise.
59151         * include/stdio.h: Likewise.
59152         * stdlib/bits/stdlib.h: Likewise.
59153         * stdlib/stdlib.h: Likewise.
59154         * rt/bits/mqueue2.h: Likewise.
59155         * rt/mqueue.h: Likewise.
59156         * posix/bits/unistd.h: Likewise.
59157         * posix/unistd.h: Likewise.
59158         * io/bits/poll2.h: Likewise.
59159         * io/bits/fcntl2.h: Likewise.
59160         * io/fcntl.h: Likewise.
59161         * io/sys/poll.h: Likewise.
59162         * misc/bits/syslog.h: Likewise.
59163         * misc/bits/syslog-ldbl.h: Likewise.
59164         * misc/sys/syslog.h: Likewise.
59165         * socket/bits/socket2.h: Likewise.
59166         * socket/sys/socket.h: Likewise.
59167         * debug/tst-chk1.c: Likewise.
59168         * wcsmbs/bits/wchar2.h: Likewise.
59169         * wcsmbs/bits/wchar-ldbl.h: Likewise.
59170         * wcsmbs/wchar.h: Likewise.
59172 2012-04-29  Andreas Jaeger  <aj@suse.de>
59174         * Makerules (tests): Remove enable-check-abi protection.
59175         (check-abi-warn): Remove.
59176         (check-abi-%): Remove check-abi-warn usage.
59178         * configure.in: Remove check-abi configure option.
59179         * configure: Regenerated.
59180         * config.make.in (enable-check-abi): Remove.
59182 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
59184         [BZ #14033]
59185         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
59186         double functions to double *_finite functions.
59188         [BZ #13941]
59189         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
59190         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
59191         LDBL_MIN_EXP.
59192         * stdio-common/Makefile (tests): Add tst-sprintf3.
59193         * stdio-common/tst-sprintf3.c: New file.
59195         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
59196         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
59198 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
59200         * conform/conformtest.pl: Remove duplicate typed-constant
59201         handling.
59203 2012-04-28  David S. Miller  <davem@davemloft.net>
59205         * Makerules (%.abilist): Add vpath on sysdep_dirs.
59206         (check-abi-%): Remove AWK script prerequisite and explicit
59207         abilist directory.
59208         (check-abi): Rewrite to just diff the symlist with the abilist.
59209         (config-tls, config-abi-config): Delete, no longer used.
59210         (update-abi-%): Remove AWK script and explicit abilist directory.
59211         (update-abi): Rewrite to simply compare and conditionally copy the
59212         symlist and the sysdep abilist file.  Remove update-abi-config
59213         checks.
59214         * abilist/ld.abilist: Remove.
59215         * abilist/libBrokenLocale.abilist: Remove.
59216         * abilist/libanl.abilist: Remove.
59217         * abilist/libcrypt.abilist: Remove.
59218         * abilist/libdl.abilist: Remove.
59219         * abilist/librt.abilist: Remove.
59220         * abilist/libthread_db.abilist: Remove.
59221         * abilist/libutil.abilist: Remove.
59222         * scripts/extract-abilist.awk: Remove.
59223         * scripts/merge-abilist.awk: Remove.
59224         * sysdeps/generic/libcidn.abilist: New file.
59225         * sysdeps/generic/libnss_compat.abilist: New file.
59226         * sysdeps/generic/libnss_db.abilist: New file.
59227         * sysdeps/generic/libnss_dns.abilist: New file.
59228         * sysdeps/generic/libnss_files.abilist: New file.
59229         * sysdeps/generic/libnss_hesiod.abilist: New file.
59230         * sysdeps/generic/libnss_nis.abilist: New file.
59231         * sysdeps/generic/libnss_nisplus.abilist: New file.
59232         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
59233         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
59234         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
59235         file.
59236         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
59237         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
59238         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
59239         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
59240         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
59241         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
59242         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
59243         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
59244         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
59245         file.
59246         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
59247         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
59248         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
59249         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
59250         file.
59251         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
59252         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
59253         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
59254         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
59255         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
59256         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
59257         file.
59258         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
59259         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
59260         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
59261         file.
59262         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
59263         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
59264         New file.
59265         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
59266         New file.
59267         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
59268         New file.
59269         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
59270         New file.
59271         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
59272         New file.
59273         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
59274         New file.
59275         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
59276         New file.
59277         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
59278         New file.
59279         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
59280         New file.
59281         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
59282         New file.
59283         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
59284         New file.
59285         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
59286         New file.
59287         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
59288         New file.
59289         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
59290         file.
59291         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
59292         New file.
59293         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
59294         New file.
59295         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
59296         file.
59297         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
59298         New file.
59299         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
59300         New file.
59301         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
59302         file.
59303         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
59304         New file.
59305         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
59306         New file.
59307         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
59308         New file.
59309         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
59310         New file.
59311         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
59312         New file.
59313         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
59314         New file.
59315         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
59316         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
59317         file.
59318         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
59319         New file.
59320         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
59321         file.
59322         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
59323         file.
59324         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
59325         file.
59326         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
59327         file.
59328         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
59329         file.
59330         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
59331         New file.
59332         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
59333         file.
59334         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
59335         file.
59336         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
59337         New file.
59338         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
59339         file.
59340         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
59341         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
59342         file.
59343         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
59344         New file.
59345         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
59346         file.
59347         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
59348         file.
59349         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
59350         file.
59351         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
59352         file.
59353         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
59354         file.
59355         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
59356         New file.
59357         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
59358         file.
59359         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
59360         file.
59361         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
59362         New file.
59363         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
59364         file.
59365         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
59366         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
59367         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
59368         file.
59369         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
59370         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
59371         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
59372         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
59373         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
59374         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
59375         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
59376         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
59377         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
59378         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
59379         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
59380         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
59381         file.
59382         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
59383         New file.
59384         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
59385         file.
59386         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
59387         file.
59388         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
59389         file.
59390         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
59391         file.
59392         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
59393         file.
59394         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
59395         New file.
59396         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
59397         New file.
59398         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
59399         file.
59400         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
59401         New file.
59402         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
59403         file.
59404         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
59405         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
59406         file.
59407         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
59408         New file.
59409         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
59410         file.
59411         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
59412         file.
59413         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
59414         file.
59415         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
59416         file.
59417         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
59418         file.
59419         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
59420         New file.
59421         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
59422         New file.
59423         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
59424         file.
59425         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
59426         New file.
59427         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
59428         file.
59430 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
59432         * conform/conformtest.pl: Fix typo in handling typed-constant from
59433         allow-header.
59435 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
59437         * README: Cut down references to pre-2.6 Linux kernels and
59438         Linuxthreads.  Update lists of configurations in libc and ports
59439         and sort alphabetically.  Say "or newer" with Linux kernel version
59440         requirements.
59442         * config.h.in [IS_IN_build]: Allow compiling without optimization.
59444 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
59446         [BZ #887]
59447         * math/libm-test.inc (logb_test_downward): New test to expose
59448         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
59449         rounding mode.
59451 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
59453         [BZ #14027]
59454         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
59455         to be done.
59456         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
59457         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
59459 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
59461         * sysdeps/unix/i386/brk.S: Remove file.
59462         * sysdeps/unix/i386/dl-brk.S: Likewise.
59463         * sysdeps/unix/i386/pipe.S: Likewise.
59464         * sysdeps/unix/i386/sigreturn.S: Likewise.
59465         * sysdeps/unix/i386/syscall.S: Likewise.
59466         * sysdeps/unix/i386/vfork.S: Likewise.
59467         * sysdeps/unix/i386/wait.S: Likewise.
59469         * sysdeps/unix/common/tcsendbrk.c: Move to ...
59470         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
59472         * configure.in (arm*-none*): Do not allow without
59473         --enable-hacker-mode.
59474         (netbsd*): Remove case setting base_os.
59475         (386bsd*): Likewise.
59476         (freebsd*): Likewise.
59477         (bsdi*): Likewise.
59478         (osf*): Likewise.
59479         (sunos*): Likewise.
59480         (ultrix*): Likewise.
59481         (newsos*): Likewise.
59482         (dynix*): Likewise.
59483         (*bsd*): Likewise.
59484         (sysv*): Likewise.
59485         (isc*): Likewise.
59486         (esix*): Likewise.
59487         (sco*): Likewise.
59488         (minix*): Likewise.
59489         (irix4*): Likewise.
59490         (irix6*): Likewise.
59491         (solaris[2-9]*): Likewise.
59492         (none): Likewise.
59493         * configure: Regenerated.
59495 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59497         [BZ #11521]
59498         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
59499         overflow or cancellation in calculating denominator.
59500         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
59501         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
59502         down expression to avoid unexpected rounding in newer GCCs.
59503         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
59505 2012-04-26  David S. Miller  <davem@davemloft.net>
59507         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
59508         long-double compat symbols.
59509         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
59510         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
59511         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
59512         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
59513         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
59514         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
59515         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
59516         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
59517         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
59518         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
59519         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
59520         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
59521         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
59523 2012-04-25  David S. Miller  <davem@davemloft.net>
59525         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
59526         HWCAP_* values only after the memory barriers have been defined.
59527         (atomic_full_barrier): Define.
59528         (atomic_read_barrier): Define.
59529         (atomic_write_barrier): Define.
59531 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
59533         * shlib-versions: Add libgcc_s version information.
59534         * sysdeps/generic/libgcc_s.h: Remove.
59535         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
59536         libgcc_s.h.
59537         * sysdeps/gnu/unwind-resume.c: Likewise.
59538         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
59540 2012-04-25  David S. Miller  <davem@davemloft.net>
59542         * sysdeps/unix/sparc/brk.S: Delete.
59543         * sysdeps/unix/sparc/dl-brk.S: Delete.
59544         * sysdeps/unix/sparc/pipe.S: Delete.
59545         * sysdeps/unix/sparc/sysdep.S: Delete.
59546         * sysdeps/unix/sparc/sysdep.h: Delete.
59547         * sysdeps/unix/sparc/vfork.S: Delete.
59548         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
59549         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
59550         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
59551         (ret_ERRVAL, r0, r1, MOVE): Define.
59552         (JUMPTARGET): Remove.
59553         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
59554         sysdeps/unix/sparc/sysdep.h
59555         (ENTRY, END): Remove.
59556         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
59558 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
59560         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
59561         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
59562         -DIS_IN_build.
59564         * timezone/README: Update upstream location and email address for
59565         tzcode and tzdata.
59566         * timezone/zdump.c: Update from tzcode 2012b.
59567         * timezone/zic.c: Likewise.
59569         * configure.in (libc_cv_as_needed): Remove test.
59570         * configure: Regenerated.
59571         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
59572         conditional definition.
59573         [$(have-as-needed) != yes] (no-as-needed): Likewise.
59574         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
59575         * config.make.in (have-as-needed): Remove variable.
59577 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
59578             Paul Pluzhnikov  <ppluzhnikov@google.com>
59580         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
59581         strings correctly.
59583 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
59585         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
59586         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
59587         * sysdeps/sh/strlen.S: Likewise.
59589 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
59591         * sysdeps/unix/fork.S: Remove file.
59592         * sysdeps/unix/i386/fork.S: Likewise.
59593         * sysdeps/unix/sparc/fork.S: Likewise.
59595         * sysdeps/unix/system.c: Remove file.
59596         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
59598         * sysdeps/unix/getegid.S: Remove file.
59599         * sysdeps/unix/geteuid.S: Likewise.
59601 2012-04-24  Roland McGrath  <roland@hack.frob.com>
59603         * scripts/check-localplt.awk: New file.
59604         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
59605         of diff.
59606         * scripts/data/localplt-generic.data: Add a comment.
59608         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
59609         NODE when __dir_mkfile failed.
59610         * sysdeps/mach/hurd/symlinkat.c: Likewise.
59611         Reported by Ludovic Courtès <ludo@gnu.org>.
59613 2012-04-24  Andreas Jaeger  <aj@suse.de>
59615         * Makerules (common-clean): Also remove gen-as-const-headers
59616         files.
59618 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
59620         * Makerules (native-compile): Do not change working directory for
59621         build.  Use $(OUTPUT_OPTION) in command.
59622         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
59624 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59626         [BZ #13886]
59627         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
59628         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
59629         * math/libm-test.inc (floor_test): Add more tests.
59630         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
59632 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
59634         * sysdeps/unix/getdents.c: Remove file.
59635         * sysdeps/unix/sysv/getdents.c: Likewise.
59636         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
59638         * sysdeps/unix/syscalls.list (madvise): Add syscall from
59639         sysdeps/unix/mman/syscalls.list.
59640         (mmap): Likewise.
59641         (mprotect): Likewise.
59642         (msync): Likewise.
59643         (munmap): Likewise.
59644         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
59645         * sysdeps/unix/mman/syscalls.list: Remove.
59646         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
59648         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
59649         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
59650         * configure: Regenerated.
59651         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
59652         $(libgcc_s_suffix).
59653         * config.make.in (libgcc_s_suffix): Remove variable.
59655 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
59657         * sysdeps/unix/sysv/gethostname.c: Move to ...
59658         * sysdeps/posix/gethostname.c: ... here.
59660         * sysdeps/unix/execve.S: Remove file.
59662         * sysdeps/unix/_exit.S: Remove file.
59664 2012-04-23  Andreas Jaeger  <aj@suse.de>
59666         [BZ #13739]
59667         * manual/Makefile: Remove make dist support, there's no
59668         need for a stand-alone documentation tar ball.
59669         (TEXI2DVI): Define always, it's not in Makeconfig.
59670         (dist): Removed.
59671         (tar-it): Removed.
59672         (edition): Removed.
59673         (glibc-doc-$(edition).tar): Removed
59674         (%.Z): Removed.
59675         (%.gz): Removed.
59676         (%.uu): Removed.
59677         (ETAGS): Remove, it's in Makeconfig.
59678         (move-if-change): Remove, it's in Makeconfig.
59680 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
59682         [BZ #13970]
59683         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
59684         (strtod, strtof, strtold, strtol, strtoul, strtoq)
59685         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
59686         (strtod_l, strtof_l, strtold_l): Remove __wur.
59687         It is not necessarily an error to ignore strtol's return value.
59688         One can reliably look at the stored endptr to decide whether
59689         the number had valid syntax.
59691 2012-04-21  Andreas Jaeger  <aj@suse.de>
59693         [BZ #13739]
59694         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
59696 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
59698         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
59699         * sysdeps/unix/sysv/Versions: Remove file.
59701 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
59703         [BZ #13927]
59704         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
59706 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
59708         [BZ #7064]
59709         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
59710         version from __vm86.
59712 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
59714         * sysdeps/unix/common/lxstat.c: Remove file.
59715         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
59717         * sysdeps/unix/sysv/Makefile: Remove file.
59719         * sysdeps/unix/sysv/direct.h: Remove file.
59721         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
59722         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
59723         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
59724         * sysdeps/unix/sysv/bits/signum.h: Likewise.
59725         * sysdeps/unix/sysv/bits/stat.h: Likewise.
59726         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
59727         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
59729         * sysdeps/unix/sysv/setrlimit.c: Remove file.
59731         * sysdeps/unix/xmknod.c: Remove file.
59732         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
59734         * sysdeps/unix/sysv/settimeofday.c: Remove file.
59736         * sysdeps/unix/sysv/i386/time.S: Remove file.
59738         * sysdeps/unix/fxstat.c: Remove file.
59739         * sysdeps/unix/xstat.c: Likewise.
59740         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
59742         * sysdeps/unix/sysv/sigaction.c: Remove file.
59744         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
59745         (sysdep_headers): Remove variable.
59746         [termio.h not in sysdep_headers] (generated): Likewise.
59747         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
59748         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
59749         * sysdeps/unix/sysv/tcdrain.c: Likewise.
59750         * sysdeps/unix/sysv/tcflow.c: Likewise.
59751         * sysdeps/unix/sysv/tcflush.c: Likewise.
59752         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
59753         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
59754         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
59755         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
59756         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
59758         * sysdeps/unix/siglist.c: Remove file.
59760         * sysdeps/unix/getppid.S: Remove file.
59762         * sysdeps/unix/mkdir.c: Remove file.
59763         * sysdeps/unix/rmdir.c: Likewise.
59765 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
59767         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
59768         ERR_MAX value.
59769         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
59770         errlist-compat value.
59772 2012-04-18  David S. Miller  <davem@davemloft.net>
59774         * sysdeps/generic/memcopy.h (reg_char): Delete.
59775         * debug/strcat_chk.c: Use char, not reg_char.
59776         * debug/strcpy_chk.c: Likewise.
59777         * debug/strncat_chk.c: Likewise.
59778         * debug/strncpy_chk.c: Likewise.
59779         * string/memchr.c: Likewise.
59780         * string/memrchr.c: Likewise.
59781         * string/rawmemchr.c: Likewise.
59782         * string/strcat.c: Likewise.
59783         * string/strchr.c: Likewise.
59784         * string/strchrnul.c: Likewise.
59785         * string/strcmp.c: Likewise.
59786         * string/strcpy.c: Likewise.
59787         * string/strncat.c: Likewise.
59788         * string/strncmp.c: Likewise.
59789         * string/strncpy.c: Likewise.
59791 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
59793         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
59794         __builtin_memcopy is called when src and dest ranges are known to not
59795         overlap.
59797 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
59799         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
59800         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
59801         fwd_align_merge macro call.
59802         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
59803         bwd_align_merge macro call.
59804         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
59806 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
59808         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
59809         bwd_align_merge macros.
59810         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
59811         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
59812         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
59814 2012-04-18  David S. Miller  <davem@davemloft.net>
59816         * sysdeps/sparc/sparc64/memcopy.h: Delete.
59818 2012-04-18  Andreas Jaeger  <aj@suse.de>
59820         [BZ# 6794]
59821         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
59822         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
59823         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
59825         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
59826         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
59827         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
59829         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
59830         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
59831         Adjust for changed ldbl-128 files.
59833         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
59834         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
59835         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
59837 2012-04-17  David S. Miller  <davem@davemloft.net>
59839         * sysdeps/sparc/sparc32/memcopy.h: Delete.
59841 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
59843         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
59844         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
59845         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
59846         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
59847         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
59848         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
59850 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59852         [BZ #6794]
59853         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
59854         * math/libm-test.inc: Add ilogb errno and exception tests.
59855         * math/w_ilogb.c: New file: ilogb wrapper.
59856         * math/w_ilogbf.c: New file: ilogbf wrapper.
59857         * math/w_ilogbl.c: New file: ilogbl wrapper.
59858         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
59859         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
59860         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
59861         exception being thrown with 0.0 as argument.
59862         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
59863         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
59864         exception being thrown with 0.0 as argument.
59865         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
59866         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
59867         exception being thrown with 0.0 as argument.
59868         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
59869         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
59870         exception being thrown with 0.0 as argument.
59871         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
59872         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
59873         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
59874         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
59875         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
59876         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
59877         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
59878         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
59879         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
59881 2012-04-17  Petr Baudis  <pasky@ucw.cz>
59883         * include/sys/uio.h: Change __vector to __iovec to avoid clash
59884         with altivec.
59886 2012-04-16  Marek Polacek  <polacek@redhat.com>
59888         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
59890 2012-04-16  Marek Polacek  <polacek@redhat.com>
59892         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
59893         operands of fdivp instruction.
59895 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
59897         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
59898         * elf/tst-auditmod3b.c: Likewise.
59899         * elf/tst-auditmod4b.c: Likewise.
59900         * elf/tst-auditmod5b.c: Likewise.
59901         * elf/tst-auditmod6b.c: Likewise.
59902         * elf/tst-auditmod6c.c: Likewise.
59903         * elf/tst-auditmod7b.c: Likewise.
59904         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
59905         * sysdeps/x86_64/preconfigure.in: Likewise.
59906         * sysdeps/x86_64/preconfigure: Regenerated.
59908 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
59910         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
59911         __ILP32__.
59913 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
59915         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
59916         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
59918 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
59920         [BZ #13973]
59921         * locale/iso-639.def: Fix gl language name. Spotted by
59922         Yaron Shahrabani.
59924 2012-04-12  Roland McGrath  <roland@hack.frob.com>
59926         [BZ #2074]
59927         * libio/libio.h (__io_write_fn): Update comment.
59929 2012-04-12  Petr Baudis  <pasky@ucw.cz>
59931         [BZ #2074]
59932         * stdio.texi (Hook Functions): The user provided writer function
59933         is not allowed to return -1.
59935 2012-04-11  David S. Miller  <davem@davemloft.net>
59937         * sysdeps/sparc/fpu/libm-test-ulps: Update.
59939 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
59941         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
59942         Add a leading slash to rtkaio.
59944 2012-04-11  Jim Meyering  <meyering@redhat.com>
59946         [BZ #11959]
59947         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
59948         It is not necessarily an error to ignore fwrite's return
59949         value.  One can reliably use ferror to test for errors after
59950         the fact.
59952 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
59954         * bits/types.h (__snseconds_t): New type.
59955         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
59957         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
59958         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
59959         (__SNSECONDS_T_TYPE): Likewise.
59960         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
59961         (__SNSECONDS_T_TYPE): Likewise.
59962         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
59963         (__SNSECONDS_T_TYPE): Likewise.
59965 2012-04-10  Andreas Jaeger  <aj@suse.de>
59967         [BZ #2636]
59968         * manual/time.texi (Processor Time): Return type of times is
59969         elapsed real time since an arbitrary point in the past.
59970         (CPU Time): Move CLK_TCK from here...
59971         (Processor Time): ...to here.  Correct description.
59972         * manual/conf.texi (Constants for Sysconf): Correct description of
59973         _SC_CLK_TCK.
59975 2012-04-10  David S. Miller  <davem@davemloft.net>
59977         [BZ #13967]
59978         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
59979         where the is a gap between DT_REL(A) and DT_JMPREL.
59981 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
59983         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
59984         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
59985         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
59987 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
59989         * elf/dl-support.c (_dl_inhibit_cache): New variable.
59990         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
59991         (dl_main): Handle --inhibit-cache.
59992         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
59993         _dl_inhibit_cache.
59994         * elf/dl-load.c (_dl_map_object): Use it.
59995         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
59997 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
59999         [BZ #13872]
60000         * sysdeps/i386/fpu/e_powl.S (p78): New object.
60001         (__ieee754_powl): Saturate large exponents rather than testing for
60002         overflow of y*log2(x).
60003         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
60004         * math/libm-test.inc (pow_test): Do not permit spurious overflow
60005         exceptions.
60007         [BZ #11521]
60008         * math/s_ctan.c: Include <float.h>.
60009         (__ctan): Avoid internal overflow or cancellation in calculating
60010         denominator.
60011         * math/s_ctanf.c: Likewise.
60012         * math/s_ctanl.c: Likewise.
60013         * math/s_ctanh.c: Likewise.
60014         * math/s_ctanhf.c: Likewise.
60015         * math/s_ctanhl.c: Likewise.
60016         * math/libm-test.inc (ctan_test): Add more tests.
60017         (ctanh_test): Likewise.
60018         * sysdeps/i386/fpu/libm-test-ulps: Update.
60019         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60021 2012-04-09  Andreas Jaeger  <aj@suse.de>
60023         [BZ #6894]
60024         * manual/filesys.texi (Directory Entries): Mention that d_namlen
60025         is an optional BSD extension.
60027         [BZ #10254]
60028         * manual/stdio.texi (Opening Streams): Document additional fopen
60029         parameters.
60031 2012-04-09  Roland McGrath  <roland@hack.frob.com>
60033         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
60034         %eax without telling the compiler.
60036 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
60038         [BZ # 13963]
60039         * manual/install.texi: Use sourceware.org.
60041 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
60043         [BZ #13873]
60044         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
60045         (__ieee754_pow): Generate overflow and underflow using huge*huge
60046         and tiny*tiny rather than just returning constant infinity or zero
60047         for large exponents.
60048         * math/libm-test.inc (pow_test): Require overflow exceptions for
60049         applicable cases of large exponents.
60051         [BZ #706]
60052         * sysdeps/i386/fpu/e_pow.S (p10): New object.
60053         (__ieee754_pow): Use iterative multiplication algorithm only for
60054         integer exponents with absolute value below 1024.  Check for odd
60055         integer exponents when using algorithm for real exponents.
60056         * math/libm-test.inc (pow_test): Add more tests.
60057         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
60059 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
60061         [BZ #13705]
60062         * math/libm-test.inc (exp_test): Do not allow overflow exception
60063         on underflow test.
60065 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
60067         [BZ #13705]
60068         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
60069         instead of __kernel_standard_f.
60071 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
60073         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
60074         * sysdeps/x86_64/memset_chk.S: Likewise.
60076 2012-04-08  Andreas Jaeger  <aj@suse.de>
60078         [BZ #10153]
60079         * manual/startup.texi (Environment Access): Describe return value
60080         for putenv and setenv.
60082         [BZ #6895]
60083         * manual/filesys.texi (Directory Entries): Add description for
60084         DT_LNK.
60086         [BZ #6890]
60087         * manual/filesys.texi (Directory Entries): Clarify that it's file
60088         system not operating system in the description of DT_UNKNOWN.
60090         [BZ #6578]
60091         * manual/syslog.texi (closelog): Fix reference, it's openlog.
60093 2012-04-08  Stephen Compall  <s11@member.fsf.org>
60095         [BZ #6649]
60096         * manual/llio.texi (Opening and Closing Files): Add cross
60097         reference to explain mode argument.
60099 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
60101         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
60102         * sysdeps/x86_64/memset_chk.S: Likewise.
60104 2012-04-07  David S. Miller  <davem@davemloft.net>
60106         * elf/elf.h (R_SPARC_WDISP10): Define.
60107         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
60108         R_SPARC_SIZE32.
60109         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
60110         R_SPARC_SIZE64 and R_SPARC_H34.
60112 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
60114         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
60115         conditions and remove no longer applicable assertion.
60117 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
60119         * bits/byteswap.h: Include <features.h>.
60120         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
60121         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
60123 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
60125         * bits/byteswap.h (__bswap_16): Removed.
60126         Include <bits/byteswap-16.h> to get __bswap_16.
60127         * sysdeps/i386/bits/byteswap.h: Likewise.
60128         * sysdeps/s390/bits/byteswap.h: Likewise.
60129         * sysdeps/x86_64/bits/byteswap.h: Likewise.
60130         * bits/byteswap-16.h: New file.
60131         * sysdeps/i386/bits/byteswap-16.h: Likewise.
60132         * sysdeps/s390/bits/byteswap-16.h: Likewise.
60133         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
60134         * string/Makefile (headers): Add bits/byteswap-16.h.
60136 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
60138         [BZ #13895]
60139         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
60140         extra indirection.
60141         * nss/Makefile (tests-static, tests): Add tst-nss-static.
60142         * nss/tst-nss-static.c: New.
60144 2012-04-06  Robert Millan  <rmh@gnu.org>
60146         [BZ #6486]
60147         * manual/llio.texi (File Position Primitive): lseek
60148         refers to WHENCE when it really means OFFSET.
60150 2012-04-06  Andreas Jaeger  <aj@suse.de>
60152         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
60153         strncmp declarations.
60155         * abilist/libc.abilist: Add __poll and __ppoll.
60157 2012-04-05  David S. Miller  <davem@davemloft.net>
60159         * scripts/check-local-headers.sh: Accept a host triplet in the
60160         path matched by the exclude regexp.
60162         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
60163         definition.
60164         * sysdeps/powerpc/powerpc32/dl-machine.h
60165         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
60166         * sysdeps/s390/s390-32/dl-machine.h
60167         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
60168         * sysdeps/sparc/sparc32/dl-machine.h
60169         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
60170         * sysdeps/sparc/sparc64/dl-machine.h
60171         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
60173         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
60174         lazy binding.
60175         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
60176         undefined symbol errors.
60178         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
60179         DT_NEEDED entries.
60181 2012-04-05  Michael Matz  <matz@suse.de>
60183         [BZ #13592]
60184         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
60186 2012-04-05  Andreas Jaeger  <aj@suse.de>
60188         [BZ #13908]
60189         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
60190         comment.
60192 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
60194         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
60195         which ROUND is no valid rounding mode.
60197 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
60199         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
60200         read again.
60201         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
60203 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
60205         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
60206         an exception using FPU order intentionally.
60208 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
60210         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
60211         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
60212         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
60213         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
60215 2012-04-05  Simon Josefsson  <simon@josefsson.org>
60217         [BZ #12340]
60218         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
60219         EINVAL when BUFLEN is too smal.
60221 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
60223         [BZ #13553]
60224         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
60225         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
60227 2012-04-03  Andreas Jaeger  <aj@suse.de>
60229         [BZ #13938]
60230         * manual/setjmp.texi (System V contexts): Fix sentence.
60232         [BZ #13926]
60233         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
60234         New macro for this case.
60235         [!__GNUC__] (__bswap_64): New inline function for this case.
60236         * sysdeps/x86_64/bits/byteswap.h: Likewise.
60237         * bits/byteswap.h: Likewise.
60238         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
60239         ull, guard with __GLIBC_HAVE_LONG_LONG.
60241         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
60242         __GLIBC_HAVE_LONG_LONG.
60244         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
60245         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
60247 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
60249         [BZ #13691]
60250         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
60251         inptr and inend, rather than using last_ch.
60253 2012-04-02  David S. Miller  <davem@davemloft.net>
60255         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
60256         * stdio-common/printf-parse.h (read_int): Change return type to
60257         'int', return -1 on INT_MAX overflow.
60258         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
60259         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
60260         overflows INT_MAX.  Check for overflow of in-format-string precision
60261         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
60262         SIZE_MAX not INT_MAX for integer overflow test.
60263         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
60264         skip the construct in the format string but do not record anything.
60265         * stdio-common/bug22.c: Adjust to test both width/prevision
60266         INT_MAX overflow as well as total length INT_MAX overflow.  Check
60267         explicitly for proper errno values.
60269 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
60271         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
60272         CHAR_MAX.
60273         * string/test-strcmp.c [! WIDE]: Likewise.
60274         * time/tst-mktime2.c: Likewise for INT_MAX.
60275         * string/test-string.h: #include <sys/param.h> for MIN.
60277         * csu/init-first.c (__libc_init_first): Call __ctype_init.
60278         * sysdeps/i386/init-first.c (init): Likewise.
60279         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
60280         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
60281         * sysdeps/sh/init-first.c (init): Likewise.
60283 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
60285         * po/ru.po: Update from translation team.
60286         * po/vi.po: Likewise.
60288 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
60290         * resolv/nss_dns/dns-host.c: Merge copyright years.
60292 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
60294         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
60295         Optimize memcpy with prefetch if
60296         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
60297         src, dst pointers have unequal 16 byte alignments.
60299 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
60301         [BZ #13928]
60302         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
60303         from a CNAME entry and return the minimum ttl for the query.
60304         (gaih_getanswer_slice): Likewise.
60306 2012-03-30  Jeff Law  <law@redhat.com>
60308         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
60309         due to long keys.
60310         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
60311         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
60313         * resolv/nss_dns/dns-host.c: Update copyright year.
60315 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
60317         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
60318         requests to save a system call.  Fix check that all bytes are sent.
60320         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
60321         comments for sendmmsg.
60323 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
60325         [BZ #13691]
60326         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
60327         with only 1 character between 0x0041 and 0x01b0.
60328         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
60329         * wcsmbs/tst-mbsnrtowcs.c: New file.
60331 2012-03-29  David S. Miller  <davem@davemloft.net>
60333         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
60334         small copies by hand.
60336 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
60338         [BZ #13761]
60339         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
60340         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
60341         group memberships.
60343 2012-03-28  David S. Miller  <davem@davemloft.net>
60345         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
60346         that branches into memcpy.
60347         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
60348         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
60349         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
60350         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
60351         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
60352         bits.
60353         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
60354         implementation too.
60355         * sysdeps/sparc/mempcpy.S: New file.
60357         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
60358         the IFUNC routine in the libc case.
60359         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
60361         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
60362         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
60363         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
60364         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
60365         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
60366         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
60367         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
60368         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
60370         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
60371         loop to 256 bytes instead of 64 bytes and fix test signedness.
60373         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
60374         * sysdeps/sparc/sparc32/Makefile: rather than here...
60375         * sysdeps/sparc/sparc64/Makefile: and here.
60377 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
60379         * malloc/mallocbug.c: Avoid warnings about unused variables.
60381 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
60383         [BZ #13760]
60384         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
60385         in the right place. Discard and retry query if response is
60386         larger than input buffer size.
60388 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
60390         [BZ #369]
60391         [BZ #2678]
60392         [BZ #3866]
60393         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
60394         x for large integer exponent.
60395         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
60396         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
60397         sign of result as needed afterwards.
60398         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
60399         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
60400         result for underflowing pow the same as for overflow.
60401         (__kernel_standard_l): Handle powl overflow and underflow here
60402         rather than calling __kernel_standard.
60403         * math/libm-test.inc (pow_test): Add more tests.
60405         [BZ #3868]
60406         [BZ #13879]
60407         [BZ #13910]
60408         [BZ #13911]
60409         [BZ #13912]
60410         [BZ #13913]
60411         [BZ #13915]
60412         [BZ #13916]
60413         [BZ #13917]
60414         [BZ #13918]
60415         [BZ #13919]
60416         [BZ #13920]
60417         [BZ #13921]
60418         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
60419         * sysdeps/ieee754/k_standard.c: Include <float.h>.
60420         (__kernel_standard_l): New function.
60421         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
60422         __kernel_standard.
60423         * math/w_acosl.c (__acosl): Likewise.
60424         * math/w_asinl.c (__asinl): Likewise.
60425         * math/w_atan2l.c (__atan2l): Likewise.
60426         * math/w_atanhl.c (__atanhl): Likewise.
60427         * math/w_coshl.c (__coshl): Likewise.
60428         * math/w_exp10l.c (__exp10l): Likewise.
60429         * math/w_exp2l.c (__exp2l): Likewise.
60430         * math/w_fmodl.c (__fmodl): Likewise.
60431         * math/w_hypotl.c (__hypotl): Likewise.
60432         * math/w_j0l.c (__j0l, __y0l): Likewise.
60433         * math/w_j1l.c (__j1l, __y1l): Likewise.
60434         * math/w_jnl.c (__jnl, __ynl): Likewise.
60435         * math/w_lgammal.c (__lgammal): Likewise.
60436         * math/w_log10l.c (__log10l): Likewise.
60437         * math/w_log2l.c (__log2l): Likewise.
60438         * math/w_logl.c (__logl): Likewise.
60439         * math/w_powl.c (__powl): Likewise.
60440         * math/w_remainderl.c (__remainderl): Likewise.
60441         * math/w_scalbl.c (sysv_scalbl): Likewise.
60442         * math/w_sinhl.c (__sinhl): Likewise.
60443         * math/w_sqrtl.c (__sqrtl): Likewise.
60444         * math/w_tgammal.c (__tgammal): Likewise.
60445         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
60446         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
60447         * math/libm-test.inc (acos_test): Add more tests.
60448         (acosh_test): Likewise.
60449         (asin_test): Likewise.
60450         (atanh_test): Likewise.
60451         (exp_test): Likewise.
60452         (exp10_test): Likewise.
60453         (exp2_test): Likewise.
60454         (expm1_test): Likewise.
60455         (lgamma_test): Likewise.
60456         (log_test): Likewise.
60457         (log10_test): Likewise.
60458         (log1p_test): Likewise.
60459         (log2_test): Likewise.
60460         (pow_test): Do not allow some spurious overflow exceptions.
60461         (sqrt_test): Add more tests.
60462         (tgamma_test): Likewise.
60463         (y0_test): Likewise.
60464         (y1_test): Likewise.
60465         (yn_test): Likewise.
60467 2012-03-27  Anton Blanchard  <anton@samba.org>
60469         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
60470         MAP_HUGETLB.
60471         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
60472         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
60473         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
60475 2012-03-27  David S. Miller  <davem@davemloft.net>
60477         * conform/Makefile: Run run-conformtest.sh using $(BASH).
60479         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
60480         have-as-vis3 check.
60482 2012-03-27  Andreas Jaeger  <aj@suse.de>
60484         * sysdeps/x86_64/elf/configure.in: Moved to ...
60485         * sysdeps/x86_64/configure.in: ... here.
60486         * sysdeps/x86_64/elf/start.S: Moved to ...
60487         * sysdeps/x86_64/start.S: ... here.
60488         * sysdeps/x86_64/elf/configure: Delete.
60490         * sysdeps/x86_64/configure.in: Merge contents from
60491         sysdeps/i386/configure.in (without i686 check).
60493         * sysdeps/i386/elf/Versions: Merge into ...
60494         * sysdeps/i386/Versions: ... this.
60495         * sysdeps/i386/elf/Versions: Delete file.
60496         * sysdeps/i386/elf/start.S: Moved to ...
60497         * sysdeps/i386/start.S: ...here.
60498         * sysdeps/i386/elf/configure.in: Merge into...
60499         * sysdeps/i386/configure.in: ...here.
60500         * sysdeps/i386/elf/configure.in: Delete file.
60501         * sysdeps/i386/elf/configure: Delete file.
60503         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
60504         * debug/backtracesyms.c: ... here.
60505         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
60506         * debug/backtracesymsfd.c: ... here.
60507         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
60508         * sysdeps/generic/ifunc-sel.h: ... here.
60510         * sysdeps/unix/i386/start.c: Delete file.
60511         * sysdeps/unix/sparc/start.c: Delete file.
60512         * sysdeps/unix/start.c: Delete file.
60514         * sysdeps/sh/elf/configure.in: Moved to ...
60515         * sysdeps/sh/configure.in: ... here.
60516         * sysdeps/sh/elf/start.S: Moved to ...
60517         * sysdeps/sh/start.S: ... here.
60518         * sysdeps/sh/elf/configure: Delete file.
60520         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
60521         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
60522         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
60523         * sysdeps/powerpc/powerpc64/entry.h: ... here.
60524         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
60525         * sysdeps/powerpc/powerpc64/start.S: here.
60526         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
60527         * sysdeps/powerpc/powerpc64/Makefile: ... this.
60528         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
60529         * sysdeps/powerpc/powerpc64/configure.in: ... this.
60530         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
60532         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
60533         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
60534         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
60535         * sysdeps/powerpc/powerpc32/start.S: ... here.
60536         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
60537         * sysdeps/powerpc/powerpc32/configure.in: ... this.
60538         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
60540         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
60541         * sysdeps/powerpc/ifunc-sel.h: ... here.
60542         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
60543         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
60545         * sysdeps/sparc/elf/configure.in: Moved to ...
60546         * sysdeps/sparc/configure.in: ... here.
60547         * sysdeps/sparc/elf/configure: Delete file.
60548         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
60549         * sysdeps/sparc/sparc32/start.S: ... here.
60550         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
60551         * sysdeps/sparc/sparc64/start.S: ... here.
60552         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
60553         * sysdeps/sparc/sparc32/Makefile: ... this.
60554         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
60555         * sysdeps/sparc/sparc64/Makefile: ... this.
60557         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
60558         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
60559         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
60560         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
60561         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
60562         * sysdeps/s390/s390-32/setjmp.S: ... here.
60563         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
60564         * sysdeps/s390/s390-32/configure.in: ... here.
60565         * sysdeps/s390/s390-32/elf/configure: Delete file.
60566         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
60567         * sysdeps/s390/s390-32/start.S: ... here.
60569         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
60570         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
60571         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
60572         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
60573         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
60574         * sysdeps/s390/s390-64/setjmp.S: ... here.
60575         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
60576         * sysdeps/s390/s390-64/configure.in: ... here
60577         * sysdeps/s390/s390-64/elf/configure: Delete file.
60578         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
60579         * sysdeps/s390/s390-64/start.S: ... here.
60580         * sysdeps/s390/s390-64/elf/configure: Delete.
60582         * configure.in: Remove support for elf directories in sysdeps.
60584         * configure: Regenerated.
60585         * sysdeps/i386/configure: Regenerated.
60586         * sysdeps/powerpc/powerpc32/configure: Regenerated.
60587         * sysdeps/powerpc/powerpc64/configure: Regenerated.
60588         * sysdeps/s390/s390-32/configure: Regenerated.
60589         * sysdeps/s390/s390-64/configure: Regenerated.
60590         * sysdeps/sh/configure: Regenerated.
60591         * sysdeps/sparc/configure: Regenerated.
60592         * sysdeps/x86_64/configure: Regenerated.
60594 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
60596         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
60598         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
60599         denormal result into account.
60601 2012-03-25  Roland McGrath  <roland@hack.frob.com>
60603         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
60604         Reported by Allan McRae <allan@archlinux.org>.
60606 2012-03-23  Jeff Law  <law@redhat.com>
60608         * nss/getnssent.c (__nss_getent): Fix typo.
60610 2012-03-23  David S. Miller  <davem@davemloft.net>
60612         * sysdeps/sparc/fpu/libm-test-ulps: Update.
60614 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
60616         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
60617         to pad to uint64_t for each field.
60618         (dl_tls_index): Replace unsigned long with uint64_t.
60620 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
60621         Paul Pluzhnikov  <ppluzhnikov@google.com>
60623         [BZ #6528]
60624         * grp/Makefile (otherlibs): Don't set it.
60625         * inet/Makefile (otherlibs): Likewise.
60626         * login/Makefile (otherlibs): Likewise.
60627         * nscd/Makefile (otherlibs): Likewise.
60628         * posix/Makefile (otherlibs): Likewise.
60629         * pwd/Makefile (otherlibs): Likewise.
60630         * rt/Makefile (otherlibs): Likewise.
60631         * sunrpc/Makefile (otherlibs): Likewise.
60632         * nss/Makefile (otherlibs): Likewise.
60633         Add libnss_files to routines and static-only-routines.
60634         ($(objpfx)getent): Remove rule.
60635         * resolv/Makefile: Add libnss_dns and libresolv to routines and
60636         static-only-routines.
60638 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
60640         [BZ #13892]
60641         * math/s_cexp.c: Include <float.h>.
60642         (__cexp): Handle exp result overflowing not necessarily
60643         overflowing both real and imaginary parts of result.
60644         * math/s_cexpf.c: Likewise.
60645         * math/s_cexpl.c: Likewise.
60646         * math/libm-test.inc (cexp_test): Add more tests.
60647         * sysdeps/i386/fpu/libm-test-ulps: Update.
60648         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60650 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
60652         * include/link.h (ELFW): New macro.
60653         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
60654         Replace ELF64_R_TYPE with ELFW(R_TYPE).
60656 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
60658         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
60659         with uint64_t.
60661 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
60663         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
60664         declaration.
60665         (struct La_x32_retval): Likewise.
60667 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
60669         * sysdeps/x86_64/preconfigure.in: New file.
60670         * sysdeps/x86_64/preconfigure: New generated file.
60672 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
60674         [BZ #13824]
60675         * math/e_exp2l.c: Include <float.h>.
60676         (__ieee754_exp2l): Handle overflow and underflow cases
60677         separately.  Only pass fractional part of argument to
60678         __ieee754_expl.
60679         * math/libm-test.inc (exp2_test): Add more tests.
60681         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
60682         negating x to take absolute value.
60683         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
60684         Likewise.
60685         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
60686         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
60687         Likewise.
60688         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
60689         computing low part if x was negated.
60690         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
60692 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
60694         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
60695         la_x32_gnu_pltexit.
60696         (pltexit): Cast int_retval to ptrdiff_t.
60697         * elf/tst-auditmod3b.c: Likewise.
60698         * elf/tst-auditmod4b.c: Likewise.
60699         * elf/tst-auditmod5b.c: Likewise.
60700         * elf/tst-auditmod6b.c: Likewise.
60701         * elf/tst-auditmod6c.c: Likewise.
60702         * elf/tst-auditmod7b.c: Likewise.
60704         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
60705         and x32_gnu_pltexit.
60707         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
60708         __ELF_NATIVE_CLASS.
60709         (La_x32_regs): New macro.
60710         (La_x32_retval): Likewise.
60711         (la_x32_gnu_pltenter): New function prototype.
60712         (la_x32_gnu_pltexit): Likewise.
60714 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
60716         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
60717         exponent.
60719         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
60721         * configure.in (libc_cv_cc_nofma): Check for option to disable
60722         generation of FMA instructions.
60723         * configure: Regenerate.
60724         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
60725         * sysdeps/ieee754/dbl-64/Makefile: New file.
60726         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
60727         Remove brandred-fma4.
60728         (CFLAGS-brandred-fma4.c): Remove.
60729         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
60730         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
60731         define.
60732         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
60733         define.
60735 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
60737         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
60738         LLONG_MAX != LONG_MAX.
60739         (_itoa_word): Use _ITOA_WORD_TYPE on value.
60740         (_fitoa_word): Likewise.
60741         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
60742         LLONG_MAX != LONG_MAX.
60743         * stdio-common/_itowa.h: Include <_itoa.h>.
60744         (_itowa_word): Use _ITOA_WORD_TYPE on value.
60745         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
60746         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
60747         only if not defined.
60748         (_ITOA_WORD_TYPE): Likewise.
60749         (_itoa_word): Use _ITOA_WORD_TYPE on value.
60750         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
60752 2012-03-21  David S. Miller  <davem@davemloft.net>
60754         * sysdeps/sparc/fpu/libm-test-ulps: Update.
60756 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
60758         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
60759         of x86_64 when setting libc_cv_slibdir, libdir and
60760         libc_cv_localedir.
60761         * sysdeps/unix/sysv/linux/configure: Regenerated.
60763 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
60765         * manual/lang.texi (Old Varargs): Remove section.
60766         (How Variadic): Update menu.
60767         (va_start): Do not mention varargs.h.
60769 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
60770             Joseph Myers  <joseph@codesourcery.com>
60772         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
60773         link test.
60774         * configure: Regenerated.
60776 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
60778         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
60779         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
60780         conformtest.pl
60782 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
60784         * NOTES: Remove.
60785         * Makefile (files-for-dist): Remove NOTES.
60786         (NOTES): Remove rule.
60787         * README: Don't refer to NOTES.
60788         * manual/creature.texi: Don't include macros.texi.
60789         * manual/intro.texi (creature.texi): Remove comment referring to
60790         NOTES.
60792         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
60793         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
60794         * configure: Regenerated.
60795         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
60796         LIBC_TRY_CC_OPTION.
60797         (libc_cv_as_i686): Likewise.
60798         (libc_cv_cc_avx): Likewise.
60799         (libc_cv_cc_sse2avx): Likewise.
60800         (libc_cv_cc_fma4): Likewise.
60801         (libc_cv_cc_novzeroupper): Likewise.
60802         * sysdeps/i386/configure: Regenerated.
60804         [BZ #13883]
60805         * sysdeps/i386/fpu/s_cexp.S: Remove.
60806         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
60807         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
60808         * math/libm-test.inc (cexp_test): Add more tests.
60809         * sysdeps/i386/fpu/libm-test-ulps: Update.
60810         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60812 2012-03-21  Allan McRae  <allan@archlinux.org>
60814         * timezone/Makefile: Do not install iso3166.tab and zone.tab
60816 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
60818         [BZ #13871]
60819         * math/w_exp2.c: Do not include <float.h>.
60820         (o_threshold, u_threshold): Remove.
60821         (__exp2): Calculate result before checking finiteness and calling
60822         __kernel_standard.
60823         * math/w_exp2f.c: Likewise.
60824         * math/w_exp2l.c: Likewise.
60825         * math/libm-test.inc (exp2_test): Require overflow exception for
60826         1e6 input.
60828         [BZ #3866]
60829         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
60830         range of signed 64-bit integers before using fistpll.  Remove
60831         checks for whether integers fit in mantissa bits.
60832         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
60833         the range of signed 32-bit integers before using fistpl.  Remove
60834         checks for whether integers fit in mantissa bits.
60835         * sysdeps/i386/fpu/e_powl.S (p64): New object.
60836         (__ieee754_powl): Test for y outside the range of signed 64-bit
60837         integers before using fistpll.  Reduce 64-bit values to 63-bit
60838         ones as needed.
60839         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
60840         divide-by-zero is raised for zero to large negative powers.
60841         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
60842         (__ieee754_powl): Test for y outside the range of signed 64-bit
60843         integers before using fistpll.  Reduce 64-bit values to 63-bit
60844         ones as needed.
60845         * math/libm-test.inc (pow_test): Add more tests.
60847 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
60849         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
60850         <stdio-common/_itoa.h>.
60851         * debug/segfault.c: Likewise.
60852         * elf/dl-cache.c: Likewise.
60853         * elf/dl-minimal.c: Likewise.
60854         * elf/dl-misc.c: Likewise.
60855         * elf/dl-sysdep.c: Likewise.
60856         * elf/dl-version.c: Likewise.
60857         * elf/rtld.c: Likewise.
60858         * hurd/hurdsock.c: Likewise.
60859         * hurd/lookup-retry.c: Likewise.
60860         * malloc/malloc.c: Likewise.
60861         * malloc/mtrace.c: Likewise.
60862         * nscd/nscd_getgr_r.c: Likewise.
60863         * nscd/nscd_getpw_r.c: Likewise.
60864         * nscd/nscd_getserv_r.c: Likewise.
60865         * posix/getopt_init.c: Likewise.
60866         * posix/wordexp.c: Likewise.
60867         * stdio-common/_itoa.c: Likewise.
60868         * stdio-common/printf_fphex.c: Likewise.
60869         * stdio-common/vfprintf.c: Likewise.
60870         * string/_strerror.c: Likewise.
60871         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
60872         * sysdeps/i386/i686/hp-timing.h: Likewise.
60873         * sysdeps/mach/_strerror.c: Likewise.
60874         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
60875         * sysdeps/mach/hurd/sethostid.c: Likewise.
60876         * sysdeps/mach/hurd/xmknodat.c: Likewise.
60877         * sysdeps/mach/xpg-strerror.c: Likewise.
60878         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
60879         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
60880         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
60881         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
60882         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
60883         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
60884         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
60885         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
60886         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
60887         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
60888         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
60889         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
60890         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
60891         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
60892         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
60893         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
60894         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
60895         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
60896         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
60897         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
60898         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
60900         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
60902         * stdio-common/_itoa.h: Moved to ...
60903         * sysdeps/generic/_itoa.h: Here.
60905         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
60907         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
60908         instead of "_itoa.h" and "_itowa.h".
60909         * stdio-common/vfprintf.: Likewise.
60911 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
60913         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
60914         <bits/wordsize.h>.
60915         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
60916         (__signbit): Likwise.
60917         (llrintf): Likwise.
60918         (llrint): Likwise.
60920 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
60922         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
60923         __WORDSIZE != 64.
60925 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
60927         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
60928         OVERFLOW_EXCEPTION_OK.
60929         * math/libm-test.inc ("Philosophy"): Update comment about
60930         exception testing.
60931         (OVERFLOW_EXCEPTION): Define.
60932         (OVERFLOW_EXCEPTION_OK): Likewise.
60933         (INVALID_EXCEPTION_OK): Renumber.
60934         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
60935         (IGNORE_ZERO_INF_SIGN): Likewise.
60936         (test_exceptions): Handle FE_OVERFLOW.
60937         (exp10_test): Expect overflow exceptions.
60938         (exp2_test): Likewise.
60939         (expm1_test): Likewise.
60940         (nextafter_test): Likewise.
60941         (pow_test): Likewise.
60942         (scalbn_test): Likewise.
60943         (scalbln_test): Likewise.
60945 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
60947         * sysdeps/x86_64/bits/atomic.h
60948         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
60949         64bit integer.
60950         (atomic_exchange_acq): Likewise.
60951         (__arch_exchange_and_add_body): Likewise.
60952         (__arch_add_body): Likewise.
60953         (atomic_add_negative): Likewise.
60954         (atomic_add_zero): Likewise.
60956 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
60958         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
60959         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
60961 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
60963         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
60964         Check __x86_64__ instead of __WORDSIZE.
60966 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
60968         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
60970 2012-03-19  David S. Miller  <davem@davemloft.net>
60972         * sysdeps/sparc/fpu/libm-test-ulps: Update.
60974         * sysdeps/sparc/fpu/fenv_private.h: New file.
60975         * sysdeps/sparc/fpu/math_private.h: Use it.
60976         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
60977         Remove.
60978         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
60979         (libc_feholdexcept_setroundl): Remove.
60980         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
60981         Remove.
60982         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
60983         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
60985 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
60987         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
60988         int64_t instead of long int.
60989         (INSERT_WORDS64): Likwise.
60991 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
60993         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
60994         _Unwind_GetCFA return to _Unwind_Ptr first.
60996 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
60998         [BZ #13629]
60999         * math/s_clog.c: Include <float.h>.
61000         (__clog): Scale large or subnormal inputs.
61001         * math/s_clogf.c: Likewise.
61002         * math/s_clogl.c: Likewise.
61003         * math/s_clog10.c: Include <float.h>.
61004         (M_LOG10_2): Define.
61005         (__clog10): Scale large or subnormal inputs.
61006         * math/s_clog10f.c: Likewise.
61007         * math/s_clog10l.c: Likewise.
61008         * math/libm-test.inc (clog_test): Add more tests.
61009         (clog10_test): Likewise.
61010         * sysdeps/i386/fpu/libm-test-ulps: Update.
61011         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61013         [BZ #11451]
61014         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
61015         x and y.
61016         * math/libm-test.inc (atan2_test): Add another test.
61018         * Makerules (common-objdir-compile): Remove.
61019         * sysdeps/unix/Makefile (config-generated): Do not add
61020         $(unix-generated) to variable.
61021         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
61022         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
61023         Remove rule.
61024         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
61025         Likewise.
61026         [generic bits/local_lim.h] (before-compile): Do not append to
61027         variable.
61028         [generic bits/local_lim.h] (common-generated): Likewise.
61029         [generic sys/param.h] (before-compile): Do not append to variable.
61030         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
61031         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
61032         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
61033         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
61034         include.
61035         [generic sys/param.h] (sys/param.h-includes): Remove variable.
61036         [generic sys/param.h] (sys/param.h-includes): Remove rule.
61037         [generic sys/param.h] ($(addprefix
61038         $(common-objpfx),$(sys/param.h-includes))): Likewise.
61039         [generic sys/param.h] (common-generated): Do not append to
61040         variable.
61041         [generic sys/param.h] (sysdep_headers): Likewise.
61042         [generic bits/errno.h] (before-compile): Do not append to
61043         variable.
61044         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
61045         rule.
61046         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
61047         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
61048         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
61049         [generic bits/errno.h] (common-generated): Do not append to
61050         variable.
61051         [generic bits/ioctls.h] (before-compile): Do not append to
61052         variable.
61053         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
61054         rule.
61055         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
61056         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
61057         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
61058         rule.
61059         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
61060         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
61061         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
61062         [generic bits/ioctls.h] (common-generated): Do not append to
61063         variable.
61064         [generic sys/syscall.h] (syscall.h): Remove variable.
61065         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
61066         rule.
61067         [generic sys/syscall.h] (before-compile): Do not append to
61068         variable.
61069         [generic sys/syscall.h] (common-generated): Likewise.
61070         * sysdeps/unix/errnos-tmpl.c: Remove file.
61071         * sysdeps/unix/errnos.awk: Likewise.
61072         * sysdeps/unix/ioctls-tmpl.c: Likewise.
61073         * sysdeps/unix/ioctls.awk: Likewise.
61074         * sysdeps/unix/mk-local_lim.c: Likewise.
61075         * sysdeps/unix/snarf-ioctls: Likewise.
61077 2012-03-19  Richard Henderson  <rth@twiddle.net>
61079         * sysdeps/i386/fpu/fenv_private.h: New file.
61080         * sysdeps/i386/fpu/math_private.h: Use it.
61081         (math_opt_barrier, math_force_eval): Remove.
61082         (libc_feholdexcept_setround_53bit): Remove.
61083         (libc_feupdateenv_53bit): Remove.
61084         * sysdeps/x86_64/fpu/math_private.h: Likewise.
61085         (math_opt_barrier, math_force_eval): Remove.
61086         (libc_feholdexcept): Remove.
61087         (libc_feholdexcept_setround): Remove.
61088         (libc_fetestexcept, libc_fesetenv): Remove.
61089         (libc_feupdateenv_test): Remove.
61090         (libc_feupdateenv, libc_feholdsetround): Remove.
61091         (libc_feresetround): Remove.
61093         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
61094         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
61096         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
61097         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
61098         (libc_feupdateenv_testl): New.
61099         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
61100         (libc_feupdateenv_testf): New.
61101         (libc_feupdateenv): Use libc_feupdateenv_test.
61102         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
61103         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
61105         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
61106         (libc_feholdsetroundf, libc_feholdsetroundl): New.
61107         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
61108         (libc_feresetround_noex): New.
61109         (libc_feresetround_noexf): New.
61110         (libc_feresetround_noexl): New.
61111         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
61112         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
61113         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
61114         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
61115         SET_RESTORE_ROUND.
61116         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
61117         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
61118         (__cos): Likewise.
61119         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
61120         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
61121         SET_RESTORE_ROUND_NOEX.
61122         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
61123         SET_RESTORE_ROUND_NOEXF.
61124         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
61125         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
61126         (libc_feholdsetroundf): New.
61127         (libc_feresetround, libc_feresetroundf): New.
61129         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
61130         (libc_feholdexcept_setround_53bit): Convert from macro to function.
61131         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
61133         * sysdeps/generic/math_private.h: Include <fenv.h>.
61134         (default_libc_feholdexcept): New.
61135         (default_libc_feholdexcept_setround): New.
61136         (default_libc_fesetenv, default_libc_feupdateenv): New.
61137         (libc_feholdexcept): Only define if undefined.
61138         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
61139         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
61140         (libc_feholdexcept_setroundl): Likewise.
61141         (libc_feholdexcept_setround_53bit): Likewise.
61142         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
61143         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
61144         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
61145         (libc_feupdateenv_53bit): Likewise.
61146         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
61147         (libc_feholdexcept): Convert from macro to inline function.
61148         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
61149         (libc_fesetenv, libc_feupdateenv): Likewise.
61151         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
61152         not previously defined.
61153         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
61154         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
61155         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
61156         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
61157         * sysdeps/ieee754/flt-32/math_private.h: New file.
61158         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
61159         math_private.h below SET_FLOAT_WORD.
61160         (__isnan, __isinf_ns, __finite): Remove.
61161         (__isnanf, __isinf_nsf, __finitef): Remove.
61163 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
61165         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
61167 2012-03-17  David S. Miller  <davem@davemloft.net>
61169         [BZ #6471]
61170         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
61171         for 2.16.
61173 2012-03-16  David S. Miller  <davem@davemloft.net>
61175         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
61176         warnings.
61178         [BZ #6471]
61179         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
61180         properly.
61181         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
61182         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
61183         sysdep_routines when subdir is sysvipc.
61184         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
61185         __getshmlba helper.
61187         * sysdeps/sparc/fpu/libm-test/ulps: Update.
61189 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
61191         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
61192         [__LP64__].
61194 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
61196         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
61197         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
61198         (__lround): Renamed to ...
61199         (__llround): This.  Replace long int with long long int.
61200         Define lround functions as aliases of llround functions.
61201         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
61203 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
61205         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
61206         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
61207         adresses to uintptr_t.  Replace "long int" and "unsigned long
61208         int" with "greg_t" on va_arg.
61210 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
61212         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
61213         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
61215         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
61216         Move e_machine check before EI_CLASS check.  Handle x32
61217         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
61218         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
61219         SKIP_EM_IA_64 and include
61220         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
61222         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
61223         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
61224         (add_system_dir): New macro.
61226         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
61227         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
61229 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
61231         [BZ #2551]
61232         [BZ #2552]
61233         [BZ #2553]
61234         [BZ #2554]
61235         [BZ #2562]
61236         [BZ #2563]
61237         [BZ #2565]
61238         [BZ #2566]
61239         [BZ #2576]
61240         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
61241         (y0): Likewise.
61242         * math/w_j0f.c (j0f): Likewise.
61243         (y0f): Likewise.
61244         * math/w_j0l.c (__j0l): Likewise.
61245         (__y0l): Likewise.
61246         * math/w_j1.c (j1): Likewise.
61247         (y1): Likewise.
61248         * math/w_j1f.c (j1f): Likewise.
61249         (y1f): Likewise.
61250         * math/w_j1l.c (__j1l): Likewise.
61251         (__y1l): Likewise.
61252         * math/w_jn.c (jn): Likewise.
61253         (yn): Likewise.
61254         * math/w_jnf.c (jnf): Likewise.
61255         (ynf): Likewise.
61256         * math/w_jnl.c (__jnl): Likewise.
61257         (__ynl): Likewise.
61258         * math/libm-test.inc (j0_test): Add more tests.
61259         (j1_test): Likewise.
61260         (jn_test): Likewise.  Add trailing semicolon to existing test.
61261         (y0_test): Likewise.
61262         (y1_test): Likewise.
61263         * sysdeps/i386/fpu/libm-test-ulps: Update.
61264         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61266         [BZ #13851]
61267         [BZ #13854]
61268         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
61269         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
61270         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
61271         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
61272         (__tanl): Set errno for infinite argument.
61273         * sysdeps/i386/fpu/mptan.c: Remove.
61274         * sysdeps/i386/fpu/s_tan.S: Likewise.
61275         * sysdeps/i386/fpu/s_tanl.S: Likewise.
61276         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
61277         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
61278         * math/libm-test.inc (tan_test): Add more tests and enable more
61279         tests for double and long double.
61280         * sysdeps/i386/fpu/libm-test-ulps: Update.
61281         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61283 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
61285         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
61286         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
61288 2012-03-16  Roland McGrath  <roland@hack.frob.com>
61290         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
61291         * configure.in: Use it for both main tree and add-ons.
61292         * configure: Regenerated.
61294 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
61296         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
61298 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
61300         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
61301         in comment.
61303         [BZ #13851]
61304         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
61305         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
61306         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
61307         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
61308         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
61309         infinite argument.
61310         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
61311         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
61312         != 0 for prec == 2.
61313         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
61314         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
61315         * sysdeps/i386/fpu/s_cosl.S: Likewise.
61316         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
61317         * sysdeps/i386/fpu/s_sinl.S: Likewise.
61318         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
61319         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
61320         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
61321         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
61322         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
61323         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
61324         * math/libm-test.inc (cos_test): Add more tests and enable more
61325         tests for long double.
61326         (sin_test): Likewise.
61327         (sincos_test): Likewise.
61328         * sysdeps/i386/fpu/libm-test-ulps: Update.
61329         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61331 2012-03-16  David S. Miller  <davem@davemloft.net>
61333         * sysdeps/sparc/fpu/math_private.h: New file.
61335 2012-03-15  David S. Miller  <davem@davemloft.net>
61337         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
61338         file.
61339         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
61340         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
61341         file.
61342         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
61343         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
61344         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
61345         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
61346         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
61347         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
61348         sysdep routines.
61349         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
61351         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
61352         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
61354         * sysdeps/sparc/sparc-ifunc.h: New file.
61355         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
61356         sparc-ifunc.h
61357         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
61358         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
61359         Likewise.
61360         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
61361         Likewise.
61362         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
61363         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
61364         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
61365         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
61366         Likewise.
61367         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
61368         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
61369         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
61370         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
61371         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
61372         Likewise.
61373         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
61374         Likewise.
61375         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
61376         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
61377         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
61378         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
61379         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
61380         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
61381         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
61382         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
61383         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
61384         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
61385         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
61386         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
61387         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
61388         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
61389         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
61390         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
61391         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
61392         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
61393         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
61394         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
61395         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
61396         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
61397         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
61398         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
61400 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
61402         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
61403         scaling.
61404         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
61406 2012-03-15  Andreas Jaeger  <aj@suse.de>
61408         [BZ #13852]
61409         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
61410         ieee754/flt-32 implementation for sin, cos and sincos.
61411         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
61412         * sysdeps/i386/fpu/s_cosf.S: Likewise.
61413         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
61414         * sysdeps/i386/fpu/s_sinf.S: Likewise.
61415         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
61416         ieee754/flt-32 implementation for tan.
61418         * math/libm-test.inc (cos_test): Enable some large input tests for
61419         float as well
61420         (sin_test): Likewise.
61421         (sincos_test): Likewise.
61422         (tan_test): Add tests for large input.
61424         * sysdeps/i386/fpu/libm-test-ulps: Update.
61426 2012-03-15  Andreas Jaeger  <aj@suse.de>
61428         [BZ #13658]
61429         * math/libm-test.inc (cos_test): Add more test cases.
61430         (sin_test): Likewise.
61431         (sincos_test): Likewise.
61433 2012-03-15  Andreas Jaeger  <aj@suse.de>
61435         [BZ #13837]
61436         * math/libm-test.inc (cos_test): Add a test case for large input
61437         value.
61438         (sin_test): Likewise.
61439         (sincos_test): Likewise.
61441 2012-03-15  Andreas Jaeger  <aj@suse.de>
61442             Joseph Myers  <joseph@codesourcery.com>
61444         [BZ #13658]
61445         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
61446         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
61447         * sysdeps/i386/fpu/branred.c: Likewise.
61448         * sysdeps/i386/fpu/dosincos.c: Likewise.
61449         * sysdeps/i386/fpu/mpa.c: Likewise.
61450         * sysdeps/i386/fpu/s_cos.S: Likewise.
61451         * sysdeps/i386/fpu/s_sin.S: Likewise.
61452         * sysdeps/i386/fpu/s_sincos.S: Likewise.
61453         * sysdeps/i386/fpu/sincos32.c: Likewise.
61455         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
61456         Define.
61457         (libc_feupdateenv_53bit): Define.
61458         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
61459         Define.
61460         (libc_feupdateenv_53bit): Define.
61462         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
61463         53 bit (without extend i386 double precision).
61465         * math/libm-test.inc (sincos_test): Add tests for large input.
61466         (sin): Likewise.
61467         (cos): Likewise.
61469         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
61471 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
61473         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
61475 2012-03-15  David S. Miller  <davem@davemloft.net>
61477         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
61478         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
61479         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
61480         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
61481         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
61482         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
61483         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
61484         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
61485         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
61486         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
61487         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
61488         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
61489         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
61490         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
61491         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
61492         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
61493         file.
61494         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
61495         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
61496         file.
61497         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
61498         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
61499         file.
61500         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
61501         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
61502         file.
61503         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
61504         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
61505         fmin/fmax sysdep routines.
61506         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
61508 2012-03-14  David S. Miller  <davem@davemloft.net>
61510         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
61511         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
61512         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
61513         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
61514         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
61515         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
61516         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
61517         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
61518         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
61519         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
61520         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
61521         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
61522         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
61523         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
61524         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
61525         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
61526         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
61527         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
61528         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
61529         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
61530         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
61531         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
61532         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
61533         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
61534         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
61535         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
61536         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
61537         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
61538         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
61539         routines.
61540         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
61541         file.
61542         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
61543         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
61544         file.
61545         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
61546         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
61547         file.
61548         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
61549         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
61550         file.
61551         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
61552         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
61553         file.
61554         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
61555         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
61556         file.
61557         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
61558         file.
61559         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
61560         file.
61561         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
61562         file.
61563         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
61564         New file.
61565         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
61566         file.
61567         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
61568         file.
61569         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
61570         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
61571         file.
61572         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
61573         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
61574         file.
61575         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
61576         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
61577         file.
61578         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
61579         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
61580         VIS3 routines.
61582         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
61583         New file.
61585         * sysdeps/sparc/fpu/libm-test-ulps: Update.
61587         * sysdeps/sparc/configure.in: New file.
61588         * sysdeps/sparc/configure: Generate.
61589         * configure.in (libc_cv_sparc_as_vis3): Substitute.
61590         * configure: Regenerate.
61591         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
61592         * config.make.in (have-as-vis3): New.
61593         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
61594         available use -Av9d instead of -Av9a.
61595         * sysdeps/sparc/sparc64/Makefile: Likewise.
61596         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
61597         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
61598         New file.
61599         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
61600         file.
61601         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
61602         New file.
61603         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
61604         file.
61605         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
61606         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
61607         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
61608         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
61609         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
61611         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
61612         fzeros/fnegs to load 0x80000000 into a float register instead of
61613         using the stack.
61614         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
61616 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
61618         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
61619         bits/syscall.h.
61620         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
61621         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
61622         ($(inst_includedir)/bits/syscall.h): Remove rule.
61623         ($(objpfx)bits/syscall.d): Include instead of
61624         $(objpfx)syscall-list.d.
61625         (generated): Change syscall-list.h and syscall-list.d to
61626         bits/syscall.h and bits/syscall.d.
61628 2012-03-14  Roland McGrath  <roland@hack.frob.com>
61630         [BZ #13846]
61631         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
61633 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
61635         [BZ #13841]
61636         * math/s_csqrt.c: Include <float.h>.
61637         (__csqrt): Scale large or subnormal inputs.
61638         * math/s_csqrtf.c: Likewise.
61639         * math/s_csqrtl.c: Likewise.
61640         * math/libm-test.inc (csqrt_test): Add more tests.
61641         * sysdeps/i386/fpu/libm-test-ulps: Update.
61642         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61644         [BZ #13840]
61645         * math/libm-test.inc (hypot_test): Add more tests.
61647 2012-03-13  David S. Miller  <davem@davemloft.net>
61649         [BZ #13840]
61650         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
61651         double-precision for the calculation instead of scaling.
61653 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
61655         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
61656         manipulate bits before adding and subtracting TWO52[sx].
61657         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
61658         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
61659         Likewise.
61660         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
61662 2012-03-13  David S. Miller  <davem@davemloft.net>
61664         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
61665         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
61666         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
61667         rtld-global-offsets.h
61668         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
61670         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
61671         large parameters.
61673         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
61675         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
61676         'err' in the ifdef scope in which it is actually used.
61678         * nss/nss_db/db-init.c: Include string.h
61680 2012-03-12  David S. Miller  <davem@davemloft.net>
61682         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
61683         masking out of the most significant byte of random value used.
61684         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
61685         Fix coding style in previous change.
61687         * sysdeps/unix/sysv/linux/kernel-features.h
61688         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
61689         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
61690         expression.
61691         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
61692         later.
61694 2012-03-11  David S. Miller  <davem@davemloft.net>
61696         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
61697         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
61698         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
61699         for 'resultvar' otherwise things get truncated on 64-bit.
61701         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
61702         Fix masking out of the most significant byte of random value used.
61704         * sysdeps/sparc/fpu/libm-test-ulps: Update.
61706 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
61708         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
61710 2012-03-09  David S. Miller  <davem@davemloft.net>
61712         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
61713         variables with appropriate CPP guards.
61714         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
61715         from the frame pointer, not the stack pointer.  Correct layout
61716         comments.  Fix test on resulting framesize and the management of
61717         the outregs buffer for pltexit.  Preserve floating point return
61718         values across _dl_call_pltexit call.
61719         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
61720         framesize and the management of the outregs buffer for pltexit.
61721         Preserve floating point return values across _dl_call_pltexit
61722         call.
61723         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
61724         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
61725         (la_sparc64_gnu_pltexit): New functions.
61726         (print_exit): Fix format string for return register value.
61728 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
61730         * sunrpc/Makefile (others): Add rpcgen.
61731         ($(objpfx)rpcgen): Remove special build rule and dependency on
61732         libc.
61733         * sunrpc/rpcgen.c: New file.
61735 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
61737         [BZ #13673]
61738         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
61739         * stdio-common/bug-vfprintf-nargs.c: Likewise.
61740         * sysdeps/i386/crti.S: Likewise.
61741         * sysdeps/i386/crtn.S: Likewise.
61742         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
61743         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
61744         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
61745         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
61746         * sysdeps/sh/crti.S: Likewise.
61747         * sysdeps/sh/crtn.S: Likewise.
61748         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
61750         [BZ #13673]
61751         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
61752         with URL.
61753         * locale/programs/locfile-kw.gperf: Likewise.
61754         * locale/programs/charmap-kw.h: Regenerated.
61755         * locale/programs/locfile-kw.h: Likewise.
61757         [BZ #13673]
61758         * intl/plural.y: Replace FSF snail mail address with URL.
61759         * intl/plural.c: Regenerated.
61761 2012-03-09  Richard Henderson  <rth@twiddle.net>
61763         * include/math_private.h: Remove file.
61764         * math/math_private.h: Move file ...
61765         * sysdeps/generic/math_private.h: ... here.
61767         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
61768         * sysdeps/powerpc/fpu/math_private.h: Likewise.
61769         * sysdeps/x86_64/fpu/math_private.h: Likewise.
61771         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
61772         and <math_private.h>.
61773         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
61774         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
61775         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
61776         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
61777         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
61778         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
61779         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
61780         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
61781         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
61782         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
61783         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
61784         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
61785         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
61786         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
61787         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
61788         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
61789         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
61790         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
61791         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
61792         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
61793         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
61794         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
61795         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
61796         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
61797         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
61798         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
61799         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
61800         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
61801         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
61802         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
61803         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
61804         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
61805         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
61806         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
61807         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
61808         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
61809         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
61810         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
61811         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
61812         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
61813         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
61814         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
61815         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
61816         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
61817         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
61818         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
61819         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
61820         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
61821         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
61822         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
61823         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
61824         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
61825         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
61826         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
61827         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
61828         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
61829         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
61830         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
61831         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
61832         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
61833         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
61834         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
61835         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
61836         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
61837         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
61838         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
61839         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
61840         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
61841         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
61842         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
61843         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
61844         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
61845         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
61846         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
61847         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
61848         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
61849         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
61850         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
61851         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
61852         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
61853         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
61854         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
61855         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
61856         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
61857         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
61858         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
61859         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
61860         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
61861         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
61862         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
61863         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
61864         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
61865         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
61866         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
61867         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
61868         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
61869         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
61870         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
61871         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
61872         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
61873         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
61874         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
61875         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
61876         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
61877         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
61878         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
61879         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
61880         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
61881         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
61882         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
61883         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
61884         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
61885         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
61886         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
61887         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
61888         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
61889         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
61890         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
61891         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
61892         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
61893         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
61894         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
61895         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
61896         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
61897         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
61898         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
61899         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
61900         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
61901         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
61902         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
61903         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
61904         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
61905         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
61906         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
61907         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
61908         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
61909         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
61910         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
61911         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
61912         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
61913         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
61914         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
61915         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
61916         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
61917         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
61918         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
61919         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
61920         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
61921         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
61922         * sysdeps/ieee754/k_standard.c: Likewise.
61923         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
61924         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
61925         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
61926         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
61927         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
61928         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
61929         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
61930         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
61931         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
61932         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
61933         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
61934         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
61935         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
61936         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
61937         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
61938         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
61939         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
61940         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
61941         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
61942         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
61943         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
61944         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
61945         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
61946         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
61947         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
61948         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
61949         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
61950         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
61951         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
61952         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
61953         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
61954         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
61955         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
61956         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
61957         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
61958         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
61959         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
61960         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
61961         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
61962         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
61963         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
61964         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
61965         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
61966         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
61967         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
61968         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
61969         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
61970         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
61971         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
61972         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
61973         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
61974         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
61975         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
61976         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
61977         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
61978         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
61979         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
61980         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
61981         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
61982         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
61983         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
61984         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
61985         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
61986         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
61987         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
61988         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
61989         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
61990         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
61991         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
61992         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
61993         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
61994         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
61995         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
61996         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
61997         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
61998         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
61999         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
62000         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
62001         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
62002         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
62003         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
62004         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
62005         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
62006         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
62007         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
62008         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
62009         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
62010         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
62011         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
62012         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
62013         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
62014         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
62015         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
62016         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
62017         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
62018         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
62019         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
62020         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
62021         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
62022         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
62023         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
62024         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
62025         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
62026         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
62027         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
62028         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
62029         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
62030         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
62031         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
62032         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
62033         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
62034         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
62035         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
62036         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
62037         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
62038         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
62039         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
62040         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
62041         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
62042         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
62043         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
62044         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
62045         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
62046         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
62047         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
62048         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
62049         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
62050         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
62051         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
62052         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
62053         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
62054         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
62055         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
62056         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
62057         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
62058         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
62059         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
62060         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
62061         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
62062         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
62063         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
62064         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
62065         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
62066         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
62067         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
62068         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
62069         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
62070         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
62071         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
62072         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
62073         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
62074         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
62075         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
62076         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
62077         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
62078         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
62079         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
62080         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
62081         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
62082         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
62083         * sysdeps/ieee754/s_lib_version.c: Likewise.
62084         * sysdeps/ieee754/s_matherr.c: Likewise.
62085         * sysdeps/ieee754/s_signgam.c: Likewise.
62086         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
62087         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
62088         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
62089         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
62090         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
62091         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
62092         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
62093         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
62094         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
62095         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
62096         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
62097         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
62098         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
62099         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
62100         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
62101         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
62102         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
62103         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
62104         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
62105         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
62106         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
62108 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
62110         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
62111         * sunrpc/rpc_main.c: Likewise.
62112         * sunrpc/rpc_svcout.c: Likewise.
62114 2012-03-09  David S. Miller  <davem@davemloft.net>
62116         * include/math_private.h: New file.
62118 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
62120         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
62121         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
62122         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
62123         from <bits/socket_type.h>.
62124         (enum __socket_type): Don't define here.
62125         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
62126         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
62127         bits/socket_type.h.
62129         [BZ #13566]
62130         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
62131         checking __USE_GNU.
62133         * Makerules ($(inst_includedir)/%.h): New rule.
62134         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
62135         (install-others): Remove variable setting.
62136         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
62138 2012-03-08  Richard Henderson  <rth@twiddle.net>
62140         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
62141         from macro to inline function; merge with the
62142         !__LIBC_INTERNAL_MATH_INLINES version.
62143         (__ieee754_sqrtf): Likewise.
62145         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
62146         to inline function.
62147         (__rintf, __floor, __floorf): Likewise.
62149         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
62150         macro to inline function.
62151         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
62153         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
62154         not <math/math_private.h>.
62156 2012-03-08  David S. Miller  <davem@davemloft.net>
62158         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
62159         copyright year.
62160         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
62162 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
62164         * resolv/gai_misc.c (handle_requests): Fix struct timespec
62165         normalization.
62166         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
62167         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
62169 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
62171         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
62172         be defined individually, they must be defined as a block.  Define
62173         S for printing a string instead of hidint the different by using a
62174         macro for adding the 'l'.
62175         * stdio-common/tst-fphex-wide.c: Adjust.
62177 2012-03-07  Marek Polacek  <polacek@redhat.com>
62179         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
62181 2012-03-08  Marek Polacek  <polacek@redhat.com>
62183         [BZ #13806]
62184         * stdio-common/Makefile (tests): Add tst-fphex-wide.
62185         * stdio-common/tst-fphex.c: Define a few macros to make the
62186         test reusable.  Use them.
62187         * stdio-common/tst-fphex-wide.c: New file.
62189 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
62191         [BZ #6911]
62192         * manual/macros.texi (gnusystems): New macro.
62193         (nongnusystems): Likewise.
62194         (gnulinuxhurdsystems): Likewise.
62195         (gnuhurdsystems): Likewise..
62196         (gnulinuxsystems): Likewise.
62197         * manual/charset.texi: Use new macros or @theglibc{} to refer to
62198         variants of the GNU system, not "GNU system".
62199         * manual/conf.texi: Likewise.
62200         * manual/errno.texi: Likewise.  Update example of errno macro
62201         expansion.
62202         * manual/filesys.texi: Likewise.
62203         (getumask): Document as specific to GNU/Hurd.
62204         * manual/install.texi: Likewise.  Reword some references to
62205         GNU/Linux.
62206         * manual/intro.texi: Likewise.
62207         * manual/io.texi: Likewise.
62208         (File Name Portability): Detail which constraints are inapplicable
62209         to all GNU systems and which are only inapplicable to GNU/Hurd.
62210         * manual/job.texi: Likewise.
62211         * manual/llio.texi: Likewise.
62212         (O_NOCTTY): Document as present on GNU/Linux.
62213         * manual/maint.texi: Likewise.
62214         * manual/memory.texi: Likewise.
62215         * manual/pattern.texi: Likewise.
62216         * manual/pipe.texi: Likewise.
62217         * manual/process.texi: Likewise.
62218         * manual/resource.texi: Likewise.
62219         (RUSAGE_CHILDREN): Remove statement about specifying a particular
62220         child on GNU/Hurd.
62221         * manual/setjmp.texi: Likewise.
62222         * manual/signal.texi: Likewise.
62223         * manual/startup.texi: Likewise.
62224         * manual/stdio.texi: Likewise.
62225         * manual/terminal.texi: Likewise.
62226         (ONLCR): Document as POSIX.
62227         (OXTABS): Document availability on GNU/Linux as XTABS.
62228         (ONOEOT): Document availability separately from other bits.
62229         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
62230         * manual/time.texi: Likewise.
62231         * manual/users.texi: Likewise.
62232         * INSTALL: Regenerated.
62233         * sysdeps/gnu/errlist.c: Regenerated.
62235         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
62236         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
62237         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
62238         puts.
62239         * configure: Regenerated.
62241 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
62243         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
62244         default includes instead of AC_HEADER_CHECK.
62245         * sysdeps/i386/configure: Regenerated.
62247         [BZ #10716]
62248         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
62249         * math/s_cacoshf.c (__cacoshf): Likewise.
62250         * math/s_cacoshl.c (__cacoshl): Likewise.
62251         * math/s_casinh.c (__casinh): Set signs of result from argument.
62252         * math/s_casinhf.c (__casinhf): Likewise.
62253         * math/s_casinhl.c (__casinhl): Likewise.
62254         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
62255         (casinh_test): Add more tests.
62256         * sysdeps/i386/fpu/libm-test-ulps: Update.
62257         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62259 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
62261         * po/zh_TW.po: Update from translation team.
62263         * login/Makefile (distribute): Remove variable.
62264         * catgets/Makefile: Likewise.
62265         * mach/Makefile: Likewise.
62266         * malloc/Makefile: Likewise.
62267         * misc/Makefile: Likewise.
62268         * iconv/Makefile: Likewise.
62269         * nscd/Makefile: Likewise.
62270         * hurd/Makefile: Likewise.
62271         * manual/Makefile: Likewise.
62272         * locale/Makefile: Likewise.
62273         * intl/Makefile: Likewise.
62274         * conform/Makefile: Likewise.
62275         * nss/Makefile: Likewise.
62276         * time/Makefile: Likewise.
62277         * soft-fp/Makefile: Likewise.
62278         * dirent/Makefile: Likewise.
62279         * gmon/Makefile: Likewise.
62280         * po/Makefile: Likewise.
62281         * rt/Makefile: Likewise.
62282         * socket/Makefile: Likewise.
62283         * math/Makefile: Likewise.
62284         * signal/Makefile: Likewise.
62285         * debug/Makefile: Likewise.
62286         * elf/Makefile: Likewise.
62287         * timezone/Makefile: Likewise.
62288         * stdlib/Makefile: Likewise.
62289         * iconvdata/Makefile: Likewise.
62290         * sunrpc/Makefile: Likewise.
62291         * io/Makefile: Likewise.
62292         * argp/Makefile: Likewise.
62293         * inet/Makefile: Likewise.
62294         * hesiod/Makefile: Likewise.
62295         * grp/Makefile: Likewise.
62296         * csu/Makefile: Likewise.
62297         * wctype/Makefile: Likewise.
62298         * crypt/Makefile: Likewise.
62299         * libio/Makefile: Likewise.
62300         * string/Makefile: Likewise.
62301         * nis/Makefile: Likewise.
62302         * resolv/Makefile: Likewise.
62303         * stdio-common/Makefile: Likewise.
62304         * wcsmbs/Makefile: Likewise.
62305         * dlfcn/Makefile: Likewise.
62306         * posix/Makefile: Likewise.
62308         [BZ #6959]
62309         * timezone/Makefile: Don't install timezone files, just the programs
62310         and scripts.
62312 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
62314         * nss/databases.def: Add missing gshadow entry.
62316         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
62318 2012-03-06  Marek Polacek  <polacek@redhat.com>
62320         [BZ #13726]
62321         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
62322         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
62323         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
62324         * stdio-common/tst-long-dbl-fphex.c: New file.
62326 2012-03-06  David S. Miller  <davem@davemloft.net>
62328         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
62329         (set_obp_int): New function.
62330         (get_obp_int): New function.
62331         (__get_clockfreq_via_dev_openprom): Likewise.
62332         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
62333         Avoid unused variable warnings on 'val' and use builtin_expect.
62334         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
62335         __builtin_expect.
62336         (INLINE_CLONE_SYSCALL): Likewise.
62338 2012-03-05  David S. Miller  <davem@davemloft.net>
62340         * sysdeps/sparc/fpu/libm-test-ulps: Update.
62342 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
62344         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
62346         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
62347         only for |x| >= 40.
62348         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
62350 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
62352         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
62353         Replace gettimeofday with __vdso_gettimeofday.
62355         * sysdeps/unix/sysv/linux/x86_64/init-first.c
62356         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
62357         __vdso_clock_gettime and __vdso_getcpu.
62359         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
62360         time with __vdso_time.
62362 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
62364         * manual/lang.texi (size_t): Note types to which size_t may be
62365         equivalent with the GNU C Library, but do not describe when
62366         differences between them are significant.
62368 2012-03-05  Andreas Jaeger  <aj@suse.de>
62370         * sysdeps/i386/fpu/libm-test-ulps: Update.
62372 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
62374         [BZ #3976]
62375         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
62376         (__ieee754_pow): Save and restore rounding mode and use
62377         round-to-nearest for main computations.
62378         * math/libm-test.inc (pow_test_tonearest): New function.
62379         (pow_test_towardzero): Likewise.
62380         (pow_test_downward): Likewise.
62381         (pow_test_upward): Likewise.
62382         (main): Call the new functions.
62383         * sysdeps/i386/fpu/libm-test-ulps: Update.
62384         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62386         [BZ #3976]
62387         * math/libm-test.inc (cosh_test_tonearest): New function.
62388         (cosh_test_towardzero): Likewise.
62389         (cosh_test_downward): Likewise.
62390         (cosh_test_upward): Likewise.
62391         (sinh_test_tonearest): Likewise.
62392         (sinh_test_towardzero): Likewise.
62393         (sinh_test_downward): Likewise.
62394         (sinh_test_upward): Likewise.
62395         (main): Call the new functions.
62396         * sysdeps/i386/fpu/libm-test-ulps: Update.
62397         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62399 2012-03-05  Tom de Vries  <tom@codesourcery.com>
62401         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
62402         default stack guard is set in last bytes.
62403         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
62405 2012-03-05  Kees Cook  <keescook@chromium.org>
62407         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
62409         [BZ #13656]
62410         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
62411         possibly allocate from heap instead of stack.
62412         * stdio-common/bug-vfprintf-nargs.c: New file.
62413         * stdio-common/Makefile (tests): Add nargs overflow test.
62415 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
62417         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
62419 2012-03-03  Marek Polacek  <polacek@redhat.com>
62421         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
62422         * math/math_private.h: Likewise.
62423         * stdlib/tst-strtod.c: Likewise.
62424         * sysdeps/i386/i486/bits/atomic.h: Likewise.
62425         * sysdeps/x86_64/bits/atomic.h: Likewise.
62427 2012-03-02  David S. Miller  <davem@davemloft.net>
62429         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
62430         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
62431         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
62432         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
62433         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
62434         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
62435         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
62436         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
62438 2012-03-02  Roland McGrath  <roland@hack.frob.com>
62440         [BZ #13792]
62441         * manual/examples/README: New file, says the example source files
62442         can be used under GPL>=2.
62443         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
62444         line containing just "*/".
62445         * manual/examples/add.c: Add copyright header (GPL>=2).
62446         * manual/examples/argp-ex1.c: Likewise.
62447         * manual/examples/argp-ex2.c: Likewise.
62448         * manual/examples/argp-ex3.c: Likewise.
62449         * manual/examples/argp-ex4.c: Likewise.
62450         * manual/examples/atexit.c: Likewise.
62451         * manual/examples/db.c: Likewise.
62452         * manual/examples/dir.c: Likewise.
62453         * manual/examples/dir2.c: Likewise.
62454         * manual/examples/execinfo.c: Likewise.
62455         * manual/examples/filecli.c: Likewise.
62456         * manual/examples/filesrv.c: Likewise.
62457         * manual/examples/fmtmsgexpl.c: Likewise.
62458         * manual/examples/genpass.c: Likewise.
62459         * manual/examples/inetcli.c: Likewise.
62460         * manual/examples/inetsrv.c: Likewise.
62461         * manual/examples/isockad.c: Likewise.
62462         * manual/examples/longopt.c: Likewise.
62463         * manual/examples/memopen.c: Likewise.
62464         * manual/examples/memstrm.c: Likewise.
62465         * manual/examples/mkfsock.c: Likewise.
62466         * manual/examples/mkisock.c: Likewise.
62467         * manual/examples/mygetpass.c: Likewise.
62468         * manual/examples/pipe.c: Likewise.
62469         * manual/examples/popen.c: Likewise.
62470         * manual/examples/rprintf.c: Likewise.
62471         * manual/examples/search.c: Likewise.
62472         * manual/examples/select.c: Likewise.
62473         * manual/examples/setjmp.c: Likewise.
62474         * manual/examples/sigh1.c: Likewise.
62475         * manual/examples/sigusr.c: Likewise.
62476         * manual/examples/stpcpy.c: Likewise.
62477         * manual/examples/strdupa.c: Likewise.
62478         * manual/examples/strftim.c: Likewise.
62479         * manual/examples/strncat.c: Likewise.
62480         * manual/examples/subopt.c: Likewise.
62481         * manual/examples/swapcontext.c: Likewise.
62482         * manual/examples/termios.c: Likewise.
62483         * manual/examples/testopt.c: Likewise.
62484         * manual/examples/testpass.c: Likewise.
62485         * manual/examples/timeval_subtract.c: Likewise.
62487         [BZ #13792]
62488         * manual/time.texi (Elapsed Time): Move timeval_subtract example
62489         function to ...
62490         * manual/timeval_subtract.c.texi: ... here, new file.
62492 2012-03-02  David S. Miller  <davem@davemloft.net>
62494         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
62496 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
62498         [BZ #3976]
62499         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
62500         (__sin): Save and restore rounding mode and use round-to-nearest
62501         for all computations.
62502         (__cos): Save and restore rounding mode and use round-to-nearest
62503         for all computations.
62504         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
62505         <fenv.h>.
62506         (tan): Save and restore rounding mode and use round-to-nearest for
62507         all computations.
62508         * math/libm-test.inc (cos_test_tonearest): New function.
62509         (cos_test_towardzero): Likewise.
62510         (cos_test_downward): Likewise.
62511         (cos_test_upward): Likewise.
62512         (sin_test_tonearest): Likewise.
62513         (sin_test_towardzero): Likewise.
62514         (sin_test_downward): Likewise.
62515         (sin_test_upward): Likewise.
62516         (tan_test_tonearest): Likewise.
62517         (tan_test_towardzero): Likewise.
62518         (tan_test_downward): Likewise.
62519         (tan_test_upward): Likewise.
62520         (main): Call the new functions.
62521         * sysdeps/i386/fpu/libm-test-ulps: Update.
62522         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62524         [BZ #10135]
62525         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
62526         small n, then large n, before computing and testing k+n.
62527         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
62528         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
62529         Likewise.
62530         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
62531         Likewise.
62532         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
62533         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
62534         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
62535         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
62536         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
62537         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
62538         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
62539         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
62540         * math/libm-test.inc (scalbn_test): Add more tests.
62541         (scalbln_test): Likewise.
62543         * manual/filesys.texi (mode_t): Describe constraints on size and
62544         signedness, not exact equivalence to a particular type.
62545         (ino_t): Likewise.
62546         (ino64_t): Likewise.
62547         (dev_t): Likewise.
62548         (nlink_t): Likewise.
62549         (blkcnt_t): Likewise.
62550         (blkcnt64_t): Likewise.
62551         * manual/llio.texi (off_t): Likewise.
62553         [BZ #3976]
62554         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
62555         (__ieee754_exp): Save and restore rounding mode and use
62556         round-to-nearest for all computations.
62557         * math/libm-test.inc (exp_test_tonearest): New function.
62558         (exp_test_towardzero): Likewise.
62559         (exp_test_downward): Likewise.
62560         (exp_test_upward): Likewise.
62561         (main): Call the new functions.
62562         * sysdeps/i386/fpu/libm-test-ulps: Update.
62563         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62565 2012-03-01  Chris Demetriou  <cgd@google.com>
62567         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
62568         have predictable order.
62570 2012-03-01  David S. Miller  <davem@davemloft.net>
62572         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
62574         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
62575         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
62576         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
62577         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
62579         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
62580         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
62581         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
62582         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
62583         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
62584         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
62585         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
62586         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
62587         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
62589         * sysdeps/sparc/fpu/libm-test-ulps: Update.
62591         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
62592         * sysdeps/sparc/fpu/libm-test-ulps: to here.
62593         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
62595         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
62596         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
62597         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
62598         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
62599         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
62600         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
62601         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
62602         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
62603         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
62604         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
62605         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
62606         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
62607         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
62608         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
62609         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
62610         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
62611         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
62612         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
62613         * sysdeps/sparc/elf/configure: Regenerated.
62615 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
62617         * configure.in (AS, LD): Require binutils 2.20 or later.
62618         * configure: Regenerated.
62619         * manual/install.texi (Tools for Compilation): Give binutils 2.20
62620         as required minimum version.
62621         * INSTALL: Regenerated.
62623         [BZ #2541]
62624         [BZ #4108]
62625         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
62626         before squaring exponent.
62627         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
62628         bottom long double and 27 bits of top long double before squaring
62629         exponent.
62630         * math/libm-test.inc (erfc_test): Add more tests.
62631         * sysdeps/i386/fpu/libm-test-ulps: Update.
62632         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
62633         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62635 2012-03-01  Kai Tietz  <ktietz@redhat.com>
62637         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
62638         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
62639         containing bit-fields.
62640         * soft-fp/extended.h (_FP_UNION_E): Likewise.
62641         * soft-fp/single.h (_FP_UNION_S): Likewise.
62642         * soft-fp/double.h (_FP_UNION_D): Likewise.
62644 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
62646         [BZ #13786]
62647         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
62648         not include ../strcmp.S.
62649         [USE_AS_STRNCASECMP_L]: Likewise.
62650         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
62651         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
62652         * sysdeps/i386/i686/multiarch/strncase_l-c.c
62653         (__strncasecmp_l_ia32): Define as alias to
62654         __strncasecmp_l_nonascii.
62656         [BZ #5794]
62657         * math/libm-test.inc (expm1_test): Add test for bug 5794.
62658         * sysdeps/i386/fpu/libm-test-ulps: Update.
62659         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62661         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
62662         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62664 2012-02-29  Jeff Law  <law@redhat.com>
62666         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
62667         out of bounds read.
62669 2012-02-29  Marek Polacek  <polacek@redhat.com>
62671         [BZ #13706]
62672         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
62673         * elf/Makefile: Add rules to run tst-unused-dep.out.
62675 2012-02-28  David S. Miller  <davem@davemloft.net>
62677         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
62678         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
62679         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
62680         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
62681         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
62682         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
62684 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
62686         * math/libm-test.inc (llround_test): Move one test from
62687         lround_test.  Use TEST_f_L in moved test.
62688         (lround_test): Move misplaced test to llround_test.  Add testcase
62689         from bug 2561.
62691 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
62693         * sysdeps/x86_64/fpu/e_expf.S: New file.
62694         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
62696 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
62698         [BZ #13637]
62699         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
62700         of remain_len that may cause incomplete multi-byte character and
62701         false match.
62702         * posix/bug-regex33.c: New file.
62703         * posix/Makefile (tests): Add bug-regex33.
62705 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
62707         * manual/macros.texi: New file.
62708         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
62709         * manual/libc.texinfo: Include macros.texi.
62710         * manual/creatute.texi: Likewise.
62711         * manual/install.texi: Likewise.
62712         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
62713         @glibcadj{} in references to the GNU C Library.
62714         * manual/charset.texi: Likewise.
62715         * manual/conf.texi: Likewise.
62716         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
62717         when not using those macros.
62718         * manual/creature.texi: Likewise.
62719         * manual/crypt.texi: Likewise.
62720         * manual/errno.texi: Likewise.
62721         * manual/filesys.texi: Likewise.
62722         * manual/header.texi: Likewise.
62723         * manual/install.texi: Likewise.
62724         * manual/intro.texi: Likewise.
62725         * manual/io.texi: Likewise.
62726         * manual/job.texi: Likewise.
62727         * manual/lang.texi: Likewise.
62728         * manual/libc.texiinfo: Likewise.
62729         * manual/llio.texi: Likewise.
62730         * manual/locale.texi: Likewise.
62731         * manual/maint.texi: Likewise.
62732         * manual/math.texi: Likewise.
62733         * manual/memory.texi: Likewise.
62734         * manual/message.texi: Likewise.
62735         * manual/nss.texi: Likewise.
62736         * manual/pattern.texi: Likewise.
62737         * manual/process.texi: Likewise.
62738         * manual/resource.texi: Likewise.
62739         * manual/search.texi: Likewise.
62740         * manual/setjmp.texi: Likewise.
62741         * manual/signal.texi: Likewise.
62742         * manual/socket.texi: Likewise.
62743         * manual/startup.texi: Likewise.
62744         * manual/stdio.texi: Likewise.
62745         * manual/string.texi: Likewise.
62746         * manual/sysinfo.texi: Likewise.
62747         * manual/syslog.texi: Likewise.
62748         * manual/terminal.texi: Likewise.
62749         * manual/time.texi: Likewise.
62750         * manual/users.texi: Likewise.
62751         * INSTALL: Regenerated.
62752         * NOTES: Regenerated.
62753         * sysdeps/gnu/errlist.c: Regenerated.
62755 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
62757         * include/dirent.h: Include <dirstream.h> before
62758         <dirent/dirent.h>.
62760 2012-02-28  David S. Miller  <davem@davemloft.net>
62762         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
62763         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
62764         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
62765         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
62767 2012-02-27  David S. Miller  <davem@davemloft.net>
62769         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
62770         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
62771         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
62772         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
62774         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
62775         frame pointer instead of stack pointer relative arg slot.
62776         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
62777         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
62778         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
62780 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
62782         [BZ #3992]
62783         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
62785 2012-02-27  David S. Miller  <davem@davemloft.net>
62787         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
62788         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
62789         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
62790         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
62791         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
62792         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
62793         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
62794         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
62796 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
62798         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
62799         later.  Allow versions 5-9.
62800         * configure: Regenerated.
62801         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
62802         required minimum version and 4.6 as recommended version.  Do not
62803         mention bugs in GCC 2.7 and 2.8.
62804         * INSTALL: Regenerated.
62806 2012-02-27  David S. Miller  <davem@davemloft.net>
62808         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
62809         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
62810         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
62811         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
62812         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
62813         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
62814         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
62815         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
62817         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
62818         manipulate bits before adding and subtracting TWO112[sx].
62819         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
62821 2012-02-27  Roland McGrath  <roland@hack.frob.com>
62823         [BZ #13775]
62824         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
62825         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
62826         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
62827         being in POSIX, because they are in 1003.1-2008.
62829         * rt/tst-aio.c: Include <fcntl.h>.
62830         * rt/tst-aio7.c: Likewise.
62831         * rt/tst-aio64.c: Likewise.
62833         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
62835 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
62837         * manual/install.texi (--with-headers): Describe headers as
62838         interface headers, not private headers.
62839         (Specific advice for GNU/Linux systems): Describe use of headers
62840         from "make headers_install", not private headers from older
62841         kernels.
62842         * INSTALL: Regenerated.
62843         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
62844         Change to 2.6.19.
62845         * sysdeps/unix/sysv/linux/configure: Regenerated.
62847         * manual/llio.texi (fclean): Remove documentation.
62849         * manual/Makefile (libc-texi-generated): New variable.  Include
62850         version.texi.
62851         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
62852         $(libc-texi-generated), not duplicated list of files.
62853         (version.texi, stamp-version): New rules.
62854         (realclean): Remove $(libc-texi-generated), not individual files
62855         from that list.  Do not remove dir-add.texinfo.
62856         * manual/libc.texinfo: Comment out uses of edition numbers and
62857         references to printed manual.  Remove last-updated dates.
62858         (EDITION): Comment out.
62859         (ISBN): Likewise.
62860         (VERSION, UPDATED): Remove.
62861         (version.texi): Include.
62863 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
62865         * sysdeps/posix/spawni.c: Include <signal.h>.
62866         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
62867         * sysdeps/pthread/aio_fsync.c: Likewise.
62869 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
62871         * conform/Makefile (tests): Run only when not cross-compiling and
62872         when fast-check is not defined.
62874         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
62875         * conform/data/limits.h-data: Fixes for POSIX2008.
62876         * conform/run-conformtest.sh: Run all tests.
62877         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
62878         headers.
62879         * include/bits/dlfcn.h: Likewise.
62880         * include/langinfo.h: Likewise.
62881         * include/monetary.h: Likewise.
62882         * include/sys/poll.h: Likewise.
62884         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
62885         for __USE_GNU.
62886         * posix/spawn.h: Define __need_sigset_t.
62887         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
62888         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
62889         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
62890         to get sigevent_t only.
62891         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
62892         only for __USE_GNU.
62893         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
62894         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
62895         process_vm_writev only for __USE_GNU.
62896         * termios/termios.h: Declare tcgetsid also for POSIX2008.
62898         * conform/Makefile: For now ignore errors from run-conformtest.
62899         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
62900         POSIX to avoid namespace pollution.  Don't prepend headers.
62901         * conform/data/aio.h-data: Fixes for POSIX testing.
62902         * conform/data/fcntl.h-data: Likewise.
62903         * conform/data/glob.h-data: Likewise.
62904         * conform/data/grp.h-data: Likewise.
62905         * conform/data/pthread.h-data: Likewise.
62906         * conform/data/pwd.h-data: Likewise.
62907         * conform/data/signal.h-data: Likewise.
62908         * conform/data/spawn.h-data: Likewise.
62909         * conform/data/stdio.h-data: Likewise.
62910         * conform/data/stdlib.h-data: Likewise.
62911         * conform/data/stropts.h-data: Likewise.
62912         * conform/data/sys/mman.h-data: Likewise.
62913         * conform/data/sys/stat.h-data: Likewise.
62914         * conform/data/sys/types.h-data: Likewise.
62915         * conform/data/sys/wait.h-data: Likewise.
62916         * conform/data/time.h-data: Likewise.
62917         * conform/data/unistd.h-data: Likewise.
62918         * conform/data/utime.h-data: Likewise.
62920         * io/sys/stat.h: fchmod was always in POSIX.
62921         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
62922         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
62923         * rt/aio.h: Define __need_timespec before including <time.h>.
62924         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
62925         struct.  Add forward declaration of pthread_attr_t and use it in
62926         sigevent.
62927         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
62928         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
62929         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
62930         always remove CLK_TCK definition.
62932 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
62934         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
62936 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
62938         * conform/run-conformtest.sh: New file.
62939         * conform/Makefile: Run run-conformtest for tests.
62940         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
62941         support.
62943         * conform/data/uchar.h-data: New file.
62944         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
62945         * conform/data/arpa/inet.h-data: Likewise.
62946         * conform/data/assert.h-data: Likewise.
62947         * conform/data/complex.h-data: Likewise.
62948         * conform/data/cpio.h-data: Likewise.
62949         * conform/data/ctype.h-data: Likewise.
62950         * conform/data/dirent.h-data: Likewise.
62951         * conform/data/dlfcn.h-data: Likewise.
62952         * conform/data/errno.h-data: Likewise.
62953         * conform/data/fcntl.h-data: Likewise.
62954         * conform/data/float.h-data: Likewise.
62955         * conform/data/fmtmsg.h-data: Likewise.
62956         * conform/data/fnmatch.h-data: Likewise.
62957         * conform/data/ftw.h-data: Likewise.
62958         * conform/data/glob.h-data: Likewise.
62959         * conform/data/grp.h-data: Likewise.
62960         * conform/data/iconv.h-data: Likewise.
62961         * conform/data/inttypes.h-data: Likewise.
62962         * conform/data/langinfo.h-data: Likewise.
62963         * conform/data/libgen.h-data: Likewise.
62964         * conform/data/limits.h-data: Likewise.
62965         * conform/data/locale.h-data: Likewise.
62966         * conform/data/math.h-data: Likewise.
62967         * conform/data/monetary.h-data: Likewise.
62968         * conform/data/mqueue.h-data: Likewise.
62969         * conform/data/ndbm.h-data: Likewise.
62970         * conform/data/net/if.h-data: Likewise.
62971         * conform/data/netdb.h-data: Likewise.
62972         * conform/data/netinet/in.h-data: Likewise.
62973         * conform/data/nl_types.h-data: Likewise.
62974         * conform/data/poll.h-data: Likewise.
62975         * conform/data/pthread.h-data: Likewise.
62976         * conform/data/pwd.h-data: Likewise.
62977         * conform/data/regex.h-data: Likewise.
62978         * conform/data/sched.h-data: Likewise.
62979         * conform/data/search.h-data: Likewise.
62980         * conform/data/semaphore.h-data: Likewise.
62981         * conform/data/setjmp.h-data: Likewise.
62982         * conform/data/signal.h-data: Likewise.
62983         * conform/data/spawn.h-data: Likewise.
62984         * conform/data/stdarg.h-data: Likewise.
62985         * conform/data/stdio.h-data: Likewise.
62986         * conform/data/stdlib.h-data: Likewise.
62987         * conform/data/string.h-data: Likewise.
62988         * conform/data/strings.h-data: Likewise.
62989         * conform/data/stropts.h-data: Likewise.
62990         * conform/data/sys/ipc.h-data: Likewise.
62991         * conform/data/sys/mman.h-data: Likewise.
62992         * conform/data/sys/msg.h-data: Likewise.
62993         * conform/data/sys/resource.h-data: Likewise.
62994         * conform/data/sys/select.h-data: Likewise.
62995         * conform/data/sys/sem.h-data: Likewise.
62996         * conform/data/sys/shm.h-data: Likewise.
62997         * conform/data/sys/socket.h-data: Likewise.
62998         * conform/data/sys/stat.h-data: Likewise.
62999         * conform/data/sys/statvfs.h-data: Likewise.
63000         * conform/data/sys/time.h-data: Likewise.
63001         * conform/data/sys/timeb.h-data: Likewise.
63002         * conform/data/sys/times.h-data: Likewise.
63003         * conform/data/sys/types.h-data: Likewise.
63004         * conform/data/sys/uio.h-data: Likewise.
63005         * conform/data/sys/un.h-data: Likewise.
63006         * conform/data/sys/utsname.h-data: Likewise.
63007         * conform/data/sys/wait.h-data: Likewise.
63008         * conform/data/syslog.h-data: Likewise.
63009         * conform/data/tar.h-data: Likewise.
63010         * conform/data/termios.h-data: Likewise.
63011         * conform/data/utime.h-data: Likewise.
63012         * conform/data/utmpx.h-data: Likewise.
63013         * conform/data/varargs.h-data: Likewise.
63014         * conform/data/wchar.h-data: Likewise.
63015         * conform/data/wctype.h-data: Likewise.
63016         * conform/data/wordexp.h-data: Likewise.
63018         * include/stropts.h: New file.
63019         * include/uchar.h: New file.
63020         * include/aio.h: Changes to allow conformtest.pl to use the headers.
63021         * include/assert.h: Likewise.
63022         * include/ctype.h: Likewise.
63023         * include/dirent.h: Likewise.
63024         * include/dlfcn.h: Likewise.
63025         * include/fcntl.h: Likewise.
63026         * include/fnmatch.h: Likewise.
63027         * include/glob.h: Likewise.
63028         * include/grp.h: Likewise.
63029         * include/libio.h: Likewise.
63030         * include/locale.h: Likewise.
63031         * include/math.h: Likewise.
63032         * include/net/if.h: Likewise.
63033         * include/netdb.h: Likewise.
63034         * include/netinet/in.h: Likewise.
63035         * include/pthread.h: Likewise.
63036         * include/pwd.h: Likewise.
63037         * include/regex.h: Likewise.
63038         * include/sched.h: Likewise.
63039         * include/search.h: Likewise.
63040         * include/setjmp.h: Likewise.
63041         * include/signal.h: Likewise.
63042         * include/stdio.h: Likewise.
63043         * include/stdlib.h: Likewise.
63044         * include/string.h: Likewise.
63045         * include/sys/cdefs.h: Likewise.
63046         * include/sys/mman.h: Likewise.
63047         * include/sys/msg.h: Likewise.
63048         * include/sys/resource.h: Likewise.
63049         * include/sys/select.h: Likewise.
63050         * include/sys/socket.h: Likewise.
63051         * include/sys/stat.h: Likewise.
63052         * include/sys/statvfs.h: Likewise.
63053         * include/sys/time.h: Likewise.
63054         * include/sys/times.h: Likewise.
63055         * include/sys/uio.h: Likewise.
63056         * include/sys/utsname.h: Likewise.
63057         * include/sys/wait.h: Likewise.
63058         * include/termios.h: Likewise.
63059         * include/time.h: Likewise.
63060         * include/ulimit.h: Likewise.
63061         * include/unistd.h: Likewise.
63062         * include/utime.h: Likewise.
63063         * include/wchar.h: Likewise.
63064         * include/wctype.h: Likewise.
63065         * include/wordexp.h: Likewise.
63067         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
63069         * time/time.h: TIME_UTC must be a macro.
63070         Make timespec_get available for ISO C11 only as well.
63072 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
63074         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
63075         Reported by Peng Haitao <penght@cn.fujitsu.com>.
63077 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
63079         * configure.in: Use -o not -a in test for unsupported multi-arch.
63081 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
63083         * manual/texinfo.tex: Update to version 2012-01-19.16.
63085 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
63087         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
63089 2012-02-24  Roland McGrath  <roland@hack.frob.com>
63091         [BZ #13738]
63092         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
63093         * manual/fdl-1.3.texi: New file.
63094         * manual/fdl-1.1.texi: File removed.
63096         [BZ #13738]
63097         * manual/libc.texinfo (FDL_VERSION): New @set.
63098         Use it for mention of FDL in cover text.
63099         (Documentation License): Use it in @include file name.
63101 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
63102             Roland McGrath  <roland@hack.frob.com>
63104         [BZ #5461]
63105         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
63106         (not LONG_LONG_MAX and LONG_LONG_MIN.
63107         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
63108         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
63109         name.
63110         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
63112 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
63114         [BZ #2547]
63115         [BZ #11365]
63116         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
63117         manipulate bits before adding and subtracting TWO23[sx].
63118         * math/libm-test.inc (nearbyint_test): Add more tests.
63120 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
63122         [BZ #2548]
63123         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
63124         bits before adding and subtracting TWO23[sx].
63125         * math/libm-test.inc (rint_test): Add more tests.
63126         (rint_test_tonearest): Likewise.
63127         (rint_test_towardzero): Likewise.
63128         (rint_test_downward): Likewise.
63129         (rint_test_upward: Likewise.
63131 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
63133         [BZ #10110]
63134         * include/stdc-predef.h: New file.  Extracted from features.h.
63135         * include/features.h: Include stdc-predef.h.
63136         * Makefile (headers): Add stdc-predef.h.
63137         * CONFORMANCE (Compiler limitations): Update.
63139 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
63141         * manual/libc.texinfo (VERSION, UPDATED): Revert.
63143 2012-02-21  David S. Miller  <davem@davemloft.net>
63145         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
63146         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
63148 2012-02-20  David S. Miller  <davem@davemloft.net>
63150         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
63151         using a normal save/restore sequence, rather than allocating a
63152         dummy stack frame just to store a frame pointer and restore.
63153         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
63155 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
63157         * manual/install.texi: Fix stray word in line-wrapped comment.
63159 2012-02-20  David S. Miller  <davem@davemloft.net>
63161         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
63162         both binutils and gcc support GOTDATA.
63164         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
63165         "rd %pc" in the PIC register setup sequences.
63167         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
63168         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
63169         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
63170         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
63171         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
63172         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
63173         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
63174         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
63175         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
63176         (SYSCALL_ERROR_HANDLER): Likewise.
63177         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
63178         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
63179         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
63180         (SYSCALL_ERROR_HANDLER): Likewise.
63182         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
63183         (HAVE_GCC_GOTDATA): New.
63184         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
63185         relocation support in both binutils and gcc.
63186         * sysdeps/sparc/elf/configure: Regenerate.
63188         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
63189         * sysdeps/sparc/sparc32/elf/configure: Delete.
63190         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
63191         * sysdeps/sparc/sparc64/elf/configure: Delete.
63192         * sysdeps/sparc/elf/configure.in: New file.
63193         * sysdeps/sparc/elf/configure: Generate.
63195         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
63196         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
63197         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
63198         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
63199         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
63201 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
63203         * manual/install.texi: Do not mention specific glibc version
63204         numbers.
63205         * manual/libc.texinfo (VERSION, UPDATED): Update.
63206         (@copying): Use @copyright{} and range of years.
63208 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
63210         [BZ #13695]
63211         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
63212         [crti.S not in sysdirs] (generated): Do not append.
63213         [crti.S not in sysdirs] (omit-deps): Likewise.
63214         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
63215         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
63216         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
63217         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
63218         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
63219         Likewise.
63220         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
63221         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
63222         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
63223         * csu/defs.awk: Remove file.
63224         * sysdeps/generic/initfini.c: Likewise.
63225         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
63226         variable.
63227         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
63228         Likewise.
63230 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
63232         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
63233         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
63234         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
63235         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
63236         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
63237         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
63238         <bits/epoll.h>.
63239         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
63240         (__EPOLL_PACKED): Define to empty if not defined by
63241         <bits/epoll.h>.
63242         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
63243         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
63244         bits/epoll.h.
63246 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
63248         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
63249         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
63250         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
63251         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
63252         <bits/timerfd.h>.
63253         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
63254         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
63255         bits/timerfd.h.
63257 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
63259         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
63260         in C locale.
63261         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
63262         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
63263         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
63264         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63266 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
63268         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
63269         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
63271 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
63273         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
63274         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
63275         defined.
63276         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
63277         Likewise.
63278         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
63279         entry for 2.16.
63281 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
63283         * math/w_acos.c: Use non-signaling floating-point comparisons.
63284         * math/w_acosf.c: Likewise.
63285         * math/w_acosh.c: Likewise.
63286         * math/w_acoshf.c: Likewise.
63287         * math/w_acoshl.c: Likewise.
63288         * math/w_acosl.c: Likewise.
63289         * math/w_asin.c: Likewise.
63290         * math/w_asinf.c: Likewise.
63291         * math/w_asinl.c: Likewise.
63292         * math/w_atanh.c: Likewise.
63293         * math/w_atanhf.c: Likewise.
63294         * math/w_atanhl.c: Likewise.
63295         * math/w_exp2.c: Likewise.
63296         * math/w_exp2f.c: Likewise.
63297         * math/w_exp2l.c: Likewise.
63298         * math/w_j0.c: Likewise.
63299         * math/w_j0f.c: Likewise.
63300         * math/w_j0l.c: Likewise.
63301         * math/w_j1.c: Likewise.
63302         * math/w_j1f.c: Likewise.
63303         * math/w_j1l.c: Likewise.
63304         * math/w_jn.c: Likewise.
63305         * math/w_jnf.c: Likewise.
63306         * math/w_log.c: Likewise.
63307         * math/w_log10.c: Likewise.
63308         * math/w_log10f.c: Likewise.
63309         * math/w_log10l.c: Likewise.
63310         * math/w_log2.c: Likewise.
63311         * math/w_log2f.c: Likewise.
63312         * math/w_log2l.c: Likewise.
63313         * math/w_logf.c: Likewise.
63314         * math/w_logl.c: Likewise.
63315         * math/w_sqrt.c: Likewise.
63316         * math/w_sqrtf.c: Likewise.
63317         * math/w_sqrtl.c: Likewise.
63318         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
63319         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
63320         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
63321         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
63322         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
63324 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
63326         [BZ #9739]
63327         * manual/string.texi (strnlen): Use correct parameter name in
63328         equivalent expression.
63330 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
63332         [BZ #11174]
63333         * manual/users.texi (seteuid): Consistently use neweuid for
63334         argument name.
63336 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
63338         [BZ #13704]
63339         * manual/nss.texi (Services in the NSS configuration): Correct
63340         list of services in example configuration file.
63342 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
63344         [BZ #11322]
63345         * manual/arith.texi: Remove statements about negative zero
63346         behaving identically to zero.
63348 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
63350         [BZ #5993]
63351         * manual/install.texi: Do not document upgrading from libc5.
63353 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
63355         [BZ #4596]
63356         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
63358 2012-02-18  David S. Miller  <davem@davemloft.net>
63360         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
63361         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
63362         %o7 across the call.
63363         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
63364         instead.
63365         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
63366         SETUP_PIC_REG_LEAF.
63367         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
63368         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
63369         * sysdeps/sparc/crtn.S: Likewise.
63371 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
63373         * aout/Makefile: Remove.
63375 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
63377         [BZ #13058]
63378         * manual/examples/argp-ex1.c (main): Format definition in GNU
63379         style.
63380         * manual/examples/argp-ex2.c (main): Likewise.
63381         * manual/examples/argp-ex3.c (main): Likewise.
63382         * manual/examples/argp-ex4.c (main): Likewise.
63383         * manual/examples/longopt.c (main): Use new-style prototype
63384         definition.
63385         * manual/examples/strncat.c (main): Specify return type and use
63386         (void) for arguments.
63387         * manual/examples/subopt.c (main): Use char **argv argument.
63389 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
63391         [BZ #5077]
63392         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
63393         rounding modes.
63395 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
63397         [BZ #6907]
63398         * manual/string.texi (strchr): Change when strchrnul is
63399         recommended.
63401 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
63403         [BZ #174]
63404         * manual/locale.texi (setlocale): Document LOCPATH.
63406 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
63408         [BZ #10210]
63409         * manual/process.texi (execle): Move @dots{} before last argument.
63411 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
63413         [BZ #12047]
63414         * manual/charset.texi (Generic Charset Conversion): Fix typo
63415         (LC_TYPE -> LC_CTYPE).
63417 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
63419         [BZ #5805]
63420         * manual/arith.texi (scalbn): Use @var{} on parameter names.
63421         (scalbnf): Likewise.
63422         (scalbnl): Likewise.
63423         (scalbln): Likewise.
63424         (scalblnf): Likewise.
63425         (scalblnl): Likewise.
63426         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
63427         (vwarnx): Likewise.
63428         (verr): Likewise.
63429         (verrx): Likewise.
63430         * manual/filesys.texi (telldir): Use braces around return type.
63431         * manual/llio.texi (mmap): Add space after comma.
63432         (mmap64): Likewise.
63433         * manual/math.texi (jn): Use @var{} on parameter names.
63434         (jnf): Likewise.
63435         (jnl): Likewise.
63436         (yn): Likewise.
63437         (ynf): Likewise.
63438         (ynl): Likewise.
63439         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
63440         line.
63441         * manual/resource.texi (ulimit): Use @dots{} instead of literal
63442         "...".
63443         (sched_get_priority_min): Remove semicolon on @deftypefun line.
63444         (sched_get_priority_max): Likewise.
63445         * manual/signal.texi (sigvec): Add space after comma.
63446         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
63447         names.
63448         (if_indextoname): Likewise.
63449         (if_freenameindex): Likewise.
63450         (sendto): Use ',' instead of '.' in prototype.
63451         * manual/startup.texi (syscall): Use @dots{} instead of literal
63452         "...".
63453         * manual/stdio.texi (__fpending): Separate initial words of
63454         paragraph from @deftypefun line.
63455         * manual/syslog.texi (syslog): Use @dots{} instead of literal
63456         "...".
63457         (vsyslog): Use @var{} on parameter names.
63458         * manual/terminal.texi (stty): Use @var{} on parameter names.
63459         * manual/users.texi (getutmp): Use @var{} on parameter names.
63460         (getutmpx): Likewise.
63462 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
63464         [BZ #6884]
63465         * manual/stdio.texi (fopen): Fix typos in description of
63466         ",ccs=STRING".
63468 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
63470         [BZ #4026]
63471         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
63472         get clock_id definition.
63474 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
63476         [BZ #4822]
63477         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
63478         (madvise): Cast every argument to void on its own.
63480 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
63482         [BZ #9902]
63483         * manual/startup.texi (Exit Status): Fix typo.
63485 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
63487         [BZ #10140]
63488         * manual/examples/argp-ex1.c: Include <stdlib.h>.
63489         * manual/examples/argp-ex2.c: Likewise.
63490         * manual/examples/argp-ex3.c: Likewise.
63492 2012-02-16  Richard Henderson  <rth@redhat.com>
63494         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
63495         * sysdeps/s390/s390-32/initfini.c: Remove.
63496         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
63497         * sysdeps/s390/s390-64/initfini.c: Remove.
63499 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
63501         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
63502         compiler output for sysdeps/generic/initfini.c.
63503         * sysdeps/sh/elf/initfini.c: Remove file.
63505 2012-02-16  David S. Miller  <davem@davemloft.net>
63507         [BZ #11494]
63508         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
63510         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
63511         * sysdeps/sparc/crti.S: New file.
63512         * sysdeps/sparc/crtn.S: New file.
63513         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
63514         * sysdeps/sparc/sparc64/Makefile: Likewise.
63516 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
63518         [BZ #3335]
63519         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
63521 2012-02-15  Roland McGrath  <roland@hack.frob.com>
63523         [BZ #4822]
63524         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
63526         * mach/devstream.c (cookie_io_functions_t): Macro removed.
63527         (write, read, close): Likewise.
63528         Patch by Aurelien Jarno <aurelien@aurel32.net>.
63530 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
63532         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
63533         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
63534         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
63535         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
63536         <bits/signalfd.h>.
63537         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
63538         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
63539         bits/signalfd.h.
63541 2012-02-14  Marek Polacek  <polacek@redhat.com>
63543         * sysdeps/x86_64/crti.S: New file.
63544         * sysdeps/x86_64/crtn.S: New file.
63545         * sysdeps/x86_64/elf/initfini.c: Remove file.
63547 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
63549         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
63550         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
63551         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
63552         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
63553         <bits/inotify.h>.
63554         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
63555         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
63556         bits/inotify.h.
63558 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
63560         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
63561         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
63562         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
63563         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
63564         <bits/eventfd.h>.
63565         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
63566         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
63567         bits/eventfd.h.
63569 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
63571         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
63572         __feraiseexcept instead of feraiseexcept.
63574         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
63575         nanosleep invocations.
63576         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
63577         strings, and add error checking for a nanosleep invocations.
63579 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
63581         Replace FSF snail mail address with URLs, as per GNU coding standards.
63582         Most of the snail mail addresses were wrong anyway, and omitting
63583         them makes the source code easier to maintain.  Almost all of the
63584         changes are to license notices and to locale LC_IDENTIFICATION
63585         addresses, except for this one:
63586         * manual/libc.texinfo: In "Published by", give the FSF's URL,
63587         not its snail mail address.
63589 2012-02-09  Richard Henderson  <rth@twiddle.net>
63591         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
63592         of kernel-features.h.
63594         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
63596 2012-02-08  Marek Polacek  <polacek@redhat.com>
63598         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
63599         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
63600         * sysdeps/gnu/_G_config.h: Likewise.
63601         * sysdeps/generic/_G_config.h: Likewise.
63603 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
63605         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
63606         tests.
63607         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63609         * sysdeps/powerpc/powerpc32/crti.S: New file.
63610         * sysdeps/powerpc/powerpc32/crtn.S: New file.
63611         * sysdeps/powerpc/powerpc64/crti.S: New file.
63612         * sysdeps/powerpc/powerpc64/crtn.S: New file.
63614         * Makeconfig (have-initfini): Don't set.
63615         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
63616         * configure.in (nopic_initfini): Don't substitute.
63617         * config.h.in (HAVE_INITFINI): Don't #undef.
63618         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
63619         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
63621 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
63623         Support crti.S and crtn.S provided directly by architectures.
63624         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
63625         [crti.S in sysdirs] (omit-deps): Likewise.
63626         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
63627         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
63628         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
63629         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
63630         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
63631         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
63632         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
63633         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
63634         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
63635         compiler output for sysdeps/generic/initfini.c.
63636         * sysdeps/i386/elf/Makefile: Remove file.
63637         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
63639 2012-02-07  Marek Polacek  <polacek@redhat.com>
63641         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
63642         * sysdeps/gnu/_G_config.h: Likewise.
63643         * sysdeps/mach/hurd/_G_config.h: Likewise.
63645 2012-02-07  Marek Polacek  <polacek@redhat.com>
63647         * math/Makefile (tests): Add tst-CMPLX2.
63648         * math/tst-CMPLX2.c: New file.
63650 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
63652         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
63654         * math/libm-test.inc (jn_test): Add missing L suffix.
63656 2012-02-06  Marek Polacek  <polacek@redhat.com>
63658         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
63659         * sysdeps/i386/fpu/e_powf.S: Likewise.
63660         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
63661         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
63662         * sysdeps/i386/fpu/e_acosh.S: Likewise.
63663         * sysdeps/i386/fpu/e_pow.S: Likewise.
63664         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
63665         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
63666         * sysdeps/i386/fpu/s_expm1.S: Likewise.
63667         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
63668         * sysdeps/i386/fpu/e_log2.S: Likewise.
63669         * sysdeps/i386/fpu/e_log2l.S: Likewise.
63670         * sysdeps/i386/fpu/e_scalb.S: Likewise.
63671         * sysdeps/i386/fpu/e_powl.S: Likewise.
63672         * sysdeps/i386/fpu/s_log1p.S: Likewise.
63673         * sysdeps/i386/fpu/e_log10f.S: Likewise.
63674         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
63675         * sysdeps/i386/fpu/e_logl.S: Likewise.
63676         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
63677         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
63678         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
63679         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
63680         * sysdeps/i386/fpu/e_log2f.S: Likewise.
63681         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
63682         * sysdeps/i386/fpu/e_log.S: Likewise.
63683         * sysdeps/i386/fpu/s_cexp.S: Likewise.
63684         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
63685         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
63686         * sysdeps/i386/fpu/e_logf.S: Likewise.
63687         * sysdeps/i386/fpu/e_log10l.S: Likewise.
63688         * sysdeps/i386/fpu/e_atanh.S: Likewise.
63689         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
63690         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
63691         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
63692         * sysdeps/i386/fpu/e_log10.S: Likewise.
63693         * sysdeps/i386/fpu/s_frexp.S: Likewise.
63694         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
63695         * sysdeps/i386/fpu/s_asinh.S: Likewise.
63696         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
63697         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
63698         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
63699         * sysdeps/i386/asm-syntax.h: Likewise.
63700         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
63701         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
63702         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
63703         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
63704         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
63705         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
63706         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
63707         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
63708         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
63709         * sysdeps/powerpc/sysdep.h: Likewise.
63710         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
63711         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
63713 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
63715         [BZ #411]
63716         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
63718 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
63720         * sysdeps/i386/sysdep.h: Include <features.h>.
63721         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
63722         version.
63724 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
63726         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
63727         Define.
63728         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
63729         LOAD_PIC_REG_STR.
63731 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
63733         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
63734         (SETUP_PIC_REG): Use GET_PC_THUNK.
63735         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
63736         macro.
63738 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
63740         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
63741         for non-PIC compilation.
63742         (SETUP_PIC_REG): Add .p2align directive.
63743         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
63744         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
63745         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
63746         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
63747         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
63748         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
63749         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
63750         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
63751         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
63752         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
63753         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
63754         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
63755         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
63756         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
63757         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
63758         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
63759         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
63760         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
63761         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
63762         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
63763         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
63764         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
63765         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
63766         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
63767         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
63768         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
63769         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
63770         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
63771         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
63772         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
63773         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
63774         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
63775         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
63776         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
63777         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
63778         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
63779         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
63780         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
63781         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
63782         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
63783         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
63785 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
63787         * math/tst-CMPLX.c: Include <stdio.h>.
63789 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
63791         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
63792         float.
63793         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
63794         * sysdeps/sparc/bits/mathdef.h: Likewise.
63796 2012-01-31  Marek Polacek  <polacek@redhat.com>
63798         * libio/libio.h: Don't define _PARAMS.
63799         * locale/programs/config.h: Don't define PARAMS.
63800         * stdlib/strtol_l.c: Likewise.
63801         (__strtol_l): Remove PARAMS from the prototype.
63803 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
63805         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
63806         names.  Just use the correct names.  Remove unnecessary wrapper
63807         functions.
63808         * malloc/arena.c: Likewise.
63809         * malloc/hooks.c: Likewise.
63811         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
63812         ARENA_TEST says not to.  Simplify test for creation of a new arena.
63813         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
63815 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
63817         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
63818         into tail calls.
63819         (update_get_addr): New function.
63820         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
63821         GET_ADDR_MODULE parameter.
63823 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
63825         * crypt/cert.c: Remove __STDC__ conditionals.
63826         * crypt/crypt-entry.c: Likewise.
63827         * crypt/crypt_util.c: Likewise.
63828         * libio/filedoalloc.c: Likewise.
63829         * libio/fileops.c: Likewise.
63830         * libio/genops.c: Likewise.
63831         * libio/iofclose.c: Likewise.
63832         * libio/iofdopen.c: Likewise.
63833         * libio/iofopen.c: Likewise.
63834         * libio/iofopen64.c: Likewise.
63835         * libio/iogetdelim.c: Likewise.
63836         * libio/iopopen.c: Likewise.
63837         * libio/obprintf.c: Likewise.
63838         * libio/oldfileops.c: Likewise.
63839         * libio/oldiofclose.c: Likewise.
63840         * libio/oldiofdopen.c: Likewise.
63841         * libio/oldiofopen.c: Likewise.
63842         * libio/oldiopopen.c: Likewise.
63843         * libio/wfiledoalloc.c: Likewise.
63844         * libio/wgenops.c: Likewise.
63845         * locale/programs/xmalloc.c: Likewise.
63846         * misc/syslog.c: Likewise.
63847         * stdio-common/xbug.c: Likewise.
63848         * string/memchr.c: Likewise.
63849         * string/memcmp.c: Likewise.
63850         * string/memrchr.c: Likewise.
63851         * string/rawmemchr.c: Likewise.
63852         * sysdeps/posix/getcwd.c: Likewise.
63853         * time/strftime_l.c: Likewise.
63855 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
63857         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
63858         * config.make.in (config-cflags-sse2avx): Define.
63859         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
63860         Fix typo.
63862 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
63864         * scripts/config.guess: Update from upstream config git repository.
63865         * scripts/config.sub: Likewise.
63867 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
63869         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
63870         (EM_NUM): Update.
63871         (R_TILEPRO_*, R_TILEGX_*): New macros.
63873         * scripts/firstversions.awk: Fix bug in version range handling.
63875         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
63877         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
63879         * include/sys/epoll.h: New file.
63880         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
63881         libc_hidden_def.
63883 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
63885         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
63886         Avoid unnecessary __WORDSIZE == 64 test.
63887         (fmaxf): Use VEX format if possible.
63888         (fmax): Likewise.
63889         (fminf): Likewise.
63890         (fmin): Likewise.
63892         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
63893         * math/math_private.h: Remove libc_fegetround* and
63894         libc_fesetround*.
63895         * sysdeps/i386/configure.in: Check for -msse2avx.
63896         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
63897         also if SSE2AVX is defined.
63898         Remove libc_fegetround* and libc_fesetround*.
63899         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
63900         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
63901         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
63902         of HAS_YMM_USABLE.
63903         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
63904         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
63905         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
63906         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
63907         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
63909         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
63911 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63913         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
63914         size is not set.
63915         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
63917 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
63919         [BZ #13618]
63920         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
63921         relocation.
63922         * Makeconfig (libm): Define.
63923         * elf/Makefile: Add rules to build and run tst-relsort1.
63924         * elf/tst-relsort1.c: New file.
63925         * elf/tst-relsort1mod1.c: New file.
63926         * elf/tst-relsort1mod2.c: New file.
63928 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
63930         * math/s_ldexp.c: Remove __STDC__ conditionals.
63931         * math/s_ldexpf.c: Likewise.
63932         * math/s_ldexpl.c: Likewise.
63933         * math/s_nextafter.c: Likewise.
63934         * math/s_nexttowardf.c: Likewise.
63935         * math/s_significand.c: Likewise.
63936         * math/s_significandf.c: Likewise.
63937         * math/s_significandl.c: Likewise.
63938         * math/w_jnl.c: Likewise.
63939         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
63940         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
63941         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
63942         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
63943         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
63944         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
63945         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
63946         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
63947         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
63948         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
63949         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
63950         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
63951         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
63952         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
63953         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
63954         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
63955         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
63956         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
63957         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
63958         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
63959         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
63960         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
63961         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
63962         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
63963         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
63964         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
63965         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
63966         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
63967         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
63968         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
63969         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
63970         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
63971         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
63972         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
63973         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
63974         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
63975         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
63976         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
63977         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
63978         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
63979         * sysdeps/ieee754/k_standard.c: Likewise.
63980         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
63981         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
63982         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
63983         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
63984         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
63985         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
63986         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
63987         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
63988         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
63989         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
63990         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
63991         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
63992         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
63993         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
63994         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
63995         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
63996         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
63997         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
63998         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
63999         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
64000         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
64001         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
64002         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
64003         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
64004         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
64005         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
64006         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
64007         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
64008         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
64009         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
64010         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
64011         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
64012         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
64013         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
64014         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
64015         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
64016         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
64017         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
64018         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
64019         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
64020         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
64021         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
64022         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
64023         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
64024         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
64025         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
64026         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
64027         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
64028         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
64029         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
64030         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
64031         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
64032         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
64033         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
64034         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
64035         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
64036         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
64037         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
64038         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
64039         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
64040         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
64041         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
64042         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
64043         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
64044         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
64045         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
64046         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
64047         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
64048         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
64049         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
64050         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
64051         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
64052         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
64053         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
64054         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
64055         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
64056         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
64057         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
64058         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
64059         * sysdeps/ieee754/s_matherr.c: Likewise.
64060         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
64061         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
64062         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
64063         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
64065 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
64067         * crypt/md5.h: Remove __STDC__ conditionals.
64068         * libio/libioP.h: Likewise.
64069         * locale/programs/config.h: Likewise.
64070         * sysdeps/generic/sysdep.h: Likewise.
64071         * sysdeps/i386/asm-syntax.h: Likewise.
64072         * sysdeps/s390/asm-syntax.h: Likewise.
64073         * sysdeps/unix/sysdep.h: Likewise.
64074         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
64075         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
64077 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
64079         * libio/libio.h: Remove __STDC__ conditionals.
64080         * malloc/obstack.h: Likewise.
64081         * math/complex.h: Likewise.
64082         * math/math.h: Likewise.
64083         * sysdeps/generic/_G_config.h: Likewise.
64084         * sysdeps/gnu/_G_config.h: Likewise.
64085         * sysdeps/mach/hurd/_G_config.h: Likewise.
64086         * sysdeps/powerpc/bits/mathdef.h: Likewise.
64087         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
64088         * sysdeps/sparc/bits/mathdef.h: Likewise.
64090 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
64092         [BZ #13583]
64093         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
64094         Clean up HAS_* macros.
64095         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
64096         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
64097         possible.
64098         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
64099         HAS_AVX.
64100         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
64101         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
64102         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
64103         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
64104         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
64106 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
64108         * elf/tst-unique3.cc (gets): Remove declaration.
64109         * elf/tst-unique3lib.cc (gets): Likewise.
64110         * elf/tst-unique3lib2.cc (gets): Likewise.
64111         * elf/tst-unique4.cc (gets): Likewise.
64113 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
64115         * include/stdio.h: Add C++ protection.  Add gets declarations and
64116         definitions.
64117         * debug/tst-chk1.c: Don't declare gets here.
64118         * stdio-common/tst-gets.c: Likewise.
64120 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
64122         * posix/glob: Remove directory.
64124 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
64126         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
64128 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
64130         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
64131         of the non-standard EPFNOSUPPORT.
64133 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
64135         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
64136         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
64137         ANYWHERE set to 1 only on KERN_NO_SPACE error.
64139 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
64141         * wcsmbs/uchar.h: Test __STDC_VERSION__.
64143 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
64145         * nscd/aicache.c (addhstaiX): Do not cache negative results of
64146         transient errors.
64147         * nscd/grpcache.c (cache_addgr): Likewise.
64148         * nscd/hstcache.c (cache_addhst): Likewise.
64149         * nscd/initgrcache.c (addinitgroupsX): Likewise.
64150         * nscd/pwdcache.c (cache_addpw): Likewise.
64151         * nscd/servicescache.c (cache_addserv): Likewise.
64153 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
64155         * malloc/malloc.c: Various cleanups.
64156         * malloc/hooks.c: Likewise.
64158         * stdlib/Makefile (tests): Add bug-fmtmsg1.
64159         * stdlib/bug-fmtmsg1.c: New file.
64161         * stdlib/fmtmsg.c (init): Add missing unlock.
64162         Patch by Peng Haitao <penght@cn.fujitsu.com>.
64164 2012-01-12  Marek Polacek  <polacek@redhat.com>
64166         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
64167         and _GNU_SOURCE.
64169 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
64171         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
64172         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
64173         macro to ensure uniqueness of label name.
64174         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
64175         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
64177 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
64179         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
64181         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
64182         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
64183         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
64184         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
64186 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
64188         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
64190         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
64191         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
64192         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
64194         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
64196         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
64197         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
64198         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
64199         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
64201         * math/bits/math-finite.h: Add ldexp support.
64203 2012-01-10  Marek Polacek  <polacek@redhat.com>
64205         * locale/programs/localedef.h (show_archive_content): Add noreturn
64206         attribute.
64208 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
64210         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
64212 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
64214         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
64216         * io/Makefile (headers): Add bits/poll2.h.
64218 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
64220         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
64221         typo #include statement.
64223 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
64225         * include/sys/cdefs.h: Define __attribute_alloc_size.
64226         * catgets/gencat.c: Add alloc_size attribute and apply consistently
64227         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
64228         * elf/pldd.c: Likewise.
64229         * iconv/iconv_charmap.c: Likewise.
64230         * iconv/iconvconfig.c: Likewise.
64231         * iconv/strtab.c: Likewise.
64232         * locale/programs/locale.c: Likewise.
64233         * locale/programs/localedef.h: Likewise.
64234         * locale/programs/simple-hash.c: Likewise.
64235         * nscd/nscd.h: Likewise.
64236         * nss/makedb.c: Likewise.
64237         * sysdeps/generic/ldconfig.h: Likewise.
64238         * locale/programs/localedef.c: Remove xmalloc prototype.
64239         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
64241 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
64243         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
64244         appropriate.
64246 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
64248         * math/Makefile (tests): Add tst-CMPLX.
64249         * math/tst-CMPLX.c: New file.
64251         * math/complex.h (CMPLXL): Fix typo.
64253         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
64254         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
64255         GLIBC_2.16.
64256         * debug/tst-chk1.c: Add poll and ppoll tests.
64257         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
64258         * include/sys/poll.h: Add hidden proto for ppoll.
64259         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
64260         * sysdeps/mach/hurd/ppoll.c: Likewise.
64261         * io/ppoll.c: Likewise.
64262         * debug/poll_chk.c: New file.
64263         * debug/ppoll_chk.c: New file.
64264         * include/bits/poll2.h: New file.
64265         * io/bits/poll2.h: New file.
64267         [BZ #1350]
64268         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
64270         * configure.in: static is always set to yes.  Remove.
64271         * config.make.in: Don't set build-static.
64272         * Makeconfig: Remove use of build-static.
64273         * dlfcn/Makefile: Likewise.
64274         * elf/Makefile: Likewise.
64275         * math/Makefile: Likewise.
64276         * misc/Makefile: Likewise.
64277         * nptl/Makefile: Likewise.
64278         * sysdeps/mach/hurd/Makefile: Likewise.
64280         * configure.in: PWD_P is not used anymore.
64281         * config.make.in: Remove PWD_P entry.
64283         * configure.in: Remove last remnants of RANLIB.
64284         No need to check for signed size_t anymore.
64285         Don't set libc_commonpagesize and libc_relro_required here for Alpha
64286         and IA-64.
64287         Remove __builtin_expect test because we require at least gcc 3.4.
64288         * aclocal.m4: Likewise.
64290         * wcsmbs/mbrtoc16.c: Implement using towc function.
64291         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
64292         * wcsmbs/wcsmbsload.c: Likewise.
64293         * iconv/gconv_simple.c: Likewise.
64294         * iconv/gconv_int.h: Likewise.
64295         * iconv/gconv_builtin.h: Likewise.
64296         * iconv/iconv_prog.c: Remove CHAR16 handling.
64298         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
64300         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
64302         * configure.in: Remove --with-elf and --enable-bounded options.
64303         Dont set base_machine for ia64.  More non-ELF conditions removed.
64304         Remove testing and setting of leading underscore information.
64305         * config.make.in (build-bounded): Set to no.
64306         * config.h.in: Remove NO_UNDERSCORES entry.
64307         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
64308         them.
64309         * csu/start.c: Remove !NO_UNDERSCORE code.
64310         * locale/localeinfo.h: Likewise.
64311         * sysdeps/generic/machine-gmon.h: Likewise.
64312         * sysdeps/generic/sysdep.h: Likewise.
64313         * sysdeps/i386/sysdep.h: Likewise.
64314         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
64315         * sysdeps/mach/sysdep.h: Likewise.
64316         * sysdeps/s390/s390-32/sysdep.h: Likewise.
64317         * sysdeps/s390/s390-64/sysdep.h: Likewise.
64318         * sysdeps/sh/sysdep.h: Likewise.
64319         * sysdeps/sparc/sparc32/alloca.S: Likewise.
64320         * sysdeps/unix/i386/sysdep.S: Likewise.
64321         * sysdeps/unix/sparc/start.c: Likewise.
64322         * sysdeps/unix/sparc/sysdep.S: Likewise.
64323         * sysdeps/unix/sparc/sysdep.h: Likewise.
64324         * sysdeps/unix/start.c: Likewise.
64325         * sysdeps/unix/x86_64/sysdep.S: Likewise.
64326         * sysdeps/x86_64/sysdep.h: Likewise.
64328 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
64330         [BZ #13553]
64331         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
64332         for non-gcc.
64333         * argp/argp-fmtstream.h: Use const instead __const.
64334         * argp/argp.h: Likewise.
64335         * assert/assert.h: Likewise.
64336         * bits/fenv.h: Likewise.
64337         * bits/sched.h: Likewise.
64338         * bits/sigset.h: Likewise.
64339         * bits/sigthread.h: Likewise.
64340         * catgets/nl_types.h: Likewise.
64341         * conform/data/pthread.h-data: Likewise.
64342         * crypt/crypt-private.h: Likewise.
64343         * crypt/crypt.h: Likewise.
64344         * crypt/crypt_util.c: Likewise.
64345         * ctype/ctype.h: Likewise.
64346         * debug/execinfo.h: Likewise.
64347         * debug/mbsnrtowcs_chk.c: Likewise.
64348         * debug/mbsrtowcs_chk.c: Likewise.
64349         * debug/wcsnrtombs_chk.c: Likewise.
64350         * debug/wcsrtombs_chk.c: Likewise.
64351         * debug/wcstombs_chk.c: Likewise.
64352         * dirent/dirent.h: Likewise.
64353         * dlfcn/dlfcn.h: Likewise.
64354         * elf/neededtest4.c: Likewise.
64355         * grp/grp.h: Likewise.
64356         * gshadow/gshadow.h: Likewise.
64357         * iconv/gconv.h: Likewise.
64358         * iconv/gconv_int.h: Likewise.
64359         * iconv/gconv_simple.c: Likewise.
64360         * iconv/iconv.h: Likewise.
64361         * iconv/loop.c: Likewise.
64362         * iconv/skeleton.c: Likewise.
64363         * include/aio.h: Likewise.
64364         * include/aliases.h: Likewise.
64365         * include/argz.h: Likewise.
64366         * include/arpa/inet.h: Likewise.
64367         * include/assert.h: Likewise.
64368         * include/dirent.h: Likewise.
64369         * include/dlfcn.h: Likewise.
64370         * include/execinfo.h: Likewise.
64371         * include/fcntl.h: Likewise.
64372         * include/fenv.h: Likewise.
64373         * include/glob.h: Likewise.
64374         * include/grp.h: Likewise.
64375         * include/libintl.h: Likewise.
64376         * include/mntent.h: Likewise.
64377         * include/netdb.h: Likewise.
64378         * include/pwd.h: Likewise.
64379         * include/rpc/netdb.h: Likewise.
64380         * include/sched.h: Likewise.
64381         * include/search.h: Likewise.
64382         * include/shadow.h: Likewise.
64383         * include/signal.h: Likewise.
64384         * include/stdio.h: Likewise.
64385         * include/stdlib.h: Likewise.
64386         * include/string.h: Likewise.
64387         * include/sys/socket.h: Likewise.
64388         * include/sys/stat.h: Likewise.
64389         * include/sys/statfs.h: Likewise.
64390         * include/sys/statvfs.h: Likewise.
64391         * include/sys/syslog.h: Likewise.
64392         * include/sys/time.h: Likewise.
64393         * include/sys/uio.h: Likewise.
64394         * include/time.h: Likewise.
64395         * include/unistd.h: Likewise.
64396         * include/utmp.h: Likewise.
64397         * include/wchar.h: Likewise.
64398         * include/wctype.h: Likewise.
64399         * inet/aliases.h: Likewise.
64400         * inet/arpa/inet.h: Likewise.
64401         * inet/netinet/ether.h: Likewise.
64402         * inet/netinet/in.h: Likewise.
64403         * intl/libintl.h: Likewise.
64404         * io/bits/fcntl2.h: Likewise.
64405         * io/fcntl.h: Likewise.
64406         * io/ftw.h: Likewise.
64407         * io/sys/poll.h: Likewise.
64408         * io/sys/stat.h: Likewise.
64409         * io/sys/statfs.h: Likewise.
64410         * io/sys/statvfs.h: Likewise.
64411         * io/utime.h: Likewise.
64412         * libio/bits/stdio.h: Likewise.
64413         * libio/bits/stdio2.h: Likewise.
64414         * libio/libio.h: Likewise.
64415         * libio/libioP.h: Likewise.
64416         * libio/stdio.h: Likewise.
64417         * locale/lc-ctype.c: Likewise.
64418         * locale/locale.h: Likewise.
64419         * login/utmp.h: Likewise.
64420         * malloc/arena.c: Likewise.
64421         * malloc/malloc.c: Likewise.
64422         * malloc/malloc.h: Likewise.
64423         * malloc/mcheck.c: Likewise.
64424         * malloc/mtrace.c: Likewise.
64425         * math/bits/mathcalls.h: Likewise.
64426         * math/fenv.h: Likewise.
64427         * math/math_private.h: Likewise.
64428         * misc/bits/error.h: Likewise.
64429         * misc/bits/syslog.h: Likewise.
64430         * misc/err.h: Likewise.
64431         * misc/error.h: Likewise.
64432         * misc/fstab.h: Likewise.
64433         * misc/mntent.h: Likewise.
64434         * misc/regexp.h: Likewise.
64435         * misc/search.h: Likewise.
64436         * misc/sgtty.h: Likewise.
64437         * misc/sys/mman.h: Likewise.
64438         * misc/sys/syslog.h: Likewise.
64439         * misc/sys/uio.h: Likewise.
64440         * misc/sys/xattr.h: Likewise.
64441         * misc/ttyent.h: Likewise.
64442         * nis/rpcsvc/ypclnt.h: Likewise.
64443         * nss/nss.h: Likewise.
64444         * posix/bits/unistd.h: Likewise.
64445         * posix/fnmatch.h: Likewise.
64446         * posix/glob.h: Likewise.
64447         * posix/sched.h: Likewise.
64448         * posix/spawn.h: Likewise.
64449         * posix/sys/wait.h: Likewise.
64450         * posix/unistd.h: Likewise.
64451         * posix/wordexp.h: Likewise.
64452         * pwd/pwd.h: Likewise.
64453         * resolv/netdb.h: Likewise.
64454         * resource/sys/resource.h: Likewise.
64455         * rt/aio.h: Likewise.
64456         * rt/bits/mqueue2.h: Likewise.
64457         * rt/mqueue.h: Likewise.
64458         * shadow/shadow.h: Likewise.
64459         * signal/signal.h: Likewise.
64460         * socket/send.c: Likewise.
64461         * socket/sendto.c: Likewise.
64462         * socket/sys/socket.h: Likewise.
64463         * stdio-common/printf.h: Likewise.
64464         * stdlib/bits/stdlib.h: Likewise.
64465         * stdlib/fmtmsg.h: Likewise.
64466         * stdlib/monetary.h: Likewise.
64467         * stdlib/stdlib.h: Likewise.
64468         * stdlib/ucontext.h: Likewise.
64469         * streams/stropts.h: Likewise.
64470         * string/argz.h: Likewise.
64471         * string/bits/string2.h: Likewise.
64472         * string/string.h: Likewise.
64473         * string/strings.h: Likewise.
64474         * sunrpc/rpc/auth.h: Likewise.
64475         * sunrpc/rpc/auth_des.h: Likewise.
64476         * sunrpc/rpc/clnt.h: Likewise.
64477         * sunrpc/rpc/netdb.h: Likewise.
64478         * sunrpc/rpc/pmap_clnt.h: Likewise.
64479         * sunrpc/rpc/xdr.h: Likewise.
64480         * sysdeps/generic/inttypes.h: Likewise.
64481         * sysdeps/generic/net/if.h: Likewise.
64482         * sysdeps/generic/sys/swap.h: Likewise.
64483         * sysdeps/gnu/net/if.h: Likewise.
64484         * sysdeps/gnu/utmpx.h: Likewise.
64485         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
64486         * sysdeps/i386/i486/bits/string.h: Likewise.
64487         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
64488         * sysdeps/s390/bits/string.h: Likewise.
64489         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
64490         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
64491         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
64492         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
64493         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
64494         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
64495         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
64496         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
64497         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
64498         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
64499         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
64500         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
64501         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
64502         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
64503         * sysdeps/unix/sysv/linux/readv.c: Likewise.
64504         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
64505         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
64506         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
64507         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
64508         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
64509         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
64510         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
64511         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
64512         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
64513         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
64514         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
64515         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
64516         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
64517         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
64518         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
64519         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
64520         * sysvipc/sys/ipc.h: Likewise.
64521         * sysvipc/sys/msg.h: Likewise.
64522         * sysvipc/sys/sem.h: Likewise.
64523         * sysvipc/sys/shm.h: Likewise.
64524         * termios/termios.h: Likewise.
64525         * time/sys/time.h: Likewise.
64526         * time/time.h: Likewise.
64527         * wcsmbs/bits/wchar2.h: Likewise.
64528         * wcsmbs/uchar.h: Likewise.
64529         * wcsmbs/wchar.h: Likewise.
64530         * wctype/wctype.h: Likewise.
64532         [BZ #13551]
64533         * Makeconfig: Remove all but ELF support including AIX support.
64534         * Makerules: Likewise.
64535         * config.h.in: Likewise.
64536         * config.make.in: Likewise.
64537         * configure: Likewise.
64538         * configure.in: Likewise.
64539         * csu/Makefile: Likewise.
64540         * csu/version.c: Likewise.
64541         * debug/Makefile: Likewise.
64542         * dlfcn/Makefile: Likewise.
64543         * elf/Makefile: Likewise.
64544         * extra-lib.mk: Likewise.
64545         * iconv/Makefile: Likewise.
64546         * include/libc-symbols.h: Likewise.
64547         * include/shlib-compat.h: Likewise.
64548         * resolv/Makefile: Likewise.
64549         * resolv/res_libc.c: Likewise.
64550         * rt/Makefile: Likewise.
64551         * sysdeps/i386/asm-syntax.h: Likewise.
64552         * sysdeps/i386/sysdep.h: Likewise.
64553         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
64554         * sysdeps/mach/sysdep.h: Likewise.
64555         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
64556         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
64557         * sysdeps/s390/asm-syntax.h: Likewise.
64558         * sysdeps/s390/s390-32/sysdep.h: Likewise.
64559         * sysdeps/s390/s390-64/sysdep.h: Likewise.
64560         * sysdeps/sh/sysdep.h: Likewise.
64561         * sysdeps/unix/sparc/sysdep.h: Likewise.
64562         * sysdeps/wordsize-32/divdi3.c: Likewise.
64563         * sysdeps/x86_64/sysdep.h: Likewise.
64565         * argp/Versions: Remove _argp_unlock_xxx.
64567         [BZ #13559]
64568         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
64569         * abilist/libBrokenLocale.abilist: Likewise.
64570         * abilist/libanl.abilist: Likewise.
64571         * abilist/libc.abilist: Likewise.
64572         * abilist/libcrypt.abilist: Likewise.
64573         * abilist/libdl.abilist: Likewise.
64574         * abilist/libm.abilist: Likewise.
64575         * abilist/libnsl.abilist: Likewise.
64576         * abilist/libpthread.abilist: Likewise.
64577         * abilist/libresolv.abilist: Likewise.
64578         * abilist/librt.abilist: Likewise.
64579         * abilist/libthread_db.abilist: Likewise.
64580         * abilist/libutil.abilist: Likewise.
64581         * abilist/libnss_db.abilist: New file.
64583         * scripts/abilist.awk: Add support for indirect functions.
64585         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
64587         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
64589         * shlib-versions: Remove entries for ports architectures.
64591         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
64592         files in ports.
64593         * elf/stackguard-macros.h: Remove support for IA-64.
64594         * elf/tst-auditmod1.c: Likewise.
64595         * sysdeps/generic/ldsodefs.h: Likewise.
64597         * sysdeps/unix/sysv/linux/configure.in: Ports should define
64598         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
64599         configure files.
64601         [BZ #13552]
64602         * configure.in: Remove --enable-omitfp support.
64603         * FAQ.in: Adjust.
64604         * config.make.in: Likewise.
64605         * Makeconfig: Likewise.
64606         * manual/install.texi: Likewise.
64608         In case anyone cares, the IA-64 architecture could move to ports.
64609         * sysdeps/ia64/*: Removed.
64610         * sysdeps/unix/sysv/linux/ia64/*: Removed.
64611         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
64613         [BZ #13555]
64614         * configure.in: Remove entries for unsupported architectures.
64616         [BZ #13533]
64617         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
64618         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
64619         routines.
64620         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
64621         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
64622         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
64623         fall back to using wcrtomb.
64624         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
64625         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
64626         renaming.
64627         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
64628         * wcsmbs/tst-c16c32-1.c: New file.
64630         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
64631         local variable.
64633         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
64635         * elf/tst-unique3.cc: Add explicit declaration of gets.
64636         * elf/tst-unique3lib.cc: Likewise.
64637         * elf/tst-unique3lib2.cc: Likewise.
64638         * elf/tst-unique4.cc: Likewise.
64640         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
64642 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
64644         [BZ #13566]
64645         * assert/assert.h (static_assert): Don't define for C++.
64646         * libio/stdio.h (gets): Do declare for C++ <= C++11.
64647         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
64649 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
64651         * iconv/loop.c (single loop): Fix assertion in storing of
64652         remaining bytes.
64654         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
64656 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
64658         * posix/getconf.c: Update copyright year.
64659         * nss/getent.c: Likewise.
64660         * nss/makedb.c: Likewise.
64661         * iconv/iconvconfig.c: Likewise.
64662         * iconv/iconv_prog.c: Likewise.
64663         * elf/ldconfig.c: Likewise.
64664         * elf/pldd.c: Likewise.
64665         * elf/sotruss.ksh: Likewise.
64666         * catgets/gencat.c: Likewise.
64667         * csu/version.c: Likewise.
64668         * elf/ldd.bash.in: Likewise.
64669         * elf/sprof.c (print_version): Likewise.
64670         * locale/programs/locale.c: Likewise.
64671         * locale/programs/localedef.c: Likewise.
64672         * login/programs/pt_chown.c: Likewise.
64673         * nscd/nscd.c (print_version): Likewise.
64674         * debug/xtrace.sh: Likewise.
64675         * malloc/memusage.sh: Likewise.
64676         * malloc/mtrace.pl: Likewise.
64677         * debug/catchsegv.sh: Likewise.
64679 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
64681         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
64682         pure attribute.
64684 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
64686         [BZ #13533]
64687         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
64688         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
64689         transformations.
64690         * iconv/gconv_int.h: Likewise.
64691         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
64692         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
64693         from libc for GLIBC_2.16.
64694         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
64695         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
64696         * wcsmbs/uchar.h: Really define mbstate_t.
64697         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
64698         * wcsmbs/c16rtomb.c: New file.
64699         * wcsmbs/mbrtoc16.c: New file.
64700         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
64701         for C/POSIX locale.
64702         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
64703         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
64705         * wcsmbs/wchar.h: Add missing __restrict.
64707 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
64709         [BZ #13532]
64710         * time/Makefile (routines): Add timespec_get.
64711         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
64712         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
64713         timespec for ISO C11.
64714         * time/timespec_get.c: New file.
64715         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
64716         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
64718         [BZ #13531]
64719         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
64720         * stdlib/stdlib.h: Declare aligned_alloc.
64721         * Versions.def: Add GLIBC_2.16 for libc.
64722         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
64724         [BZ 13527]
64725         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
64726         ISO C11.
64728         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
64729         code.
64731         [BZ #13528]
64732         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
64734         [BZ #13529]
64735         * assert/assert.h (static_assert): Define.
64737         * version.h: Update for 2.16 development version.
64739         [BZ #13526]
64740         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
64741         _ISOC11_SOURCE.
64743         * version.h (RELEASE): Bump for 2.15 release.
64744         * include/features.h (__GLIBC_MINOR__): Bump to 15.
64746         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
64747         Patch by Marek Polacek <mpolacek@redhat.com>.
64749         * bits/byteswap.h: Protect long long constants with __extension__.
64750         * sysdeps/i386/bits/byteswap.h: Likewise.
64751         * sysdeps/ia64/bits/byteswap.h: Likewise.
64752         * sysdeps/s390/bits/byteswap.h: Likewise.
64753         * sysdeps/x86_64/bits/byteswap.h: Likewise.
64755 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
64757         [BZ #13540]
64758         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
64759         destination buffer.
64760         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
64762 2011-12-23  Marek Polacek  <polacek@redhat.com>
64764         * elf/dl-addr.c (determine_info): Add inline keyword.
64765         * elf/tst-auditmod4b.c (check_avx): Likewise.
64766         * elf/tst-auditmod6b.c (check_avx): Likewise.
64767         * elf/tst-auditmod6c.c (check_avx): Likewise.
64768         * elf/tst-auditmod7b.c (check_avx): Likewise.
64770 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
64772         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
64773         !__SSE_MATH__.
64775 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
64777         [BZ #13540]
64778         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
64779         processing for last bytes.
64781 2011-08-06  Bruno Haible  <bruno@clisp.org>
64783         [BZ #13061]
64784         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
64785         U+0385, not to U+1FEE.
64787         [BZ #13062]
64788         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
64789         entry for U+00A5 U+0301.
64791 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
64793         [BZ #13166]
64794         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
64795         buffer for the output is too small.
64797         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
64798         optimization.
64800         [BZ #13185]
64801         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
64802         SSE flags if possible.
64804 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
64806         [BZ #13540]
64807         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
64808         processing for last bytes.
64810 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
64812         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
64813         (syscall-list-default-options, syscall-list-default-condition)
64814         (syscall-list-includes): Define.
64815         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
64816         list of ABIs and options and #if conditions for each ABI.  Do not
64817         handle common syscalls between ABIs specially.
64818         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
64819         Remove.
64820         (syscall-list-variants, syscall-list-32bit-options)
64821         (syscall-list-32bit-condition, syscall-list-64bit-options)
64822         (syscall-list-64bit-condition): Define.
64823         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
64824         (syscall-list-variants, syscall-list-32bit-options)
64825         (syscall-list-32bit-condition, syscall-list-64bit-options)
64826         (syscall-list-64bit-condition): Define.
64827         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
64828         Remove.
64829         (syscall-list-variants, syscall-list-32bit-options)
64830         (syscall-list-32bit-condition, syscall-list-64bit-options)
64831         (syscall-list-64bit-condition): Define.
64832         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
64833         Remove.
64834         (syscall-list-variants, syscall-list-32bit-options)
64835         (syscall-list-32bit-condition, syscall-list-64bit-options)
64836         (syscall-list-64bit-condition): Define.
64838 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
64840         * locale/iso-639.def: Add brx entry.
64842         [BZ #13328]
64843         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
64844         Proposed by Mariusz_Cukr <marcukr@op.pl>.
64846         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
64847         __feraiseexcept_renamed.
64849 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
64851         [BZ #13538]
64852         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
64853         EPOLLET with unsigned values.
64854         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
64855         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
64857         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
64858         to large cancellation.
64859         * math/s_cacoshf.c: Likewise.
64860         * math/s_cacoshl.c: Likewise.
64862 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
64864         [BZ #13305]
64865         [BZ #12786]
64866         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
64867         * math/s_cacoshf.c: Likewise.
64868         * math/s_cacoshl.c: Likewise.
64870 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
64872         [BZ #13439]
64873         * iconv/gconv.h: Define __GCONV_SWAP.
64874         * iconvdata/unicode.c: The swap bit must be stored in __flags.
64875         * iconvdata/utf-16.c: Likewise.
64876         * iconvdata/utf-32.c: Likewise.
64878 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
64880         [BZ #13524]
64881         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
64882         numerator after shifting it by one limb.
64884 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
64886         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
64887         under [__USE_EXTERN_INLINES].
64889 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
64891         [BZ #13446]
64892         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
64894 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64896         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
64897         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
64898         optimized code.
64899         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
64900         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
64901         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
64902         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
64903         for strncasecmp/strncasecmp_l compilation.
64904         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
64905         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
64907 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
64909         [BZ #13484]
64910         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
64911         of __asm__.
64913 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
64915         [BZ #13506]
64916         * time/tzfile.c (__tzfile_read): Check values from file header.
64918 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
64920         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
64921         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
64922         * powerpc/powerpc32/dl-start.S: Likewise.
64923         * powerpc/powerpc32/elf/start.S: Likewise.
64924         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
64925         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
64926         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
64927         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
64928         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
64929         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
64930         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
64931         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
64932         * powerpc/powerpc32/fpu/s_round.S: Likewise.
64933         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
64934         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
64935         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
64936         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
64937         * powerpc/powerpc32/memset.S: Likewise.
64938         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
64939         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
64940         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
64941         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
64942         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
64943         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
64944         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
64945         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
64946         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
64947         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
64948         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
64949         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
64950         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
64952 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64954         * math/libm-test.inc: Added more nearbyint tests.
64955         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
64956         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
64957         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
64958         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
64960 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
64962         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
64963         FD_CLOEXEC.
64965 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
64967         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
64968         Add wcscpy-ssse3 wcscpy-c.
64969         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
64970         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
64971         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
64972         * sysdeps/x86_64/wcschr.S: New file.
64973         * sysdeps/x86_64/wcsrchr.S: New file.
64974         * string/test-strcmp.c: Remove checking of wcscmp function for
64975         wrong alignments.
64976         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
64977         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
64978         wcsrchr-sse2 wcsrchr-c.
64979         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
64980         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
64981         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
64982         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
64983         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
64984         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
64985         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
64986         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
64987         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
64988         * wcsmbc/wcschr.c (WCSCHR): New macro.
64990 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
64992         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
64993         * wcsmbs/test-wcsrchr.c: New file.
64994         * string/test-strrchr.c: Add wcsrchr support.
64995         (WIDE): New macro.
64996         * wcsmbs/test-wcscpy.c: New file.
64997         * string/test-strcpy.c: Add wcscpy support.
64998         (WIDE): New macro.
65000 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
65002         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
65003         the inner loop.
65005 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
65007         [BZ #13472]
65008         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
65010 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
65012         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
65013         Minor optimizations.
65015         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
65016         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
65017         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
65019 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
65021         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
65022         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
65023         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
65024         for gcc to avoid warnings.
65025         * inet/Makefile (tests): Add tst-checks.
65026         * inet/tst-checks.c: New file.
65028         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
65029         warning.
65031         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
65032         __wmemcmp_sse2.
65034         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
65035         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
65037         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
65039 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
65041         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
65042         problem.
65044         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
65046 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
65048         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
65049         conditional on GCC version.
65050         (__arch_compare_and_exchange_val_8_acq)
65051         (__arch_compare_and_exchange_val_16_acq)
65052         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
65053         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
65054         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
65056 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
65058         * sysdeps/sh/backtrace.c: New file.
65060 2011-12-02  Andreas Schwab  <schwab@redhat.com>
65062         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
65063         parenthesis.
65065 2011-12-01  Andreas Schwab  <schwab@redhat.com>
65067         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
65068         falling back to utime.
65070 2011-11-30  Andreas Schwab  <schwab@redhat.com>
65072         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
65073         expectations for float.
65075 2011-11-29  Andreas Schwab  <schwab@redhat.com>
65077         * locale/weight.h (findidx): Add parameter len.
65078         * locale/weightwc.h (findidx): Likewise.
65079         * posix/fnmatch_loop.c (FCT): Adjust caller.
65080         * posix/regcomp.c (build_equiv_class): Likewise.
65081         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
65082         * posix/regexec.c (check_node_accept_bytes): Likewise.
65083         * string/strcoll_l.c (STRCOLL): Likewise.
65084         * string/strxfrm_l.c (STRXFRM): Likewise.
65086 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
65088         * Makefile.in: Remove CVSOPT handling.
65089         * configure.in: Remove use of AC_REVISION.
65090         * iconvdata/Makefile (distribute): No need to filter out CVS.
65091         * scripts/list-sources.sh: Remove CVS, subversion and monotone
65092         handling.
65094 2011-11-16  Andreas Schwab  <schwab@redhat.com>
65096         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
65097         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
65098         [USE_AS_STRNCASECMP_L]: Likewise.
65099         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
65100         NO_TLS_DIRECT_SEG_REFS.
65101         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
65102         Fix argument offsets for non-PIC.
65103         [USE_AS_STRNCASECMP_L]: Likewise.
65104         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
65105         NO_TLS_DIRECT_SEG_REFS.
65107 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
65109         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
65110         O_CLOEXEC.
65111         * locale/loadlocale.c (_nl_load_locale): Likewise.
65113 2011-11-15  Andreas Schwab  <schwab@redhat.com>
65115         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
65116         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
65117         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
65118         (SYSCALL_GETTIME): Set errno on error.
65120         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
65121         count references to noai6ai_cached.
65123 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
65125         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
65127         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
65128         FD_CLOEXEC for /proc/self/maps.
65130         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
65131         FD_CLOEXEC for /proc/meminfo.
65133         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
65134         gai.conf.
65136         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
65137         FD_CLOEXEC for given file.
65139         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
65141         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
65142         FD_CLOEXEC for /etc/hosts.
65143         (_gethtent): Likewise.
65145         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
65147         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
65148         cancellation and set FD_CLOEXEC for /etc/netgroup.
65150         * nss/nss_files/files-key.c (search): Don't allow cancellation when
65151         reading /etc/publickey.
65153         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
65154         allow cancellation when reading /etc/group.
65156         * nss/nss_files/files-alias.c (internal_setent): Don't allow
65157         cancellation.
65158         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
65160         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
65161         when using data file.
65163         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
65165         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
65166         (write_nis_obj): Use "c" and "e" in fopen.
65168         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
65170         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
65172         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
65174         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
65176         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
65177         locale.alias.
65179         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
65181         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
65183         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
65185         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
65186         file parsing and set FD_CLOEXEC.
65188 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
65190         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
65192 2011-11-14  Andreas Schwab  <schwab@redhat.com>
65194         * malloc/arena.c (arena_get2): Don't call reused_arena when
65195         _int_new_arena failed.
65197 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
65199         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
65200         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
65201         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
65202         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
65203         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
65204         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
65205         to compile strcasecmp and strncasecmp.
65206         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
65207         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
65209         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
65211 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
65213         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
65214         locale-defines.sym to gen-as-const-headers.
65215         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
65216         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
65217         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
65218         to compile strcasecmp and strncasecmp.
65219         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
65220         strcasecmp_l and strncasecmp_l.
65221         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
65222         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
65223         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
65224         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
65225         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
65226         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
65227         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
65228         * sysdeps/i386/i686/multiarch/strncase.S: New file.
65229         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
65230         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
65231         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
65233 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
65235         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
65236         result of SYSDEP_GETTIME_CPU to retval.
65237         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
65238         parameter list to macro.  Remove trailing semicolon.  Adjust users.
65240         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
65241         variable.
65243         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
65244         mantissa words.
65245         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
65247         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
65248         from unused variable.
65250         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
65251         DWARF definitions.
65252         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
65253         for assembling.
65255         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
65256         over namespaces.
65258         * sunrpc/rpc_prot.c (rejected): Fix case value.
65260         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
65261         unsigned long long int to avoid warnings in shift.
65263         * posix/regex_internal.c (re_string_reconstruct): Actually use result
65264         of use of trans.
65265         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
65266         variable tmp.
65268         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
65269         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
65270         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
65272         * nis/nis_table.c (nis_list): Use variable of correct type for
65273         result of __follow_path call.
65275 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65277         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
65278         of math functions ceil, trunc, floor, round, and sqrt, when
65279         avaliable on the platform.
65280         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
65281         name clash.
65282         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
65283         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
65284         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
65286 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
65288         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
65289         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
65291 2011-11-11  Roland McGrath  <roland@hack.frob.com>
65293         * include/unistd.h: Fix __readlink return type.
65294         Reported by Chris Metcalf <cmetcalf@tilera.com>.
65296 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
65298         * stdlib/ucontext.h: Undo last change for makecontext.
65300 2011-11-11  Andreas Schwab  <schwab@redhat.com>
65302         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
65304         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
65305         * setjmp/setjmp.h: Mark functions as non-leaf.
65306         * setjmp/bits/setjmp2.h: Likewise.
65307         * stdlib/ucontext.h: Likewise.
65309 2011-11-10  Andreas Schwab  <schwab@redhat.com>
65311         * malloc/arena.c (_int_new_arena): Don't increment narenas.
65312         (reused_arena): Don't check arena limit.
65313         (arena_get2): Atomically check arena limit.
65315 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
65317         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
65318         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
65320         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
65321         instructions.
65323 2011-11-07  Andreas Schwab  <schwab@redhat.com>
65325         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
65326         handler when locking.
65328         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
65329         Fix size of allocated buffer.
65331 2011-11-04  Andreas Schwab  <schwab@redhat.com>
65333         [BZ #10103]
65334         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
65335         declarations for long double functions.
65336         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
65338         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
65340 2011-11-03  Andreas Schwab  <schwab@redhat.com>
65342         * nscd/nscd.c (main): Don't start AVC thread until credentials are
65343         installed.
65345         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
65346         is disabled.
65348 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
65350         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
65352 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
65354         * include/alloca.h (stackinfo_alloca_round): Define.
65355         (extend_alloca): Use it.
65356         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
65357         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
65358         here.
65360         * scripts/check-local-headers.sh: Ignore libaudit.h.
65362         * nscd/Makefile (extra-objs): Make recursively expanded.
65364 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
65366         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
65367         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
65369         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
65370         * posix/tst-rfc3484-2.c: Likewise.
65371         * posix/tst-rfc3484-3.c: Likewise.
65373         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
65374         process_vm_writev.
65375         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
65376         process_vm_writev.
65377         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
65378         process_vm_writev from libc using GLIBC_2.15 version.
65380         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
65382 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
65384         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
65385         stack usage.
65387 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
65389         [BZ #13367]
65390         * nss/getent.c (initgroups_keys): Show error message in case no group
65391         names are given.
65393         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
65394         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
65395         __bump_nl_timestamp.
65396         * nscd/connections (nscd_init): When host database is served open
65397         netlink socket and request notification about configuration changes.
65398         (main_loop_poll): Track netlink file descriptor and bump timestamp
65399         in case data becomes available.
65400         (main_loop_epoll): Likewise.
65401         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
65402         (database_pers_head): Add extra_data fileds.
65403         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
65404         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
65405         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
65406         Adjust caller.
65407         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
65408         in6ai data, call __free_in6ai.
65409         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
65410         Add -DHAVE_NETLINK.
65411         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
65412         interface information.  Reuse previous data if netlink timestamp
65413         is not changed.
65414         (__bump_nl_timestamp): New function.
65415         (__free_in6ai): New function.
65417 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
65419         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
65420         close_not_cancel_no_status here.
65421         (__check_pf): Reorganize code a bit to not call close twice if OOM.
65423 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
65425         [BZ #13276]
65426         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
65427         return value.
65429         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
65430         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
65431         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
65433 2011-07-03  Andreas Jaeger  <aj@suse.de>
65435         [BZ #10709]
65436         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
65437         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
65438         * math/libm-test.inc (sin_test): Add test case.
65440 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
65442         [BZ #13337]
65443         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
65444         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
65446         * elf/chroot_canon.c (chroot_canon): Cleanups.
65448         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
65450         [BZ #13335]
65451         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
65452         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
65454         * string/test-strchr.c: Make usable for strchrnul testing.
65455         * string/test-strchrnul.c: New file.
65456         * string/Makefile (strop-tests): Add strchrnul.
65458         * po/it.po: Update from translation team.
65459         * po/es.po: Likewise.
65461 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
65463         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
65464         the three constants needed as parameters.  Drop the others.
65465         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
65466         __m128i_strloadu_tolower.
65467         Create and initialize variable zero and use it in all the places
65468         where _mm_setzero_si128 was used.
65470         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
65471         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
65472         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
65473         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
65474         anymore.
65475         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
65476         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
65477         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
65478         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
65479         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
65480         __mpranred, __mptan.
65481         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
65482         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
65483         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
65484         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
65485         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
65486         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
65487         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
65488         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
65489         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
65491 2011-10-28  Andreas Schwab  <schwab@redhat.com>
65493         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
65494         redefine if SHARED.
65495         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
65497         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
65498         wide char related routines to wcsmbs subdir.
65500 2011-10-27  Andreas Schwab  <schwab@redhat.com>
65502         [BZ #13344]
65503         * misc/sys/cdefs.h (__THROWNL): Define.
65504         * posix/unistd.h: Use __THREADNL instead of __THREAD
65505         for memory synchronization functions.
65507 2011-10-26  Roland McGrath  <roland@hack.frob.com>
65509         [BZ #13349]
65510         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
65511         doesn't exist.
65512         * manual/stdio.texi (Obstack Streams): Node removed.
65514 2011-10-26  Andreas Schwab  <schwab@redhat.com>
65516         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
65517         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
65518         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
65520         * math/math_private.h (math_force_eval): Allow non-addressable
65521         arguments.
65522         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
65524 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
65526         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
65527         file is not needed.
65529         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
65530         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
65531         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
65532         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
65533         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
65534         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
65535         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
65536         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
65537         Add AVX variants.
65538         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
65539         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
65540         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
65541         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
65542         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
65543         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
65544         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
65545         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
65546         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
65547         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
65548         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
65549         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
65550         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
65551         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
65552         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
65553         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
65554         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
65555         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
65556         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
65558         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
65559         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
65561         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
65562         place.  Use VEX encoding when compiling for AVX.
65564 2011-10-25  Andreas Schwab  <schwab@redhat.com>
65566         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
65567         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
65569         * string/test-strchr.c (do_test): Don't generate NUL bytes.
65571 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
65573         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
65574         useless if() expression.
65575         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
65576         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
65577         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
65578         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
65579         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
65580         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
65581         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
65582         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
65583         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
65584         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
65585         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
65586         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
65587         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
65588         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
65589         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
65590         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
65591         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
65592         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
65593         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
65595         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
65597 2011-10-25  Andreas Schwab  <schwab@redhat.com>
65599         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
65600         condition.
65601         * elf/dl-fini.c (_dl_sort_fini): Likewise.
65603 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
65605         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
65606         .text section.  Avoid duplicate constants.
65607         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
65608         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
65609         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
65610         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
65611         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
65612         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
65613         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
65614         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
65615         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
65616         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
65617         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
65618         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
65619         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
65620         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
65621         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
65622         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
65623         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
65624         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
65625         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
65626         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
65627         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
65628         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
65629         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
65630         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
65631         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
65632         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
65633         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
65634         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
65635         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
65636         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
65637         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
65638         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
65639         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
65640         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
65641         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
65642         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
65643         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
65644         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
65645         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
65646         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
65647         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
65648         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
65649         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
65650         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
65651         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
65653 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
65655         * sysdeps/x86_64/dla.h: Move to ...
65656         * sysdeps/x86_64/fpu/dla.h: ...here.
65657         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
65658         situations.  Use __builtin_fma only for gcc 4.6 and up.
65660         * config.make.in: Add have-mfma4 entry.
65661         * configure.in: Substitute libc_cv_cc_fma4.
65662         * math/Makefile (dbl-only-routines): Add sincostab.
65663         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
65664         Use __sincostab not sincos.
65665         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
65666         name is a macro.
65667         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
65668         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
65669         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
65670         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
65671         using __copysign.
65672         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
65673         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
65674         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
65675         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
65676         and __inv.
65677         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
65678         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
65679         __copysign.
65680         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
65681         define aliases when function name is a macro.
65682         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
65683         sysdeps/ieee754/dbl-64/sincos.tbl.
65684         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
65685         fma4-enabled routines.
65686         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
65687         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
65688         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
65689         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
65690         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
65691         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
65692         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
65693         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
65694         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
65695         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
65696         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
65697         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
65698         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
65699         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
65700         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
65701         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
65702         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
65703         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
65704         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
65705         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
65706         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
65707         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
65708         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
65709         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
65710         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
65711         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
65712         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
65713         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
65714         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
65715         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
65717         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
65718         rename.
65719         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
65720         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
65721         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
65722         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
65723         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
65724         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
65725         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
65726         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
65728 2011-10-24  Andreas Schwab  <schwab@redhat.com>
65730         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
65732 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
65734         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
65736         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
65737         prediction.
65738         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
65740         * string/strnlen.c: Don't define STRNLEN, reverse logic.
65741         Remove unused variable magic_bits.
65742         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
65744         * string/strnlen.c: Define and use STRNLEN macro.
65745         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
65746         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
65747         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
65748         * wcsmbs/wcslen.c: Define and use WCSLEN.
65749         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
65750         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
65751         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
65752         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
65753         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
65754         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
65755         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
65757 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
65759         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
65760         strnlen-sse2-no-bsf.
65761         Rename strlen-no-bsf to strlen-sse2-no-bsf.
65762         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
65763         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
65764         Add strnlen support.
65765         (USE_AS_STRNLEN): New macro.
65766         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
65767         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
65768         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
65769         * sysdeps/x86_64/wcslen.S: New file.
65771 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
65773         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
65774         XMM-moves are used for copying on small sizes.
65776 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
65778         * wcsmbs/Makefile (strop-tests): Add wcschr.
65779         * wcsmbs/test-wcschr.c: New file.
65780         * string/test-strchr.c: Update.
65781         Add wcschr support.
65782         (WIDE): New macro.
65784 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
65786         * wcsmbs/Makefile (strop-tests): Add wcslen.
65787         * wcsmbs/test-wcslen.c: New file.
65788         * string/test-strlen.c: Update.
65789         Add wcslen support.
65790         (WIDE): New macro.
65792 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
65794         * po/it.po: Update from translation team.
65796 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
65798         * sysdeps/x86_64/wcscmp.S: Update.
65799         Fix wrong comparison semantics.
65800         wcscmp shall use signed comparison not unsigned.
65801         Don't use substraction to avoid overflow bug.
65802         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
65803         * wcsmbc/wcscmp.c: Likewise.
65804         * string/test-strcmp.c: Likewise.
65805         Add new tests to check cases with negative values.
65807 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
65809         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
65810         * sysdeps/x86_64/dla.h: ...here.  New file.
65811         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
65812         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
65813         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
65814         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
65815         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
65816         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
65817         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
65818         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
65819         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
65821 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
65823         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
65824         __ynl_finite aliases.
65826 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
65828         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
65830         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
65831         define DLA_FMA.
65832         [DLA_FMA] (EMULV): Use DLA_FMA.
65833         [DLA_FMA] (MUL12): Use EMULV.
65834         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
65835         that are not needed.
65836         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
65837         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
65838         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
65839         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
65840         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
65841         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
65842         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
65844 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
65846         * math/s_nan.c: Undef __nan.
65847         * math/s_nanf.c: Undef __nanf.
65848         * math/s_nanl.c: Undef __nanl.
65849         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
65850         "math_private.h".
65852 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
65854         * math/s_catan.c: Add branch predictions.
65855         * math/s_catanf.c: Likewise.
65856         * math/s_catanh.c: Likewise.
65857         * math/s_catanhf.c: Likewise.
65858         * math/s_catanhl.c: Likewise.
65859         * math/s_catanl.c: Likewise.
65860         * math/s_cexp.c: Likewise.
65861         * math/s_cexpf.c: Likewise.
65862         * math/s_cexpl.c: Likewise.
65863         * math/s_clog.c: Likewise.
65864         * math/s_clog10.c: Likewise.
65865         * math/s_clog10f.c: Likewise.
65866         * math/s_clog10l.c: Likewise.
65867         * math/s_clogf.c: Likewise.
65868         * math/s_clogl.c: Likewise.
65869         * math/s_csqrt.c: Likewise.
65870         * math/s_csqrtf.c: Likewise.
65871         * math/s_csqrtl.c: Likewise.
65872         * math/s_ctanf.c: Likewise.
65873         * math/s_ctanh.c: Likewise.
65874         * math/s_ctanhf.c: Likewise.
65875         * math/s_ctanhl.c: Likewise.
65876         * math/s_ctanl.c: Likewise.
65878         * math/math_private.h: Define __nan, __nanf, __nanl.
65879         * math/s_cacosh.c: Include <math_private.h>.
65880         * math/s_cacoshl.c: Likewise.
65881         * math/s_casinh.c: Likewise.
65882         * math/s_casinhf.c: Likewise.
65883         * math/s_casinhl.c: Likewise.
65884         * math/s_ccos.c: Rely entire on ccosh.
65885         * math/s_ccosf.c: Rely entire on ccoshf.
65886         * math/s_ccosl.c: Rely entirely on ccoshl.
65887         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
65888         Remove tests for FE_INVALID.
65889         * math/s_ccoshf.c: Likewise.
65890         * math/s_ccoshl.c: Likewise.
65891         * math/s_csin.c: Likewise.
65892         * math/s_csinf.c: Likewise.
65893         * math/s_csinh.c Likewise.
65894         * math/s_csinhf.c: Likewise.
65895         * math/s_csinhl.c: Likewise.
65896         * math/s_csinl.c: Likewise.
65897         * math/s_ctan.c: Likewise.
65898         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
65899         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
65900         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
65902 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
65904         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
65905         compilation problems.
65907         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
65908         __builtin_expect.
65910 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
65912         * sysdeps/i386/configure.in: Test for -mfma4 option.
65913         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
65914         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
65915         COMMON_CPUID_INDEX_80000001.
65916         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
65917         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
65918         use it if FMA3 is not supported.
65919         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
65921         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
65922         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
65924 2011-10-20  Andreas Schwab  <schwab@redhat.com>
65926         [BZ #12892]
65927         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
65928         it would create a cycle with a link time dependency.
65930 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
65932         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
65933         instruction.
65934         * string/Makefile (strop-tests): Add rawmemchr.
65935         * string/test-rawmemchr.c: New file.
65937         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
65938         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
65939         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
65940         when compiling str{,n}casecmp and when AVX is available.  Hook up
65941         new optimized code in initializers.
65943 2011-10-19  Andreas Schwab  <schwab@redhat.com>
65945         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
65946         __feraiseexcept instead of feraiseexcept.
65948 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
65950         * math/math_private.h: Define defaults for libc_fetestexcept and
65951         libc_feupdateenv.
65952         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
65953         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
65954         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
65955         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
65956         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
65957         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
65958         libc_fetestexcept and libc_feupdateenv.
65960         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
65961         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
65962         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
65963         * sysdeps/x86_64/fpu/math_private.h: Define special version of
65964         libc_feholdexcept_setround.
65966         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
65967         Add s_nearbyint-c and s_nearbyintf-c.
65968         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
65969         nearbyintf inlines.
65970         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
65971         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
65972         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
65973         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
65975         * math/math_private.h: Define defaults for libc_fegetround,
65976         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
65977         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
65978         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
65979         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
65980         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
65981         standard functions.
65982         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
65983         Remove comments and hacks for old compiler versions.
65984         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
65985         libc_fegetround, libc_fesetround, libc_feholdexcept, and
65986         libc_feholdexceptl.
65988 2011-10-18  Andreas Schwab  <schwab@redhat.com>
65990         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
65991         (__feraiseexcept_renamed): Add __NTH.
65992         (feraiseexcept): Add __NTH.  Rename local variables to fix
65993         namespace violations.
65995 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
65997         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
65999         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
66001         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
66002         recently added interfaces.
66003         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
66005         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
66006         about macro parameter expansion.
66008         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
66009         __NO_MATH_INLINES is defined.  Cleanups.
66011         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
66012         and __floorf is target has SSE4.1.
66013         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
66014         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
66015         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
66016         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
66018         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
66019         name.
66020         (floorf): Likewise.
66022         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
66024 2011-10-17  Andreas Schwab  <schwab@redhat.com>
66026         * misc/sys/cdefs.h: Fix last change.
66028         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
66029         database lookup.
66031 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
66033         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
66035         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
66036         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
66037         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
66038         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
66039         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
66040         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
66041         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
66042         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
66043         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
66044         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
66045         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
66046         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
66047         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
66048         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
66049         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
66050         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
66051         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
66052         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
66053         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
66054         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
66055         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
66056         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
66058         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
66059         ceil, ceilf, floor, floorf.
66061         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
66062         Perform IRELATIVE relocations last.
66064         * elf/do-rel.h: Add another parameter nrelative, replacing the
66065         local variable with the same name.  Change name of the function
66066         to end in Rel or Rela (uppercase).
66067         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
66068         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
66069         elf_dynamic_do_##reloc function.
66071 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
66073         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
66074         is sufficient, at least on modern CPUs.
66076         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
66078         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
66079         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
66081         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
66082         __expl_finite.
66083         * math/bits/math-finite.h: Add entries for exp.
66084         * math/e_expl.c: Add __*_finite alias.
66085         * sysdeps/i386/fpu/e_exp.S: Likewise.
66086         * sysdeps/i386/fpu/e_expf.S: Likewise.
66087         * sysdeps/i386/fpu/e_expl.c: Likewise.
66088         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
66089         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
66090         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
66091         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
66092         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
66093         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
66094         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
66096         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
66097         is sufficient, at least on modern CPUs.
66099         * ctype/ctype-info.c (__ctype_init): Define.
66100         * include/ctype.h (__ctype_init): Declare.
66101         (__ctype_b_loc): The variable is always initialized.
66102         (__ctype_toupper_loc): Likewise.
66103         (__ctype_tolower_loc): Likewise.
66104         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
66105         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
66107 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
66109         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
66111         * configure.in: Also look in $cxxmachine/include for C++ system
66112         headers.
66114 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
66116         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
66117         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
66118         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
66119         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
66120         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
66121         (USE_AS_WMEMCMP): New macro.
66122         Fixing indents.
66123         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
66124         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
66125         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
66126         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
66127         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
66128         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
66129         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
66130         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
66131         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
66132         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
66133         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
66134         (USE_AS_WMEMCMP): New macro.
66135         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
66136         * sysdeps/string/test-memcmp.c: Update.
66137         Fix simple_wmemcmp.
66138         Add new tests.
66139         * wcsmbs/wmemcmp.c: Update.
66140         (WMEMCMP): New macro.
66141         Fix overflow bug.
66143 2011-10-12  Andreas Jaeger  <aj@suse.de>
66145         [BZ #13268]
66146         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
66148 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
66150         * libio/iofwide.c (do_length): Avoid warning.
66152         * ctype/ctype.h (__isctype_f): Add missing __THROW.
66154 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
66156         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
66158         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
66159         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
66160         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
66161         * sysdeps/i386/i686/fpu/e_log.S: New file.
66162         * sysdeps/i386/i686/fpu/e_logf.S: New file.
66163         * sysdeps/i386/i686/fpu/e_logl.S: New file.
66165         * ctype/ctype.h: Add support for inlined isXXX functions when
66166         compiling C++ code.
66168 2011-10-14  Andreas Schwab  <schwab@redhat.com>
66170         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
66172         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
66174 2011-10-13  Roland McGrath  <roland@hack.frob.com>
66176         [BZ #13291]
66177         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
66179 2011-10-13  Andreas Schwab  <schwab@redhat.com>
66181         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
66182         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
66183         feraiseexcept.
66185         * sysdeps/x86_64/memrchr.S: Check for zero size.
66187         * string/stratcliff.c: Add memrchr tests.
66189 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
66191         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
66192         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
66193         rawmemchr-sse2 rawmemchr-sse2-bsf.
66194         * sysdeps/i386/i686/multiarch/memchr.S: New file.
66195         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
66196         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
66197         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
66198         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
66199         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
66200         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
66201         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
66202         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
66203         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
66204         * string/memrchr.c (MEMRCHR): New macro.
66206 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
66208         Add integration with gcc's -ffinite-math-only and optimize wrapper
66209         functions in libm.
66210         * Versions.def: Define GLIBC_2.15 version for libm.
66211         * math/Makefile (headers): Add bits/math-finite.h.
66212         * math/bits/math-finite.h: New file.
66213         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
66214         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
66215         * math/e_acoshl.c: Add __*_finite alias.
66216         * math/e_acosl.c: Likewise.
66217         * math/e_asinl.c: Likewise.
66218         * math/e_atan2l.c: Likewise.
66219         * math/e_atanhl.c: Likewise.
66220         * math/e_coshl.c: Likewise.
66221         * math/e_exp10.c: Likewise.
66222         * math/e_exp10f.c: Likewise.
66223         * math/e_exp10l.c: Likewise.
66224         * math/e_exp2l.c: Likewise.
66225         * math/e_fmodl.c: Likewise.
66226         * math/e_gammal_r.c: Likewise.
66227         * math/e_hypotl.c: Likewise.
66228         * math/e_j0l.c: Likewise.
66229         * math/e_j1l.c: Likewise.
66230         * math/e_jnl.c: Likewise.
66231         * math/e_lgammal_r.c: Likewise.
66232         * math/e_log10l.c: Likewise.
66233         * math/e_log2l.c: Likewise.
66234         * math/e_logl.c: Likewise.
66235         * math/e_powl.c: Likewise.
66236         * math/e_sinhl.c: Likewise.
66237         * math/e_sqrtl.c: Likewise.
66238         * math/e_scalb.c: Completely rewritten and optimized.
66239         * math/e_scalbf.c: Likewise.
66240         * math/e_scalbl.c: Likewise.
66241         * math/w_acos.c: Likewise.
66242         * math/w_acosf.c: Likewise.
66243         * math/w_acosl.c: Likewise.
66244         * math/w_acosh.c: Likewise.
66245         * math/w_acoshf.c: Likewise.
66246         * math/w_acoshl.c: Likewise.
66247         * math/w_asin.c: Likewise.
66248         * math/w_asinf.c: Likewise.
66249         * math/w_asinl.c: Likewise.
66250         * math/w_atan2.c: Likewise.
66251         * math/w_atan2f.c: Likewise.
66252         * math/w_atan2l.c: Likewise.
66253         * math/w_atanh.c: Likewise.
66254         * math/w_atanhf.c: Likewise.
66255         * math/w_atanhl.c: Likewise.
66256         * math/w_exp10.c: Likewise.
66257         * math/w_exp10f.c: Likewise.
66258         * math/w_exp10l.c: Likewise.
66259         * math/w_fmod.c: Likewise.
66260         * math/w_fmodf.c: Likewise.
66261         * math/w_fmodl.c: Likewise.
66262         * math/w_j0.c: Likewise.
66263         * math/w_j0f.c: Likewise.
66264         * math/w_j0l.c: Likewise.
66265         * math/w_j1.c: Likewise.
66266         * math/w_j1f.c: Likewise.
66267         * math/w_j1l.c: Likewise.
66268         * math/w_jn.c: Likewise.
66269         * math/w_jnf.c: Likewise.
66270         * math/w_log.c: Likewise.
66271         * math/w_logf.c: Likewise.
66272         * math/w_logl.c: Likewise.
66273         * math/w_log10.c: Likewise.
66274         * math/w_log10f.c: Likewise.
66275         * math/w_log10l.c: Likewise.
66276         * math/w_log2.c: Likewise.
66277         * math/w_log2f.c: Likewise.
66278         * math/w_log2l.c: Likewise.
66279         * math/w_pow.c: Likewise.
66280         * math/w_powf.c: Likewise.
66281         * math/w_powl.c: Likewise.
66282         * math/w_remainder.c: Likewise.
66283         * math/w_remainderf.c: Likewise.
66284         * math/w_remainderl.c: Likewise.
66285         * math/w_scalb.c: Likewise.
66286         * math/w_scalbf.c: Likewise.
66287         * math/w_scalbl.c: Likewise.
66288         * math/w_sqrt.c: Likewise.
66289         * math/w_sqrtf.c: Likewise.
66290         * math/w_sqrtl.c: Likewise.
66291         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
66292         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
66293         used.
66294         * math/math_private.h: Declare __kernel_standard_f.
66295         * math/w_cosh.c: Remove cruft and optimize a bit.
66296         * math/w_coshf.c: Likewise.
66297         * math/w_coshl.c: Likewise.
66298         * math/w_exp2.c: Likewise.
66299         * math/w_exp2f.c: Likewise.
66300         * math/w_exp2l.c: Likewise.
66301         * math/w_hypot.c: Likewise.
66302         * math/w_hypotf.c: Likewise.
66303         * math/w_hypotl.c: Likewise.
66304         * math/w_lgamma.c: Likewise.
66305         * math/w_lgamma_r.c: Likewise.
66306         * math/w_lgammaf.c: Likewise.
66307         * math/w_lgammaf_r.c: Likewise.
66308         * math/w_lgammal.c: Likewise.
66309         * math/w_lgammal_r.c: Likewise.
66310         * math/w_sinh.c: Likewise.
66311         * math/w_sinhf.c: Likewise.
66312         * math/w_sinhl.c: Likewise.
66313         * math/w_tgamma.c: Likewise.
66314         * math/w_tgammaf.c: Likewise.
66315         * math/w_tgammal.c: Likewise.
66316         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
66317         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
66318         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
66319         Minor optimizations.  Pretty printing.  Remove cruft.
66320         * sysdeps/i386/fpu/e_acosf.S: Likewise.
66321         * sysdeps/i386/fpu/e_acosh.S: Likewise.
66322         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
66323         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
66324         * sysdeps/i386/fpu/e_acosl.c: Likewise.
66325         * sysdeps/i386/fpu/e_asin.S: Likewise.
66326         * sysdeps/i386/fpu/e_asinf.S: Likewise.
66327         * sysdeps/i386/fpu/e_atan2.S: Likewise.
66328         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
66329         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
66330         * sysdeps/i386/fpu/e_atanh.S: Likewise.
66331         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
66332         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
66333         * sysdeps/i386/fpu/e_exp10.S: Likewise.
66334         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
66335         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
66336         * sysdeps/i386/fpu/e_exp2.S: Likewise.
66337         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
66338         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
66339         * sysdeps/i386/fpu/e_fmod.S: Likewise.
66340         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
66341         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
66342         * sysdeps/i386/fpu/e_hypot.S: Likewise.
66343         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
66344         * sysdeps/i386/fpu/e_log.S: Likewise.
66345         * sysdeps/i386/fpu/e_log10.S: Likewise.
66346         * sysdeps/i386/fpu/e_log10f.S: Likewise.
66347         * sysdeps/i386/fpu/e_log10l.S: Likewise.
66348         * sysdeps/i386/fpu/e_log2.S: Likewise.
66349         * sysdeps/i386/fpu/e_log2f.S: Likewise.
66350         * sysdeps/i386/fpu/e_log2l.S: Likewise.
66351         * sysdeps/i386/fpu/e_logf.S: Likewise.
66352         * sysdeps/i386/fpu/e_logl.S: Likewise.
66353         * sysdeps/i386/fpu/e_pow.S: Likewise.
66354         * sysdeps/i386/fpu/e_powf.S: Likewise.
66355         * sysdeps/i386/fpu/e_powl.S: Likewise.
66356         * sysdeps/i386/fpu/e_remainder.S: Likewise.
66357         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
66358         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
66359         * sysdeps/i386/fpu/e_scalb.S: Likewise.
66360         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
66361         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
66362         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
66363         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
66364         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
66365         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
66366         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
66367         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
66368         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
66369         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
66370         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
66371         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
66372         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
66373         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
66374         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
66375         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
66376         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
66377         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
66378         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
66379         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
66380         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
66381         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
66382         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
66383         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
66384         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
66385         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
66386         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
66387         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
66388         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
66389         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
66390         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
66391         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
66392         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
66393         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
66394         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
66395         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
66396         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
66397         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
66398         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
66399         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
66400         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
66401         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
66402         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
66403         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
66404         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
66405         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
66406         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
66407         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
66408         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
66409         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
66410         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
66411         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
66412         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
66413         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
66414         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
66415         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
66416         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
66417         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
66418         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
66419         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
66420         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
66421         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
66422         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
66423         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
66424         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
66425         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
66426         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
66427         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
66428         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
66429         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
66430         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
66431         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
66432         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
66433         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
66434         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
66435         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
66436         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
66437         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
66438         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
66439         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
66440         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
66441         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
66442         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
66443         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
66444         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
66445         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
66446         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
66447         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
66448         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
66449         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
66450         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
66451         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
66452         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
66453         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
66454         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
66455         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
66456         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
66457         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
66458         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
66459         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
66460         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
66461         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
66462         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
66463         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
66464         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
66465         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
66466         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
66467         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
66468         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
66469         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
66470         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
66471         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
66472         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
66473         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
66474         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
66475         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
66476         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
66477         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
66478         (__isnanf): Likewise.
66479         (__isinf_ns): Likewise.
66480         (__isinf_nsf): Likewise.
66481         (__finite): Likewise.
66482         (__finitef): Likewise.
66483         (__ieee754_sqrt): Define as macro.
66484         (__ieee754_sqrtf): Define as macro.
66485         (__ieee754_sqrtl): Define as macro.
66486         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
66487         inlined copy.
66488         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
66489         __FINITE_MATH_ONLY__ consistent.
66490         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
66492 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
66494         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
66495         of rawmemchr.
66497         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
66499 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
66501         * po/ja.po: Update from translation team.
66503 2011-10-08  Roland McGrath  <roland@hack.frob.com>
66505         * locale/programs/locarchive.c (prepare_address_space): New function.
66506         (create_archive, enlarge_archive, open_archive): Use it.
66508         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
66509         inside [SHARED], where it is used.
66511         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
66513         * nss/getent.c (netgroup_keys): Remove unused variable.
66514         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
66516 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
66518         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
66519         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
66520         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
66521         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
66522         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
66523         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
66524         * math/Makefile (libm-calls): Add s_isinf_ns.
66525         * math/divtc3.c: Use __isinf_nsl instead of isinf.
66526         * math/multc3.c: Likewise.
66527         * math/s_casin.c: Likewise.
66528         * math/s_casinf.c: Likewise.
66529         * math/s_casinl.c: Likewise.
66530         * math/s_ccos.c: Likewise.
66531         * math/s_ccosf.c: Likewise.
66532         * math/s_ccosl.c: Likewise.
66533         * math/s_ctan.c: Likewise.
66534         * math/s_ctanf.c: Likewise.
66535         * math/s_ctanh.c: Likewise.
66536         * math/s_ctanhf.c: Likewise.
66537         * math/s_ctanhl.c: Likewise.
66538         * math/s_ctanl.c: Likewise.
66539         * math/w_fmod.c: Likewise.
66540         * math/w_fmodf.c: Likewise.
66541         * math/w_fmodl.c: Likewise.
66542         * math/w_remainder.c: Likewise.
66543         * math/w_remainderf.c: Likewise.
66544         * math/w_remainderl.c: Likewise.
66545         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
66546         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
66547         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
66548         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
66549         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
66550         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
66551         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
66552         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
66554         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
66555         of the number.
66556         * stdio-common/printf_fphex.c: Likewise.
66557         * stdio-common/printf_size.c: Likewise.
66559         * math/e_exp10.c: Include math_private.h using <...> not "...".
66560         * math/e_exp10f.c: Likewise.
66561         * math/e_exp10l.c: Likewise.
66562         * math/e_exp2l.c: Likewise.
66563         * math/e_j0l.c: Likewise.
66564         * math/e_j1l.c: Likewise.
66565         * math/e_jnl.c: Likewise.
66566         * math/e_lgammal_r.c: Likewise.
66567         * math/e_rem_pio2l.c: Likewise.
66568         * math/e_scalb.c: Likewise.
66569         * math/e_scalbf.c: Likewise.
66570         * math/e_scalbl.c: Likewise.
66571         * math/k_cosl.c: Likewise.
66572         * math/k_sinl.c: Likewise.
66573         * math/k_tanl.c: Likewise.
66574         * math/s_cacoshf.c: Likewise.
66575         * math/s_catan.c: Likewise.
66576         * math/s_catanf.c: Likewise.
66577         * math/s_catanh.c: Likewise.
66578         * math/s_catanhf.c: Likewise.
66579         * math/s_catanhl.c: Likewise.
66580         * math/s_catanl.c: Likewise.
66581         * math/s_ccosh.c: Likewise.
66582         * math/s_ccoshf.c: Likewise.
66583         * math/s_ccoshl.c: Likewise.
66584         * math/s_cexp.c: Likewise.
66585         * math/s_cexpf.c: Likewise.
66586         * math/s_cexpl.c: Likewise.
66587         * math/s_clog.c: Likewise.
66588         * math/s_clog10.c: Likewise.
66589         * math/s_clog10f.c: Likewise.
66590         * math/s_clog10l.c: Likewise.
66591         * math/s_clogf.c: Likewise.
66592         * math/s_clogl.c: Likewise.
66593         * math/s_csin.c: Likewise.
66594         * math/s_csinf.c: Likewise.
66595         * math/s_csinh.c: Likewise.
66596         * math/s_csinhf.c: Likewise.
66597         * math/s_csinhl.c: Likewise.
66598         * math/s_csinl.c: Likewise.
66599         * math/s_csqrt.c: Likewise.
66600         * math/s_csqrtf.c: Likewise.
66601         * math/s_csqrtl.c: Likewise.
66602         * math/s_ctan.c: Likewise.
66603         * math/s_ctanf.c: Likewise.
66604         * math/s_ctanh.c: Likewise.
66605         * math/s_ctanhf.c: Likewise.
66606         * math/s_ctanhl.c: Likewise.
66607         * math/s_ctanl.c: Likewise.
66608         * math/s_ldexp.c: Likewise.
66609         * math/s_ldexpf.c: Likewise.
66610         * math/s_ldexpl.c: Likewise.
66611         * math/s_significand.c: Likewise.
66612         * math/s_significandf.c: Likewise.
66613         * math/s_significandl.c: Likewise.
66614         * math/w_acos.c: Likewise.
66615         * math/w_acosf.c: Likewise.
66616         * math/w_acosh.c: Likewise.
66617         * math/w_acoshf.c: Likewise.
66618         * math/w_acoshl.c: Likewise.
66619         * math/w_acosl.c: Likewise.
66620         * math/w_asin.c: Likewise.
66621         * math/w_asinf.c: Likewise.
66622         * math/w_asinl.c: Likewise.
66623         * math/w_atan2.c: Likewise.
66624         * math/w_atan2f.c: Likewise.
66625         * math/w_atan2l.c: Likewise.
66626         * math/w_atanh.c: Likewise.
66627         * math/w_atanhf.c: Likewise.
66628         * math/w_atanhl.c: Likewise.
66629         * math/w_cosh.c: Likewise.
66630         * math/w_coshf.c: Likewise.
66631         * math/w_coshl.c: Likewise.
66632         * math/w_dremf.c: Likewise.
66633         * math/w_exp10.c: Likewise.
66634         * math/w_exp10f.c: Likewise.
66635         * math/w_exp10l.c: Likewise.
66636         * math/w_exp2.c: Likewise.
66637         * math/w_exp2f.c: Likewise.
66638         * math/w_fmod.c: Likewise.
66639         * math/w_fmodf.c: Likewise.
66640         * math/w_fmodl.c: Likewise.
66641         * math/w_hypot.c: Likewise.
66642         * math/w_hypotf.c: Likewise.
66643         * math/w_hypotl.c: Likewise.
66644         * math/w_j0.c: Likewise.
66645         * math/w_j0f.c: Likewise.
66646         * math/w_j0l.c: Likewise.
66647         * math/w_j1.c: Likewise.
66648         * math/w_j1f.c: Likewise.
66649         * math/w_j1l.c: Likewise.
66650         * math/w_jn.c: Likewise.
66651         * math/w_jnf.c: Likewise.
66652         * math/w_jnl.c: Likewise.
66653         * math/w_lgamma.c: Likewise.
66654         * math/w_lgamma_r.c: Likewise.
66655         * math/w_lgammaf.c: Likewise.
66656         * math/w_lgammaf_r.c: Likewise.
66657         * math/w_lgammal.c: Likewise.
66658         * math/w_lgammal_r.c: Likewise.
66659         * math/w_log.c: Likewise.
66660         * math/w_log10.c: Likewise.
66661         * math/w_log10f.c: Likewise.
66662         * math/w_log10l.c: Likewise.
66663         * math/w_log2.c: Likewise.
66664         * math/w_log2f.c: Likewise.
66665         * math/w_log2l.c: Likewise.
66666         * math/w_logf.c: Likewise.
66667         * math/w_logl.c: Likewise.
66668         * math/w_pow.c: Likewise.
66669         * math/w_powf.c: Likewise.
66670         * math/w_powl.c: Likewise.
66671         * math/w_remainder.c: Likewise.
66672         * math/w_remainderf.c: Likewise.
66673         * math/w_remainderl.c: Likewise.
66674         * math/w_scalb.c: Likewise.
66675         * math/w_scalbf.c: Likewise.
66676         * math/w_scalbl.c: Likewise.
66677         * math/w_sinh.c: Likewise.
66678         * math/w_sinhf.c: Likewise.
66679         * math/w_sinhl.c: Likewise.
66680         * math/w_sqrt.c: Likewise.
66681         * math/w_sqrtf.c: Likewise.
66682         * math/w_sqrtl.c: Likewise.
66683         * math/w_tgamma.c: Likewise.
66684         * math/w_tgammaf.c: Likewise.
66685         * math/w_tgammal.c: Likewise.
66687         * po/ja.po: Update from translation team.
66689 2011-09-29  Andreas Jaeger  <aj@suse.de>
66691         [BZ #13179]
66692         * sunrpc/netname.c (netname2host): Fix logic.
66694         [BZ #6779]
66695         [BZ #6783]
66696         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
66697         correctly.
66698         * math/w_remainder.c (__remainder): Likewise.
66699         * math/w_remainderf.c (__remainderf): Likewise.
66700         * math/libm-test.inc (remainder_test): Add test cases.
66702 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
66704         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
66705         sdiv_qrnnd.
66707 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
66709         * string/test-memcmp.c: Avoid unncessary #defines.
66710         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
66712 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
66714         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
66715         Use new sse2 version for core i3 - i7 as it's faster
66716         than sse42 version.
66717         (bit_Prefer_PMINUB_for_stringop): New.
66718         * sysdeps/x86_64/rawmemchr.S: Update.
66719         Replace with faster SSE2 version.
66720         * sysdeps/x86_64/memrchr.S: New file.
66721         * sysdeps/x86_64/memchr.S: Update.
66722         Replace with faster SSE2 version.
66724 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
66726         * elf/dl-load.c (lose): Add cast to avoid warning.
66728 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
66730         * po/ca.po: Update from translation team.
66732         * inet/getnetgrent_r.c: Hook up nscd.
66733         * nscd/Makefile (routines): Add nscd_netgroup.
66734         (nscd-modules): Add netgroupcache.
66735         (CFLAGS-netgroupcache.c): Define.
66736         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
66737         (cache_search): Add const to second parameter.
66738         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
66739         INNETGR.
66740         (dbs): Add netgrdb entry.
66741         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
66742         (verify_persistent_db): Handle netgrdb.
66743         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
66744         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
66745         GETFDNETGR.
66746         (netgroup_response_header): Define.
66747         (innetgroup_response_header): Define.
66748         (datahead): Add netgroup_response_header and innetgroup_response_header
66749         elements.
66750         * nscd/nscd.conf: Add entries for netgroup cache.
66751         * nscd/nscd.h (dbtype): Add netgrdb.
66752         (_PATH_NSCD_NETGROUP_DB): Define.
66753         (netgroup_iov_disabled): Declare.
66754         (xmalloc, xcalloc, xrealloc): Move declarations here.
66755         (cache_search): Adjust prototype.
66756         Add netgroup-related prototypes.
66757         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
66758         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
66759         (__nscd_innetgr): Declare.
66760         * nscd/selinux.c (perms): Use access_vector_t as element type and
66761         add netgroup-related initializers.
66762         * nscd/netgroupcache.c: New file.
66763         * nscd/nscd_netgroup.c: New file.
66764         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
66765         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
66766         For four parameters use innetgr.
66767         * nss/nss_files/files-init.c: Add definition and callback for netgr.
66768         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
66769         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
66770         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
66772         * nscd/connections.c (register_traced_file): Don't register file
66773         for disabled databases.
66775 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
66777         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
66779         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
66780         from tree and freeing node.
66782 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
66784         * nss/nsswitch.c (__nss_database_lookup): Handle
66785         nss_parse_service_list out of memory case.
66787 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
66789         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
66790         out of memory case.
66792 2011-10-04  Andreas Schwab  <schwab@redhat.com>
66794         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
66795         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
66796         pass it down.
66797         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
66798         elf_machine_rela, elf_machine_lazy_rel.
66799         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
66800         (ELF_DYNAMIC_DO_REL): Likewise.
66801         (ELF_DYNAMIC_DO_RELA): Likewise.
66802         (ELF_DYNAMIC_RELOCATE): Likewise.
66803         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
66804         to ELF_DYNAMIC_DO_REL.
66805         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
66806         (dl_main): In trace mode always set __RTLD_NOIFUNC.
66807         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
66808         elf_machine_rela.
66809         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
66810         skip_ifunc, don't call ifunc function if non-zero.
66811         (elf_machine_rela): Likewise.
66812         (elf_machine_lazy_rel): Likewise.
66813         (elf_machine_lazy_rela): Likewise.
66814         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
66815         (elf_machine_lazy_rel): Likewise.
66816         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
66817         Likewise.
66818         (elf_machine_lazy_rel): Likewise.
66819         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
66820         Likewise.
66821         (elf_machine_lazy_rel): Likewise.
66822         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
66823         (elf_machine_lazy_rel): Likewise.
66824         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
66825         (elf_machine_lazy_rel): Likewise.
66826         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
66827         (elf_machine_lazy_rel): Likewise.
66828         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
66829         (elf_machine_lazy_rel): Likewise.
66830         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
66831         (elf_machine_lazy_rel): Likewise.
66832         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
66833         (elf_machine_lazy_rel): Likewise.
66835 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
66837         * nss/nss_files/files-init.c (_nss_files_init): Use static
66838         initialization for all the *_traced_file variables.
66840 2011-09-28  Andreas Schwab  <schwab@redhat.com>
66842         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
66844 2011-09-27  Roland McGrath  <roland@hack.frob.com>
66846         [BZ #13226]
66847         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
66849 2011-09-27  Andreas Schwab  <schwab@redhat.com>
66851         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
66852         Reread the line before reparsing it.
66854 2011-09-26  Andreas Schwab  <schwab@redhat.com>
66856         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
66858 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
66859             Maxim Kuvyrkov  <maxim@codesourcery.com>
66860             Joseph Myers  <joseph@codesourcery.com>
66862         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
66863         if needed for __stack_chk_guard.
66865 2011-09-19  Roland McGrath  <roland@hack.frob.com>
66867         * sysdeps/posix/spawni.c (script_execute): Always define it.
66868         It will be optimized away if unused.
66869         (maybe_script_execute): New function.
66870         (__spawni): Call it.
66872         * Makerules: Don't include tls.make.
66873         (config-tls): Always set to thread.
66874         * tls.make.c: File removed.
66876 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
66878         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
66879         * config.make.in (CPPFLAGS-config): New substituted variable.
66881 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
66883         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
66885         [BZ #13192]
66886         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
66887         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
66889 2011-09-15  Roland McGrath  <roland@hack.frob.com>
66891         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
66892         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
66893         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
66894         (CALL_FAIL): Likewise.
66895         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
66896         (CALL_FAIL): Macro removed.
66897         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
66899 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
66901         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
66902         for __FINITE_MATH_ONLY__ == 1.
66904 2011-09-15  Andreas Schwab  <schwab@redhat.com>
66906         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
66907         __ieee754_sqrt instead of sqrt.
66908         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
66909         __ieee754_sqrtf instead of sqrtf.
66910         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
66911         __floorf instead of floorf.
66912         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
66913         __floorf, __truncf instead of floorf, truncf.
66915 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
66917         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
66919         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
66920         __extern_always_inline.
66921         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
66922         32-bit.
66924 2011-09-14  Andreas Schwab  <schwab@redhat.com>
66926         * elf/rtld.c (dl_main): Also relocate in dependency order when
66927         doing symbol dependency testing.
66929 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
66931         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
66932         Always define `refsym'.
66934 2011-09-13  Andreas Schwab  <schwab@redhat.com>
66936         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
66937         (__FD_ELT): Renamed from __FDELT.
66938         * misc/bits/select2.h (__FD_ELT): Likewise.
66939         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
66940         __FD_MASK instead of __FDELT, __FDMASK.
66941         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
66942         Likewise.
66943         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
66944         Likewise.
66946         * elf/Makefile (gen-ldd): Fix pattern.
66948         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
66949         (init_tls): Likewise.
66951 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
66953         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
66955 2011-09-12  Andreas Schwab  <schwab@redhat.com>
66957         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
66958         `struct cmsghdr *' instead of `void *'.
66959         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
66960         Likewise.
66962 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
66964         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
66965         if non-absolute.
66966         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
66967         ldd_rewrite_script.
66969 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
66971         * configure.in: Remove --with-tls option.
66972         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
66973         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
66974         out in case it is missing.
66975         * sysdeps/ia64/elf/configure.in: Likewise.
66976         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
66977         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
66978         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
66979         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
66980         * sysdeps/sh/elf/configure.in: Likewise.
66981         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
66982         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
66983         * sysdeps/x86_64/elf/configure.in: Likewise.
66984         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
66985         * sysdeps/mach/hurd/tls.h: Likewise.
66987         [BZ #13067]
66988         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
66990         [BZ #13090]
66991         * configure.in: Fix use of AC_INIT.
66993         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
66995 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
66997         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
66998         __set_errno.
66999         * malloc/hooks.c: Likewise.
67001         [BZ #11929]
67002         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
67003         variables statically.
67004         (narenas): Initialize.
67005         (list_lock): Initialize.
67006         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
67007         initializtion of main_arena and list_lock.  Small cleanups.
67008         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
67009         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
67010         Add initializers to main_arena and mp_.
67011         (malloc_state): Remove pagesize member.  Change all users to use
67012         GLRO(dl_pagesize).
67014         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
67015         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
67016         is always initialized.
67018         * malloc/malloc.c: Removed unused configurations and dead code.
67019         * malloc/arena.c: Likewise.
67020         * malloc/hooks.c: Likewise.
67021         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
67023         * include/tls.h: Removed.  USE___THREAD must always be defined.
67024         * bits/libc-tsd.h: Don't handle !USE___THREAD.
67025         * elf/dl-libc.c: Likewise.
67026         * elf/dl-tsd.c: Likewise.
67027         * include/errno.h: Likewise.
67028         * include/netdb.h: Likewise.
67029         * include/resolv.h: Likewise.
67030         * inet/herrno-loc.c: Likewise.
67031         * inet/herrno.c: Likewise.
67032         * malloc/arena.c: Likewise.
67033         * malloc/hooks.c: Likewise.
67034         * malloc/malloc.c: Likewise.
67035         * resolv/res-state.c: Likewise.
67036         * resolv/res_libc.c: Likewise.
67037         * sysdeps/i386/dl-machine.h: Likewise.
67038         * sysdeps/ia64/dl-machine.h: Likewise.
67039         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
67040         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
67041         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
67042         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
67043         * sysdeps/sh/dl-machine.h: Likewise.
67044         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
67045         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
67046         * sysdeps/unix/i386/sysdep.S: Likewise.
67047         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
67048         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
67049         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
67050         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
67051         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
67052         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
67053         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
67054         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
67055         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
67056         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
67057         * sysdeps/unix/x86_64/sysdep.S: Likewise.
67058         * sysdeps/x86_64/dl-machine.h: Likewise.
67059         * tls.make.c: Likewise.
67061         * configure.in: Remove --with-__thread option.  Make tests for
67062         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
67063         tls_model attribute fail if no support is available.  Remove
67064         USE_IN_LIBIO.
67065         * Makeconfig: Adjust for dropped configure option.  All features are
67066         now mandatory.
67067         * Makerules: Likewise.
67068         * Versions.def: Likewise.
67069         * argp/argp-fmtstream.c: Likewise.
67070         * argp/argp-fmtstream.h: Likewise.
67071         * argp/argp-help.c: Likewise.
67072         * assert/assert.c: Likewise.
67073         * config.h.in: Likewise.
67074         * config.make.in: Likewise.
67075         * configure: Likewise.
67076         * configure.in: Likewise.
67077         * csu/Versions: Likewise.
67078         * csu/init.c: Likewise.
67079         * elf/tst-audit2.c: Likewise.
67080         * elf/tst-tls10.c: Likewise.
67081         * elf/tst-tls10.h: Likewise.
67082         * elf/tst-tls11.c: Likewise.
67083         * elf/tst-tls12.c: Likewise.
67084         * elf/tst-tls14.c: Likewise.
67085         * elf/tst-tlsmod11.c: Likewise.
67086         * elf/tst-tlsmod12.c: Likewise.
67087         * elf/tst-tlsmod13.c: Likewise.
67088         * elf/tst-tlsmod13a.c: Likewise.
67089         * elf/tst-tlsmod14a.c: Likewise.
67090         * elf/tst-tlsmod15b.c: Likewise.
67091         * elf/tst-tlsmod16a.c: Likewise.
67092         * elf/tst-tlsmod16b.c: Likewise.
67093         * elf/tst-tlsmod7.c: Likewise.
67094         * elf/tst-tlsmod8.c: Likewise.
67095         * elf/tst-tlsmod9.c: Likewise.
67096         * gmon/gmon.c: Likewise.
67097         * grp/fgetgrent_r.c: Likewise.
67098         * grp/putgrent.c: Likewise.
67099         * hurd/fopenport.c: Likewise.
67100         * include/libc-symbols.h: Likewise.
67101         * include/tls.h: Likewise.
67102         * intl/gettextP.h: Likewise.
67103         * intl/loadinfo.h: Likewise.
67104         * locale/global-locale.c: Likewise.
67105         * locale/localeinfo.h: Likewise.
67106         * mach/devstream.c: Likewise.
67107         * malloc/arena.c: Likewise.
67108         * malloc/set-freeres.c: Likewise.
67109         * misc/err.c: Likewise.
67110         * misc/getttyent.c: Likewise.
67111         * misc/mntent_r.c: Likewise.
67112         * posix/getopt.c: Likewise.
67113         * posix/wordexp.c: Likewise.
67114         * pwd/fgetpwent_r.c: Likewise.
67115         * resolv/Versions: Likewise.
67116         * resolv/res_hconf.c: Likewise.
67117         * shadow/fgetspent_r.c: Likewise.
67118         * shadow/putspent.c: Likewise.
67119         * stdio-common/printf_fphex.c: Likewise.
67120         * stdio-common/tmpfile.c: Likewise.
67121         * stdlib/abort.c: Likewise.
67122         * stdlib/fmtmsg.c: Likewise.
67123         * sunrpc/auth_unix.c: Likewise.
67124         * sunrpc/clnt_perr.c: Likewise.
67125         * sunrpc/clnt_tcp.c: Likewise.
67126         * sunrpc/clnt_udp.c: Likewise.
67127         * sunrpc/clnt_unix.c: Likewise.
67128         * sunrpc/openchild.c: Likewise.
67129         * sunrpc/svc_simple.c: Likewise.
67130         * sunrpc/svc_tcp.c: Likewise.
67131         * sunrpc/svc_udp.c: Likewise.
67132         * sunrpc/svc_unix.c: Likewise.
67133         * sunrpc/xdr.c: Likewise.
67134         * sunrpc/xdr_array.c: Likewise.
67135         * sunrpc/xdr_rec.c: Likewise.
67136         * sunrpc/xdr_ref.c: Likewise.
67137         * sunrpc/xdr_stdio.c: Likewise.
67139 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
67141         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
67143 2011-07-03  Andreas Jaeger  <aj@suse.de>
67145         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
67146         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
67147         regenerate with gen-libm-tests.pl.
67149 2010-05-12  Petr Baudis  <pasky@suse.cz>
67151         [BZ #11589]
67152         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
67153         around j0() zero points by switching to j1().
67154         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
67155         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
67156         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
67157         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
67159 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
67161         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
67162         instead of 0.
67163         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
67164         instead of 0.
67165         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
67166         Patch in part by Pavel Roskin <proski@gnu.org>.
67168         [BZ #13138]
67169         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
67170         realloc.
67171         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
67172         Free memory block if necessary.
67174         [BZ #12847]
67175         * libio/genops.c (INTDEF): For string streams the _lock pointer can
67176         be NULL.  Don't lock in this case.
67178 2011-09-09  Roland McGrath  <roland@hack.frob.com>
67180         * elf/elf.h (ELFOSABI_GNU): New macro.
67181         (ELFOSABI_LINUX): Define to that.
67183 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
67185         * string/strncat.c (strncat): Undef the symbol in case it has been
67186         defined in bits/string.h.
67188 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
67190         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
67192         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
67193         link map.
67195 2011-08-17  Andreas Jaeger  <aj@suse.de>
67197         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
67199 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
67200             Ian Lance Taylor  <iant@google.com>
67202         * math/libm-test.inc (lround_test): New testcase.
67203         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
67205 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
67207         * Makefile: Remove support for automatic cvs check-ins.
67208         * Makerules: Likewise.
67209         * config.make.in: Likewise.
67210         * configure.in: Likewise.
67211         * intl/Makefile: Likewise.
67212         * locale/Makefile: Likewise.
67213         * po/Makefile: Likewise.
67214         * posix/Makefile: Likewise.
67215         * sysdeps/gnu/Makefile: Likewise.
67216         * sysdeps/mach/hurd/Makefile: Likewise.
67217         * sysdeps/sparc/sparc32/Makefile: Likewise.
67219         [BZ #13118]
67220         * posix/Makefile (bug-regex32-ENV): Define.
67221         Patch by John Stanley <jpsinthemix@verizon.net>.
67223         * misc/Makefile (headers): Add bits/select2.h.
67224         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
67225         * misc/bits/select2.h: New file.
67226         * include/bits/select2.h: New file.
67227         * debug/Makefile (routines): Add fdelt_chk.
67228         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
67229         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
67230         FD_ISSET.
67231         * debug/fdelt_chk.c: New file.
67233         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
67234         * wcsmbs/test-wmemcmp.c: Likewise.
67235         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
67236         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
67238 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
67240         * string/Makefile (strop-tests): Add memcmp.
67241         * string/test-wmemcmp.c: New file.
67242         * string/test-memcmp.c: Add wmemcmp support.
67244 2011-09-08  Roland McGrath  <roland@hack.frob.com>
67246         [BZ #13153]
67247         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
67248         2011-07-19 change.
67250         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
67251         garbage value in a __mach_port_mod_refs call in the cases of the
67252         task-self and thread-self ports.
67254 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
67256         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
67258 2011-09-08  Andreas Schwab  <schwab@redhat.com>
67260         * elf/dl-load.c (lose): Check for non-null L.
67262 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
67264         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
67266         * elf/dl-libc.c (dlerror_run): Pass back error code from
67267         dl_catch_error.
67269         [BZ #13123]
67270         * elf/dl-load.c (lose): Free l_origin if it is valid.
67272         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
67273         names.
67274         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
67275         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
67276         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
67277         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
67278         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
67279         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
67281 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67283         * sysdeps/powerpc/fpu/e_hypot.c: New file.
67284         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
67285         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
67286         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
67287         * sysdeps/powerpc/fpu/k_cosf.c: New file.
67288         * sysdeps/powerpc/fpu/k_sinf.c: New file.
67289         * sysdeps/powerpc/fpu/s_cosf.c: New file.
67290         * sysdeps/powerpc/fpu/s_sinf.c: New file.
67291         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
67292         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
67294 2011-08-15  Alan Modra  <amodra@gmail.com>
67296         [BZ #13092]
67297         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
67298         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
67299         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
67300         ppc_mcount to static-only-routines.
67301         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
67302         __mcount_internal.
67303         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
67304         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
67306 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
67308         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
67309         for finite and infinity parameters.
67311 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
67313         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
67314         and add nop instructions for throughput optimization.
67315         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
67317 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
67319         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
67320         aligned copy for power7 with vector-scalar instructions.
67321         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
67323 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
67325         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
67326         AVX check.
67328 2011-09-07  Andreas Schwab  <schwab@redhat.com>
67330         [BZ #13144]
67331         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
67332         last change.
67334 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
67336         * sysdeps/unix/sysv/linux/x86_64/init-first.c
67337         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
67338         syscall wrapper around clock_gettime in __vdso_clock_gettime.
67339         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
67340         clock_gettime.
67342 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
67344         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
67345         Forgot to demangle the pointer.
67347         * sysdeps/i386/sysdep.h: Define atom_text_section.
67348         * sysdeps/x86_64/sysdep.h: Likewise.
67349         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
67350         section with atom_text_section.
67351         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
67352         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
67353         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
67354         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
67355         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
67357         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
67358         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
67359         already be defined.  Change to take two parameters and don't assign
67360         result to variable.  Adjust all users.
67361         Define INTERNAL_GETTIME if not already defined.
67362         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
67363         call.
67364         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
67365         HAVE_CLOCK_GETTIME_VSYSCALL.
67366         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
67368         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
67369         gettimeofday vsyscall, just use time.
67371 2011-09-06  Andreas Schwab  <schwab@redhat.com>
67373         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
67374         <errno.h>.
67376 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
67378         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
67379         syscall on x86-64.
67380         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
67381         syscall.
67382         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
67383         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
67384         syscall if possible.
67386 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
67388         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
67389         e_ident.  Don't pass to find_mapsXX.
67390         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
67392 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
67394         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
67395         strchr-sse2-no-bsf strrchr-sse2-no-bsf
67396         * sysdeps/x86_64/multiarch/strchr.S: Update.
67397         Check bit_slow_BSF bit.
67398         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
67399         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
67400         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
67402 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
67404         [BZ #13134]
67405         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
67406         before glibc 2.15.
67407         (tryshell): Define.
67408         (__spawni): Change last parameter to be flag.  Test
67409         SPAWN_XFLAGS_USE_PATH flag to use path or not.
67410         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
67411         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
67412         * posix/spawni.c: Likewise.
67413         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
67414         * posix/spawnp.c: Likewise.  Change normal version to use
67415         SPAWN_XFLAGS_USE_PATH.
67416         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
67417         SPAWN_XFLAGS_TRY_SHELL.
67419         [BZ #13150]
67420         * posix/glob.h: Remove gcc 1.x support.
67422         [BZ #13068]
67423         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
67425 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
67427         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
67428         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
67429         strrchr-sse2-bsf
67430         * sysdeps/i386/i686/multiarch/strchr.S: New file.
67431         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
67432         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
67433         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
67434         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
67435         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
67437 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
67439         * sysdeps/x86_64/wcscmp.S: New file.
67441         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
67442         wcscmp-c wcscmp-sse2
67443         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
67444         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
67445         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
67446         * wcsmbs/wcscmp.c: Allow renaming.
67448 2011-09-05  David S. Miller  <davem@davemloft.net>
67450         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
67451         stack slot, rather than the struct return pointer slot.
67452         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
67453         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
67454         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
67455         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
67457 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
67459         * po/ja.po: Update from translation team.
67461         [BZ #13144]
67462         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
67463         kernel in 64-bit binaries.
67465 2011-09-01  David S. Miller  <davem@davemloft.net>
67467         * elf/elf.h (HWCAP_SPARC_*): Move to..
67468         * sysdeps/sparc/sysdep.h: this new file and add new values.
67469         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
67470         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
67471         _DL_HWCAP_COUNT to 24.
67472         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
67473         entries.
67474         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
67475         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
67476         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
67477         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
67478         instead of magic constants.
67479         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
67481 2011-08-31  David S. Miller  <davem@davemloft.net>
67483         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
67484         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
67485         Reimplement to do errno handling inline.
67486         (SYSCALL_ERROR_HANDLER): New macro.
67487         (__SYSCALL_STRING): Do not do errno handling in asm.
67488         (__CLONE_SYSCALL_STRING): Delete.
67489         (__INTERNAL_SYSCALL_STRING): Delete.
67490         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
67491         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
67492         (PSEUDO): Reimplement to do errno handling inline.
67493         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
67494         (SYSCALL_ERROR_HANDLER): New macro.
67495         (__SYSCALL_STRING): Do not do errno handling in asm.
67496         (__CLONE_SYSCALL_STRING): Delete.
67497         (__INTERNAL_SYSCALL_STRING): Delete.
67498         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
67499         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
67500         i386.
67501         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
67502         (inline_syscall*): Add 'err' argument.
67503         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
67504         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
67505         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
67506         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
67508         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
67509         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
67511 2011-08-30  Andreas Schwab  <schwab@redhat.com>
67513         * elf/rtld.c (dl_main): Relocate objects in dependency order.
67515 2011-08-29  Jiri Olsa <jolsa@redhat.com>
67517         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
67518         directive.
67520 2011-08-24  David S. Miller  <davem@davemloft.net>
67522         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
67524 2011-08-24  Andreas Schwab  <schwab@redhat.com>
67526         * elf/Makefile: Add rules to build and run unload8 test.
67527         * elf/unload8.c: New file.
67528         * elf/unload8mod1.c: New file.
67529         * elf/unload8mod1x.c: New file.
67530         * elf/unload8mod2.c: New file.
67531         * elf/unload8mod3.c: New file.
67533         * elf/dl-close.c (_dl_close_worker): Reset private search list if
67534         it wasn't used.
67536 2011-08-23  David S. Miller  <davem@davemloft.net>
67538         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
67539         subtract stack bias.
67540         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
67541         %sp not %fp in calculations.
67542         (_JMPBUF_UNWINDS_ADJ): Likewise.
67544         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
67545         (aio_suspend): Call it to force an exception region around the
67546         AIO_MISC_WAIT() invocation.
67548 2011-08-23  Andreas Schwab  <schwab@redhat.com>
67550         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
67551         backslash.
67553 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
67555         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
67556         protection macro.
67557         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
67558         and <dl-machine.h>.
67559         (Elf64_FuncDesc): Remove.
67561 2011-08-22  David S. Miller  <davem@davemloft.net>
67563         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
67564         sigaltstack check, add missing cfi directives.
67565         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
67566         missing cfi directives, and sigaltstack handling.
67568 2011-08-16  Andreas Schwab  <schwab@redhat.com>
67570         [BZ #11724]
67571         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
67572         object is seen twice.
67573         * elf/dl-fini.c (_dl_sort_fini): Likewise.
67575         * elf/Makefile (distribute): Add tst-initorder2.c.
67576         (tests): Add tst-initorder2.
67577         (modules-names): Add tst-initorder2a tst-initorder2b
67578         tst-initorder2c tst-initorder2d.  Add rules to build them.
67579         ($(objpfx)tst-initorder2.out): New rule.
67580         * elf/tst-initorder2.c: New file.
67581         * elf/tst-initorder2.exp: New file.
67583 2011-08-22  Andreas Schwab  <schwab@redhat.com>
67585         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
67587         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
67588         dependencies back to end of function.
67590         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
67591         $(elfobjdir)/ld.so.
67593 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
67595         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
67596         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
67597         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
67598         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
67599         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
67600         of __vdso_gettimeofday.
67601         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
67602         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
67603         attribute_hidden.
67604         (_libc_vdso_platform_setup): Remove initialization of
67605         __vdso_gettimeofday and __vdso_time.
67607 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
67609         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
67610         and fgetc_unlocked.
67611         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
67612         getc_unlocked.
67614         * elf/dl-open.c (add_to_global): Report additions to the global scope
67615         for LD_DEBUG=scopes.
67616         (dl_open_worker): Also print scope of newly loaded dependencies.
67617         (_dl_show_scope): Indicate if there is no scope.
67619         [BZ #13114]
67620         * stdio-common/Makefile (tests): Add bug24.
67621         * stdio-common/bug24.c: New file.
67623 2011-08-19  Andreas Jaeger  <aj@suse.de>
67625         [BZ #13114]
67626         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
67627         non-existant file when using close-on-exec mode.
67629 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
67631         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
67632         the very first instruction.
67634         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
67635         the CFI state in the end.
67636         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
67637         inclusion of dl-trampoline.h.
67638         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
67640 2011-08-19  Andreas Schwab  <schwab@redhat.com>
67642         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
67643         expectations for long double.
67645         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
67646         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
67648 2011-08-14  David S. Miller  <davem@davemloft.net>
67650         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
67651         artificual limit depends upon the system page size.
67653 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
67655         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
67656         * resolv/Makefile: Define CFLAGS-libresolv.
67658 2011-08-17  Andreas Schwab  <schwab@redhat.com>
67660         * nss/makedb.c (compute_tables): Make variables used in nested
67661         function static.
67663 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
67665         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
67666         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
67667         if buffer was too small.
67669         * elf/pldd.c (main): Attach to all threads in the process.
67670         Rewrite /proc handling to use *at functions.
67672 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
67674         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
67675         specifies first scope to show.
67676         (dl_open_worker): Update callers.  Move printing scope of new
67677         object to before the relocation.
67678         * elf/rtld.c (dl_main): Update _dl_show_scope call.
67679         * sysdeps/generic/ldsodefs.h: Update declaration.
67681         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
67682         string for the scope number.
67684 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
67686         * nscd/servicescache.c (cache_addserv): Make sure written is always
67687         initialized.
67689 2011-08-14  Roland McGrath  <roland@hack.frob.com>
67691         * sysdeps/i386/i486/bits/atomic.h
67692         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
67693         statement expression, so as to suppress "set but not used" warning.
67694         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
67696         * string/strncat.c (STRNCAT): Use prototype definition.
67698         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
67699         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
67700         -Iprograms here.
67701         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
67702         (localedef-modules): Add localedef.
67703         (locale-modules): Add locale.
67705         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
67706         * elf/rtld.c (dl_main): Invert order of assignment in last change,
67707         to avoid a warning.
67709 2011-08-14  David S. Miller  <davem@davemloft.net>
67711         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
67712         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
67714 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
67716         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
67717         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
67718         * elf/rtld.c (dl_main): Set l_name of vDSO.
67719         Call _dl_show_scope when DL_DEBUG_SCOPES.
67720         (process_dl_debug): Recognize scopes flag and also set it for all.
67721         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
67722         Declare _dl_show_scope.
67724         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
67725         (do_dlopen): Pass caller_dlopen to dl_open.
67726         (__libc_dlopen_mode): Initialize caller_dlopen.
67728         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
67729         of libc.  Make tolower call locale-independent.  Optimize a bit by
67730         using isdigit instead of isalnum.
67731         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
67733 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
67735         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
67736         was a dependency or dynamically loaded.
67738 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
67740         * intl/l10nflist.c: Allow architecture-specific pop function.
67741         * sysdeps/x86_64/l10nflist.c: New file.
67743         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
67744         classification.
67746 2011-08-10  Andreas Schwab  <schwab@redhat.com>
67748         * include/dirent.h: Add libc_hidden_proto for scandirat and
67749         scandirat64.  Don't declare __scandirat64.
67750         * dirent/scandirat.c: Add libc_hidden_def.
67751         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
67752         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
67754 2011-08-10  David S. Miller  <davem@davemloft.net>
67756         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
67757         enum.
67758         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
67759         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
67760         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
67762 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
67764         * Versions.def [libc]: Add GLIBC_2.15.
67765         * dirent/Makefile (routines): Add scandirat and scandirat64.
67766         * dirent/Versions [libc]: Export scandirat and scandirat64 for
67767         GLIBC_2.15.
67768         * dirent/dirent.h: Declare scandirat and scandirat64.
67769         * dirent/scandirat.c: New file.
67770         * dirent/scandirat64.c: New file.
67771         * sysdeps/wordsize-64/scandirat.c: New file.
67772         * sysdeps/wordsize-64/scandirat64.c: New file.
67773         * dirent/opendir.c: Define opendirat.
67774         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
67775         using scandirat.
67776         * dirent/scandir64.c: Adjust for scandir.c change.
67777         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
67778         __scandirat64, and __scandir_cancel_handler.
67779         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
67780         additional parameter and use openat instead of open (outside of ld.so).
67781         Add new __opendir as wrapper around __opendirat.
67782         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
67783         here without requiring old scandirat implementation.
67785 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
67787         * dirent/scandir.c (cancel_handler): Renamed to
67788         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
67789         defined.  Adjust users.
67790         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
67791         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
67793 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
67795         * string/test-string.h (IMPL): Use __STRING to expand name and then
67796         stringify it.
67798         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
67799         of cleanups.
67801 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
67803         * string/Makefile: Update.
67804         (strop-tests): Append strncat.
67805         * string/test-wcscmp.c: New file.
67806         New comprehensive test for wcscmp.
67807         * string/test-strcmp.c: Update.
67808         (WIDE): New define.
67810 2011-07-22  Andreas Schwab  <schwab@redhat.com>
67812         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
67813         line.
67815 2011-07-26  Andreas Schwab  <schwab@redhat.com>
67817         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
67818         encoding to ACE if AI_IDN.
67820 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
67822         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
67823         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
67825 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
67827         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
67828         Fix overflow bug in strncat.
67829         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
67831         * string/test-strncat.c: Update.
67832         Add new tests for checking overflow bugs.
67834 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
67836         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
67837         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
67838         * sysdeps/i386/i686/multiarch/strcat.S: New file.
67839         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
67840         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
67841         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
67842         * sysdeps/i386/i686/multiarch/strncat.S: New file.
67843         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
67844         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
67846         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
67847         (USE_AS_STRCAT): Define.
67848         Add strcat and strncat support.
67849         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
67851 2011-07-25  Andreas Schwab  <schwab@redhat.com>
67853         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
67854         __n bigger than INT_MAX+1.
67855         (__strncmp_g): Likewise.
67857 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
67859         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
67860         * libio/stido.h: Likewise.
67862         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
67863         (AF_NFC): Define.
67864         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
67865         (AF_NFC): Define.
67867         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
67868         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
67869         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
67870         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
67871         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
67873         [BZ #13021]
67874         * scripts/test-installation.pl: Don't expect libnss_test1 to be
67875         installed.
67877         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
67878         typo.
67879         (_dl_x86_64_save_sse): Likewise.
67881 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
67883         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
67884         OSXSAVE.
67885         (_dl_x86_64_save_sse): Likewise.
67887         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
67889         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
67891 2011-07-21  Andreas Schwab  <schwab@redhat.com>
67893         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
67894         change.
67895         (_dl_x86_64_save_sse): Use correct AVX check.
67897 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
67899         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
67900         bug in strncpy/strncat.
67901         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
67903 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
67905         * string/tester.c (test_strcat): Add tests for different alignments
67906         of source and destination.
67907         (test_strncat): Likewise.
67909 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
67911         [BZ #12852]
67912         * posix/glob.c (glob): Check passed in values before using them in
67913         expressions to avoid some overflows.
67914         (glob_in_dir): Likewise.
67916         [BZ #13007]
67917         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
67918         check for AVX enablement so that we don't crash with old kernels and
67919         new hardware.
67920         * elf/tst-audit4.c: Add same checks here.
67921         * elf/tst-audit6.c: Likewise.
67923         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
67925 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
67927         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
67929 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
67931         * po/cs.po: Update from translation team.
67932         * po/bg.po: Likewise.
67934 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
67936         * misc/sys/cdefs.h: Add support for const attribute.
67937         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
67938         to gnu_dev_{major,minor,makedev} functions.
67940 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
67942         * intl/dcigettext.c (get_output_charset): Add missing bracket.
67944 2011-07-20  Andreas Schwab  <schwab@redhat.com>
67946         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
67947         strlen results.
67949 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
67951         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
67952         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
67953         register in order to avoid conflicts with the soft frame pointer
67954         being held in r11 when necessary.
67955         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
67956         (INTERNAL_VSYSCALL_NCS): Likewise.
67958 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
67960         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
67961         * elf/dl-fini.c (_dl_fini): Adjust caller.
67962         * elf/dl-close.c (_dl_close_worker): Likewise.
67963         * sysdeps/generic/ldsodefs.h: Adjust declaration.
67965 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
67967         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
67968         "aux_cache->nlibs < 0".
67970         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
67971         in the reload-count case.
67973 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
67975         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
67976         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
67977         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
67978         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
67979         * sysdeps/x86_64/multiarch/strcat.S: New file.
67980         * sysdeps/x86_64/multiarch/strncat.S: New file.
67981         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
67982         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
67983         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
67984         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
67985         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
67986         (USE_AS_STRCAT): Define.
67987         Add strcat and strncat support.
67988         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
67989         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
67990         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
67991         * string/strncat.c: Update.
67992         (USE_AS_STRNCAT): Define.
67993         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
67994         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
67995         and i7.
67996         * sysdeps/x86_64/multiarch/init-arch.h
67997         (bit_Prefer_PMINUB_for_stringop): New.
67998         (index_Prefer_PMINUB_for_stringop): Likewise.
67999         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
68000         bit_Prefer_PMINUB_for_stringop.
68002 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
68004         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
68005         buffer64.
68006         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
68007         of casting of buffer.
68008         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
68009         buffer32 and buffer64.
68010         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
68011         writes instead of casting of buffer.
68012         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
68013         buffer32.
68014         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
68015         casting of buffer.
68017 2011-07-19  Andreas Schwab  <schwab@redhat.com>
68019         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
68021 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
68023         * nscd/nscd.c (termination_handler): Don't do anything for a database
68024         if it has not yet been initialized.
68026 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
68028         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
68030 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
68032         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
68034 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
68036         * po/nl.po: Update from translation team.
68037         * po/sv.po: Likewise.
68039 2011-07-16  Roland McGrath  <roland@hack.frob.com>
68041         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
68042         now disallowed by GCC.
68044         * configure.in (use-default-link): Default to yes if a test -shared
68045         link meets our qualifications.
68046         * configure: Regenerated.
68048         * config.make.in (output-format): New variable.
68049         * configure.in: Check for ld --print-output-format support.
68050         * configure: Regenerated.
68051         * Makerules ($(common-objpfx)format.lds)
68052         [$(output-format) != unknown]: Just use $(output-format),
68053         instead of the linker-script munging.
68055 2011-07-14  Roland McGrath  <roland@hack.frob.com>
68057         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
68058         of $(common-objpfx)shlib.lds.
68059         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
68061         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
68062         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
68064         * configure.in (-z relro check): Adjust test code to add a large
68065         writable data section after it.
68066         * configure: Regenerated.
68068 2011-07-11  Roland McGrath  <roland@hack.frob.com>
68070         * configure.in (-z relro check): Fix test code to make the variable
68071         truly const.
68072         * configure: Regenerated.
68074 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
68076         * nscd/nscd.h (struct traced_file): Define.
68077         (struct database_dyn): Remove inotify_descr, reset_res, and filename
68078         elements.  Add traced_files.
68079         (inotify_fd): Declare.
68080         (register_traced_file): Declare.
68081         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
68082         (inotify_fd): Export.
68083         (resolv_conf_descr): Remove.
68084         (nscd_init): Move inotify descriptor creation to main.
68085         Don't register files for notification here.
68086         (register_traced_file): New function.
68087         (invalidate_cache): Don't use reset_res to determine whether to call
68088         res_init, go through the list of registered files.
68089         (main_loop_poll): The inotify descriptors are now stored in the
68090         structures for the traced files.
68091         (main_loop_epoll): Likewise
68092         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
68093         to __nss_disable_nscd.
68094         * nscd/cache.c (prune_cache): There is no single inotify descriptor
68095         for a database anymore.  Check the records for all the registered
68096         files instead.
68097         * nss/Makefile (libnss_files-routines): Add files-init.
68098         (libnss_db-routines): Add db-init.
68099         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
68100         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
68101         * nss/nss_db/db-init.c: New file.
68102         * nss/nss_files/files-init.c: New file.
68103         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
68104         __nss_lookup_function.
68105         (__nss_lookup_function): Call nss_load_library.
68106         (nss_load_all_libraries): New function.
68107         (__nss_disable_nscd): Take parameter with callback function for files
68108         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
68109         used for the cached services.
68110         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
68111         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
68112         options for features to all the files in nscd.
68114         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
68116 2011-07-10  Roland McGrath  <roland@hack.frob.com>
68118         * csu/elf-init.c (__libc_csu_init): Comment typo.
68120 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
68122         * po/pl.po: Update from translation team.
68123         * po/ja.po: Likewise.
68124         * po/ru.po: Likewise.
68125         * po/ko.po: Likewise.
68126         * po/fr.po: Likewise.
68128 2011-07-09  Roland McGrath  <roland@hack.frob.com>
68130         * configure.in (.ctors/.dtors header and trailer check):
68131         Use an empirical test on a built program.
68132         * configure: Regenerated.
68134         * configure.in (-z relro check): Use an empirical test on a built DSO.
68135         Detect, but do not require, on ia64.
68136         * configure: Regenerated.
68138         * configure.in (READELF): Find it with AC_CHECK_TOOL.
68139         Update tests that use readelf to use $READELF instead.
68140         * configure: Regenerated.
68142 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
68144         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
68145         if the result is not used.
68147 2011-07-05  Andreas Jaeger  <aj@suse.de>
68149         [BZ#9696]
68150         * stdlib/tst-strtod.c: Add testcase.
68152 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
68154         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
68155         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
68156         The latter has a higher limit.  Take additional parameter to pass to
68157         the new function.
68158         (__pathconf): Pass file to __statfs_link_max.
68159         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
68160         __statfs_link_max.
68161         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
68162         __statfs_link_max.
68164         [BZ #12868]
68165         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
68166         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
68167         Handle Lustre.
68168         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
68169         (__statfs_filesize_max): Likewise.
68170         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
68172 2011-07-05  Andreas Jaeger  <aj@suse.de>
68174         * resolv/res_comp.c (dn_skipname): Remove unused variable.
68176 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
68178         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
68179         `status' variable.
68180         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
68181         Likewise.
68183 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
68185         * Makefile (strop-tests): Add strncat.
68186         * string/test-strncat.c: New file.
68188 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
68190         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
68192 2011-06-21  Andreas Jaeger  <aj@suse.de>
68194         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
68195         Copy rule from iconvdata/Makefile.
68197 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
68199         [BZ #12922]
68200         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
68201         but no long options are defined, just return 'W'.
68203 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
68205         [BZ #9696]
68206         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
68208 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
68210         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
68211         netgroups to read.
68212         (innetgr): Likewise.
68214 2011-07-05  Roland McGrath  <roland@hack.frob.com>
68216         * config.make.in (install_root): Default to $(DESTDIR).
68218 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
68220         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
68222 2011-07-02  Roland McGrath  <roland@hack.frob.com>
68224         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
68226         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
68227         containing directory rather than embedding absolute directory names.
68229         * scripts/check-local-headers.sh: Rewritten using awk.
68230         Match by word, not by line.  Print error messages for matches.
68231         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
68233         * Makerules [shlib-lds-flags empty]:
68234         ($(common-objpfx)libc_pic.opts): New target.
68235         ($(common-objpfx)libc_pic.os.clean): New target.
68236         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
68238         * config.make.in (OBJCOPY): New variable.
68239         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
68240         * configure: Regenerated.
68242         * config.make.in (use-default-link): New variable.
68243         * configure.in (use_default_link): Grok --with-default-link to set it.
68244         * configure: Regenerated.
68245         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
68246         (shlib-lds, shlib-lds-flags): Define to empty.
68248         * Makerules (shlib-lds): New variable.
68249         (shlib-lds-flags): New variable.
68250         (build-shlib, build-moduile, build-module-asneeded): Use it.
68251         ($(common-objpfx)libc.so): Use $(shlib-lds).
68252         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
68253         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
68255         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
68256         DT_FLAGS/DT_FLAGS_1 with zero flags.
68258         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
68259         linker script munging.
68261 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
68263         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
68264         as 128-bit value.
68265         * crypt/sha512.c (sha512_process_block): Perform total addition using
68266         128-bit if possible.
68267         (__sha512_finish_ctx): Likewise.
68268         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
68269         as 64-bit value.
68270         * crypt/sha256.c (SWAP64): Define.
68271         (sha256_process_block): Perform total addition using 64-bit if
68272         possible.
68273         (__sha256_finish_ctx): Likewise.
68275 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
68277         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
68278         * nscd/initgrcache.c (addinitgroupsX): Likewise.
68279         * nscd/hstcache.c (cache_addhst): Likewise.
68280         * nscd/grpcache.c (cache_addgr): Likewise.
68281         * nscd/aicache.c (addhstaiX): Likewise
68282         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
68284 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
68286         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
68287         * nscd/initgrcache.c (addinitgroupsX): Likewise.
68288         * nscd/hstcache.c (cache_addhst): Likewise.
68289         * nscd/grpcache.c (cache_addgr): Likewise.
68290         * nscd/aicache.c (addhstaiX): Likewise
68292 2011-07-01  Andreas Schwab  <schwab@redhat.com>
68294         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
68295         domain only when needed.
68297 2011-06-30  Andreas Schwab  <schwab@redhat.com>
68299         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
68300         is always restored.
68302 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
68304         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
68305         are re-adding the entry.
68306         * nscd/servicescache.c (cache_addserv): Likewise.
68308 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
68310         * sysdeps/generic/dl-irel.h: fix protection against multiple
68311         inclusions.
68312         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
68314 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
68316         [BZ #12935]
68317         * malloc/memusage.sh: Fix quoting in message.
68318         * debug/xtrace.sh: Likewise.
68320         * configure.in: Remove support for --experimental-malloc option, make
68321         it the default.
68322         * config.make.in: Likewise.
68323         * malloc/Makefile: Likewise.
68325 2011-06-27  Andreas Schwab  <schwab@redhat.com>
68327         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
68328         two-byte characters.
68330 2011-06-27  Roland McGrath  <roland@hack.frob.com>
68332         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
68333         AC_CACHE_CHECK invocation.
68334         * configure: Regenerated.
68336         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
68338 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
68340         [BZ #12350]
68341         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
68342         bit from old_res_options.
68344         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
68346         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
68347         value type for setfct.
68349 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
68351         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
68352         __gettimeofday instead of gettimeofday.
68354 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
68356         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
68358 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
68360         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
68362         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
68363         info.
68365 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
68367         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
68368         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
68369         strcpy-sse2-unaligned strncpy-sse2-unaligned
68370         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
68371         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
68372         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
68373         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
68374         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
68375         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
68376         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
68377         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
68378         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
68379         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
68380         (STRCPY): Support SSE2 and SSSE3 versions.
68382 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
68384         [BZ #12874]
68385         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
68386         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
68387         kernels which artificially limit size of requests.
68389 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
68391         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
68392         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
68393         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
68394         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
68395         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
68396         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
68397         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
68398         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
68399         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
68400         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
68401         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
68402         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
68403         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
68404         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
68405         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
68406         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
68407         Enable unaligned load optimization for Intel Core i3, i5 and i7
68408         processors.
68409         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
68410         Define.
68411         (index_Fast_Unaligned_Load): Define.
68412         (HAS_FAST_UNALIGNED_LOAD): Define.
68414 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
68416         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
68418 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
68420         [BZ #12907]
68421         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
68422         until it is clear that the information is realy needed.
68423         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
68425 2011-06-22  Andreas Schwab  <schwab@redhat.com>
68427         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
68429 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
68431         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
68432         /sys/devices/system/cpu/online if it is usable.
68434         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
68435         reading the information from the /proc filesystem to once a second.
68437 2011-06-21  Andreas Jaeger  <aj@suse.de>
68439         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
68440         NULL after inclusion of kernel headers.
68442 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
68444         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
68445         calls to internal_setent.
68447         [BZ #12885]
68448         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
68449         addresses using gethostbyname4_r ignore IPv4 addresses.
68451         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
68452         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
68454         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
68456 2011-06-20  David S. Miller  <davem@davemloft.net>
68458         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
68459         inclusions.
68460         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
68462         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
68463         (elf_irel): Use it.
68464         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
68465         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
68466         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
68467         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
68468         * sysdeps/x86_64/dl-irel.h: Likewise.
68470         * elf/dl-runtime.c: Use elf_ifunc_invoke.
68471         * elf/dl-sym.c: Likewise.
68473 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
68475         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
68476         need to dereference resplen2.
68478 2011-06-14  Andreas Schwab  <schwab@redhat.com>
68480         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
68482 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
68484         * Makeconfig: Define vardbdir and inst_vardbdir.
68485         * nss/Makefile: Add rules to install db-Makefile.
68487         * nss/nss_db/db-XXX.c: Cleanup.
68489         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
68490         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
68491         GLIBC_PRIVATE.
68492         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
68493         * nss/makedb.c: Implement -g option to specify that value strings
68494         are generated and should not be added to table iterated over for
68495         get*ent calls.
68496         * nss/nss_db/db-initgroups.c: New file.
68498         * nss/getent.c: Add support for initgroups lookups through getgrouplist
68499         interface.
68501         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
68502         (internal_getgrouplist): Adjust to name change.
68503         Update use_initgroups_entry if this is not the first call.
68504         * nss/databases.def: Add initgroups entry.
68506         * nss/makedb.c (compute_tables): Check result of multiple hash table
68507         sizes to minimize maximum chain length.
68509 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
68511         * Versions.def: Add entry for libnss_db.
68512         * shlib-versions: Likewise.
68513         * nss/Makefile: Add rules to build libnss_db.
68514         * nss/Versions: Add libnss_db information.  Organize libnss_files
68515         entries better.
68516         * nss/db-Makefile: Add gshadow support.  Change rules for the new
68517         makedb progra.  Some minor improvements to generate smaller files.
68518         * nss/nss_db/nss_db.h: Move NSS database header data structures to
68519         here from...
68520         * nss/makedb.c: ...here.
68521         Improve database format to be smaller and require less memory at
68522         runtime.
68523         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
68524         db anymore.
68525         * nss/nss_db/db-netgrp.c: Likewise.
68526         * nss/nss_db/db-open.c: Likewise.
68527         * nss/nss_files/flies-XXX.x: Adjust comments.
68528         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
68529         * nss/nss_files/files-grp.c: Likewise.
68530         * nss/nss_files/files-hosts.c: Likewise.
68531         * nss/nss_files/files-network.c: Likewise.
68532         * nss/nss_files/files-proto.c: Likewise.
68533         * nss/nss_files/files-pwd.c: Likewise.
68534         * nss/nss_files/files-rpc.c: Likewise.
68535         * nss/nss_files/files-service.c: Likewise.
68536         * nss/nss_files/files-sgrp.c: Likewise.
68537         * nss/nss_files/files-spwd.c: Likewise.
68538         * nss/nss_db/db-alias.c: Removed.
68539         * nss/nss_db/dummy-db.h: Removed.
68541 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
68543         * nss/makedb.c: Rewritten to not use database library.
68544         * nss/Makefile: Update to build new makedb program.
68546 2011-06-14  Andreas Jaeger  <aj@suse.de>
68548         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
68549         memset declaration.
68551 2011-06-10  Andreas Schwab  <schwab@redhat.com>
68553         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
68554         tmpbuf.
68556 2011-06-10  Roland McGrath  <roland@hack.frob.com>
68558         * Makerules (shlib.lds): Fail if the linker script comes out empty.
68559         * elf/Makefile ($(objpfx)ld.so): Likewise.
68561         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
68562         Don't list ld.so twice in dependencies.
68564         * posix/bug-regex31.c: Include <stdlib.h>.
68566         * nscd/hstcache.c (cache_addhst): Remove unused variable.
68568         * nis/nss_compat/compat-spwd.c
68569         (getspent_next_nss_netgr): Remove unused variable.
68570         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
68572         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
68573         nonmembers" output to use the right array.
68575         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
68577         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
68579         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
68580         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
68581         * catgets/gencat.c (read_input_file): Likewise.
68582         * locale/programs/locarchive.c (enlarge_archive): Likewise.
68584         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
68585         variable definition inside #if's controlling its use.
68587         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
68589         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
68591         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
68593         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
68594         unreachable code.
68596         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
68598         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
68599         * configure: Regenerated.
68601         * Makerules: Revert last change.
68602         * elf/Makefile: Likewise.
68604 2011-06-09  Roland McGrath  <roland@hack.frob.com>
68606         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
68607         * elf/Makefile ($(objpfx)librtld.os): Likewise.
68608         (reloc-link): Likewise.
68610 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
68612         * elf/Makefile: Add rules to build pldd.
68613         * elf/pldd.c: New file.
68614         * elf/pldd-xx.c: New file.
68616 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
68618         * version.h: Update for 2.15 development version.
68620 2011-06-07  David S. Miller  <davem@davemloft.net>
68622         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
68623         ifuncs.
68624         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
68625         elf_machine_lazy_rel): Likewise.
68626         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
68627         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
68628         elf_machine_lazy_rel): Likewise.
68629         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
68630         dl_hwcap via passed in argument.
68631         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
68632         Likewise.
68634 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
68636         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
68638 2011-06-06  Roland McGrath  <roland@hack.frob.com>
68640         [BZ #12849]
68641         * manual/fdl-1.1.texi: New file, verbatim from:
68642         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
68643         * manual/lgpl-2.1.texi: New file, verbatim from:
68644         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
68645         * manual/Makefile (licenses): New variable, list those new file names.
68646         (texis): Use it.
68647         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
68649         * manual/fdl.texi: File removed.
68650         * manual/lesser.texi: File removed.
68651         * manual/libc.texinfo (Copying, Documentation License):
68652         Use new @include file names, put @appendix directive before @include.
68654 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
68656         [BZ #12841]
68657         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
68658         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
68659         (mq_open): Add __NTH.
68661 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
68663         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
68664         Assume Intel Core i3/i5/i7 processor if AVX is available.
68666 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
68668         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
68669         typo.
68671 2011-05-31  Andreas Schwab  <schwab@redhat.com>
68673         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
68674         memory.  Use alloca_account.  Fix memory leak when retrying.
68676 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
68678         * version.h (RELEASE): Bump for 2.14 release.
68679         * include/features.h (__GLIBC_MINOR__): Bump to 14.
68681         * config.make.in (RANLIB): Remove entry.
68683 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
68685         * po/Makefile (po-sed-cmd): Add ksh to extensions.
68686         (libc.pot): Work around missing support for .ksh extension in xgettext.
68688         [BZ #12684]
68689         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
68690         if both request failed.
68691         (send_dg): In case of server errors clear resplen or *resplen2.
68693         [BZ #12454]
68694         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
68695         when there are multiple maps.
68696         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
68697         (_dl_fini): Remove test here.
68699         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
68701 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
68703         [BZ #12350]
68704         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
68705         bit from old_res_options.
68706         (gaih_inet): Likewise.
68708         [BZ #11099]
68709         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
68710         as signed.
68712         * resolv/res_init.c (res_setoptions): Make the code more compact.
68714         [BZ #11558]
68715         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
68716         set RES_USEVC.
68718         [BZ #11634]
68719         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
68721         * malloc/malloc.h: Mark malloc hook variables as deprecated.
68723         [BZ #11781]
68724         * malloc/malloc.h: Declare malloc hook variables as volatile.
68726         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
68727         in last patch.
68729         [BZ #11799]
68730         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
68731         raise in the comment.
68732         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
68733         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
68734         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
68736 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
68738         [BZ #12811]
68739         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
68740         grow the buffers more if it already has to be sufficient.
68741         (build_wcs_upper_buffer): Likewise.
68742         * posix/regexec.c (check_matching): Likewise.
68743         (clean_state_log_if_needed): Likewise.
68744         (extend_buffers): Don't enlarge buffers beyond size of the input
68745         buffer.
68746         Patches mostly by Emil Wojak <emil@wojak.eu>.
68747         * posix/bug-regex32.c: New file.
68748         * posix/Makefile (tests): Add bug-regex32.
68750         * locale/findlocale.c (_nl_find_locale): Return right away if
68751         _nl_explode_name failed.
68752         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
68754         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
68756         * debug/xtrace.sh: Unify messages.
68757         * malloc/memusage.sh: Likewise.
68759         [BZ #12813]
68760         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
68761         time symbol from vDSO.  Substitute with vsyscall if not available.
68762         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
68763         __vdso_time.
68765         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
68766         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
68767         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
68768         Add sendmmsg and internal_sendmmsg.
68769         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
68770         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
68771         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
68773         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
68774         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
68775         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
68777 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
68779         [BZ #12813]
68780         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
68781         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
68782         available.
68783         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
68784         __vdso_getcpu.
68786         [BZ #12814]
68787         * iconvdata/Makefile (tests): Add bug-iconv9.
68788         * iconvdata/bug-iconv9.c: New file.
68790 2011-05-27  Andreas Schwab  <schwab@redhat.com>
68792         [BZ #12814]
68793         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
68795 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
68797         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
68798         (struct user_regs_struct): Change intcs field back to cs.
68800 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
68802         * po/ja.po: Update from translation team.
68804 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
68806         [BZ #12795]
68807         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
68808         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
68810 2011-05-20  Andreas Schwab  <schwab@redhat.com>
68812         * stdlib/longlong.h: Update from GCC.
68814 2011-05-23  Andreas Schwab  <schwab@redhat.com>
68816         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
68817         parameter name.
68818         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
68819         Add parameter name.
68820         (__sysconf): Pass it down.
68822 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
68824         [BZ #12671]
68825         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
68826         some situations.
68827         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
68828         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
68829         add in in __libc_use_alloca calls.  Adjust callers.
68830         (glob): Use malloc in some situations.
68832         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
68833         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
68834         pltexit.
68836 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
68838         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
68839         and CLOCK_BOOTTIME_ALARM.
68841         [BZ #12782]
68842         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
68843         is returned.
68845         * string/_strerror.c (__strerror_r): Print negative errors as signed
68846         numbers.
68848         [BZ #12777]
68849         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
68850         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
68851         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
68853         * configure.in: Fix typo in redirection and correct removal of test
68854         files in two cases.
68856         [BZ #12788]
68857         * locale/setlocale.c (new_composite_name): Fix test to check for
68858         identical name of all categories.
68860         [BZ #12792]
68861         * libio/filedoalloc.c (local_isatty): New function.
68862         (_IO_file_doallocate): Use local_isatty.
68863         * stdio-common/perror.c (perror): In case a new stream is used
68864         forward the stream error.
68865         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
68866         error flag.
68868 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
68870         [BZ #11884]
68871         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
68872         alloca.
68873         * include/alloca.h (extend_alloca_account): Define.
68875         [BZ #11857]
68876         * posix/regex.h: Fix comments with documentation of user-accessible
68877         fields after compilation and describe correct free'ing of pattern
68878         after re_compile_pattern.
68879         Patch by Reuben Thomas <rrt@sc3d.org>.
68881 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
68883         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
68884         and -mno-altivec to prevent the compiler from using Altivec and/or
68885         VSX instructions when the corresponding registers are not available.
68887 2011-05-19  Andreas Schwab  <schwab@redhat.com>
68889         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
68891 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
68893         * libio/freopen.c (freopen): Use __dup2, not dup2.
68894         * libio/freopen64.c (freopen64): Likewise.
68896 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
68898         [BZ #12775]
68899         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
68900         * math/Makefile (tests): Add test-powl.
68901         (CFLAGS-test-powl.c): Define.
68902         * math/test-powl.c: New file.
68904 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
68906         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
68908 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
68910         [BZ #11837]
68911         * iconvdata/gb18030.c: Update to GB18020-2005.
68913 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
68915         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
68916         RE_SYNTAX_POSIX_AWK): Update to match recent development.
68917         Patch by Aharon Robbins <arnold@skeeve.com>.
68919         [BZ #11892]
68920         * stdlib/putenv.c (putenv): Don't always create copy of the variable
68921         on the stack.
68923         [BZ #11895]
68924         * misc/pselect.c (__pselect): Handle timeout value errors hidden
68925         through underflows.
68927         [BZ #12766]
68928         * misc/error.c (error_at_line): Ensure file_name and old_file_name
68929         point to strings before performing equality test for error_one_per_line
68930         mode.
68932         [BZ #11697]
68933         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
68935         [BZ #11820]
68936         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
68937         (struct user_fpregs_struct): Avoid __uint*_t types.
68939         [BZ #6420]
68940         * malloc/mtrace.c (tr_where): Add additional parameter to point to
68941         symbol info.  Use it instead of calling _dl_addr locally.
68942         (lock_and_info): New function.
68943         (tr_freehook): Call lock_and_info and pass symbol info as additional
68944         parameter to tr_where.
68945         (tr_mallochook): Likewise.
68946         (tr_reallochook): Likewise.
68947         (tr_memalignhook): Likewise.
68949         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
68950         used and couldn't be at all thread-safe.
68952 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
68954         * libio/freopen.c (freopen): Don't close old file descriptor
68955         before the new one is opened.  Instead dup the new file descriptor
68956         to the old one after the new stream is created.
68957         * libio/freopen64.c (freopen64): Likewise.
68958         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
68959         * libio/fileops.c (_IO_new_file_close_it): Handle new
68960         _IO_FLAGS2_NOCLOSE flag.
68961         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
68962         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
68963         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
68964         _IO_FLAGS2_NOCLOSE flag.
68965         * include/unistd.h: Add hidden_proto for dup3.
68966         Define __have_dup3.
68967         * io/dup3.c: Define hidden symbol.
68968         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
68970         [BZ #7101]
68971         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
68972         when an incomplete long option is used.
68973         * posix/tst-getopt_long1.c: New file.
68974         * posix/Makefile (tests): Add tst-getopt_long1.
68976         [BZ #10138]
68977         * scripts/config.guess: Update from autoconf-2.68.
68978         * scripts/config.sub: Likewise.
68980         [BZ #10157]
68981         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
68982         tests into ...
68983         (has_cpuclock): ...this.  New function.
68984         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
68985         macro here based on has_cpuclock code.
68987         [BZ #10149]
68988         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
68989         First byte (not low byte) is now always NUL.
68990         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
68992         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
68993         Use non-cancelable interfaces.
68995         [BZ #9809]
68996         * locale/iso-639.def: Add entry for Sorani.
68998         [BZ #11901]
68999         * include/stdlib.h: Move include protection to the right place.
69000         Define abort_msg_s.  Declare __abort_msg with it.
69001         * stdlib/abort.c (__abort_msg): Adjust type.
69002         * assert/assert.c (__assert_fail_base): New function.  Majority
69003         of code from __assert_fail.  Allocate memory for __abort_msg with
69004         mmap.
69005         (__assert_fail): Now call __assert_fail_base.
69006         * assert/assert-perr.c: Remove bulk of implementation.  Use
69007         __assert_fail_base.
69008         * include/assert.hL Declare __assert_fail_base.
69009         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
69010         mmap.
69011         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
69013 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
69015         [BZ #11952]
69016         [BZ #12453]
69017         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
69018         until all modules are registered in the DTV.
69019         * elf/Makefile: Add rules to build and run tst-tls19.
69020         * elf/tst-tls19.c: New file.
69021         * elf/tst-tls19mod1.c: New file.
69022         * elf/tst-tls19mod2.c: New file.
69023         * elf/tst-tls19mod3.c: New file.
69024         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
69026         [BZ #12083]
69027         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
69028         correctly.
69030         [BZ #12601]
69031         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
69032         two-byte sequence errors.
69033         * iconvdata/Makefile (tests): Add bug-iconv8.
69034         * iconvdata/bug-iconv8.c: New file.
69036         [BZ #12626]
69037         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
69038         buf2 definition.
69040         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
69042         [BZ #12432]
69043         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
69044         (dummy_getcfa): New function.
69045         (init): Get _Unwind_GetCFA address, use dummy if not found.
69046         (backtrace_helper): In recursion check, also check whether CFA changes.
69047         (__backtrace): Completely initialize arg.
69049         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
69050         storing incomplete byte sequence in state object.  Avoid testing for
69051         guaranteed too small input if we know there is enough data available.
69053 2011-05-11  Andreas Schwab  <schwab@redhat.com>
69055         * Makeconfig (+link-pie): Indent.
69056         * Rules (binaries-pie): Define if $(have-fpie) and
69057         $(build-shared).
69058         (binaries-shared): Also filter out $(binaries-pie).
69059         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
69060         * nscd/Makefile (others-pie): Add nscd.
69061         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
69062         ($(objpfx)nscd): Remove command override.
69063         * login/Makefile (others-pie): Add pt_chown.
69064         ($(objpfx)pt_chown): Remove command override.
69065         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
69066         remove command overrides.
69068 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
69070         * libio/tst_putwc.c: Fix error messages.
69072         [BZ #12724]
69073         * libio/fileops.c (_IO_new_file_close_it): Always flush when
69074         currently writing and seek to current position when not.
69075         * libio/Makefile (tests): Add bug-fclose1.
69076         * libio/bug-fclose1.c: New file.
69078 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
69080         [BZ #12511]
69081         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
69082         don't set DF_1_NODELETE here.
69083         (do_lookup_x): When entering new entry test for copy relocation
69084         and if necessary set DF_1_NODELETE flag.
69085         * elf/tst-unique4.cc: New file.
69086         * elf/tst-unique4.h: New file.
69087         * elf/tst-unique4lib.cc: New file.
69088         * elf/Makefile: Add rules to build and run tst-unique4.
69089         Patch by Piotr Bury <pbury@goahead.com>.
69091 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
69093         [BZ #12052]
69094         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
69096         [BZ #12625]
69097         * misc/mntent_r.c (addmntent): Flush the stream after the output
69099         [BZ #12393]
69100         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
69101         (is_trusted_path_normalize): Skip initial colon.  Append slash
69102         to empty buffer.  Duplicate is_trusted_path code but allow
69103         constructed patch to be prefix.
69104         (is_dst): Allow $ORIGIN followed by /.
69105         (_dl_dst_substitute): Correct clearing of check_for_trusted.
69106         Correct testing of result of is_trusted_path_normalize
69107         (decompose_rpath): Fix warning.
69109 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
69111         [BZ #11257]
69112         * grp/initgroups.c (internal_getgrouplist): When we found the service
69113         list through the initgroups entry in nsswitch.conf do not always
69114         continue on a successful lookup.  Don't always use the
69115         __nss_group_database value if it is set.
69116         * nss/nsswitch.conf (initgroups): Change action for successful db
69117         lookup to continue for compatibility.
69119 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
69121         [BZ #11532]
69122         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
69123         and CP774 modules.
69124         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
69125         and CP774 modules.
69126         * iconvdata/tst-tables.sh: Likewise.
69127         * iconvdata/cp770.c: New file.
69128         * iconvdata/cp771.c: New file.
69129         * iconvdata/cp772.c: New file.
69130         * iconvdata/cp773.c: New file.
69131         * iconvdata/cp774.c: New file.
69132         * iconvdata/testdata/CP770: New file.
69133         * iconvdata/testdata/CP770..UTF8: New file.
69134         * iconvdata/testdata/CP771: New file.
69135         * iconvdata/testdata/CP771..UTF8: New file.
69136         * iconvdata/testdata/CP772: New file.
69137         * iconvdata/testdata/CP772..UTF8: New file.
69138         * iconvdata/testdata/CP773: New file.
69139         * iconvdata/testdata/CP773..UTF8: New file.
69140         * iconvdata/testdata/CP774: New file.
69141         * iconvdata/testdata/CP774..UTF8: New file.
69143         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
69144         END CHARMAP line.
69145         * iconvdata/gen-8bit-gap.sh: Likewise.
69146         * iconvdata/gen-8bit.sh: Likewise.
69148         * locale/iso-639.def: Add ary entry.
69150         [BZ #11258]
69151         * locale/C-translit.h.in: Add U20A1 transliteration.
69153         [BZ #12178]
69154         * locale/iso-639.def: Add wae entry.
69155         Patch by Kevin Bortis <bortis@translate-wae.ch>.
69157         [BZ #12545]
69158         * locale/programs/localedef.c (construct_output_path): Use ssize_t
69159         for n.
69161         [BZ #12711]
69162         * locale/C-translit.h.in: Add entry for U20B9.
69163         Patch by pravin.d.s@gmail.com.
69165 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
69167         [BZ #12713]
69168         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
69169         ENAMETOOLONG use generic getcwd.
69170         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
69171         in rtld.  Use *stat64.
69172         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
69173         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
69174         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
69175         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
69176         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
69177         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
69178         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
69179         __fstatat64 macros.
69180         * include/dirent.h: Add libc_hidden_proto for rewinddir.
69181         * dirent/rewinddir.c: Add libc_hidden_def.
69182         * sysdeps/mach/hurd/rewinddir.c: Likewise.
69183         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
69185         * include/dirent.h (__alloc_dir): Add flags parameter.
69186         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
69187         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
69188         __alloc_dir.
69189         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
69190         from fdopendir if O_CLOEXEC is already set.
69192 2011-03-15  Alan Modra  <amodra@gmail.com>
69194         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
69195         l_tls_firstbyte_offset non-zero.  Save padding offset in
69196         l_tls_firstbyte_offset for later use.
69197         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
69198         freeing static tls block.
69200 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
69202         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
69203         where #ifdef was intended.  The intent is to prevent ARG_MAX from
69204         being defined by the kernel headers.
69206 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
69208         [BZ #12734]
69209         * resolv/resolv.h: Define RES_NOTLDQUERY.
69210         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
69211         no-tld-query and set RES_NOTLDQUERY.
69212         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
69213         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
69214         modern BIND to search name as TLD unless forbidden.
69216 2011-05-07  Petr Baudis  <pasky@suse.cz>
69217             Ulrich Drepper  <drepper@gmail.com>
69219         [BZ #12393]
69220         * elf/dl-load.c (fillin_rpath): Move trusted path check...
69221         (is_trusted_path): ...to here.
69222         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
69223         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
69224         using is_trusted_path_normalize() in setuid scripts.
69226 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
69228         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
69229         __BEGIN/__END_DECLS.
69231 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
69233         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
69234         NSS_STATUS_NOTFOUND if no record was found.
69236 2011-05-05  Andreas Schwab  <schwab@redhat.com>
69238         * sunrpc/Makefile (headers): Add rpc/netdb.h.
69239         (headers-not-in-tirpc): Remove rpc/netdb.h
69240         * resolv/netdb.h: Revert last change.
69242 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
69244         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
69245         circular dependency between libgcc.a and libc.a.
69247 2011-05-05  Andreas Schwab  <schwab@redhat.com>
69249         * resolv/netdb.h: Don't include <rpc/netdb.h>.
69250         * nis/Makefile: Don't install rpcsvc/*.
69251         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
69252         instead of <rpc/types.h>.
69253         (MAXHOSTNAMELEN): Define.
69255 2011-05-03  Andreas Schwab  <schwab@redhat.com>
69257         * elf/ldconfig.c (add_dir): Don't crash on empty path.
69259 2011-04-28  Maciej Babinski  <mbabinski@google.com>
69261         [BZ #12714]
69262         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
69263         gethostbyname4_r when IPv6 results are possible.
69265 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
69267         [BZ #12723]
69268         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
69269         _PC_PIPE_BUF handling.
69271 2011-04-30  Bruno Haible  <bruno@clisp.org>
69273         [BZ #12717]
69274         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
69275         * resolv/netdb.h (getnameinfo): Change type of flags parameter
69276         to 'int'.
69277         * inet/getnameinfo.c (getnameinfo): Likewise.
69279 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
69281         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
69282         to groups setting in database lookup.
69283         * nss/nsswitch.conf: Add initgroups entry.
69285 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
69287         [BZ #12685]
69288         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
69289         mode string.
69290         Patch by Eric Blake <eblake@redhat.com>.
69292 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
69294         * sunrpc/Makefile (need-export-routines): Add svc_run.
69295         (routines): Remove svc_run.
69296         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
69297         * sunrpc/clnt_perr.c (clnt_perrno): Export.
69298         * sunrpc/svc_run.c (svc_run): Likewise.
69299         * sunrpc/svc_udp.c (svcudp_create): Likewise.
69301 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
69303         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
69304         problem in reallocation in last patch.
69306 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
69308         * sunrpc/Makefile: Move inclusion of Rules.
69310 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
69312         * nss/nss_files/files-initgroups.c: New file.
69313         * nss/Makefile (libnss_files-routines): Add files-initgroups.
69314         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
69315         _nss_files_initgroups_dyn.
69317 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
69319         * elf/elf.h (R_ARM_IRELATIVE): Define.
69321 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
69323         * po/ru.po: Update from translation team.
69325 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
69327         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
69328         dependencies.
69330 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
69332         [BZ #12653]
69333         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
69334         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
69335         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
69336         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
69337         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
69339 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
69341         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
69342         differing bytes.
69343         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
69344         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
69345         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
69347 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
69349         [BZ #12420]
69350         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
69351         storing it.
69352         * stdlib/bug-getcontext.c: New file.
69353         * stdlib/Makefile: Add rules to build and run bug-getcontext.
69355 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
69357         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
69358         instructions into .machine "z9-109".
69359         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
69360         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
69362 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
69364         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
69365         between environment variables and auxiliary vector.
69367 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
69369         * Makefile: Add rules to build linkobj/libc.so.
69370         * include/libc-symbols.h: Define libc_hidden_nolink.
69371         * include/rpc/auth.h: Mark functions which are to be hidden.
69372         * include/rpc/auth_des.h: Likewise.
69373         * include/rpc/auth_unix.h: Likewise.
69374         * include/rpc/clnt.h: Likewise.
69375         * include/rpc/des_crypt.h: Likewise.
69376         * include/rpc/key_prot.h: Likewise.
69377         * include/rpc/pmap_clnt.h: Likewise.
69378         * include/rpc/pmap_prot.h: Likewise.
69379         * include/rpc/pmap_rmt.h: Likewise.
69380         * include/rpc/rpc_msg.h: Likewise.
69381         * include/rpc/svc.h: Likewise.
69382         * include/rpc/svc_auth.h: Likewise.
69383         * include/rpc/xdr.h: Likewise.
69384         * nis/Makefile: Link all DSOs against linkobj/libc.so.
69385         * nss/Makefile: Likewise.
69386         * sunrpc/Makefile: Don't install headers.  Build library with normal
69387         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
69388         * sunrpc/auth_des.c: Hide exported symbols by default, export some
69389         for the compat linking library.  Remove use of INTDEF/INTUSE.
69390         * sunrpc/auth_none.c: Likewise.
69391         * sunrpc/auth_unix.c: Likewise.
69392         * sunrpc/authdes_prot.c: Likewise.
69393         * sunrpc/authuxprot.c: Likewise.
69394         * sunrpc/clnt_gen.c: Likewise.
69395         * sunrpc/clnt_perr.c: Likewise.
69396         * sunrpc/clnt_raw.c: Likewise.
69397         * sunrpc/clnt_simp.c: Likewise.
69398         * sunrpc/clnt_tcp.c: Likewise.
69399         * sunrpc/clnt_udp.c: Likewise.
69400         * sunrpc/clnt_unix.c: Likewise.
69401         * sunrpc/des_crypt.c: Likewise.
69402         * sunrpc/des_soft.c: Likewise.
69403         * sunrpc/get_myaddr.c: Likewise.
69404         * sunrpc/key_call.c: Likewise.
69405         * sunrpc/key_prot.c: Likewise.
69406         * sunrpc/netname.c: Likewise.
69407         * sunrpc/pm_getmaps.c: Likewise.
69408         * sunrpc/pm_getport.c: Likewise.
69409         * sunrpc/pmap_clnt.c: Likewise.
69410         * sunrpc/pmap_prot.c: Likewise.
69411         * sunrpc/pmap_prot2.c: Likewise.
69412         * sunrpc/pmap_rmt.c: Likewise.
69413         * sunrpc/publickey.c: Likewise.
69414         * sunrpc/rpc_cmsg.c: Likewise.
69415         * sunrpc/rpc_common.c: Likewise.
69416         * sunrpc/rpc_dtable.c: Likewise.
69417         * sunrpc/rpc_prot.c: Likewise.
69418         * sunrpc/rpc_thread.c: Likewise.
69419         * sunrpc/rtime.c: Likewise.
69420         * sunrpc/svc.c: Likewise.
69421         * sunrpc/svc_auth.c: Likewise.
69422         * sunrpc/svc_authux.c: Likewise.
69423         * sunrpc/svc_raw.c: Likewise.
69424         * sunrpc/svc_run.c: Likewise.
69425         * sunrpc/svc_simple.c: Likewise.
69426         * sunrpc/svc_tcp.c: Likewise.
69427         * sunrpc/svc_udp.c: Likewise.
69428         * sunrpc/svc_unix.c: Likewise.
69429         * sunrpc/svcauth_des.c: Likewise.
69430         * sunrpc/xcrypt.c: Likewise.
69431         * sunrpc/xdr.c: Likewise.
69432         * sunrpc/xdr_array.c: Likewise.
69433         * sunrpc/xdr_float.c: Likewise.
69434         * sunrpc/xdr_intXX_t.c: Likewise.
69435         * sunrpc/xdr_mem.c: Likewise.
69436         * sunrpc/xdr_rec.c: Likewise.
69437         * sunrpc/xdr_ref.c: Likewise.
69438         * sunrpc/xdr_sizeof.c: Likewise.
69439         * sunrpc/xdr_stdio.c: Likewise.
69441 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
69443         [BZ #12650]
69444         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
69445         * sysdeps/ia64/dl-tls.h: Likewise.
69446         * sysdeps/powerpc/dl-tls.h: Likewise.
69447         * sysdeps/s390/dl-tls.h: Likewise.
69448         * sysdeps/sh/dl-tls.h: Likewise.
69449         * sysdeps/sparc/dl-tls.h: Likewise.
69450         * sysdeps/x86_64/dl-tls.h: Likewise.
69451         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
69453 2011-03-14  Andreas Schwab  <schwab@redhat.com>
69455         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
69456         rpath element also skip the following colon.
69457         (expand_dynamic_string_token): Add is_path parameter and pass
69458         down to DL_DST_REQUIRED and _dl_dst_substitute.
69459         (decompose_rpath): Call expand_dynamic_string_token with
69460         non-zero is_path.  Ignore empty rpaths.
69461         (_dl_map_object_from_fd): Call expand_dynamic_string_token
69462         with zero is_path.
69464 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
69466         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
69467         Make cancelable.
69469 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
69471         [BZ #12655]
69472         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
69473         Patch by Filipe David Manana <fdmanana@apache.org>.
69475 2011-04-07  Andreas Schwab  <schwab@redhat.com>
69477         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
69478         Maintain aligned stack.
69479         (CHECK_RSP): Remove unused macro.
69481 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
69483         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
69484         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
69486 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
69488         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
69490         * include/features.h: Mention __USE_XOPEN2K8 in comment.
69492 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
69494         [BZ #12518]
69495         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
69496         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
69497         * sysdeps/x86_64/memmove.c: New file.
69498         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
69499         (memcpy): Renamed to ...
69500         (__new_memcpy): This.
69501         (memcpy): Provide GLIBC_2_14 memcpy.
69502         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
69503         (memcpy): Provide GLIBC_2_2_5 memcpy.
69505 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
69507         [BZ #12631]
69508         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
69510 2011-03-30  Andreas Schwab  <schwab@redhat.com>
69512         * misc/syncfs.c: New file.
69513         * misc/Makefile (routines): Add syncfs.
69514         * posix/unistd.h: Declare syncfs.
69515         * sysdeps/unix/syscalls.list: Add syncfs.
69517 2011-04-01  Andreas Schwab  <schwab@redhat.com>
69519         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
69520         open_by_handle_at.
69521         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
69522         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
69523         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
69524         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
69525         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
69526         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
69527         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
69529 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
69531         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
69532         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
69533         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
69534         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
69535         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
69536         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
69537         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
69539         * io/Makefile: Compile fallocate.c, fallocate64.c, and
69540         sync_file_range.c with -fexceptions.
69541         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
69542         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
69543         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
69544         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
69545         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
69546         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
69547         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
69548         sync_file_range as cancellation point
69549         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
69550         now a wrapper around __call_sync_file_range with cancellation handling.
69551         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
69552         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
69553         function name to __call_sync_file_range.
69554         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
69555         Add call_sync_file_range.
69557 2011-04-01  Andreas Schwab  <schwab@redhat.com>
69559         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
69560         bits/timex.h.
69562 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
69564         * iconv/iconv.h: Fix typo in comment.
69565         * io/fcntl.h: Likewise.
69566         * libio/stdio.h: Likewise.
69567         * posix/spawn.h: Likewise.
69568         * posix/unistd.h: Likewise.
69569         * stdlib/stdlib.h: Likewise.
69570         * time/time.h: Likewise.
69571         * wcsmbs/wchar.h: Likewise.
69573         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
69574         open_by_handle): Add.
69575         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
69576         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
69577         Augment a few comments.
69578         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
69579         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
69580         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
69581         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
69582         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
69583         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
69584         open_by_handle.
69586         * io/fcntl.h (AT_EMPTY_PATH): Define.
69588 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
69590         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
69591         * sysdeps/unix/sysv/linux/bits/time.h: New file.
69592         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
69593         to...
69594         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
69595         * Versions.def: Add GLIBC_2.14.
69596         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
69597         Export.
69599 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
69601         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
69602         round counter.
69603         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
69605 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
69607         [BZ #12597]
69608         * string/test-strncmp.c (do_page_test): New function.
69609         (check2): Likewise.
69610         (test_main): Call check2.
69611         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
69613 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
69615         [BZ #12587]
69616         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
69617         Handle cache information in CPU leaf 4.
69618         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
69620 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
69622         [BZ #12583]
69623         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
69624         character representation.
69625         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
69627 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
69629         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
69630         END(__isnan) to END(__isnanf) to match function entry point/label
69631         EALIGN(__isnanf,...).
69633 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
69635         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
69637 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
69639         [BZ #12510]
69640         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
69641         copy from the symbol referenced in the relocation to initialize the
69642         used variable.
69643         Patch by Piotr Bury <pbury@goahead.com>.
69644         * elf/Makefile: Add rules to build and tst-unique3.
69645         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
69646         * elf/tst-unique3.cc: New file.
69647         * elf/tst-unique3.h: New file.
69648         * elf/tst-unique3lib.cc: New file.
69649         * elf/tst-unique3lib2.cc: New file.
69651         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
69653 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
69655         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
69656         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
69657         to _start.
69659 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
69661         * elf/dl-load.c (_dl_map_object): If we are looking for the first
69662         to-be-loaded object along a path to loader is ld.so.
69664 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
69665             Ulrich Drepper  <drepper@gmail.com>
69667         * sysdeps/x86_64/memset.S: After aligning destination, code
69668         branches to different locations depending on the value of
69669         misalignment, when multiarch is enabled. Fix this.
69671 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
69673         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
69674         Set _x86_64_preferred_memory_instruction for AMD processsors.
69675         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
69676         Set bit_Prefer_SSE_for_memop for AMD processors.
69678 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
69680         * libio/fmemopen.c (fmemopen): Optimize a bit.
69682 2011-03-03  Andreas Schwab  <schwab@redhat.com>
69684         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
69686 2011-03-03  Roland McGrath  <roland@redhat.com>
69688         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
69690 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
69692         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
69693         __bzero_ultra1 instead of __memset_ultra1.
69695 2011-02-23  Andreas Schwab  <schwab@redhat.com>
69696             Ulrich Drepper  <drepper@gmail.com>
69698         [BZ #12509]
69699         * include/link.h (struct link_map): Add l_orig_initfini.
69700         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
69701         returning unsuccessfully.
69702         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
69703         close of a file loaded at startup, restore the original l_initfini
69704         list.
69705         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
69706         list, store the pointer.
69707         * elf/Makefile ($(objpfx)noload-mem): New rule.
69708         (noload-ENV): Define.
69709         (tests): Add $(objpfx)noload-mem.
69710         * elf/noload.c: Include <memcheck.h>.
69711         (main): Call mtrace.  Close all opened handles.
69713 2011-02-17  Andreas Schwab  <schwab@redhat.com>
69715         [BZ #12454]
69716         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
69717         dependencies are missing.
69719 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
69721         Fix __if_freereq crash: Unlike the generic version which uses free,
69722         Hurd needs munmap.
69723         * sysdeps/mach/hurd/ifreq.h: New file.
69725 2011-01-27  Petr Baudis  <pasky@suse.cz>
69726             Ulrich Drepper  <drepper@gmail.com>
69728         [BZ 12445]#
69729         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
69730         to extend_alloca().
69731         * stdio-common/bug23.c: New file.
69732         * stdio-common/Makefile (tests): Add bug23.
69734 2010-09-28  Andreas Schwab  <schwab@redhat.com>
69735             Ulrich Drepper  <drepper@gmail.com>
69737         [BZ #12489]
69738         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
69739         before performing relro protection.  At old place add assertion
69740         to make sure nothing changed.
69742 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
69743             Glauber de Oliveira Costa  <glommer@gmail.com>
69745         * elf/elf.h: Add new ARM TLS relocs.
69747 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
69749         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
69750         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
69751         cast from r3.
69752         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
69753         'tests' variable.
69754         * sysdeps/wordsize-64/tst-writev.c: New file.
69756 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
69758         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
69759         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
69760         insns in _dl_start to prevent a TOC reference before relocs are
69761         resolved.
69763 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
69765         [BZ #12469]
69766         * Makeconfig: Remove RANLIB definition.
69767         * Makerules: Don't use RANLIB.
69768         * aclocal.m4: Remove ranlib test.
69769         * configure.in: No need to check for ranlib.
69770         * elf/rtld-Rules: Don't use RANLIB.
69772 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
69774         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
69775         protection macro.
69776         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
69777         inclusion protection macro.
69779         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
69780         SIGRTMIN and SIGRTMAX and print information in that case only when
69781         SIGRTMIN is defined.
69783 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
69785         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
69786         arginfo fn returning -1.
69788         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
69789         and thousands string is zero terminated.
69791 2011-02-03  Andreas Schwab  <schwab@redhat.com>
69793         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
69794         sysdeps/unix/sysv/linux/bits/socket.h.
69796 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
69798         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
69799         (__CPU_COUNT): Remove old macros.
69800         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
69801         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
69802         (__CPU_ALLOC, __CPU_FREE): Add macros.
69803         (__sched_cpualloc, __sched_cpufree): Add declarations.
69805 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
69807         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
69808         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
69809         * nscd/aicache.c (addhstaiX): Return timeout of added value.
69810         (readdhstai): Return value of addhstaiX call.
69811         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
69812         (addgrbyX): Return value returned by cache_addgr.
69813         (readdgrbyname): Return value returned by addgrbyX.
69814         (readdgrbygid): Likewise.
69815         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
69816         (addpwbyX): Return value returned by cache_addpw.
69817         (readdpwbyname): Return value returned by addhstbyX.
69818         (readdpwbyuid): Likewise.
69819         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
69820         (addservbyX): Return value returned by cache_addserv.
69821         (readdservbyname): Return value returned by addservbyX:
69822         (readdservbyport): Likewise.
69823         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
69824         (addhstbyX): Return value returned by cache_addhst.
69825         (readdhstbyname): Return value returned by addhstbyX.
69826         (readdhstbyaddr): Likewise.
69827         (readdhstbynamev6): Likewise.
69828         (readdhstbyaddrv6): Likewise.
69829         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
69830         (readdinitgroups): Return value returned by addinitgroupsX.
69831         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
69832         (prune_cache): Keep track of timeout value of re-added entries.
69833         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
69834         * nscd/nscd.h: Adjust prototypes of readd* functions.
69836 2011-02-04  Roland McGrath  <roland@redhat.com>
69838         * nis/nis_server.c (nis_servstate): Use the right name for 0.
69839         (nis_stats): Likewise.
69840         * nis/nis_modify.c (nis_modify): Likewise.
69841         * nis/nis_remove.c (nis_remove): Likewise.
69842         * nis/nis_add.c (nis_add): Likewise.
69844         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
69846         * posix/fnmatch_loop.c: Add some consts.
69848         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
69850 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
69852         [BZ #12460]
69853         * config.make.in (config-cflags-novzeroupper): Define.
69854         * configure.in: Substitute libc_cv_cc_novzeroupper.
69855         * elf/Makefile (AVX-CFLAGS): Define.
69856         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
69857         (CFLAGS-tst-auditmod4a.c): Likewise.
69858         (CFLAGS-tst-auditmod4b.c): Likewise.
69859         (CFLAGS-tst-auditmod6b.c): Likewise.
69860         (CFLAGS-tst-auditmod6c.c): Likewise.
69861         (CFLAGS-tst-auditmod7b.c): Likewise.
69862         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
69864 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
69866         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
69867         function to the callback.
69868         Patch partly by Jiri Olsa <jolsa@redhat.com>.
69870 2011-02-02  Andreas Schwab  <schwab@redhat.com>
69872         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
69873         of errno.
69875 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
69877         [BZ #11724]
69878         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
69879         of constructors.
69880         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
69881         of destructors.
69882         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
69884         [BZ #11724]
69885         * elf/Makefile: Add rules to build and run new test.
69886         * elf/tst-initorder.c: New file.
69887         * elf/tst-initorder.exp: New file.
69888         * elf/tst-initordera1.c: New file.
69889         * elf/tst-initordera2.c: New file.
69890         * elf/tst-initordera3.c: New file.
69891         * elf/tst-initordera4.c: New file.
69892         * elf/tst-initorderb1.c: New file.
69893         * elf/tst-initorderb2.c: New file.
69894         * elf/tst-order-a1.c: New file.
69895         * elf/tst-order-a2.c: New file.
69896         * elf/tst-order-a3.c: New file.
69897         * elf/tst-order-a4.c: New file.
69898         * elf/tst-order-b1.c: New file.
69899         * elf/tst-order-b2.c: New file.
69900         * elf/tst-order-main.c: New file.
69901         New test case by George Gensure <werkt0@gmail.com>.
69903 2010-10-01  Andreas Schwab  <schwab@redhat.com>
69905         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
69906         decoding ACE if AI_CANONIDN.
69908 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
69910         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
69912 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
69914         * version.h (RELEASE): Bump for 2.13 release.
69915         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
69917         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
69919         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
69920         MADV_NOHUGEPAGE.
69921         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
69922         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
69923         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
69924         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
69925         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
69926         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
69928         * posix/getconf.c: Update copyright year.
69929         * catgets/gencat.c: Likewise.
69930         * csu/version.c: Likewise.
69931         * debug/catchsegv.sh: Likewise.
69932         * debug/xtrace.sh: Likewise.
69933         * elf/ldconfig.c: Likewise.
69934         * elf/ldd.bash.in: Likewise.
69935         * elf/sprof.c (print_version): Likewise.
69936         * iconv/iconv_prog.c: Likewise.
69937         * iconv/iconvconfig.c: Likewise.
69938         * locale/programs/locale.c: Likewise.
69939         * locale/programs/localedef.c: Likewise.
69940         * malloc/memusage.sh: Likewise.
69941         * malloc/mtrace.pl: Likewise.
69942         * nscd/nscd.c (print_version): Likewise.
69943         * nss/getent.c: Likewise.
69945         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
69946         PF_CAIF, and PF_ALG.
69947         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
69949 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
69951         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
69952         (modules-names): Use them.
69953         (ifunc-test-modules, ifunc-pie-tests): Define.
69954         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
69955         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
69956         (test-extras): Likewise.
69957         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
69958         $(compile-command.c).
69959         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
69960         (all-built-dso): Define.
69961         (check-textrel.out, check-execstack.out): Depend on it.
69963         * configure.in: Don't override --enable-multi-arch.
69965 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
69967         [BZ #6812]
69968         * nscd/hstcache.c (tryagain): Define.
69969         (cache_addhst): Return tryagain not notfound for temporary errors.
69970         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
69971         failed.
69973 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
69975         [BZ #10563]
69976         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
69977         to make the syscall.
69978         * sysdeps/unix/sysv/linux/setgroups.c: New file.
69980         [BZ #12378]
69981         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
69982         and fall back to matching as normal character if the string ends before
69983         the matching ']' is found.  This is what POSIX requires.
69984         * posix/testfnm.c: Adjust test result.
69985         * posix/globtest.sh: Adjust test result.  Add new test.
69986         * posix/tst-fnmatch.input: Likewise.
69987         * posix/tst-fnmatch2.c: Add new test.
69989 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
69991         * elf/Makefile (check-execstack): Revert last change.  Depend on
69992         check-execstack.h.
69993         (check-execstack.h): New target.
69994         (generated): Add check-execstack.h.
69995         * elf/check-execstack.c: Include "check-execstack.h".
69996         (main): Revert last change.
69997         (handle_file): Return zero if GNU_STACK is absent and
69998         DEFAULT_STACK_PERMS doesn't include PF_X.
70000 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
70002         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
70003         in child fails because the descriptor is already closed.
70004         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
70005         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
70006         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
70008         [BZ #12397]
70009         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
70010         syscall.
70012         [BZ #10484]
70013         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
70014         temporary buffer used to handle multi lookups locally.
70015         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
70017 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
70019         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
70020         loader is ld.so.
70022 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
70024         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
70025         alignment for SSE2.
70027 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
70029         [BZ #12394]
70030         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
70031         characters.  When rounding increased number of integer digits recompute
70032         number of groups.
70033         * stdio-common/tst-grouping.c: New file.
70034         * stdio-common/Makefile: Add rules to build and run tst-grouping.
70036 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
70038         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
70039         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
70041         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
70042         void.
70043         * bits/select.h: Likewise.
70045 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
70047         * po/ja.po: Update from translation team.
70049 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
70051         [BZ #11155]
70052         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
70053         implementation just like for lxstat, fxstatat, et al.
70055 2010-12-27  Jim Meyering  <meyering@redhat.com>
70057         [BZ #12348]
70058         * posix/regexec.c (build_trtable): Return failure indication upon
70059         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
70061 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
70063         [BZ #12201]
70064         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
70065         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
70066         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
70067         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
70069         [BZ #12207]
70070         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
70072         [BZ #12204]
70073         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
70074         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
70076 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
70078         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
70079         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
70080         script has SORT_BY_INIT_PRIORITY.
70081         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
70082         NO_CTORS_DTORS_SECTIONS is defined.
70083         * elf/soinit.c: Likewise.
70084         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
70085         NO_CTORS_DTORS_SECTIONS is defined.
70086         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
70087         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
70088         * sysdeps/sh/init-first.c: Likewise.
70089         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
70091 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
70093         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
70094         always use the slow path.
70096 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
70098         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
70099         similar rule which adds the sysdep directories to the header search in
70100         order to pick up the correct platform stackinfo.h.
70101         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
70102         perform test if it is, otherwise return successfully without testing.
70103         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
70104         DEFAULT_STACK_PERMS define in stackinfo.h.
70105         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
70106         defined in stackinfo.h.
70107         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
70108         DEFAULT_STACK_PERMS defined in stackinfo.h.
70109         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
70110         * sysdeps/ia64/stackinfo.h: Likewise.
70111         * sysdeps/s390/stackinfo.h: Likewise.
70112         * sysdeps/sh/stackinfo.h: Likewise.
70113         * sysdeps/sparc/stackinfo.h: Likewise.
70114         * sysdeps/x86_64/stackinfo.h: Likewise.
70115         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
70116         PF_X for powerpc64.  Retain PF_X for powerpc32.
70118 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
70120         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
70121         accurately.
70122         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
70123         GETDENTS_64BIT_ALIGNED.
70125 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
70127         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
70129 2010-12-10  Andreas Schwab  <schwab@redhat.com>
70131         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
70132         _GNU_SOURCE.
70134         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
70135         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
70136         Remove __restrict.
70137         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
70138         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
70140 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
70142         [BZ #11655]
70143         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
70144         are initialized.
70146 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
70148         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
70150 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
70152         * po/it.po: Update from translation team.
70154 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
70156         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
70157         unused codes.
70159 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
70161         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
70163 2010-11-24  Andreas Schwab  <schwab@redhat.com>
70165         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
70166         specially.
70167         (gaih_getanswer_slice): Likewise.
70169 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
70171         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
70173 2010-05-31  Petr Baudis  <pasky@suse.cz>
70175         [BZ #11149]
70176         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
70177         silently even in the chroot mode.
70179 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
70181         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
70182         last patch a bit.  Pretty printing
70184 2010-05-31  Petr Baudis <pasky@suse.cz>
70186         [BZ #10085]
70187         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
70188         initialization of skip_initgroups_dyn.
70190 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
70192         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
70193         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
70195 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
70197         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
70199 2010-11-11  Andreas Schwab  <schwab@redhat.com>
70201         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
70202         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
70203         (tst-fnmatch-ENV): Set MALLOC_TRACE.
70204         ($(objpfx)tst-fnmatch-mem): New rule.
70205         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
70206         * posix/tst-fnmatch.c (main): Call mtrace.
70208 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
70210         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
70211         Support Intel processor model 6 and model 0x2c.
70213 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
70215         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
70216           signed comparison.
70218 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
70220         [BZ #12205]
70221         * string/test-strncasecmp.c (check_result): New function.
70222         (do_one_test): Use it.
70223         (check1): New function.
70224         (test_main): Use it.
70225         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
70226         Support strcasecmp and strncasecmp.
70228 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
70230         [BZ #12194]
70231         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
70232         * sysdeps/x86_64/bits/byteswap.h: Likewise.
70234 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
70236         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
70237         IFUNC support.
70238         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
70239         memset-x86-64.
70240         * sysdeps/x86_64/multiarch/bzero.S: New file.
70241         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
70242         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
70243         * sysdeps/x86_64/multiarch/memset.S: New file.
70244         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
70245         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
70246         Set bit_Prefer_SSE_for_memop for Intel processors.
70247         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
70248         Define.
70249         (index_Prefer_SSE_for_memop): Define.
70250         (HAS_PREFER_SSE_FOR_MEMOP): Define.
70252 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
70254         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
70255         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
70257 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
70259         [BZ #12191]
70260         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
70261         (__x86_64_raw_data_cache_size_half): Likewise.
70262         (__x86_64_raw_shared_cache_size): Likewise.
70263         (__x86_64_raw_shared_cache_size_half): Likewise.
70265         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
70266         (__x86_64_raw_data_cache_size_half): Likewise.
70267         (__x86_64_raw_shared_cache_size): Likewise.
70268         (__x86_64_raw_shared_cache_size_half): Likewise.
70269         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
70270         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
70271         and __x86_64_raw_shared_cache_size_half.  Round
70272         __x86_64_data_cache_size_half, __x86_64_data_cache_size
70273         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
70274         to multiple of 256 bytes.
70276 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
70278         [BZ #12167]
70279         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
70280         of inacessible symlinks.  Verify result of symlink before returning it.
70281         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
70282         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
70284 2010-10-28  Erich Ritz  <erichritz@gmail.com>
70286         * math/math.h (isinf): Fix typo in comment.
70288 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
70290         * po/da.po: Update from translation team.
70292 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
70294         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
70295         is added to the list.
70297 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
70298             Ulrich Drepper  <drepper@gmail.com>
70300         * elf/dl-object.c (_dl_new_object): Don't append the new object to
70301         the global list here.  Move code to...
70302         (_dl_add_to_namespace_list): ...here.  New function.
70303         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
70304         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
70305         * elf/dl-load.c (lose): Don't remove the element from the list.
70306         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
70307         (_dl_map_object): Likewise.
70309 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
70311         [BZ #12159]
70312         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
70313         into all bytes of SSE register.
70314         Patch by Richard Li <richardpku@gmail.com>.
70316 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
70318         [BZ #12140]
70319         * malloc/malloc.c (_int_free): Fill correct number of bytes when
70320         perturbing.
70322 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
70324         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
70325         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
70326         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
70327         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
70328         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
70329         submachine.
70330         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
70332 2010-10-22  Andreas Schwab  <schwab@redhat.com>
70334         * include/dlfcn.h (__RTLD_SECURE): Define.
70335         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
70336         mode & __RTLD_SECURE instead.
70337         (open_path): Rename preloaded parameter to secure.
70338         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
70339         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
70340         * elf/dl-deps.c (openaux): Likewise.
70341         * elf/rtld.c (struct map_args): Remove is_preloaded.
70342         (map_doit): Don't use it.
70343         (dl_main): Likewise.
70344         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
70345         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
70347 2010-09-09  Andreas Schwab  <schwab@redhat.com>
70349         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
70350         (sysd-rules-targets): Remove duplicates.
70351         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
70352         rtld-%.$o dependency.
70354 2010-10-18  Andreas Schwab  <schwab@redhat.com>
70356         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
70357         _dl_map_object do it.
70359 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
70361         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
70362         fast fma builtins, define the macros in the C99 standard.
70363         (FP_FAST_FMAF): Likewise.
70364         (FP_FAST_FMAL): Likewise.
70365         * sysdeps/x86_64/bits/mathdef.h: Likewise.
70367         * bits/mathdef.h: Update copyright year.
70368         * sysdeps/powerpc/bits/mathdef.h: Likewise.
70370 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
70372         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
70373         builtins, define the macros in the C99 standard.
70374         (FP_FAST_FMAF): Likewise.
70375         (FP_FAST_FMAL): Likewise.
70376         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
70377         multiply/add.
70378         (FP_FAST_FMAF): Likewise.
70380 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
70382         [BZ #3268]
70383         * math/libm-test.inc (fma_test): Some new testcases.
70384         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
70385         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
70386         y and infinite z.  Do multiplication by C already in long double.
70387         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
70388         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
70389         y and infinite z.  Do bitwise or of inexact bit into u.d.
70390         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
70391         * sysdeps/i386/fpu/s_fmaf.S: Removed.
70392         * sysdeps/i386/fpu/s_fma.S: Removed.
70393         * sysdeps/i386/fpu/s_fmal.S: Removed.
70395 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
70397         [BZ #3268]
70398         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
70399         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
70400         computation is not scheduled after fetestexcept.  Fix value
70401         of minimum denormal long double.
70403 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
70405         [BZ #3268]
70406         * math/libm-test.inc (fma_test): Add some more tests.
70407         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
70408         correctly.
70410 2010-10-15  Andreas Schwab  <schwab@redhat.com>
70412         * scripts/data/localplt-s390-linux-gnu.data: New file.
70413         * scripts/data/localplt-s390x-linux-gnu.data: New file.
70415 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
70417         [BZ #3268]
70418         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
70419         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
70420         instead of dbl-64.
70421         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
70422         inlines.
70423         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
70424         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
70425         if one of x and y is very large and the other is subnormal.
70426         * sysdeps/s390/fpu/s_fmaf.c: New file.
70427         * sysdeps/s390/fpu/s_fma.c: New file.
70428         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
70429         * sysdeps/powerpc/fpu/s_fma.S: New file.
70430         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
70431         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
70432         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
70434 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
70436         [BZ #3268]
70437         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
70438         fma tests.
70439         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
70440         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
70441         * sysdeps/i386/i686/multiarch/s_fma.c: Include
70442         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
70443         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
70444         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
70445         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
70447 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
70449         [BZ #12078]
70450         * posix/regcomp.c (parse_branch): One more memory leak plugged.
70451         * posix/bug-regex31.input: Add test case.
70453 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
70455         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
70456         * posix/bug-regex31.input: New file.
70458         [BZ #12078]
70459         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
70460         (parse_sub_exp): Fix last change, use postorder.
70462         * posix/bug-regex31.c: New file.
70463         * posix/Makefile: Add rules to build and run bug-regex31.
70465         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
70467         [BZ #12078]
70468         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
70470         [BZ #12108]
70471         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
70472         to have entries in sys_siglist.
70474         [BZ #12093]
70475         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
70476         be NULL.
70478 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
70480         [BZ #3268]
70481         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
70482         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
70483         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
70484         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
70485         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
70486         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
70487         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
70488         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
70489         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
70490         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
70491         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
70492         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
70493         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
70494         * math/ftestexcept.c (fetestexcept): Likewise.
70495         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
70496         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
70497         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
70498         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
70499         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
70500         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
70501         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
70503 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
70505         [BZ #12107]
70506         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
70507         newline.
70509 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
70511         * string/bug-strstr1.c: New file.
70512         * string/Makefile: Add rules to build and run bug-strstr1.
70514 2010-10-05  Eric Blake  <eblake@redhat.com>
70516         [BZ #12092]
70517         * string/str-two-way.h (two_way_long_needle): Always clear memory
70518         when skipping input due to the shift table.
70520 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
70522         [BZ #12005]
70523         * malloc/mcheck.c: Handle large requests.
70525         [BZ #12077]
70526         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
70527         for strncmp and strncasecmp.
70528         * string/stratcliff.c: Add tests for strcmp and strncmp.
70529         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
70531 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
70533         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
70534         __set_fpscr.
70536 2010-09-30  Andreas Jaeger  <aj@suse.de>
70538         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
70539         (CGROUP_SUPER_MAGIC): Define.
70540         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
70541         Handle btrfs and cgroup file systems.
70542         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
70543         Likewise.
70545 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
70547         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
70548         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
70550 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
70552         [BZ #12067]
70553         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
70554         trying to locate the ELF header.
70556 2010-09-27  Andreas Schwab  <schwab@redhat.com>
70558         [BZ #11611]
70559         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
70560         Mask out sign-bit copies when constructing f_fsid.
70562 2010-09-24  Petr Baudis <pasky@suse.cz>
70564         * debug/stack_chk_fail_local.c: Add missing licence exception.
70565         * debug/warning-nop.c: Likewise.
70567 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
70569         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
70570         implementing getdents64 using getdents syscall, set d_type if
70571         __ASSUME_GETDENTS32_D_TYPE.
70573 2010-09-16  Andreas Schwab  <schwab@redhat.com>
70575         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
70576         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
70578 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
70580         [BZ #12037]
70581         * posix/unistd.h: Undo change of feature selection for ftruncate from
70582         2010-01-11.
70584 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
70586         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
70587         detection.
70589 2010-09-20  Andreas Schwab  <schwab@redhat.com>
70591         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
70592         fanotify_mark.
70593         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
70595 2010-09-14  Andreas Schwab  <schwab@redhat.com>
70597         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
70598         variables after CHECK_SP call.
70599         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
70601 2010-09-13  Andreas Schwab  <schwab@redhat.com>
70602             Ulrich Drepper  <drepper@redhat.com>
70604         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
70605         re-relocationg ld.so.
70606         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
70607         _dl_init_paths call.
70608         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
70609         here anymore.
70611 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
70613         * resolv/res_init.c (__res_vinit): Count the default server we added.
70615 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
70616             Ulrich Drepper  <drepper@redhat.com>
70618         [BZ #11968]
70619         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
70620         (____longjmp_chk): Use %ebx for saving value across system call.
70621         Add unwind info.
70623 2010-09-06  Andreas Schwab  <schwab@redhat.com>
70625         * manual/Makefile: Don't mix pattern rules with normal rules.
70627 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
70629         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
70630         operation.
70631         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
70632         * libio/iofopncook.c (_IO_cookie_init): Likewise.
70633         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
70634         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
70635         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
70636         Likewise.
70638 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
70640         [BZ #11979]
70641         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
70642         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
70644 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
70646         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
70647         * sysdeps/x86_64/addmul_1.S: Likewise.
70648         * sysdeps/x86_64/lshift.S: Likewise.
70649         * sysdeps/x86_64/mul_1.S: Likewise.
70650         * sysdeps/x86_64/rshift.S: Likewise.
70651         * sysdeps/x86_64/sub_n.S: Likewise.
70652         * sysdeps/x86_64/submul_1.S: Likewise.
70654 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
70656         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
70657         Define __sched_param instead of SCHED_* and sched_param when
70658         <bits/sched.h> is included with __need_schedparam defined.
70659         * bits/sched.h [__need_schedparam]
70660         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
70661         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
70662         (__defined_schedparam): Define to 1.
70663         (__sched_param): New structure, identical to sched_param.
70664         (__need_schedparam): Undefine.
70666 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
70668         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
70669         (epoll_create1): Declare.
70671         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
70673 2010-08-31  Andreas Schwab  <schwab@redhat.com>
70675         [BZ #7066]
70676         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
70677         shifting retval into place.
70679 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
70681         * nis/rpcsvc/nis.h: Update copyright notice.
70682         * nis/rpcsvc/nis.x: Likewise.
70683         * nis/rpcsvc/nis_callback.h: Likewise.
70684         * nis/rpcsvc/nis_callback.x: Likewise.
70685         * nis/rpcsvc/nis_object.x: Likewise.
70686         * nis/rpcsvc/nis_tags.h: Likewise.
70687         * nis/rpcsvc/yp.h: Likewise.
70688         * nis/rpcsvc/yp.x: Likewise.
70689         * nis/rpcsvc/ypupd.h: Likewise.
70690         * nis/yp_xdr.c: Likewise.
70691         * nis/ypupdate_xdr.c: Likewise.
70693         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
70694         mainly the body of pmap_getport.  Add parameters to specify timeouts.
70695         (pmap_getport): Use __libc_rpc_getport.
70696         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
70697         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
70698         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
70700 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
70702         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
70703         fanotify_mark.
70705 2010-08-27  Roland McGrath  <roland@redhat.com>
70707         * sysdeps/i386/i686/multiarch/Makefile
70708         (CFLAGS-varshift.c): New variable.
70710 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
70712         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
70713         * sysdeps/i386/i686/multiarch/varshift.c: New file.
70715         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
70717         * sysdeps/x86_64/strlen.S: Minimal code improvement.
70719 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
70721         * sysdeps/x86_64/strlen.S: Unroll the loop.
70722         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
70723         strlen-sse2 strlen-sse2-bsf.
70724         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
70725         __strlen_no_bsf if bit_Slow_BSF is set.
70726         (__strlen_sse42): Removed.
70727         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
70728         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
70730 2010-08-25  Roland McGrath  <roland@redhat.com>
70732         * sysdeps/x86_64/multiarch/varshift.S: File removed.
70733         * sysdeps/x86_64/multiarch/varshift.c: New file.
70734         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
70735         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
70736         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
70737         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
70739 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
70741         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
70742         strlen-sse2 strlen-sse2-bsf.
70743         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
70744         __strlen_sse2_bsf if bit_Slow_BSF is unset.
70745         (__strlen_sse2): Removed.
70746         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
70747         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
70748         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
70749         bit_Slow_BSF for Atom.
70750         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
70751         (index_Slow_BSF): Define.
70752         (HAS_SLOW_BSF): Define.
70754 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
70756         [BZ #10851]
70757         * resolv/res_init.c (__res_vinit): When no server address at all
70758         is given default to loopback.
70760 2010-08-24  Roland McGrath  <roland@redhat.com>
70762         * configure.in: Remove config-name.h generation.
70763         * configure: Regenerated.
70764         * config-name.in: File removed.
70765         * scripts/config-uname.sh: New file.
70766         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
70767         ($(objdir)config-name.h): New target.
70769         * sunrpc/rpc_parse.h: Avoid nested comment.
70771 2010-08-24  Richard Henderson  <rth@redhat.com>
70772             Ulrich Drepper  <drepper@redhat.com>
70773             H.J. Lu  <hongjiu.lu@intel.com>
70775         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
70776         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
70777         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
70778         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
70779         _mm_alignr_epi8 with _mm_loadu_si128.
70780         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
70781         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
70782         (__m128i_shift_right): Removed.
70783         * sysdeps/i386/i686/multiarch/varshift.h: New file.
70784         * sysdeps/i386/i686/multiarch/varshift.S: New file.
70785         * sysdeps/x86_64/multiarch/varshift.h: New file.
70786         * sysdeps/x86_64/multiarch/varshift.S: New file.
70788 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
70790         * configure.in: Move assembler checks to before sysdep dir checking.
70792 2010-08-20  Petr Baudis  <pasky@suse.cz>
70794         * LICENSES: Sync the sunrpc license.
70796 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
70798         * sunrpc/auth_des.c: Update copyright notice once again.
70799         * sunrpc/auth_none.c: Likewise.
70800         * sunrpc/auth_unix.c: Likewise.
70801         * sunrpc/authdes_prot.c: Likewise.
70802         * sunrpc/authuxprot.c: Likewise.
70803         * sunrpc/bindrsvprt.c: Likewise.
70804         * sunrpc/clnt_gen.c: Likewise.
70805         * sunrpc/clnt_perr.c: Likewise.
70806         * sunrpc/clnt_raw.c: Likewise.
70807         * sunrpc/clnt_simp.c: Likewise.
70808         * sunrpc/clnt_tcp.c: Likewise.
70809         * sunrpc/clnt_udp.c: Likewise.
70810         * sunrpc/clnt_unix.c: Likewise.
70811         * sunrpc/des_crypt.c: Likewise.
70812         * sunrpc/des_soft.c: Likewise.
70813         * sunrpc/get_myaddr.c: Likewise.
70814         * sunrpc/getrpcport.c: Likewise.
70815         * sunrpc/key_call.c: Likewise.
70816         * sunrpc/key_prot.c: Likewise.
70817         * sunrpc/openchild.c: Likewise.
70818         * sunrpc/pm_getmaps.c: Likewise.
70819         * sunrpc/pm_getport.c: Likewise.
70820         * sunrpc/pmap_clnt.c: Likewise.
70821         * sunrpc/pmap_prot.c: Likewise.
70822         * sunrpc/pmap_prot2.c: Likewise.
70823         * sunrpc/pmap_rmt.c: Likewise.
70824         * sunrpc/rpc/auth.h: Likewise.
70825         * sunrpc/rpc/auth_unix.h: Likewise.
70826         * sunrpc/rpc/clnt.h: Likewise.
70827         * sunrpc/rpc/des_crypt.h: Likewise.
70828         * sunrpc/rpc/key_prot.h: Likewise.
70829         * sunrpc/rpc/netdb.h: Likewise.
70830         * sunrpc/rpc/pmap_clnt.h: Likewise.
70831         * sunrpc/rpc/pmap_prot.h: Likewise.
70832         * sunrpc/rpc/pmap_rmt.h: Likewise.
70833         * sunrpc/rpc/rpc.h: Likewise.
70834         * sunrpc/rpc/rpc_des.h: Likewise.
70835         * sunrpc/rpc/rpc_msg.h: Likewise.
70836         * sunrpc/rpc/svc.h: Likewise.
70837         * sunrpc/rpc/svc_auth.h: Likewise.
70838         * sunrpc/rpc/types.h: Likewise.
70839         * sunrpc/rpc/xdr.h: Likewise.
70840         * sunrpc/rpc_clntout.c: Likewise.
70841         * sunrpc/rpc_cmsg.c: Likewise.
70842         * sunrpc/rpc_common.c: Likewise.
70843         * sunrpc/rpc_cout.c: Likewise.
70844         * sunrpc/rpc_dtable.c: Likewise.
70845         * sunrpc/rpc_hout.c: Likewise.
70846         * sunrpc/rpc_main.c: Likewise.
70847         * sunrpc/rpc_parse.c: Likewise.
70848         * sunrpc/rpc_parse.h: Likewise.
70849         * sunrpc/rpc_prot.c: Likewise.
70850         * sunrpc/rpc_sample.c: Likewise.
70851         * sunrpc/rpc_scan.c: Likewise.
70852         * sunrpc/rpc_scan.h: Likewise.
70853         * sunrpc/rpc_svcout.c: Likewise.
70854         * sunrpc/rpc_tblout.c: Likewise.
70855         * sunrpc/rpc_util.c: Likewise.
70856         * sunrpc/rpc_util.h: Likewise.
70857         * sunrpc/rpcinfo.c: Likewise.
70858         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
70859         * sunrpc/rpcsvc/key_prot.x: Likewise.
70860         * sunrpc/rpcsvc/klm_prot.x: Likewise.
70861         * sunrpc/rpcsvc/mount.x: Likewise.
70862         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
70863         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
70864         * sunrpc/rpcsvc/rex.x: Likewise.
70865         * sunrpc/rpcsvc/rstat.x: Likewise.
70866         * sunrpc/rpcsvc/rusers.x: Likewise.
70867         * sunrpc/rpcsvc/sm_inter.x: Likewise.
70868         * sunrpc/rpcsvc/spray.x: Likewise.
70869         * sunrpc/rpcsvc/yppasswd.x: Likewise.
70870         * sunrpc/rtime.c: Likewise.
70871         * sunrpc/svc.c: Likewise.
70872         * sunrpc/svc_auth.c: Likewise.
70873         * sunrpc/svc_authux.c: Likewise.
70874         * sunrpc/svc_raw.c: Likewise.
70875         * sunrpc/svc_run.c: Likewise.
70876         * sunrpc/svc_simple.c: Likewise.
70877         * sunrpc/svc_tcp.c: Likewise.
70878         * sunrpc/svc_udp.c: Likewise.
70879         * sunrpc/svc_unix.c: Likewise.
70880         * sunrpc/svcauth_des.c: Likewise.
70881         * sunrpc/xcrypt.c: Likewise.
70882         * sunrpc/xdr.c: Likewise.
70883         * sunrpc/xdr_array.c: Likewise.
70884         * sunrpc/xdr_float.c: Likewise.
70885         * sunrpc/xdr_mem.c: Likewise.
70886         * sunrpc/xdr_rec.c: Likewise.
70887         * sunrpc/xdr_ref.c: Likewise.
70888         * sunrpc/xdr_sizeof.c: Likewise.
70889         * sunrpc/xdr_stdio.c: Likewise.
70891         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
70892         handling.
70894 2010-08-19  Andreas Schwab  <schwab@redhat.com>
70896         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
70898 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
70900         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
70901         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
70902         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
70903         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
70904         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
70905         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
70906         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
70907         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
70908         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
70909         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
70910         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
70911         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
70912         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
70913         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
70915 2010-07-26  Anton Blanchard  <anton@samba.org>
70917         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
70918         * malloc/arena.c (heap_trim): Likewise.
70920 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
70922         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
70923         here.  Not...
70924         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
70925         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
70927 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
70929         * sysdeps/i386/elf/Makefile: New file.
70931 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
70933         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
70934         from fanotify_init.
70935         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
70936         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
70938 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
70940         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
70941         of strncasecmp_l.
70942         * sysdeps/multiarch/strcmp.S: Likewise.
70944 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
70946         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
70947         strncase_l-nonascii.
70948         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
70949         Add strncase_l-ssse3.
70950         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
70951         * sysdeps/x86_64/strcmp.S: Likewise.
70952         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
70953         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
70954         * sysdeps/x86_64/strncase.S: New file.
70955         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
70956         * sysdeps/x86_64/strncase_l.S: New file.
70957         * string/Makefile (strop-tests): Add strncasecmp.
70958         * string/test-strncasecmp.c: New file.
70960         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
70961         warning.
70963         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
70964         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
70966 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
70968         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
70970 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
70972         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
70973         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
70974         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
70976 2010-05-01  Alan Modra  <amodra@gmail.com>
70978         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
70979         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
70980         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
70981         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
70982         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
70983         tidying.  Don't tail-call __sigjmp_save for static lib.
70984         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
70985         save location.
70986         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
70987         (CALL_MCOUNT): Add eh info, and nop after bl.
70988         (TAIL_CALL_SYSCALL_ERROR): New macro.
70989         (PSEUDO_RET): Use it.
70990         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
70991         Correct save location of integer regs and cr.
70992         (_dl_profile_resolve): Correct cr save location.  Delete nops
70993         after bl when SHARED.  Reduce cfi size a little by better
70994         placement of cfi directives.
70995         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
70996         make a stack frame.  Instead use parm save area as a temp.
70997         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
70998         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
70999         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
71000         Don't make a stack frame for parent, use parm save area.
71001         Increase child stack frame to 112 bytes.  Don't save unused reg,
71002         and adjust reg usage.  Set up cfi on error recovery and
71003         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
71004         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
71005         (__makecontext): Add dummy nop after jump to exit.
71006         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
71007         Use correct parm save area and cr save, reduce stack frame.
71008         Correct cfi for possible PSEUDO_RET frame setup.
71009         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
71010         Branch to local label emitted by PSEUDO_RET rather than
71011         __syscall_error.
71013 2010-08-12  Andreas Schwab  <schwab@redhat.com>
71015         [BZ #11904]
71016         * locale/programs/locale.c (print_assignment): New function.
71017         (show_locale_vars): Use it.
71019 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
71021         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
71022         field.
71023         (struct statfs64): Likewise.
71024         (_STATFS_F_FLAGS): Define.
71025         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
71026         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
71027         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
71028         (ST_VALID): Define locally.
71029         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
71030         __statvfs_getflags, use the provided value.
71031         * sysdeps/unix/sysv/linux/kernel-features.h: Define
71032         __ASSUME_STATFS_F_FLAGS.
71034         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
71036         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
71037         Add sys/fanotify.h.
71038         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
71039         fanotify_mask for GLIBC_2.13.
71040         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
71041         fanotify_init and fanotify_mark.
71042         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
71043         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
71045         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
71046         Add prlimit.
71047         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
71048         prlimit64 for GLIBC_2.13.
71049         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
71050         prlimit64.
71051         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
71052         syscall.
71053         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
71054         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
71055         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
71056         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
71057         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
71058         add prlimit alias.
71059         * sysdeps/unix/sysv/linux/prlimit.c: New file.
71061         [BZ #11903]
71062         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
71063         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
71065         * nss/Makefile: Add rules to build and run tst-nss-test1.
71066         * shlib-versions: Add entry for libnss_test1.
71067         * nss/nss_test1.c: New file.
71068         * nss/tst-nss-test1.c: New file.
71070         * nss/nsswitch.c (__nss_database_custom): Define new variable.
71071         (__nss_configure_lookup): Set appropriate entry in
71072         __nss_configure_lookup to true.
71073         * nss/nsswitch.h: Define enum with indeces of databases in
71074         databases and __nss_database_custom arrays.  Declare
71075         __nss_database_custom.
71076         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
71077         to avoid using nscd when custom rules are installed.
71078         * nss/getXXbyYY_r.c: Likewise.
71079         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
71081         * nss/nss_files/files-parse.c: Whitespace fixes.
71083 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
71085         [BZ #11883]
71086         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
71087         * posix/fnmatch_loop.c: Likewise.
71089 2010-07-17  Andi Kleen  <ak@linux.intel.com>
71091         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
71092         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
71093         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
71094         * Versions.def [GLIBC_2.13]: Add.
71096 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
71098         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
71099         Also fail if tpwd after pwuid call is NULL.
71101 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
71103         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
71104         when converting to ms.
71106 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
71108         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
71109         EOPNOTSUPP errors with ENOTTY.
71110         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
71111         EOPNOTSUPP errors with ENOTTY.
71113 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
71115         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
71116         Add strcasecmp_l-ssse3.
71117         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
71118         strcasecmp.
71119         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
71120         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
71121         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
71123 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
71125         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
71127         * string/Makefile (strop-tests): Add strcasecmp.
71128         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
71129         strcasecmp_l-nonascii.
71130         (gen-as-const-headers): Add locale-defines.sym.
71131         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
71132         * sysdeps/x86_64/strcasecmp.S: New file.
71133         * sysdeps/x86_64/strcasecmp_l.S: New file.
71134         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
71135         * sysdeps/x86_64/locale-defines.sym: New file.
71136         * string/test-strcasecmp.c: New file.
71138         * string/test-strcasestr.c: Test both ends of the range of characters.
71139         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
71141 2010-07-29  Roland McGrath  <roland@redhat.com>
71143         [BZ #11856]
71144         * manual/locale.texi (Yes-or-No Questions): Fix example code.
71146 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
71148         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
71149         for ld.so.
71151 2010-07-27  Andreas Schwab  <schwab@redhat.com>
71153         * manual/memory.texi (Malloc Tunable Parameters): Document
71154         M_PERTURB.
71156 2010-07-26  Roland McGrath  <roland@redhat.com>
71158         [BZ #11840]
71159         * configure.in (-fgnu89-inline check): Set and substitute
71160         gnu89_inline, not libc_cv_gnu89_inline.
71161         * configure: Regenerated.
71162         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
71164 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
71166         * string/test-strnlen.c: New file.
71167         * string/Makefile (strop-tests): Add strnlen.
71168         * string/tester.c (test_strnlen): Add a few more test cases.
71169         * string/tst-strlen.c: Better error reporting.
71171         * sysdeps/x86_64/strnlen.S: New file.
71173 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
71175         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
71176         lower-latency instructions.
71178 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
71180         * string/test-strcasestr.c: New file.
71181         * string/test-strstr.c: New file.
71182         * string/Makefile (strop-tests): Add strstr and strcasestr.
71183         * string/str-two-way.h: Don't undefine MAX.
71184         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
71186 2010-07-21  Andreas Schwab  <schwab@redhat.com>
71188         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
71189         strcasestr-nonascii.
71190         (CFLAGS-strcasestr-nonascii.c): Define.
71191         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
71192         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
71193         Remove unused attribute.
71195 2010-07-20  Roland McGrath  <roland@redhat.com>
71197         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
71198         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
71199         ld.so.cache was broken.  With it, there is no way to disable dsocaps
71200         like LD_HWCAP_MASK can disable hwcaps.
71202 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
71204         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
71206 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
71208         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
71209         call in strcasestr.
71210         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
71211         __strcasestr_sse42_nonascii.
71212         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
71213         strcasestr-nonascii.c.
71214         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
71216 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
71218         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
71219         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
71220         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
71221         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
71223 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
71225         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
71226         fcntl.
71228 2010-07-06  Andreas Schwab  <schwab@redhat.com>
71230         [BZ #11577]
71231         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
71232         dl_signal_cerror.
71234 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
71236         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
71237         _PC_PIPE_BUF using F_GETPIPE_SZ.
71239 2010-07-05  Roland McGrath  <roland@redhat.com>
71241         * manual/arith.texi (Rounding Functions): Fix rint description
71242         implicit in round description.
71244 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
71246         * elf/Makefile: Fix linking for a few tests to make recent linker
71247         happy.
71249 2010-06-30  Andreas Schwab  <schwab@redhat.com>
71251         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
71252         $(common-objpfx)libc_nonshared.a.
71254 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
71256         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
71257         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
71258         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
71259         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
71260         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
71261         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
71262         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
71263         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
71264         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
71265         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
71266         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
71267         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
71268         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
71269         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
71270         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
71271         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
71272         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
71273         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
71274         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
71275         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
71276         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
71277         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
71278         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
71279         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
71280         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
71281         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
71282         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
71283         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
71284         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
71285         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
71286         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
71287         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
71288         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
71289         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
71290         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
71291         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
71292         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
71293         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
71294         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
71295         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
71296         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
71297         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
71298         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
71299         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
71300         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
71301         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
71302         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
71303         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
71305 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
71307         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
71308         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
71309         * string/memmove.c (memmove): Renamed to ...
71310         (MEMMOVE): ...this.  Default to memmove.
71311         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
71312         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
71313         (END_CHK): Define.
71314         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
71315         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
71316         mempcpy-ssse3-back memmove-ssse3-back.
71317         * sysdeps/x86_64/multiarch/bcopy.S: New file .
71318         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
71319         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
71320         * sysdeps/x86_64/multiarch/memcpy.S: New file.
71321         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
71322         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
71323         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
71324         * sysdeps/x86_64/multiarch/memmove.c: New file.
71325         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
71326         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
71327         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
71328         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
71329         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
71330         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
71331         Define.
71332         (index_Fast_Copy_Backward): Define.
71333         (HAS_ARCH_FEATURE): Define.
71334         (HAS_FAST_REP_STRING): Define.
71335         (HAS_FAST_COPY_BACKWARD): Define.
71337 2010-06-21  Andreas Schwab  <schwab@redhat.com>
71339         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
71340         Restore proper fallback handling.
71342 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
71344         [BZ #11701]
71345         * posix/group_member.c (__group_member): Correct checking loop.
71347         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
71348         OOM in getpwuid_r correctly.  Return error number when the caller
71349         should return, otherwise -1.
71350         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
71351         call returning > 0 value.
71352         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
71354 2010-06-07  Andreas Schwab  <schwab@redhat.com>
71356         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
71357         libc_nonshared.a from targets in modules-names.
71359 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
71361         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
71362         requires it.
71364 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
71366         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
71367         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
71368         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
71369         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
71371 2010-06-02  Andreas Schwab  <schwab@redhat.com>
71373         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
71375 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
71377         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
71378         and F_GETPIPE_SZ.
71379         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
71380         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
71381         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
71382         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
71383         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
71384         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
71386 2010-06-14  Roland McGrath  <roland@redhat.com>
71388         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
71390 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
71392         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
71393         __REDIRECT followed by __THROW.
71394         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
71395         * posix/getopt.h (getopt): Likewise.
71397 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
71399         * hurd/lookup-at.c (__file_name_lookup_at): Accept
71400         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
71401         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
71402         in AT_FLAGS.
71403         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
71404         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
71406 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
71408         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
71410 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
71412         [BZ #11640]
71413         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
71414         Properly check family and model.
71416 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
71418         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
71420 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
71422         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
71424 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
71426         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
71427         symbol reference.
71429 2010-05-19  Andreas Schwab  <schwab@redhat.com>
71431         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
71432         symbol reference.
71434 2010-05-21  Andreas Schwab  <schwab@redhat.com>
71436         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
71437         and internal_recvmmsg.
71438         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
71439         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
71440         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
71441         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
71443         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
71444         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
71445         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
71447 2010-05-20  Andreas Schwab  <schwab@redhat.com>
71449         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
71451 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
71453         POWER7 optimizations.
71454         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
71455         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
71457 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
71459         * version.h: Update for 2.13 development version.
71461 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
71463         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
71464         exceptions.  Return 0.
71466 2010-05-07  Roland McGrath  <roland@redhat.com>
71468         * elf/ldconfig.c (main): Add a const.
71470 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
71472         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
71473         (args_options): Add no-idn option.
71474         (ahosts_keys_int): Add idn_flags to ai_flags.
71475         (parse_option): Handle 'i' option to clear idn_flags.
71477         * malloc/malloc.c (_int_free): Possible race in the most recently
71478         added check.  Only act on the data if no current modification
71479         happened.
71481 See ChangeLog.17 for earlier changes.